Go Back   CP Web Hosting - reseller hosting > Server Scripting > .NET
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2007, 01:07 AM
1R1 1R1 is offline
Senior Member
 
Join Date: Mar 2007
Posts: 164
Default checkboxes

Hello,when i was working in the Gridview and when i created a template field and added a checkbox so that when the user views the gridview they can select multiple rows. I was having that working great but the check boxes are always equalling false when I use the click even for a button.

Any suggestion to this problem !!!!!!!!!!!!!!
Reply With Quote
  #2 (permalink)  
Old 07-15-2007, 01:09 AM
Senior Member
 
Join Date: May 2007
Posts: 151
Default checkbox

Hi this problem is seen by me also so you make clear you do not bind your GV on each postback in Page_Load() event.

protected void Page_Load()
{
if(!IsPostBack)
//Bind your GV
}

hope this help to resolve the prob..
Reply With Quote
Reply


Thread Tools
Display Modes

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

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



All times are GMT. The time now is 05:40 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0