<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadPanelBar1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadPanelBar1" UpdatePanelRenderMode="block" /> <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> <telerik:AjaxUpdatedControl ControlID="RadFilter1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadFilter1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadFilter1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManagerProxy><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td width="240" valign="top"> <telerik:RadPanelBar runat="server" ID="RadPanelBar1" DataSourceID="SqlDataSource1" DataFieldParentID="parent_ID" DataTextField="text" DataValueField="ID" AllowCollapseAllItems="True" ExpandMode="SingleExpandedItem" CollapseAnimation-Type="None" ExpandAnimation-Type="None" OnItemClick="RadPanelBar1_ItemClick" CausesValidation="false" Skin="Windows7" Width="240"> </telerik:RadPanelBar></td><td width="*" valign="top"> <telerik:RadFilter runat="server" ID="RadFilter1" FilterContainerID="RadGrid1" ShowApplyButton = "false"> </telerik:RadFilter> <telerik:RadGrid runat="server" ID="RadGrid1" DataSourceID="SqlDataSource2" AllowPaging="True" AutoGenerateColumns="false" AllowSorting="true" OnItemCommand="RadGrid1_ItemCommand"> <GroupingSettings CaseSensitive="false" /> <ClientSettings AllowColumnsReorder="True" ColumnsReorderMethod="Reorder"> <Scrolling AllowScroll="False" UseStaticHeaders="True" /> </ClientSettings> <MasterTableView IsFilterItemExpanded="false" CommandItemDisplay="Top" PageSize="20"> <CommandItemTemplate> <table cellpadding="0" cellspacing="5px" width="100%"><tbody><tr> <td style="width: 15ex;"> <asp:LinkButton ID="lbApplyFilter" runat="server" CausesValidation="false" CommandName="FilterRadGrid" CssClass="gridToolButton" ToolTip="Click to apply filter settings"> <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/Icons/filter.gif" /> <asp:Label ID="Label1" runat="server" Text="Apply Filter" /> </asp:LinkButton> </td> <td style="width: auto;"><div style="width: 100%;"><!-- --></div></td> <td style="width: 10ex;"> <asp:LinkButton ID="LinkButton1" runat="server" CssClass="gridToolButton" OnClientClick="return false;"> <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/Icons/16x16/Save.png" /> <asp:Label ID="Label4" runat="server" Text="Save" /> </asp:LinkButton> <telerik:RadToolTip ID="RadToolTip1" runat="server" AutoCloseDelay="0" EnableAjaxSkinRendering="True" Height="150" RelativeTo="Element" ShowDelay="0" ShowEvent="OnClick" OnClientBeforeShow="OnClientBeforeShow" TargetControlID="LinkButton1" Width="400"> <uc2:saveDialog ID="saveDialog1" runat="server" /> </telerik:RadToolTip> </td> <td style="width: 15ex;"> <asp:LinkButton ID="lbDownloadExcel" runat="server" CausesValidation="false" CommandName="ExportToCSV" CssClass="gridToolButton" ToolTip="Click to export current student discovery body to Excel"> <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/Icons/excel_icon.png" /> <asp:Label ID="Label2" runat="server" Text="Export Excel" /> </asp:LinkButton> </td> </tr></tbody></table> </CommandItemTemplate> </MasterTableView> <HeaderContextMenu EnableAutoScroll="True"> </HeaderContextMenu> </telerik:RadGrid></td></tr></table>
AddHandler grid.ItemCommand, AddressOf grid_ItemCommand<Columns> <telerik:GridTemplateColumn UniqueName="CommandColumn"> <ItemTemplate> <asp:LinkButton runat="server" ID="LinkButton1" Text="Edit" CommandName="Edit" /><br /> <asp:LinkButton runat="server" ID="LinkButton2" Text="Delete" CommandName="Delete" OnClientClick='return confirm("Are you sure you want to delete this item?");'/> </ItemTemplate> <EditItemTemplate> <asp:LinkButton runat="server" ID="LinkButton1" Text="Update" CommandName="Update" /><br /> <asp:LinkButton runat="server" ID="LinkButton2" Text="Cancel" CommandName="Cancel" CausesValidation="false" /> </EditItemTemplate> </telerik:GridTemplateColumn> <%--<telerik:GridEditCommandColumn /> <telerik:GridButtonColumn CommandName="Delete" Text="Delete" ConfirmText="Are you sure you want to delete this item?" />--%> </Columns> 
Source: System.Web
Message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
Stack trace: at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.trading_customerview_aspx.ProcessRequest(HttpContext context) in c:\Users\Kevin\AppData\Local\Temp\Temporary ASP.NET Files\root\31738672\d2138b1c\App_Web_m5moos4i.12.cs:line 0
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Inner exception:
Source: System.Web.Extensions
Message: Invalid JSON primitive: dialonly.png.
Stack trace: at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject()
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer)
at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)
at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input)
at Telerik.Web.UI.RadUpload.LoadPostData(String postDataKey, NameValueCollection postCollection)
at Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection)
at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)