Click here to Skip to main content
11,565,619 members (40,658 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET .NET
Hi,
I have created dynamic controls in one website , I have taken one asp:table in design and adding row,cell and inside cell adding different asp.net controls.I have radiobuttonlist as well as button control for that i have created dynamic selection change and on click event accordingly.

now when i select any item from radiobutton list and page is going to postback so all the controls is going to disappear , that is due to postback but how can we restrict to recreate all the controls on every post back ?

Because unnecessary it is taking heavy execution load on server and I have 11 Gb ram on server and around 200 people continuesly accessing my site at a same time.

To Improve my site performance i have taken almost steps 1) stored 25 table on cache 2) taken per user 2 session with session.sessionid for uniqnuness etc.

But still load, so i think that is due to re-creating controls so please let me know how i can stop to re-creating this control on every postback so that my site performance can be increase.

Thanks In Advance.
shailesh
Posted 4-Mar-13 18:58pm
Edited 4-Mar-13 19:01pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


Advertise | Privacy | Mobile
Web04 | 2.8.150624.2 | Last Updated 5 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100