-
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
-
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).
-
thanks
i got it now. thanks once again