Click here to Skip to main content
11,410,750 members (63,945 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 19:58pm
Edited 4-Mar-13 20:01pm
v2

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 239
1 Sascha Lefévre 85
2 Dave Kreskowiak 80
3 Maciej Los 68
4 RyanDev 50
0 Sergey Alexandrovich Kryukov 8,885
1 OriginalGriff 6,915
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web01 | 2.8.150414.5 | 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