This is a migrated thread and some comments may be shown as answers.

Problems Expanding RadPanelBar on non-development server.

1 Answer 40 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 2
John asked on 27 Sep 2012, 10:46 AM
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  

1 Answer, 1 is accepted

Sort by
0
John
Top achievements
Rank 2
answered on 27 Sep 2012, 02:46 PM
I just wanted to let you know that it turned out to be the version of SharePoint that was on the other servers.  You need to have the December 2011 Cumulative Update installed for the SharePoint JavaScript to play nice with Telerik controls.

Thanks,

John 
Tags
PanelBar
Asked by
John
Top achievements
Rank 2
Answers by
John
Top achievements
Rank 2
Share this question
or