I drag a RadScheduler to my webform, and start debug, then I get an error message as following. Please tell me how to solve the problem. Thank you very much for your helping.
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
[ArgumentException: DataKeyField, DataSubjectField, DataStartField and DataEndField are required for databinding] |
<telerik:RadGrid ID="RadGridBuyWarrants" runat="server"
OnNeedDataSource="RadGridBuyWarrants_NeedDataSource" AutoGenerateColumns="false"
AllowSorting="true" AllowPaging="true" PageSize="20"
ShowGroupPanel="false" onitemcommand="RadGridBuyWarrants_ItemCommand"
onitemdatabound="RadGridBuyWarrants_ItemDataBound">
<PagerStyle Mode="NumericPages" />
<ClientSettings AllowGroupExpandCollapse="True" AllowDragToGroup="True" AllowColumnsReorder="True"/>
<MasterTableView Width="100%" GroupLoadMode="Server">
foreach (GridItem item in RadGridBuyWarrants.MasterTableView.Controls[0].Controls)
{
if (item is GridGroupHeaderItem)
{
item.Expanded =
true;
}
}
rgStaffPhysicianDetails.DataSource = GetPhysicianDetail();
in the server side code. So please give me the details of how the apply the filtering with the use selected filter criteria and value get from the filter textbox in the radgrid control.