How do access a datagrid control in Page_load

Discussion in 'ASP .Net Datagrid Control' started by Fredrik, Dec 17, 2003.

  1. Fredrik

    Fredrik Guest

    Hi,

    I have the following setup

    A datagrid containing a Table(template column)
    The table contains a Dropdownlist.
    I want to bind the dropdown list in the page_load event as i am
    modifying the select statement based on passed in information. How do
    you reference this control.

    If i code on the edit_datagrid/cancel_datagrid/update_datagrid buttons
    i can see it there using the e.findcontrol("dropdownlist")

    Any ideas

    Thanks
    /F
     
    Fredrik, Dec 17, 2003
    #1
    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. bminder
    Replies:
    1
    Views:
    2,215
    nfedin
    Feb 23, 2004
  2. z. f.
    Replies:
    0
    Views:
    590
    z. f.
    Oct 19, 2004
  3. =?Utf-8?B?Z2xlbm4=?=

    Access to DropDownList in a DataGrid from Page_Load

    =?Utf-8?B?Z2xlbm4=?=, Apr 25, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    531
    Jeff Dillon
    Apr 25, 2006
  4. rockdale
    Replies:
    1
    Views:
    693
    =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
    Nov 16, 2006
  5. Cindy

    Access User Control value during Page_Load

    Cindy, Jun 25, 2004, in forum: ASP .Net Building Controls
    Replies:
    1
    Views:
    168
    Victor Garcia Aprea [MVP]
    Jun 26, 2004
Loading...

Share This Page