Blog Home  Home Feed your aggregator (RSS 2.0)  
kevin Mocha - Wednesday, May 09, 2007
Bookmarks collected from web.
 
 Wednesday, May 09, 2007
 Tuesday, May 08, 2007
 Thursday, May 03, 2007

www.yardsaleportal.org

free posting, multiple cities, searching, categories, knowledge base, sign selling, RSS subscription, featured listing

Thursday, May 03, 2007 3:40:39 PM UTC  #    Comments [0]    |  Trackback
 Tuesday, May 01, 2007
Tuesday, May 01, 2007 7:05:11 PM UTC  #    Comments [0]    |  Trackback
Tuesday, May 01, 2007 7:04:08 PM UTC  #    Comments [0]    |  Trackback
 Monday, April 30, 2007
 Thursday, April 26, 2007

This category will record information for all projects I am going to develop.

Thursday, April 26, 2007 7:57:17 PM UTC  #    Comments [0]    |  Trackback
 Wednesday, April 25, 2007

http://www.dynamicdrive.com/ (Dynamic Javascript and DHTML)

http://css.maxdesign.com.au/ (Great Layout and List CSS Tutorial)

Wednesday, April 25, 2007 9:24:59 PM UTC  #    Comments [0]    |  Trackback
 Thursday, April 19, 2007

http://aspalliance.com/774

 

 

Title: Repopulating checkboxes in GridView solution   
Name: Anonymous
Date: 8/13/2006 8:30:45 PM
Comment:
This is a great solution! However, when I first tested I get the same problem as everyone where the checkboxes get reset after every page changed. In order to solve this problem, you need to add DataBound event to repopulate the checkboxes states. Below is the solution:
protected void GridView1_DataBound(Object sender, EventArgs e)
{
RePopulateValues();
}
protected void GridView1_PageIndexChanging(Object sender, GridViewPageEventArgs e)
{
RememberOldValues();
}
Note: This is done in .Net 2.0 and the reason the author code doesn't work is because the databound event is called after pageindexchanging and pageindexchanged and therefore it clears the checkboxes states.

Thursday, April 19, 2007 4:01:09 AM UTC  #    Comments [0]    |  Trackback
Copyright © 2009 Kevin Mocha. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: