|
-
Jan 15th, 2006, 12:06 PM
#1
Thread Starter
Fanatic Member
[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 ????
Last edited by carlblanchard; Jan 17th, 2006 at 05:04 AM.
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
Jan 16th, 2006, 12:30 PM
#2
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.
-
Jan 16th, 2006, 01:03 PM
#3
Thread Starter
Fanatic Member
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
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
Jan 17th, 2006, 04:46 AM
#4
Re: Getting control value in page level from nested controls
Great, now add [Resolved] for future searchers. If they're smart.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|