asp.net - Dynamically add tabpanel to tabcontrol -


i wanted dynamically add tab panel tabcontainer

i have written code.

i has no errors, still not showing me tabs.

my code:

ds = gc.getdatatolistbinder("select distinct(tabname) parameteronline isactive='y'")                = 0 ds.tables(0).rows.count - 1                  dim tpparameter ajaxcontroltoolkit.tabpanel = new ajaxcontroltoolkit.tabpanel()                  tpparameter.id = "panel_" & ds.tables(0).rows(i)(0).tostring()                 tpparameter.headertext = ds.tables(0).rows(i)(0).tostring()                  dim tc ajaxcontroltoolkit.tabcontainer = new ajaxcontroltoolkit.tabcontainer()                  tc.tabs.add(tpparameter)              next 

ds dataset here. getting tab panel's header text dataset.

code has no errors. still not showing me result (tabcontainer)

please me.

there must container control placed. msdn


Comments