Hello All,
My requirement is to use RadGrid and RadScheduler webparts as static webparts. Rather configure them on webpart page, can I deploy them as static webparts in application pages.
I have the following code, but it is failing. please help. thank you.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
My requirement is to use RadGrid and RadScheduler webparts as static webparts. Rather configure them on webpart page, can I deploy them as static webparts in application pages.
I have the following code, but it is failing. please help. thank you.
<%@ Register Tagprefix="telerik" Namespace="Telerik.Ajax.SharePoint" Assembly="Telerik.Ajax.SharePoint, Version=2012.1.215.35, Culture=neutral, PublicKeyToken=aa9e5f693af67c7b" %>
<
telerik:TelerikSPRadSchedulerWebPart
runat
=
"server"
__MarkupType
=
"xmlmarkup"
WebPart
=
"true"
__WebPartId
=
"{AC47AB64-8B3A-4E9D-802F-F0A958B948DD}"
>
<
WebPart
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd
=
"http://www.w3.org/2001/XMLSchema"
xmlns
=
"http://schemas.microsoft.com/WebPart/v2"
>
<
Title
>Telerik SPRadSchedulerWebPart Web Part</
Title
>
<
FrameType
>Default</
FrameType
>
<
Description
>Telerik SPRadSchedulerWebPart Web Part</
Description
>
<
IsIncluded
>true</
IsIncluded
>
<
ZoneID
>FullPage</
ZoneID
>
<
PartOrder
>2</
PartOrder
><
FrameState
>Normal</
FrameState
><
Height
/><
Width
/>
<
AllowRemove
>true</
AllowRemove
>
<
AllowZoneChange
>true</
AllowZoneChange
>
<
AllowMinimize
>true</
AllowMinimize
>
<
AllowConnect
>true</
AllowConnect
>
<
AllowEdit
>true</
AllowEdit
>
<
AllowHide
>true</
AllowHide
>
<
IsVisible
>true</
IsVisible
><
DetailLink
/>
<
HelpLink
/><
HelpMode
>Modeless</
HelpMode
>
<
Dir
>Default</
Dir
><
PartImageSmall
/>
<
MissingAssembly
>Cannot import this Web Part.</
MissingAssembly
>
<
PartImageLarge
/><
IsIncludedFilter
/>
<
ExportControlledProperties
>true</
ExportControlledProperties
>
<
ConnectionID
>00000000-0000-0000-0000-000000000000</
ConnectionID
>
<
ID
>g_ac47ab64_8b3a_4e9d_802f_f0a958b948dd</
ID
>
<
BindingMode
xmlns
=
"Telerik.Ajax.SharePoint.SPRadSchedulerWebPart"
>SPList</
BindingMode
>
<
DayStartTime
xmlns
=
"Telerik.Ajax.SharePoint.SPRadSchedulerWebPart"
/>
<
DayEndTime
xmlns
=
"Telerik.Ajax.SharePoint.SPRadSchedulerWebPart"
/>
<
WorkDayStartTime
xmlns
=
"Telerik.Ajax.SharePoint.SPRadSchedulerWebPart"
/>
<
WorkDayEndTime
xmlns
=
"Telerik.Ajax.SharePoint.SPRadSchedulerWebPart"
/>
</
WebPart
>
</
telerik:TelerikSPRadSchedulerWebPart
>
Error : Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.