passing parameters to a user control

Discussion in 'ASP .Net' started by =?Utf-8?B?Q1NoYXJwZ3V5?=, May 16, 2006.

  1. How can I pass parameters to a userControl so I have my drop down in the
    userControl populate with the correct data?
     
    =?Utf-8?B?Q1NoYXJwZ3V5?=, May 16, 2006
    #1
    1. Advertising

  2. =?Utf-8?B?Q1NoYXJwZ3V5?=

    OJ Guest

    create public properties in your usercontrol.....

    private string _Title;
    public string Title
    {set {_Title=value}}

    Hth,
    Oli
     
    OJ, May 16, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jamil
    Replies:
    1
    Views:
    2,389
    =?Utf-8?B?SFA=?=
    Nov 24, 2005
  2. HP
    Replies:
    3
    Views:
    577
  3. Tarscher
    Replies:
    1
    Views:
    395
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Feb 1, 2007
  4. Ramon F Herrera
    Replies:
    8
    Views:
    486
    Pascal J. Bourguignon
    Sep 13, 2009
  5. hmikki
    Replies:
    1
    Views:
    145
    Nathan Sokalski
    Oct 19, 2007
Loading...

Share This Page