or
int count = radgrid1.MasterTableView.Items.Count; if (count > 2) { e.Canceled = true; radgrid1r.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.None; } else { radgrid1.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.TopAndBottom; }<telerik:RadComboBox ID="CaseRadComboBox" runat="server" DataSourceID="CaseSqlDataSource" DataTextField="FullCaseName" DataValueField="subIdx" enableautomaticloadondemand="true" enablevirtualscrolling="true" itemsperrequest="15" Filter="Contains" Width="400px" AutoPostBack="True" enableitemcaching="True" ></telerik:RadComboBox>protected
void cbLocation_DataBound(object sender, EventArgs e)
{
//fill radcombobox
cbLocation.Items.Clear();
cbLocation.Items.Insert(0,
new RadComboBoxItem("<Make choice>", ""));
cbLocation.Items.Insert(1,
new RadComboBoxItem("EPO", "EPO"));
cbLocation.Items.Insert(2,
new RadComboBoxItem("PDC", "PDC"));
}
I get the following error when I click the Update or Cancel button in the Edit form:
Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
Do you have any idea why the error occurs?
Thanx!
Marcel