Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Building Controls (http://www.velocityreviews.com/forums/f59-asp-net-building-controls.html)
-   -   GridView rows collection refresh within an event (http://www.velocityreviews.com/forums/t757635-gridview-rows-collection-refresh-within-an-event.html)

Shafia 04-15-2005 02:08 PM

GridView rows collection refresh within an event
 
Hi,

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

void OnCheckChanged(....)

{

...................

ObjectDataSource1.Select();

GridView1.DataSourceID = "ObjectDataSource1";

...........................

}

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



Thanks,

Shafia





All times are GMT. The time now is 08:58 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.