DataList and GridView problem, please help

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
 
M

Munna

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top