or
Dear,
While I am getting the information from server database and put the data in the radgrid of a page in web browser, I got the error message
see the image.
A runtime error has occured. Do you wish to debug? line:15
Error: Sys.WebForms.PageRequestMAnagerParseErrorException;
The message received from the server could not be parsed, Common causes for this error are when response is modified by calls to Response.Write(), response filters, HttpModules, or Server trace is enabled.
Details: Error parsing near 'Telerik.Web.UI.2008'.
What is the reason and I want solution for it as early as possible?
Kind Regards,
Surya.
Kind Regards,
Surya.
| <telerik:RadGrid ID="NotesGrid" EnableEmbeddedSkins="False" Skin="srunite" Width="100%" |
| AllowSorting="False" AllowPaging="False" AllowMultiRowSelection="False" runat="server" |
| GridLines="None" EnableViewState="true"> |
| <MasterTableView Width="100%" Summary="RadGrid table" AutoGenerateColumns="False" |
| CommandItemDisplay="Top" TableLayout="Auto" GroupLoadMode="Client" AllowNaturalSort="false" |
| AllowSorting="false"> |
| <AlternatingItemStyle BackColor="#eeeeee" /> |
| <CommandItemTemplate> |
| <div class="gridActions"> |
| Notes |
| <asp:DropDownList ID="cmdFilterNoteType" runat="server" AutoPostBack="false" /> |
| <asp:LinkButton ID="cmdShowAll" runat="server" AutoPostBack="true" CommandName="ShowAll" |
| Text="Show All" Visible="false"/> |
| <asp:LinkButton ID="cmdShowLatest" runat="server" AutoPostBack="true" CommandName="ShowLatest" |
| Text="Show Latest" /> |
| </div> |
| </CommandItemTemplate> |
| protected void Page_Init(object sender, EventArgs e) |
| { |
| masterPage = (SiteMasterPages.BidModule)Master; |
| presenter.SetModel(masterPage.CurrentBid); |
| NotesGrid.ItemDataBound += new Telerik.Web.UI.GridItemEventHandler(NotesGrid_ItemDataBound); |
| NotesGrid.ItemCommand += new GridCommandEventHandler(NotesGrid_ItemCommand); |
| } |
| protected void NotesGrid_ItemCommand(object source, GridCommandEventArgs e) |
| { |
| if (e.CommandName == "ShowLatest") |
| { |
| presenter.ShowLatestNotes(); |
| e.Item.FindControl("cmdShowLatest").Visible = false; |
| ((LinkButton)e.Item.FindControl("cmdShowLatest")).Text = "sdasdfdsaf"; |
| e.Item.FindControl("cmdShowAll").Visible = true; |
| } |
| else if (e.CommandName == "ShowAll") |
| { |
| presenter.ShowAllNotes(); |
| e.Item.FindControl("cmdShowAll").Visible = false; |
| e.Item.FindControl("cmdShowLatest").Visible = true; |
| } |
| } |
| protected void NotesGrid_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) |
| { |
| if (e.Item.ItemType == GridItemType.CommandItem) |
| { |
| if (!Page.IsPostBack) |
| { |
| DropDownList filter = e.Item.FindControl("cmdFilterNoteType") as DropDownList; |
| if (filter != null) |
| { |
| filter.DataSource = _notes.Select(x => x.Key); |
| filter.DataBind(); |
| filter.Items.Insert(0, new ListItem("All")); |
| } |
| } |
| } |
| else if (e.Item.ItemType == GridItemType.GroupHeader) |
| { |
| GridTableCell cell = e.Item.Controls[0] as GridTableCell; |
| cell.Attributes.Add("noteType", ((System.Data.DataRowView)e.Item.DataItem).Row.ItemArray[0].ToString()); |
| } |
| } |