Click here to Skip to main content
15,898,371 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Login problem with ExecuteScalar(); Pin
Maxdd 715-Nov-09 12:21
Maxdd 715-Nov-09 12:21 
GeneralRe: Login problem with ExecuteScalar(); Pin
Abhishek Sur15-Nov-09 12:24
professionalAbhishek Sur15-Nov-09 12:24 
GeneralRe: Login problem with ExecuteScalar(); Pin
Not Active15-Nov-09 12:26
mentorNot Active15-Nov-09 12:26 
GeneralRe: Login problem with ExecuteScalar(); Pin
Maxdd 715-Nov-09 12:33
Maxdd 715-Nov-09 12:33 
AnswerRe: Login problem with ExecuteScalar(); Pin
Not Active15-Nov-09 12:04
mentorNot Active15-Nov-09 12:04 
GeneralRe: Login problem with ExecuteScalar(); Pin
Abhishek Sur15-Nov-09 12:08
professionalAbhishek Sur15-Nov-09 12:08 
AnswerRe: Login problem with ExecuteScalar(); Pin
Christian Graus15-Nov-09 17:28
protectorChristian Graus15-Nov-09 17:28 
QuestionAccesing control value in GridView on postback Pin
Aftab Sindhi15-Nov-09 5:07
Aftab Sindhi15-Nov-09 5:07 
I've a user control, which contains GridView. The gridview is bound to the ObjectDataSource. The gridview is displaying checkboxes in the shape of matrix like below


Title View Insert Edit
Users checkbox checkbox checkbox
Page Data checkbox checkbox checkbox


The columns and Titles are dynamic, which is generated by the object(which is used by ObjectDataSource). The data of the grid is displayed correctly without any problem. Under the grid there is button. On the button click I want to know, which check boxes are checked. I can loop through every row of the grid and can access the checkbox also.
Now, problem is, on button click when I am looping through gridview rows, all checkboxes are shown as unchecked while before click I check some checkboxes.
Strange behavior is this, that, on 1st click, checkboxes are not retaining checked state, while on 2nd click, same code shows checked check boxes correctly.
In short, problem is on 1st click, while subsequent clicks are working as expected. Is there anybody who can tell whats wrong?

Regards

Aftab Sindhi
.NET Application Developer
U.A.E

AnswerRe: Accesing control value in GridView on postback Pin
Suresh Pirsquare15-Nov-09 7:04
Suresh Pirsquare15-Nov-09 7:04 
Questionhttp request and web request Pin
noo.dyab15-Nov-09 5:07
noo.dyab15-Nov-09 5:07 
AnswerRe: http request and web request Pin
Abhishek Sur15-Nov-09 6:16
professionalAbhishek Sur15-Nov-09 6:16 
Questioncan we store viewstate in masterpage? Pin
Suresh Pirsquare14-Nov-09 19:31
Suresh Pirsquare14-Nov-09 19:31 
AnswerRe: can we store viewstate in masterpage? Pin
Abhijit Jana14-Nov-09 19:55
professionalAbhijit Jana14-Nov-09 19:55 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare14-Nov-09 20:16
Suresh Pirsquare14-Nov-09 20:16 
GeneralRe: can we store viewstate in masterpage? Pin
Abhijit Jana14-Nov-09 20:30
professionalAbhijit Jana14-Nov-09 20:30 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare14-Nov-09 20:38
Suresh Pirsquare14-Nov-09 20:38 
GeneralRe: can we store viewstate in masterpage? Pin
Abhijit Jana14-Nov-09 21:12
professionalAbhijit Jana14-Nov-09 21:12 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare14-Nov-09 23:11
Suresh Pirsquare14-Nov-09 23:11 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare14-Nov-09 23:49
Suresh Pirsquare14-Nov-09 23:49 
GeneralRe: can we store viewstate in masterpage? Pin
Abhishek Sur14-Nov-09 22:44
professionalAbhishek Sur14-Nov-09 22:44 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare14-Nov-09 23:46
Suresh Pirsquare14-Nov-09 23:46 
GeneralRe: can we store viewstate in masterpage? Pin
Abhishek Sur15-Nov-09 0:06
professionalAbhishek Sur15-Nov-09 0:06 
GeneralRe: can we store viewstate in masterpage? Pin
N a v a n e e t h14-Nov-09 21:02
N a v a n e e t h14-Nov-09 21:02 
GeneralRe: can we store viewstate in masterpage? Pin
Abhijit Jana14-Nov-09 21:09
professionalAbhijit Jana14-Nov-09 21:09 
GeneralRe: can we store viewstate in masterpage? Pin
Suresh Pirsquare14-Nov-09 23:08
Suresh Pirsquare14-Nov-09 23:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.