|
-
Sep 2nd, 2003, 02:20 PM
#1
Thread Starter
Member
user control in asp.net
hi !
i am using 3 dropdown list boxes in a usercontrol to get the date from that. i wrote some properties to set the date and get the date from the same. the problem i am facing is that when i placed control in 4 places on my .aspx form i am not able to access the usercontol indipendently.
i mean usercontrol(0), (1) like that. please suggest me where i am doing wrong. thans in advance
-
Sep 3rd, 2003, 11:20 AM
#2
PowerPoster
When you place your usercontrol on your web form, go to your code behind and declare protected members of the same type as your usercontrol and name them whatever the usercontrol's name is when you placed them on the form (they must be exact).
-
Sep 4th, 2003, 06:38 AM
#3
Thread Starter
Member
thanks
i got it now. thanks once again
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
|