sksJegadeesh 0 Newbie Poster

Hi all,
Here i tell you about my application and the problem i faced in that application.
In my aspx page, i have tabcontainer with 3 tabpanel. One of the panel is having 2 repeater control for displaying no of zones and zone details respectively. The 2nd repeater which is displaying zone detail, is having one placeholder for holding the ascx pages dynamically based on the value selected in the dropdown(Note: dynamic load is happening in the page_load event). I mean based on the dropdown value selected, the different types of ascx control is loaded dynamically at pageload event. One of the ascx control which is going to be loaded in the aspx page, is having gridview. The problem here is after loading the ascx control, the gridview item_command event is not firing. I did some of the work around. But that are all not helping. I removed the 2 repeater and placed only the placeholder. that time is working fine.Also i loaded the ascx on oninit method. that time also loading fine. But problem in loading on oninit event is that while changing the dropdown value, the view state exception is coming saying like viewstate is not matched with control tree. Please help me to resolve this issue.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.