May 24, 2011, 12:10 PM
[CLOSED] Setting a ComboBox Value
Hi all
I've got a Ext:Windows with a TabPanel and some Panels.
The first visible Panel attached to the TabPanel holds a Combobox.
After selecting a Value from the ComboBox other Panels (let's call them Panel B & C) from the Windows will be attached to the TabPanel.
So far, so good...
After I close the Window an reopen it, Panel B & C are still attached and the ComboBox contains the last selection ! I use the show/hide mechanism for the Window - that's the reason why, I know :-)
with this Code
this Code seems to be not working
Kind Regards
Peter
I've got a Ext:Windows with a TabPanel and some Panels.
The first visible Panel attached to the TabPanel holds a Combobox.
After selecting a Value from the ComboBox other Panels (let's call them Panel B & C) from the Windows will be attached to the TabPanel.
So far, so good...
After I close the Window an reopen it, Panel B & C are still attached and the ComboBox contains the last selection ! I use the show/hide mechanism for the Window - that's the reason why, I know :-)
with this Code
myWindow.ViewStateMode = UI.ViewStateMode.Enabled
tabMain.HideTabStripItem(PanelB)
tabMain.HideTabStripItem(PanelC)
the Window Clean Up seems to be Ok but the ComboBox still holds the last Selection ?this Code seems to be not working
myCombobox.SetValue(String.Empty)
How can I rest the ComboBox w/o destroying the whole Window ?Kind Regards
Peter
Last edited by Daniil; May 31, 2011 at 10:49 AM.
Reason: Marked as [CLOSED]. No more info was provided.