473,382 Members | 1,386 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,382 software developers and data experts.

Sortable datagrid

Hello everybody,

I have a sortable datagrid on a page. On this same page, I have a
series of textboxes that the user can use to filter the datagrid's
data. However, whenever I sort, I lose the state of the textboxes. Does
anyone have any ideas on how to maintain the state of my textboxes when
I sort?

Thanks in advance!
Jack

Jun 29 '06 #1
2 902
Do your textboxes have EnableViewState turned on (true) ?
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"jack58" wrote:
Hello everybody,

I have a sortable datagrid on a page. On this same page, I have a
series of textboxes that the user can use to filter the datagrid's
data. However, whenever I sort, I lose the state of the textboxes. Does
anyone have any ideas on how to maintain the state of my textboxes when
I sort?

Thanks in advance!
Jack

Jun 29 '06 #2
Yes, EnableViewState is set to true. They keep their state when
submitted using a button. It is just when the datagrid is sorted that
they lose their state. Any other ideas as to what might be wrong?

Thanks again!

Peter wrote:
Do your textboxes have EnableViewState turned on (true) ?
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"jack58" wrote:
Hello everybody,

I have a sortable datagrid on a page. On this same page, I have a
series of textboxes that the user can use to filter the datagrid's
data. However, whenever I sort, I lose the state of the textboxes. Does
anyone have any ideas on how to maintain the state of my textboxes when
I sort?

Thanks in advance!
Jack


Jun 30 '06 #3

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

Similar topics

7
by: Matthias Käppler | last post by:
Hi, I have the following problem: I want to store file objects in a container 8for now, it's not important how they look like). Now, on the one hand I need to be able to randomly pick files...
2
by: Diffident | last post by:
Hello All, I would like to set css class for datagrid's sortable columns. I cannot do it in the datagrid's header's CSSClass. Datagrid's sortable column headings are generated as <a> tags for...
0
by: cedoucette | last post by:
I just wrote code to support sortable columns in a datagrid. It seems to work fine; but, it doesn't look right. The problem is that I have a generic style for links and a different style for the...
3
by: Sun | last post by:
Hi I had a sortable datagrid and it worked fine when I clicked the headers. Then I introduced 2 textboxes and a button, so I can pull data based on user input. The data came out fine but the...
2
by: Jon | last post by:
My application needs to present data generated at run time in a datagrid that can be sorted by clicking on columns, and where rows can be selected and events generated. Do I need to set up a...
3
by: TPhelps | last post by:
I have a sample of an unbound (autogeneratecolumns is true) sortable/pagable datagrid that works. I want to change one of the columns to a hyperlink. The examples I find use a bound column. I...
1
by: vincemoon | last post by:
Sites such as download.com, dealtime.com, shopping.com, and tucows.com, feature impressive sortable lists of products. What software that imports CSV can be used to generate database-driven...
7
by: shellon | last post by:
Hi all: I want to convert the float number to sortable integer, like the function float2rawInt() in java, but I don't know the internal expression of float, appreciate your help!
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...

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.