Results 1 to 3 of 3

Thread: user control in asp.net

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2001
    Posts
    46

    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
    Kanaka Prasad

  2. #2
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    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).

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2001
    Posts
    46
    thanks

    i got it now. thanks once again
    Kanaka Prasad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width