[resolved] Getting control value in page level from nested controls
I am using asp.net 2 and i have a page with is made up from 4 different user controls on each user control there are .net controls, when i do a page postback how do i get the value of the .net control within my control ????
Re: Getting control value in page level from nested controls
Within the control's codebehind, ensure that the server controls are declared to be public.
You could be more OO, and create public properties within the controls that access the values of the .net controls within your controls.
Re: Getting control value in page level from nested controls
yeah i found an example of www.asp.net, i just didnt define my controls correctly in the asp.net presentation layer
Re: Getting control value in page level from nested controls
Great, now add [Resolved] for future searchers. If they're smart. :)