Aug 06, 2010, 9:26 PM
[CLOSED] [1.0] Problem with revision 2973
i have updated from revision 2969 to 2973 and i got a new error when adding a tabpanel by code, here is a screen
the code is:
the code is:
Dim oTab As New Ext.Net.Panel
Dim oIdioma As Modulos.Admin_Page_Idioma
oTab.ID = "tabIdiom_" & pIdiomaID
If pBandera.Length = 0 Then
oTab.Title = pTitulo
Else
oTab.Title = "<img src='" & Page.ResolveUrl("~/images/flags/") & pBandera & "' /> " & pTitulo
End If
oTab.Border = False
'Cargo el Idioma
oIdioma = LoadControl("~/Modules/Admin/Page_Idioma.ascx")
oIdioma.ID = "CTRLIDIOMA_" & pIdiomaID
oIdioma.IdiomaID = pIdiomaID
oIdioma.PageID = pPageID
oTab.ContentControls.Add(oIdioma)
oTab.Render(tabEdit, intIndice, RenderMode.InsertTo)
oTab.UpdateContent()
intIndice += 1
<ext:Viewport runat="server" Layout="Fit">
<Items>
<ext:TabPanel ID="tabEdit" runat="server" ActiveTabIndex="0" Border="false" AnimScroll="true" AutoScroll="true">
<Items>
</Items>
</ext:TabPanel>
</Items>
</ext:Viewport>
Last edited by geoffrey.mcgill; Aug 10, 2010 at 7:51 PM.
Reason: [CLOSED]