or
Expression cannot be null or empty
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: Telerik.Web.UI.GridGroupByException: Expression cannot be null or empty
Source Error:
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.
Stack Trace:
[GridGroupByException: Expression cannot be null or empty]
Telerik.Web.UI.GridGroupByExpression.SetExpression(String expression) +134
Telerik.Web.UI.GridGroupByExpression..ctor(GridColumn column) +213
Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +7253
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
<
telerik:RadHtmlChart
ID
=
"uxPieChart"
runat
=
"server"
>
<
PlotArea
>
<
Series
>
<
telerik:PieSeries
StartAngle
=
"90"
>
<
LabelsAppearance
Position
=
"Circle"
DataFormatString
=
"{0:C}"
/>
<
TooltipsAppearance
DataFormatString
=
"{0:C}"
/>
</
telerik:PieSeries
>
</
Series
>
</
PlotArea
>
<
ChartTitle
Text
=
""
/>
</
telerik:RadHtmlChart
>
uxPieChart.PlotArea.Series.Clear();
int
fundID =
int
.Parse(uxFundList.SelectedValue);
DataTable dt = Fund.BudgetBreakDown(fundID);
PieSeries pieSeries =
new
PieSeries();
SeriesItem item;
foreach
(DataRow budgetRow
in
dt.Rows)
{
item =
new
SeriesItem();
item.YValue = Decimal.Parse(budgetRow[
"Amount"
].ToString());
item.Name = budgetRow[
"Header"
].ToString();
pieSeries.Items.Add(item);
}
uxPieChart.PlotArea.Series.Add(pieSeries);
cmb =
New
RadComboBox
cmb.ID =
"cmbSearch"
cmb.ShowDropDownOnTextboxClick =
False
cmb.MarkFirstMatch =
True
cmb.DataTextField =
"TextField"
cmb.DataValueField =
"ValueField"
cmb.ShowToggleImage =
False
' cmb.AutoPostBack = True
cmb.Attributes(
"onkeyup"
) =
"handleKeyPress();"
If
Not
Page.IsPostBack
Then
cmb.DataSource = _recipe.getAllStockItems(_security.UserID, _security.DivisionId)
ViewState(
"cmbDataSource"
) = cmb.DataSource
cmb.DataBind()
End
If
Master.Menubar.Add(cmb)
function
handleKeyPress()
{
var
combo = $find(
'<%=cmb.ClientID%>'
);
// alrt('error');
document.getElementById(
'<%=hidAutoComplete.ClientID%>'
).value = combo._filterText;
document.getElementById(
'<%=hidAutoComplete.ClientID%>'
).blur();
// alrt('error');
<%=Page.ClientScript.GetPostBackEventReference(hidAutoComplete,
"Change"
)%>
}