Jun 18, 2013, 3:22 AM
[CLOSED] Add multiple dynamic tab (e.g. iframe) to tabpanel and load this immediately via Code behind
Hi Team,
Is that possbile to add multiple dynamic tab (e.g. iframe) to tabpanel and load this immediately via code behind?
Terry
Is that possbile to add multiple dynamic tab (e.g. iframe) to tabpanel and load this immediately via code behind?
Panel pendingTicketProblemReportingProblemReportingTab = new Panel();
pendingTicketProblemReportingProblemReportingTab.ID = String.Format(TabIdTemplate.TabProblemReportingEntityListTemplate, EntityCodeValue.PendingTicket);
pendingTicketProblemReportingProblemReportingTab.Border = false;
pendingTicketProblemReportingProblemReportingTab.AutoLoad.Mode = LoadMode.IFrame;
pendingTicketProblemReportingProblemReportingTab.AutoLoad.Url = this.GetAppSetting("UrlProblemReportingEntityList");
pendingTicketProblemReportingProblemReportingTab.AutoLoad.Params.Add(new Parameter(ParamName.EntityCode, EntityCodeValue.PendingTicket));
pendingTicketProblemReportingProblemReportingTab.AutoLoad.ShowMask = true;
pendingTicketProblemReportingProblemReportingTab.AutoLoad.NoCache = true;
pendingTicketProblemReportingProblemReportingTab.Icon = Icon.BasketRemove;
pendingTicketProblemReportingProblemReportingTab.TabTip = "Pending Request";
pendingTicketProblemReportingProblemReportingTab.AddTo(this.pnlMainRequestTabs);
Panel processTicketProblemReportingProblemReportingTab = new Panel();
processTicketProblemReportingProblemReportingTab.ID = String.Format(TabIdTemplate.TabProblemReportingEntityListTemplate, EntityCodeValue.ProcessTicket);
processTicketProblemReportingProblemReportingTab.Border = false;
processTicketProblemReportingProblemReportingTab.AutoLoad.Mode = LoadMode.IFrame;
processTicketProblemReportingProblemReportingTab.AutoLoad.Url = this.GetAppSetting("UrlProblemReportingEntityList");
processTicketProblemReportingProblemReportingTab.AutoLoad.Params.Add(new Parameter(ParamName.EntityCode, EntityCodeValue.ProcessTicket));
processTicketProblemReportingProblemReportingTab.AutoLoad.ShowMask = true;
processTicketProblemReportingProblemReportingTab.AutoLoad.NoCache = true;
processTicketProblemReportingProblemReportingTab.Icon = Icon.World;
processTicketProblemReportingProblemReportingTab.TabTip = "All Processing Request";
processTicketProblemReportingProblemReportingTab.AddTo(this.pnlMainRequestTabs);
Best Regards,Terry
Last edited by Baidaly; Jun 20, 2013 at 10:27 PM.
Reason: [CLOSED]