DataList and GridView problem, please help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BVM

    DataList and GridView problem, please help

    Hi,

    I have a DataList and several GridViews in it. Each GridView has Delete, Edit, Select buttons enabled. But when I click on those buttons, it always says the event(deleting/updating etc) is not handled. But I did handle it. I don't know why? Can someone help me?

    BTW, I generate GridViews in the event of DataBound of the DataList.

    Thnaks,

    Dennis Huang
  • Munna

    #2
    Re: DataList and GridView problem, please help

    Hi,

    Is the grid view is a dynamically generated grid view or it is defined
    statically in item template of the grid view?
    One more thing how did you subscribed the event declaratively or by
    using "+=".?

    just make sure that u do repopulated the whole data again ... asp.net
    will automatically fire the corresponding event..
    one more thing did u set viewstate to false?

    Best of luck

    ------
    Munna




    Comment

    Working...