I have submitted this as a support ticket but not gotten a response yet and I am on a deadline.
I am using the telerik controls to create a wizard for adding items to a SharePoint list. I am using a RadPanelBar to allow the users to enter data into the detail sections of the wizard on the third page. There will be a variable number of items in the panel bar and I am creating them dynamically. This is working as expected on the development box but when I deploy to my test server or the clients integration server the panels will not expand. Here is the code that is creating the panels.
ucItemEditV2 ucEditor = (ucItemEditV2)LoadControl("ucItemEditV2.ascx");
ucEditor.ID = "ucItemEdit" + itemID;
using (RadPanelItem pnlItem = new RadPanelItem())
{
RadPanelItem pnlInsideItem = new RadPanelItem();
SPListItem itm = SPContext.Current.Web.Lists[itpCommon.STR_ITProvItems].GetItemById(itemID);
pnlInsideItem.Text = " ";
pnlInsideItem.Controls.Add(ucEditor);
pnlInsideItem.Expanded = false;
ucEditor.ParentItem = pnlItem;
pnlInsideItem.TabIndex = -1;
pnlItem.Items.Add(pnlInsideItem);
pnlItem.Text = itm.Title;
ucEditor.SetItemInfo(itemID);
pnlChildren.Items.Add(pnlItem);
}
I am attaching a diagram of the way that the pages loads. I have been struggling with this for a couple of days so any help would be greatly appreciated.
Thanks,
john
I am using the telerik controls to create a wizard for adding items to a SharePoint list. I am using a RadPanelBar to allow the users to enter data into the detail sections of the wizard on the third page. There will be a variable number of items in the panel bar and I am creating them dynamically. This is working as expected on the development box but when I deploy to my test server or the clients integration server the panels will not expand. Here is the code that is creating the panels.
ucItemEditV2 ucEditor = (ucItemEditV2)LoadControl("ucItemEditV2.ascx");
ucEditor.ID = "ucItemEdit" + itemID;
using (RadPanelItem pnlItem = new RadPanelItem())
{
RadPanelItem pnlInsideItem = new RadPanelItem();
SPListItem itm = SPContext.Current.Web.Lists[itpCommon.STR_ITProvItems].GetItemById(itemID);
pnlInsideItem.Text = " ";
pnlInsideItem.Controls.Add(ucEditor);
pnlInsideItem.Expanded = false;
ucEditor.ParentItem = pnlItem;
pnlInsideItem.TabIndex = -1;
pnlItem.Items.Add(pnlInsideItem);
pnlItem.Text = itm.Title;
ucEditor.SetItemInfo(itemID);
pnlChildren.Items.Add(pnlItem);
}
I am attaching a diagram of the way that the pages loads. I have been struggling with this for a couple of days so any help would be greatly appreciated.
Thanks,
john