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

Issue with usercontrol inside Telerik RadTab

1 Answer 25 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sheharban
Top achievements
Rank 1
Sheharban asked on 13 Mar 2013, 12:40 PM
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" />
        </div>
    </telerik:RadPageView>
    <telerik:RadPageView runat="server" ID="PageView2">
        <uc:settingdetail ID="settingDiscount" runat="server"  />
    </telerik:RadPageView>
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.
Thanks,
Sheharban

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 18 Mar 2013, 08:20 AM
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.

Regards,
Nencho
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.
Tags
General Discussions
Asked by
Sheharban
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or