473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Problem with changing number of rows per page dynamically in datagrid


Hi,
In my Asp.net project, i am using datagrid to show results, whic
included custom sorting, custom paging and option to select number o
rows per page using radio button list. it works very fine. here i a
facing one problem i.e.,
i have 3 options like 25, 30, 35 records per page simultaniously. i
i selected any option it display results in proper way for next an
previous pages also. when i click next or previous page the radi
button selection will go to default selection, but results will com
accoedingly selection option.
I want to keep radio butto selection also.

hope you under stand.
Plz help me out.

Thanks in advance,

Lalitha.

--
lalitha102
-----------------------------------------------------------------------
lalitha1024's Profile: http://www.highdots.com/forums/member.php?userid=47
View this thread: http://www.highdots.com/forums/showthread.php?t=204342

Nov 19 '05 #1
1 1722
Are you sure that RadioButtons are from WebControl controls set?
If yes, check RadioButton.EnableViewState property.

--
C# Dev
"lalitha1024" wrote:

Hi,
In my Asp.net project, i am using datagrid to show results, which
included custom sorting, custom paging and option to select number of
rows per page using radio button list. it works very fine. here i am
facing one problem i.e.,
i have 3 options like 25, 30, 35 records per page simultaniously. if
i selected any option it display results in proper way for next and
previous pages also. when i click next or previous page the radio
button selection will go to default selection, but results will come
accoedingly selection option.
I want to keep radio butto selection also.

hope you under stand.
Plz help me out.

Thanks in advance,

Lalitha.C
--
lalitha1024
------------------------------------------------------------------------
lalitha1024's Profile: http://www.highdots.com/forums/member.php?userid=470
View this thread: http://www.highdots.com/forums/showthread.php?t=2043427

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Joe Bloggs | last post by:
I am trying display the contents of a table in a web page, select certain rows from that table and then display the fields that I have selected (now table columns) as text in a Label object....
0
by: sameer mowade via .NET 247 | last post by:
Hello All, I have problem while dynamically removing row from the Datagrid which i have added dynamically as shown in the following code snippet. The problem is that while removing dynamically...
5
by: VB Programmer | last post by:
I have a simple datagrid on a webform. (I'm using VB.NET.) In the page load I get some data, set the .DataSource property of the dg, then do a .DataBind. The columns are automatically created. ...
2
by: Steve Chatham | last post by:
I use the following code: Private Sub RbtnExport_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RbtnExport.SelectedIndexChanged Dim sFile As String =...
4
by: The Alchemist | last post by:
I am having a problem with a dynamically-generated Datagrid. It is important to point out that this problem does not exist with a design-time created Datagrid, but only with a dynamically generated...
7
by: Amirallia | last post by:
Hello! I have a wecontrol table in a page, this table has a number of variable rows depending of the choice of the user. But when the table has a large number of rows, the printing of the page...
6
by: hlubocky | last post by:
I thought I had a good grasp of the problem related to dynamically creating controls, but it appears that as my application grew in complexity, the problem has resurfaced. As I understand it, in...
1
by: Octopus0 | last post by:
hi, i have a problem in row size when I set the page size. for eamlple if i set the page size of a datagrid to 8 rows and there is only two rows in the grid, then the hieght of the rows become...
1
by: Ahmed Yasser | last post by:
Hi all, i have a problem with the datagridview sorting, the problem is a bit complicated so i hope i can describe in the following steps: 1. i have a datagridview with two columns...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.