
--------------------------------------------------------
compressJavaScript:
[echo] compressing: E:\working\C#\Techseed.Source\RadControlsAjaxSource\rel
ease\Telerik.Web.UI\Ajax\Ajax.js
[move] 1 files moved.
BUILD FAILED
E:\working\C#\Techseed.Source\RadControlsAjaxSource\release\Build\default.build(68,18):
External Program Failed: cmd.exe (return code was 1)
Total time: 4.1 seconds.
------------------------------------------------------------------<
DetailTables><telerik:GridTableView DataKeyNames="City" Name="ITContact" GridLines="None" Width="100%" BorderStyle="None" GroupLoadMode="Client">
<ParentTableRelation>
<telerik:GridRelationFields DetailKeyField="City" MasterKeyField="City" />
</ParentTableRelation>
In debugging, I have no problem in retrieving the detail table of City with single quote in value. The statements of below in DetailTableDataBind event handler executes with no error.
switch (e.DetailTableView.Name) {
case "ITContact":
string City = dataItem.GetDataKeyValue("City").ToString();
DataSet dsResult = new WorkflowParticipant().GetITContactsByCity(City);
e.DetailTableView.DataSource = dsResult;
break;
}
Stack trace shows that the error happens at System.Data.ExpressionParser.Parse()
System.Data.ExpressionParser.Parse() +442
System.Data.DataExpression..ctor(DataTable table, String expression, Type type) +154
System.Data.DataExpression..ctor(DataTable table, String expression) +35
System.Data.DataView.set_RowFilter(String value) +192