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

ASP.NET limitations?!?

Hello guys,

I have an interesting problem which I'm trying to explain. I feel that the
issue is fairly low level to the ASP.NET architecture.

The application that I'm writing processes LARGE amounts of data (storing it
into a DataTable object) and displays the reports it in the DataGrid web
control. The aspx page in question has some other buttons that do simple
redirecting or other elementary actions.

Here is the problem. When the DataGrid is of a reasonable (I know that this
a vague term) size everything works fine. But, if DataGrid becomes large
(several thousand rows), the page starts behaving differently. For one, the
width of the controls on the page (% of the page width) stops working,
spreading the control wider than the screen. This is annoying but relatively
benign. The bigger problem is that in such cases if one clicks on any of the
buttons, the page immediately turns into 'The page cannot be displayed page.
No data processing, no ASP errors - nothing. Just that page as if you lost
the connection to the network. And here is the kicker. The page also
contains regular HTML links. Those work great!

So, my guess that something with the request/response objects is getting
corrupted when these objects carry large amounts of data. An overflow
problem perhaps?!?
Anybody know reason why this is happening? When I understand the reason I
might be able to think about ways to fix it, but up to this point I'm
clueless.

Thanks,

Milan
Nov 19 '05 #1
4 2495
Hi Milan,

I'm wondering if it has to do with the huge viewstate that such a grid would
maintain? If you aren't allowing editing in the grid, you might want to try
turning off the viewstate to see if that reduces the huge amount of
overhead.

Ken

"Milan Todorovic" <mi*************@ttu.edu> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hello guys,

I have an interesting problem which I'm trying to explain. I feel that the
issue is fairly low level to the ASP.NET architecture.

The application that I'm writing processes LARGE amounts of data (storing
it into a DataTable object) and displays the reports it in the DataGrid
web control. The aspx page in question has some other buttons that do
simple redirecting or other elementary actions.

Here is the problem. When the DataGrid is of a reasonable (I know that
this a vague term) size everything works fine. But, if DataGrid becomes
large (several thousand rows), the page starts behaving differently. For
one, the width of the controls on the page (% of the page width) stops
working, spreading the control wider than the screen. This is annoying but
relatively benign. The bigger problem is that in such cases if one clicks
on any of the buttons, the page immediately turns into 'The page cannot be
displayed page. No data processing, no ASP errors - nothing. Just that
page as if you lost the connection to the network. And here is the kicker.
The page also contains regular HTML links. Those work great!

So, my guess that something with the request/response objects is getting
corrupted when these objects carry large amounts of data. An overflow
problem perhaps?!?
Anybody know reason why this is happening? When I understand the reason I
might be able to think about ways to fix it, but up to this point I'm
clueless.

Thanks,

Milan


Nov 19 '05 #2
Ken,

That worked. Since the grid is used only for displaying (not modifying) data
I could turn it off. It worked great.

Milan
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:u3**************@TK2MSFTNGP15.phx.gbl...
Hi Milan,

I'm wondering if it has to do with the huge viewstate that such a grid
would maintain? If you aren't allowing editing in the grid, you might
want to try turning off the viewstate to see if that reduces the huge
amount of overhead.

Ken

"Milan Todorovic" <mi*************@ttu.edu> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hello guys,

I have an interesting problem which I'm trying to explain. I feel that
the issue is fairly low level to the ASP.NET architecture.

The application that I'm writing processes LARGE amounts of data (storing
it into a DataTable object) and displays the reports it in the DataGrid
web control. The aspx page in question has some other buttons that do
simple redirecting or other elementary actions.

Here is the problem. When the DataGrid is of a reasonable (I know that
this a vague term) size everything works fine. But, if DataGrid becomes
large (several thousand rows), the page starts behaving differently. For
one, the width of the controls on the page (% of the page width) stops
working, spreading the control wider than the screen. This is annoying
but relatively benign. The bigger problem is that in such cases if one
clicks on any of the buttons, the page immediately turns into 'The page
cannot be displayed page. No data processing, no ASP errors - nothing.
Just that page as if you lost the connection to the network. And here is
the kicker. The page also contains regular HTML links. Those work great!

So, my guess that something with the request/response objects is getting
corrupted when these objects carry large amounts of data. An overflow
problem perhaps?!?
Anybody know reason why this is happening? When I understand the reason I
might be able to think about ways to fix it, but up to this point I'm
clueless.

Thanks,

Milan

Nov 19 '05 #3
SA
Milan:

Glad you found a solution. Seems to me like the browser was having some
issues with the page, rather than ASP.NET. Just out of curiosity, did you
examine the HTML that was generated to see if the tags were actually
correctly formed?

Also, displaying 1000s of rows in a single DataGrid may not be the best way
to present data to your users. Even though you have found a solution to the
technical problem, it seems your application could benefit from paging in
the control as well, to solve a "human issue".

HTH,

--

---

Sven.

"Milan Todorovic" <mi*************@ttu.edu> wrote in message
news:#o*************@TK2MSFTNGP15.phx.gbl...
Ken,

That worked. Since the grid is used only for displaying (not modifying) data I could turn it off. It worked great.

Milan
"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:u3**************@TK2MSFTNGP15.phx.gbl...
Hi Milan,

I'm wondering if it has to do with the huge viewstate that such a grid
would maintain? If you aren't allowing editing in the grid, you might
want to try turning off the viewstate to see if that reduces the huge
amount of overhead.

Ken

"Milan Todorovic" <mi*************@ttu.edu> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hello guys,

I have an interesting problem which I'm trying to explain. I feel that
the issue is fairly low level to the ASP.NET architecture.

The application that I'm writing processes LARGE amounts of data (storing it into a DataTable object) and displays the reports it in the DataGrid
web control. The aspx page in question has some other buttons that do
simple redirecting or other elementary actions.

Here is the problem. When the DataGrid is of a reasonable (I know that
this a vague term) size everything works fine. But, if DataGrid becomes
large (several thousand rows), the page starts behaving differently. For one, the width of the controls on the page (% of the page width) stops
working, spreading the control wider than the screen. This is annoying
but relatively benign. The bigger problem is that in such cases if one
clicks on any of the buttons, the page immediately turns into 'The page
cannot be displayed page. No data processing, no ASP errors - nothing.
Just that page as if you lost the connection to the network. And here is the kicker. The page also contains regular HTML links. Those work great!
So, my guess that something with the request/response objects is getting corrupted when these objects carry large amounts of data. An overflow
problem perhaps?!?
Anybody know reason why this is happening? When I understand the reason I might be able to think about ways to fix it, but up to this point I'm
clueless.

Thanks,

Milan


Nov 19 '05 #4
Hi Milan,

Glad my guess helped. Thanks for reporting back!

Ken

"Milan Todorovic" <mi*************@ttu.edu> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Ken,

That worked. Since the grid is used only for displaying (not modifying)
data I could turn it off. It worked great.

Milan


Nov 19 '05 #5

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

Similar topics

3
by: Hajir Firooz | last post by:
Hi, I am wondering what are the limitations of MS Access 2000 database in terms of number of records per table. Any help will be appreciated.
4
by: Markus Wankus | last post by:
I am about to introduce my company to Solidworks. What are the limitations of the 30 day evaluation copy? I had planned on getting the eval from my VAR, then doing a very small prototype project...
0
by: Marek Lewczuk | last post by:
Hello, I have a strange problem, maybe some of you will be able to explain me something. I use LEFT JOIN as a substitute for subselects. It's true that many subselects can be rewriten using LEFT...
13
by: Jeager | last post by:
Why is it, Microsoft manage to write operating systems and office applications with every bell and whistle facility known to man. Yet, even after years and years of development they still cannot...
3
by: Jack | last post by:
Quick question, does anyone know what the limitations are, besides memory for GMP, and also, if I write software that uses this library, is it true that it may run differently on different hardware...
8
by: Kerry W Brown | last post by:
Microsoft® Visual C#® .NET 2003 Standard Edition Are there any significant limitations with using the standalone C# Standard version. At this stage I am only concerned with learning ... ...
5
by: Roman | last post by:
Hi, I am relatively new to dotnet and have heard great things about form validation and how easy it is. While I can see some improvements compared with classic asp I am a bit disappointed at...
6
by: Smokey Grindle | last post by:
Is there any real or virtual class size limitations? such as number of methods, properties or fields? I know its bad practice to make a class outragiously large, but was just wondering if there was...
0
by: TonyJ | last post by:
Hello! I'm unsure when I can use a bound datagrid and when I can't. What limitations has a bound datagrid? 1. For example if I want to manipulate the data in the datasource before displaying...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.