How to access the web user control's child control?

Discussion in 'ASP .Net Web Controls' started by ABC, Nov 10, 2005.

  1. ABC

    ABC Guest

    How should I do to access the web user control's child control from web
    page?

    Web Page --> User Web Control --> Text Controls, Combo Controls, etc.....
     
    ABC, Nov 10, 2005
    #1
    1. Advertisements

  2. ABC

    Wizzy Guest

    Hi,

    You can use the FindControl method to find control inside a web control such
    as a datagrid.

    item.FindControl("<id>");

    HTH

    Wizzy
     
    Wizzy, Nov 10, 2005
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.