Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > GridView rows collection refresh within an event

Thread Tools

GridView rows collection refresh within an event

Posts: n/a

I need to refresh the Rows collection of my GridView within a tree event
OnCheckChanged. I call the following for that

void OnCheckChanged(....)




GridView1.DataSourceID = "ObjectDataSource1";



But it always refreshes the Grid after the event is finished. What can I do
to refresh it within the event?



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide the Gridview Rows and Header rows in Button click VijayRama ASP .Net 2 10-12-2009 01:58 PM
Collection problems (create Collection object, add data to collection, bind collection to datagrid) Řyvind Isaksen ASP .Net 1 05-18-2007 09:24 AM
GridView Rows collection Refresh within an event Shafia ASP .Net 1 04-15-2005 03:00 PM
GridView Rows collection refresh within an event Shafia ASP .Net Web Controls 0 04-15-2005 02:08 PM
STL - an algorithm for finding a collection within a collection? Dylan C++ 5 03-22-2005 01:31 AM