Good Day
I have a Toolbar that is Declared this way
and when i click any button on the ToolBar i get the Following Error
Server Error in '/o!Pilot' Application.
Exception Details: System.ArgumentException: DataKeyField, DataSubjectField, DataStartField and DataEndField are required for databinding
Source Error:
and my Scheduler is defined like this
and that
Thanks
I have a Toolbar that is Declared this way
<
telerik:RadToolBar
ID
=
"RadToolBar1"
Runat
=
"server"
Height
=
"100%"
Skin
=
"Forest"
Width
=
"100%"
>
<
Items
>
<
telerik:RadToolBarButton
Width
=
"100%"
runat
=
"server"
Text
=
"Button1"
>
<
ItemTemplate
>
<
asp:ImageButton
ID
=
"btnoweb"
runat
=
"server"
Height
=
"50"
ImageUrl
=
"~/images/o!logo.png"
Width
=
"50"
/>
<
asp:ImageButton
ID
=
"btnCalender"
runat
=
"server"
ImageUrl
=
"~/images/Picture5.png"
OnClick
=
"btnCalender_Click"
/>
<
asp:ImageButton
ID
=
"btnAttach"
runat
=
"server"
ImageUrl
=
"~/images/Attach.png"
/>
<
asp:Menu
ID
=
"mnuMenu"
runat
=
"server"
>
</
asp:Menu
>
<
telerik:RadMenu
ID
=
"mnuAdd"
runat
=
"server"
Visible
=
"true"
>
<
ItemTemplate
>
<
asp:Image
ID
=
"imgicon"
runat
=
"server"
EnableViewState
=
"false"
ImageUrl
=
"~/images/Add.png"
/>
</
ItemTemplate
>
</
telerik:RadMenu
>
<
asp:TextBox
runat
=
"server"
ID
=
"txtsearch"
OnTextChanged
=
"Bind_SearchBox"
Font-Size
=
"X-Large"
Height
=
"40px"
Width
=
"650px"
onkeyup
=
"this.onchange();"
AutoPostBack
=
"true"
/>
<
asp:ImageButton
ID
=
"btnsearch"
runat
=
"server"
ImageUrl
=
"~/images/btnsearch.png"
OnClick
=
"btnSearch_Click"
/>
<
asp:ImageButton
ID
=
"btnCancel"
runat
=
"server"
ImageUrl
=
"~/images/Cancel.png"
OnClick
=
"btnCancel_Click"
/>
</
ItemTemplate
>
</
telerik:RadToolBarButton
>
</
Items
>
</
telerik:RadToolBar
>
and when i click any button on the ToolBar i get the Following Error
Server Error in '/o!Pilot' Application.
DataKeyField, DataSubjectField, DataStartField and DataEndField are required for databinding
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.ArgumentException: DataKeyField, DataSubjectField, DataStartField and DataEndField are required for databinding
Source Error:
and my Scheduler is defined like this
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
Skin
=
"Forest"
Width
=
"100%"
Height
=
"100%"
style
=
"margin-left: 0"
EnableViewState
=
"false"
Visible
=
"false"
>
</
telerik:RadScheduler
>
and that
EnableViewState
=
"false"
property is i set it to true, i get the Error even before the page load. Thanks