dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Passing value from one user control to another user control

  1. #1
    Steve Guest

    Passing value from one user control to another user control


    Hi All,
    I have two web user controls on the same web form. When I click a button
    from one user control, I want to pass a message to the second user control
    and display it. How can I do it? How can I notify one user control of changes
    in another user control on the same web form? Thanks.

    Steve

  2. #2
    Jean Guest

    Re: Passing value from one user control to another user control


    Hi,

    There is one solution.
    You can declare pulbic variables in one user control.
    Then when you go to the second web control, you can still retrieve the first
    user control's public variables.

  3. #3
    Paul Guest

    Re: Passing value from one user control to another user control


    This problem would involve a trip to the server, whereupon you would invoke
    a user control event, this is where the message exchange would occur.

    "Steve" <vb.@127.0.0.1> wrote:
    >
    >Hi All,
    >I have two web user controls on the same web form. When I click a button
    >from one user control, I want to pass a message to the second user control
    >and display it. How can I do it? How can I notify one user control of changes
    >in another user control on the same web form? Thanks.
    >
    >Steve



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center