2
Reply

Script Error Because of Huge number of rows in ASP Table

HariPrasad Katakam

HariPrasad Katakam

Aug 8 2012 6:12 AM
3.2k
I have a requirement in my project, where web page displays bulk of products in a ASP Table with labels and textboxes. If the user wanted to add any product he need to enter the quatity in the Quatity text box in the repective row. Once done user has to click the save button in order to save the all products which is having quatity. 
 
In code behind file i am looping through ASP Table rows and filtering the rows, which are having quatity and firing sql qurey(Calling Stored procedure ) to insert the products in DB.
 
My Issue is this fuctionality working fine. But Now as per client requirements i need to add more number of products to master data. Initially there was 100 products was there now the count has been incresed to 300+ .Now, once i added 300+ products in master data ASP table is rendering with any issue in the webpage. But while saving it is throughing script error in the browser.
 
Stop running the script?
 
A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer might become unresponsive.

 
So i would like request some one, please suggest me any alternative solution to overcome this issue.
 
Note:- This ASP Table is placed in Update panel of AJAX.
 
Thanks in advance.
 
Hari.

Answers (2)