I've created a DataGrid and supplied it with data. The problem is when I scroll over the table many times, the Scrollbar is expanding.
Could any one help in this?
View Complete Post
I have two tables : table1 (primary) and table2 with one to many relation .
table 1 has more than 130 000 records , table2 has near to 200 000 records .
when i am trying to list table2 , the table2/list.aspx will build filter depending on the relation.; this operation slows down the page (drop down list with 130 000 record)
I disabled the filter by using the attribute AutoGenerateFilter = False .
now the problem is that table2/list.aspx?key=value will list all the recoreds in table 2 .
why is the page not using the query that is related to the parmeter passed to it ?
List.aspx (or list.aspx?key=value) will always get all the recorders from the table2 after disabling the key relation filter .
I want my table2/list.aspx?key=value to query the table2 depending on the passed key which is the expected behaviour .
please advice .
I am facing issues in US environment while storing the dates so I have added 2 keys in config file viz culture which will be either en-US or en-GB depending on the deployment location and baseCulture which will always be en-GB.
In the code, I have added a condition which checks if culture and baseCulture values are not matching then do the conversion of date in US format.
But I have found that the code converts the date from dd/mm/yyyy to mm/dd/yyyy when the key is baseCulture (en-GB) and it throws FormatException when key is culture (en-US).
I am bit confused by this behaviour. Is this normal? Can any one please explain more about this? Note: I am working on a machine which has en-US as language and culture
<add key="culture" value="en-US" />
<add key="baseCulture" value="en-GB" />
// This line works and converts the date from 26/08/2010 to 08/26/2010
// Here the baseCulture is en-GB.
DateTime dt = DateTime.Parse(txtCurrentDate,baseCulture)
// This line throws FormatException. culture