Hi There,
My tab strip is defined like this
So in the rotation usercontrol I'm getting an "Object reference not set to an instance of an object." error in NeedsDataSource (of the Radgrid that exists)
...but it only happens after a click event is triggered?
I can get around it by checking for null on sender in the NeedsDataSource...but is this a bug? Actually it's the DataSource property of the RadGrid that's null, not the grid itself
My tab strip is defined like this
<
telerik:RadTabStrip
ID
=
"programTabStrip"
runat
=
"server"
EnableViewState
=
"false"
MultiPageID
=
"programMultiPage"
AutoPostBack
=
"true"
>
<
Tabs
>
<
telerik:RadTab
Text
=
"Residents"
Selected
=
"true"
></
telerik:RadTab
>
<
telerik:RadTab
Text
=
"Rotations"
></
telerik:RadTab
>
<
telerik:RadTab
Text
=
"Approvers"
></
telerik:RadTab
>
</
Tabs
>
</
telerik:RadTabStrip
>
<
telerik:RadMultiPage
ID
=
"programMultiPage"
runat
=
"server"
RenderSelectedPageOnly
=
"true"
>
<
telerik:RadPageView
ID
=
"RadPageView1"
runat
=
"server"
Selected
=
"true"
>
<
uc2:Residents
ID
=
"Residents1"
runat
=
"server"
/>
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"RadPageView2"
runat
=
"server"
>
<
uc3:Rotations
ID
=
"Rotations1"
runat
=
"server"
/>
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"RadPageView3"
runat
=
"server"
>
<
uc1:ProgramApprovers
ID
=
"ProgramApprovers1"
runat
=
"server"
/>
</
telerik:RadPageView
>
</
telerik:RadMultiPage
>
So in the rotation usercontrol I'm getting an "Object reference not set to an instance of an object." error in NeedsDataSource (of the Radgrid that exists)
...but it only happens after a click event is triggered?
I can get around it by checking for null on sender in the NeedsDataSource...but is this a bug? Actually it's the DataSource property of the RadGrid that's null, not the grid itself