Gridview control not responding

Discussion in 'ASP .Net Web Controls' started by daveh551, Jan 29, 2009.

  1. daveh551

    daveh551 Guest

    I have a GridView control that is bound to a local List. I first
    developed it on a free-standing page, then converted it to a
    UserControl, and I'm hosting that usercontrol within a DetailsView.

    The grid displays correctly, but when I click the Edit button on a
    row, I do not get my RowEditing event. I had this problem yesterday
    when it was on it's own page, only it was with the Update button - I
    wasn't getting the RowUpdating event.

    In both cases, when I look at the source that is rendered by ASP.NET,
    the button in question is rendered as <input type="submit" ... />
    When it works properly, it's rendered as <input type="button"
    onclick="__dopostback(...) ... />

    This problem seems to come and go almost at random. In other words, I
    know this was working yesterday, and I made some changes in the code
    behind file, but basically nothing in the declarative markup, and now
    it's quit working.

    The page in question is, in turn, hosted on a MasterPage that is AJAX
    enable (has a ClientScriptManager), if that makes any difference.

    Any help would be greatly appreciated.
     
    daveh551, Jan 29, 2009
    #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. =?Utf-8?B?QVQ=?=
    Replies:
    1
    Views:
    4,465
    =?Utf-8?B?QVQ=?=
    Apr 1, 2005
  2. CJM
    Replies:
    2
    Views:
    1,238
  3. Comcast

    webuser control not responding to event?

    Comcast, Aug 1, 2003, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    121
    Ron White
    Aug 7, 2003
  4. ~~~ .NET Ed ~~~

    Custom web control not responding to change

    ~~~ .NET Ed ~~~, Mar 14, 2005, in forum: ASP .Net Building Controls
    Replies:
    9
    Views:
    136
    ~~~ .NET Ed ~~~
    Mar 15, 2005
  5. Jim Gilligan
    Replies:
    0
    Views:
    156
    Jim Gilligan
    Sep 1, 2005
Loading...

Share This Page