Solved

How to maintain view state for dynamic controls

Posted on 2014-01-28
2
270 Views
Last Modified: 2014-02-04
Hi,
I have created somany dynamic controls.When i click on Button event. evry thing(all controls) wentoff.Can u plz give example to maintain dynalmic controls after Post back?
0
Comment
Question by:mannevenu26
2 Comments
 
LVL 96

Assisted Solution

by:Bob Learned
Bob Learned earned 250 total points
ID: 39816774
You need to recreate dynamic controls before the view state is processed in the page life cycle.  That is in the Page_Init event handler, but it doesn't work for every situation.
0
 
LVL 12

Accepted Solution

by:
jitendra patil earned 250 total points
ID: 39817036
please check the below link,
ViewState in Dynamic Control
hope this helps.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question