Click here to Skip to main content
15,914,071 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How do i get certain types of controls from a Page (Control)? Pin
Christian Graus9-Jun-08 16:39
protectorChristian Graus9-Jun-08 16:39 
QuestionReorderList Problems in IE6 Pin
expinch9-Jun-08 11:01
expinch9-Jun-08 11:01 
QuestionGridview Particular Column goes to Next Row Pin
Sarfaraj Ahmed9-Jun-08 10:52
Sarfaraj Ahmed9-Jun-08 10:52 
AnswerRe: Gridview Particular Column goes to Next Row Pin
eyeseetee9-Jun-08 21:53
eyeseetee9-Jun-08 21:53 
GeneralRe: Gridview Particular Column goes to Next Row Pin
Sarfaraj Ahmed10-Jun-08 7:43
Sarfaraj Ahmed10-Jun-08 7:43 
Questionput an aspx button into DotNetNuke Pin
dsidave9-Jun-08 8:13
dsidave9-Jun-08 8:13 
QuestionHow to Select All Checkboxes while GridView Paging is Allowed? Pin
nature02769-Jun-08 8:11
nature02769-Jun-08 8:11 
AnswerRe: How to Select All Checkboxes while GridView Paging is Allowed? Pin
boy.pockets9-Jun-08 16:11
boy.pockets9-Jun-08 16:11 
This is one way you could do it (this is without javascript. you could do the same thing with javascript and probably faster too)

[This will work if you are using client side paging (i.e. when the select method returns, it returns all the possible records, not just the page - which is know as server side paging)]

1. Create a map of the records. The key would be the unique id of the record, the value would represent the checked value. This now becomes your model for manipulating the records when the checkbox value is used.
2. When the data is loaded, their values would have to be inserted (if not already present) or updated.
3. When the select all button is fired, simply update all the values in the map. [note: you should give feedback to your user that all the records have been selected. Something like "All 375 records have been selected"]
4. Set the checkbox property AutoPostback to true and update the map every time a checkbox is updated.

When actions are being executed that rely on the check box value (for example, delete selected), use the Map to determine which records are selected.
AnswerRe: How to Select All Checkboxes while GridView Paging is Allowed? Pin
John-ph9-Jun-08 21:39
John-ph9-Jun-08 21:39 
QuestionHow to get retrieve a page from any website and store all urls on that page into database?? Pin
Technobizz9-Jun-08 8:07
Technobizz9-Jun-08 8:07 
AnswerRe: How to get retrieve a page from any website and store all urls on that page into database?? Pin
leckey9-Jun-08 9:22
leckey9-Jun-08 9:22 
QuestionHow To Receive Input From A BarCode Reader Pin
Tomic9-Jun-08 8:04
Tomic9-Jun-08 8:04 
AnswerRe: How To Receive Input From A BarCode Reader Pin
StevenWalsh9-Jun-08 9:44
StevenWalsh9-Jun-08 9:44 
GeneralRe: How To Receive Input From A BarCode Reader Pin
Tomic9-Jun-08 22:36
Tomic9-Jun-08 22:36 
QuestionTo check the input and output of the webservice functionality Pin
indian1439-Jun-08 7:36
indian1439-Jun-08 7:36 
AnswerRe: To check the input and output of the webservice functionality Pin
Vasudevan Deepak Kumar11-Jun-08 1:42
Vasudevan Deepak Kumar11-Jun-08 1:42 
QuestionEditing a newly added gridview row bound by a generic list. Pin
Steve Holdorf9-Jun-08 7:11
Steve Holdorf9-Jun-08 7:11 
GeneralError Handling Recommendations Pin
Brady Kelly9-Jun-08 6:34
Brady Kelly9-Jun-08 6:34 
GeneralRe: Error Handling Recommendations Pin
N a v a n e e t h9-Jun-08 16:33
N a v a n e e t h9-Jun-08 16:33 
Questiongridview issue Pin
trilokharry9-Jun-08 5:38
trilokharry9-Jun-08 5:38 
QuestionInserting a blank row to a gridview bound to a generic list Pin
Steve Holdorf9-Jun-08 5:25
Steve Holdorf9-Jun-08 5:25 
AnswerRe: Inserting a blank row to a gridview bound to a generic list Pin
nature02769-Jun-08 8:04
nature02769-Jun-08 8:04 
Questionassign value Pin
trilokharry9-Jun-08 3:52
trilokharry9-Jun-08 3:52 
AnswerRe: assign value Pin
eyeseetee9-Jun-08 3:52
eyeseetee9-Jun-08 3:52 
Questioncontainer value in JavaScrip function Pin
trilokharry9-Jun-08 2:41
trilokharry9-Jun-08 2:41 

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.