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
<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