DataList and GridView problem, please help

  • Thread starter Thread starter BVM
  • Start date Start date
B

BVM

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
 
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

www.munna.shatkotha.com/blog
www.munna.shatkotha.com
www.shatkotha.com
 
Back
Top