Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


datagrid - selecting checkboxes in different pages .NET

Posted on 2010-01-07
Medium Priority
Last Modified: 2013-11-08

I have a web application. I retrieve data from the database and display them in a datagrid.
lets say I have 100 records but using paging feature, I only display 10 records per page.

Each record has a checkbox. I select 2 records (by checking their checkboxes) from the first page and 2 records (by checking their checkboxes)from the page 6.

Is it possible to have a button such as 'View Selected' and when I click on the button, I only see the selected records from page 1 and page 6?

(either frame work 1.X or framework 3.X)

Thanks in advance
Question by:shmz
  • 2
LVL 11

Expert Comment

ID: 26203974

  Checkboxes will be read from the current page only.

Author Comment

ID: 26204204
thanks Rajvja,
Yes I know, but is there any work around?
LVL 11

Accepted Solution

rajvja earned 2000 total points
ID: 26204304
I think,

   CheckBox click event, store in a page level variable or other kind. Save the chekboxids or any required data and work on this finally.


In the checkbox click event, store the details in a datatable and work on that.

I know this is time consuming but no option

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Screencast - Getting to Know the Pipeline
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question