Issue with usercontrol inside Telerik RadTab

2 posts, 0 answers
  1. Sheharban
    Sheharban avatar
    1 posts
    Member since:
    Mar 2013

    Posted 13 Mar 2013 Link to this post

    I am using  usercontrols inside the Telerik RadTab.I need to pass parameters into the usercontrol (to load a grid inside it).But when i am setting parameters inside in the usercontrol and running the application,application starts but end in error and prompting  the visual studio to close the program.The sample of my tab control is this

     <telerik:RadPageView runat="server" ID="PageView1">
            <div class="contactWrap">
                <uc:Cover ID="covercontrol" runat="server" />
        <telerik:RadPageView runat="server" ID="PageView2">
            <uc:settingdetail ID="settingDiscount" runat="server"  />
    The application runs fine  with this code.But when I set a property inside the user control "settingdetail" such as SettingId="0" to pass it to the grid inside the usercontrol ,then above problem occurs.

    Please provide a solution for it.
  2. Nencho
    Nencho avatar
    1874 posts

    Posted 18 Mar 2013 Link to this post

    Hello Sheharban,

    I am unable to replicate the experienced issue. Therefore, I have prepared a sample project for you, demonstrating the implementation at my end. Could you give it a try an let me know if I had missed something. Please find the sample attached.

    Note : dll files are removed.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top