May 07, 2010, 5:43 AM
[CLOSED] Hiding/displaying dynamic panel on Ajax Postback in coolite window control
Hi
I am creating dynamic controls and placing them within dynamically created panel.
I need to show different panel on Ajax Postback ,triggered by some coolite control (in this case , combo box selected item change).
I am using Coolite 0.8.1
I have enclosed a sample solution for your reference.
Reference to sample solution
--Data File
app_data\DataFile.XML
--User Control - DemouControl.ascx - inherits from class '
DemoWebControl' .
--ASPX page - DynamicGridPAge.aspx
My requirement - I should populate controls within user control depending on item selected in dropdown placed in ASPX page .(in this solution - Combo Box ID -'Type'.
My approach - i am trying to create a collection of panels and then adding them on user control.As per selection made in combo-box, i am making that Panel visible.
Problem - Only default instance gets created , it doesnot render other panels.
Please provide me with the solution or other approach to meet my requirements.
I am creating dynamic controls and placing them within dynamically created panel.
I need to show different panel on Ajax Postback ,triggered by some coolite control (in this case , combo box selected item change).
I am using Coolite 0.8.1
I have enclosed a sample solution for your reference.
Reference to sample solution
--Data File
app_data\DataFile.XML
--User Control - DemouControl.ascx - inherits from class '
DemoWebControl' .
--ASPX page - DynamicGridPAge.aspx
My requirement - I should populate controls within user control depending on item selected in dropdown placed in ASPX page .(in this solution - Combo Box ID -'Type'.
My approach - i am trying to create a collection of panels and then adding them on user control.As per selection made in combo-box, i am making that Panel visible.
Problem - Only default instance gets created , it doesnot render other panels.
Please provide me with the solution or other approach to meet my requirements.