|
|
 |
| ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

March 13th, 2006, 11:28 AM
|
|
Authorized User
|
|
Join Date: Jan 2006
Location: PASADENA, CALIFORNIA, USA.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
drop down with large data on postback gives error
hai everyone
i havnt got any solution to the previous blog and in mean time i have found a high priority bug which gives error.
when i operate any click event in the page that contains a dropdown which is binded with large data then it gives error message stating maximum request length exceeded i dont understand the problem.
can anyone help me what kind of problem it is whether coding problem or sql problem or browser problem
thanks in advance
__________________
Regards,
P.Madhusudhana Rao
|

March 13th, 2006, 04:14 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,328
Thanks: 0
Thanked 1 Time in 1 Post
|
|
most likly a timeout on the sql server. You really shouldn't pull large amounts of data into a dropdownlist anyway. Restrict the # of rows retrieved.
|

March 13th, 2006, 04:50 PM
|
|
Friend of Wrox
|
|
Join Date: Jul 2003
Location: , , .
Posts: 559
Thanks: 6
Thanked 1 Time in 1 Post
|
|
I had the same error myself. Except, it wasn't the drop-downs that were large. The drop-downs contained filter values for what could be large queries on the page.
I put
Code:
enableviewstate=False
on all of the controls on the page and it solved the error.
|

March 14th, 2006, 12:48 AM
|
|
Authorized User
|
|
Join Date: Jan 2006
Location: PASADENA, CALIFORNIA, USA.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hai,
jbenson001,rstelma
A close thanks to u for giving me a good solution.I have another dought which i think can be clarified by you as the previous one.i need to speed up the UI which takes atleast 10 minutes to get loaded.
but i dont have anyproblem with the query, it is executing fastly.my page has a datagrid which contains the dropdown and page size is 10 so for filling all the rows with the dropdown where each dropdown contains nearly 50000 values. probably it is taking time,but the query executes fast so i need to trace in which part it is slowing down and suggest me a solution that i can come out of it
thank you
have a nice day.
|

March 14th, 2006, 12:52 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Location: , NJ, USA.
Posts: 1,328
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Glad to help
|

March 16th, 2006, 02:55 AM
|
|
Authorized User
|
|
Join Date: Jan 2006
Location: PASADENA, CALIFORNIA, USA.
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thank u very much
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |