|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Access control from another controlHello
I have an aspx page with 2 web user controls on it. What I need to do is access a public sub in the first control from the second. I need to do this to control the behaviour of it. (ie wether to display it or not). Thanks Here are the details about how to communicate between controls:
http://SteveOrr.net/faq/PassDataToUserControl.aspx http://SteveOrr.net/faq/PassDataFromUserControl.aspx http://SteveOrr.net/faq/PassDataBetweenControls.aspx Show quoteHide quote "EvilGuyWhoEatsBrains" <nokittymypot***@gmail.com> wrote in message news:1151454839.450562.226960@x69g2000cwx.googlegroups.com... > Hello > > I have an aspx page with 2 web user controls on it. What I need to do > is access a public sub in the first control from the second. I need to > do this to control the behaviour of it. (ie wether to display it or > not). > > Thanks > You're my new hero. Thank you. :)
Steve C. Orr [MVP, MCSD] wrote: Show quoteHide quote > Here are the details about how to communicate between controls: > http://SteveOrr.net/faq/PassDataToUserControl.aspx > http://SteveOrr.net/faq/PassDataFromUserControl.aspx > http://SteveOrr.net/faq/PassDataBetweenControls.aspx > > -- > I hope this helps, > Steve C. Orr, MCSD, MVP > http://SteveOrr.net > > > "EvilGuyWhoEatsBrains" <nokittymypot***@gmail.com> wrote in message > news:1151454839.450562.226960@x69g2000cwx.googlegroups.com... > > Hello > > > > I have an aspx page with 2 web user controls on it. What I need to do > > is access a public sub in the first control from the second. I need to > > do this to control the behaviour of it. (ie wether to display it or > > not). > > > > Thanks > >
asp.net 20 menu control useless ? [server callback, no menuitem click]
CustomValidator not working in FireFox changing cursor of ImageButton Reference of Available Metadata Attributes Validation messages not displaying Dynamically Creating A CSS Class Bitmap as a Image web control How to use gridview GridView DataSourceID Business-Tier Class Dynamic Row Template in GridView |
|||||||||||||||||||||||