or

List<WS_RetailerPerson> personen = oRetailer.WS_RetailerPerson.ToList(); foreach (WS_RetailerPerson item in personen) { using (RadTab tab = new RadTab()) { tab.Text = item.WS_Person.FullName; tabstripContactPerson.Tabs.Add(tab); } using (RadPageView pageView = new RadPageView()) { PersonEditControl ucPersonEdit = (PersonEditControl)LoadControl(PERSONEDITCONTROL_PATH); using (DynamicControlsPlaceholder phDynamic = new DynamicControlsPlaceholder()) { ucPersonEdit.ID = "ucPersonEdit" + item.PersonId.ToString(); ucPersonEdit.PersonId = item.PersonId; pageView.Controls.Add(ucPersonEdit); mpContactPersonen.PageViews.Add(pageView); } } }}foreach (RadPageView pageView in mpContactPersonen.PageViews) { foreach (PersonEditControl ucPersonEdit in pageView.Controls) { ucPersonEdit.Save(); } }protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { SummaryGrid.ItemDataBound +=new GridItemEventHandler(SummaryGrid_ItemDataBound); ... } } Hi, I get the error 'Telerik.Web.UI.RadListBox' is null or not an object when I have a RadListbox present on my .ascx control firstable with visible as false, but when I try to show this control, this error occurs. It is not exclusive for this control on my sharepoint application, I have the same error with others Telerik controls that have the same behavior ( starting are hide, and then I need to show them).
I followed this post, but I'm sure that all the entries and configurations are done on my application config. The version of telerik that I'm using is the 2010.3.1109.35
Thanks.
<table align="center" cellspacing="0" class="style1"> <tr> <td class="style2"> <telerik:RadRibbonBar ID="MainRibbon" runat="server" Tabs-Capacity="4" Skin="Default" /> </td> </tr> </table> <table style="height: 100%; width: 100%;"> <tr> <td style="background-color: Blue;"> <telerik:RadSplitter id="Splitter1" runat="server" Width="100%" Height="100%"> <telerik:RadPane id="MainPane" runat="server" Width="100%" Height="100%"> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"/> </telerik:RadPane> </telerik:RadSplitter> </td> </tr> </table