FindControl method doesn't work

Discussion in 'ASP .Net' started by ani, Nov 5, 2003.

  1. ani

    ani Guest

    I have a datalist control in my aspx page(this is
    paginated and everytime submits to itself). I am calling a
    function within my datalist that returns a html control
    (radio button ) in the form of the string. I also have asp
    server controls(labels) in the datalist. When the form is
    processed, I am retrieving the values of the radio buttons
    through Request.form. To retrieve the values of the asp
    server controls , I am using FindControl method. But this
    is written in the Page_Load method, so it returns the
    values of the current page before the page gets submitted.
    I want the values after the page gets submitted. How do I
    retrieve them.
    If I use onserverclick on my button (which is a html
    control with rollover capability <a href>) , the onclick
    doesn't work fine for validating the html controls. I
    don't have runat=server on my form tag when I have onclick
    attribute on the button. I am new to asp.net. Please help!!
    ani, Nov 5, 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. Harry F. Harrison
    Replies:
    0
    Views:
    2,884
    Harry F. Harrison
    Dec 18, 2003
  2. Karen
    Replies:
    2
    Views:
    1,114
    Karen
    May 11, 2004
  3. =?Utf-8?B?Sm9l?=

    Help with FindControl method

    =?Utf-8?B?Sm9l?=, Dec 21, 2004, in forum: ASP .Net
    Replies:
    10
    Views:
    595
    =?Utf-8?B?Sm9l?=
    Dec 21, 2004
  4. Dennis

    FindControl doesn't work

    Dennis, Aug 11, 2006, in forum: ASP .Net
    Replies:
    27
    Views:
    17,944
    megazero
    Apr 21, 2010
  5. Dan
    Replies:
    1
    Views:
    502
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Apr 4, 2007
Loading...

Share This Page