Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
|
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 Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 13th, 2006, 11:28 AM
Authorized User
 
Join Date: Jan 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
 
Old March 13th, 2006, 04:14 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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.
 
Old March 13th, 2006, 04:50 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

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.

 
Old March 14th, 2006, 12:48 AM
Authorized User
 
Join Date: Jan 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
 
Old March 14th, 2006, 12:52 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Glad to help

 
Old March 16th, 2006, 02:55 AM
Authorized User
 
Join Date: Jan 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thank u very much






Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal report binding with large data set, error lankark Crystal Reports 0 April 3rd, 2008 09:16 AM
postback issue with drop downlists emachines ADO.NET 3 March 26th, 2005 01:36 PM
postback issue with drop downlists with javascript emachines Javascript 3 January 24th, 2005 06:54 AM
postback issue with drop downlists emachines General .NET 1 January 9th, 2005 09:42 PM
postback issue with drop downlists with javascript emachines Javascript How-To 1 January 6th, 2005 01:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.