Jan 13, 2017, 5:04 PM
[CLOSED] Conditionally Render Ext.Net object only if it does not already exist.
Hello,
I am using Ext.Net V4.1.0.0 and c# in Net Framework 4.6.1.
I have an MVC View which have several tabs that display an identical control with different data. I also have an Ext.Net.Window which can serve all of the tabs. Each tab is independent of the others which may or may not be there depending on the configuration. I want to add the Ext.Net.Window in code behind on each instance of a tab, but only have the first instance render when the page is rendered. Is there any way to only add the Ext.Net.Window to the rendered view once and have any subsequent attempt to add the Ext.Net.Window with the same ID ignored?
Thanks.
I am using Ext.Net V4.1.0.0 and c# in Net Framework 4.6.1.
I have an MVC View which have several tabs that display an identical control with different data. I also have an Ext.Net.Window which can serve all of the tabs. Each tab is independent of the others which may or may not be there depending on the configuration. I want to add the Ext.Net.Window in code behind on each instance of a tab, but only have the first instance render when the page is rendered. Is there any way to only add the Ext.Net.Window to the rendered view once and have any subsequent attempt to add the Ext.Net.Window with the same ID ignored?
Thanks.
Last edited by fabricio.murta; Jan 18, 2017 at 6:56 PM.