Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I got this error when i click a link button inside my gridview. i found some answer for this and added a trigger inside my update panel.After adding the trigger the link button click am not getting error and the documents are opened.But i am getting another
problem now due to this. I have sorting functionality in the grid. Now when i click sorting the pop up closes.By the way my gridview is placed inside a modal pop up control.
Please refer below for the code..Kindly help me so that to satisfy both the conditions.
<span style="font-size:small

<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; color:blue; font-size:10pt <<span style="font-family:Courier New; color:#a31515; font-size:10pt ajaxToolkit<span style="font-family:Courier New; color:blue; font-size:10pt :<span style="font-family:Courier New; color:#a31515; font-size:10pt UpdatePanel<span style="font-family:Courier New; font-size:10pt
<span style="color:red ID<span style="color:blue ="UpdatePanelClaimDoc"
<span style="color:red runat<span style="color:blue ="server" <span style="color:red
UpdateMode<span style="color:blue ="Conditional
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 ContentTemplate<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="background:yellow <%<span style="color:green --<span>
<asp:Panel ID="Panel4" runat="server" Width="100%" Style="display: none;
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; color:green; font-size:10pt <span>
<br />
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; color:green; font-size:10pt <span>
<asp:Label ID="Label13" runat="server" CssClass="ReplaceLabel </asp:Label>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; color:green; font-size:10pt <span>
</asp:Panel>--<span style="font-family:Courier New; background:yellow; font-size:10pt %>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>

<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span> <span style="background:yellow <%<span style="color:green --<div
align="center" id="divClaimDocPageControlTop" runat="server
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; color:green; font-size:10pt <span>
<uc4:ucPage ID="UcPageTopClaimDoc" runat="server" />
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; color:green; font-size:10pt <span>
--<span style="font-family:Courier New; background:yellow; font-size:10pt %>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>

<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 GridView
<span style="color:red ID<span style="color:blue ="grdClaimDocuments"<span>
<span style="color:red AllowSorting<span style="color:blue ="True"
<span style="color:red AutoGenerateColumns<span style="color:blue ="False"
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:red runat<span style="color:blue ="server"
<span style="color:red ShowHeader<span style="color:blue ="true" <span style="color:red
OnRowCreated<span style="color:blue ="grdClaimDocuments_RowCreated"
<span style="color:red OnSorting<span style="color:blue ="grdClaimDocuments_Sorting"
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:red OnRowCommand<span style="color:blue ="grdClaimDocumnets_RowCommand"
<span style="color:red DataKeyNames<span style="color:blue ="DocumentURL
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 Columns<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>

<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 TemplateField
<span style="color:red HeaderText<span style="color:blue ="Document Description"
<span style="color:red SortExpression<span style="color:blue ="DocumentDesc
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 ItemTemplate<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span> <span style="background:yellow <%<span style="color:green --<asp:Label
ID="lblDocumentDesc" runat="Server"<span> Text=<%# Eval("DocumentDesc") %>></asp:Label>--<span style="background:yellow %>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 LinkButton
<span style="color:red ID<span style="color:blue ="lnkDocumentDesc"
<span style="color:red runat<span style="color:blue ="Server" <span style="color:red
Text<span style="color:blue =<span style="background:yellow <%#Eval("DocumentDesc")<span style="background:yellow %><span style="color:blue <span>
<span style="color:red Font-Underline<span style="color:blue ="true"
<span style="color:red ForeColor<span style="color:blue ="Blue" <span style="color:red
OnClick<span style="color:blue ="btnClaimDoc_Click </<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 LinkButton<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="background:yellow <%<span style="color:green --<span>
<asp:HiddenField ID="hdnDocumentUrl" runat="Server" Value=<%#Eval("DocumentURL")%>/>--<span style="background:yellow %>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 ItemTemplate<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 ItemStyle
<span style="color:red HorizontalAlign<span style="color:blue ="Center"
<span style="color:red Width<span style="color:blue ="14%" <span style="color:blue
/>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 HeaderStyle
<span style="color:red HorizontalAlign<span style="color:blue ="Center"
<span style="color:red Width<span style="color:blue ="14%" <span style="color:blue
/>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>

<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 TemplateField<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 TemplateField
<span style="color:red HeaderText<span style="color:blue ="Uploaded Date"
<span style="color:red SortExpression<span style="color:blue ="InsertDate
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 ItemTemplate<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 Label
<span style="color:red ID<span style="color:blue ="lblUploadedDate"
<span style="color:red runat<span style="color:blue ="server" <span style="color:red
Text<span style="color:blue =<span style="background:yellow <%# Eval("InsertDate")
<span style="background:yellow %><span style="color:blue ></<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 Label<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 ItemTemplate<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 ItemStyle
<span style="color:red HorizontalAlign<span style="color:blue ="Center"
<span style="color:red Width<span style="color:blue ="13%" <span style="color:blue
/>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 HeaderStyle
<span style="color:red HorizontalAlign<span style="color:blue ="Center"
<span style="color:red Width<span style="color:blue ="13%" <span style="color:blue
/>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 TemplateField<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 TemplateField
<span style="color:red HeaderText<span style="color:blue ="Scanned Date"
<span style="color:red SortExpression<span style="color:blue ="ScannedDate
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 ItemTemplate<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span> <span style="color:blue <<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 Label
<span style="color:red ID<span style="color:blue ="lblScannedDate"
<span style="color:red runat<span style="color:blue ="server" <span style="color:red
Text<span style="color:blue =<span style="background:yellow <%# Eval("ScannedDate")
<span style="background:yellow %><span style="color:blue ></<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 Label<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 ItemTemplate<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 ItemStyle
<span style="color:red HorizontalAlign<span style="color:blue ="center"
<span style="color:red Width<span style="color:blue ="9%" <span style="color:blue
/>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 HeaderStyle
<span style="color:red HorizontalAlign<span style="color:blue ="Center"
<span style="color:red Width<span style="color:blue ="9%" <span style="color:blue
/>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 TemplateField<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 Columns<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 HeaderStyle
<span style="color:red CssClass<span style="color:blue ="act_color"
<span style="color:red ForeColor<span style="color:blue ="black" <span style="color:blue
/>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 RowStyle
<span style="color:red CssClass<span style="color:blue ="alterrow"
<span style="color:blue />
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 PagerStyle
<span style="color:red CssClass<span style="color:blue ="cssPager"
<span style="color:blue />
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 PagerSettings
<span style="color:red Position<span style="color:blue ="TopAndBottom"
<span style="color:blue />
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 AlternatingRowStyle
<span style="color:red CssClass<span style="color:blue ="row" <span style="color:blue
/>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 asp<span style="color:blue :<span style="color:#a31515 GridView<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 div
<span style="color:red class<span style="color:blue ="divPageTable"
<span style="color:red align<span style="color:blue ="center" <span style="color:red
id<span style="color:blue ="divClaimDocPageControlBottom" <span style="color:red
runat<span style="color:blue ="server
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 uc4<span style="color:blue :<span style="color:#a31515 ucPage
<span style="color:red ID<span style="color:blue ="UcPageBottomClaimDoc"
<span style="color:red runat<span style="color:blue ="server" <span style="color:blue
/>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 div<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span>
<span>
<span style="color:blue </<span style="color:#a31515 ContentTemplate>
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue <<span style="color:#a31515 Triggers<span style="color:blue >
<p style="line-height:normal; margin-bottom:0pt
<p style="margin-bottom:0pt <span style="font-family:Courier New; color:blue; font-size:10pt <<span style="font-family:Courier New; color:#a31515; font-size:10pt ajaxToolkit<span style="font-family:Courier New; color:blue; font-size:10pt :<span style="font-family:Courier New; color:#a31515; font-size:10pt PostBackTrigger<span style="font-family:Courier New; font-size:10pt
<span style="color:red ControlID<span style="color:blue ="grdClaimDocuments"
<span style="color:blue />
<p style="line-height:normal; margin-bottom:0pt
<p style="line-height:normal; margin-bottom:0pt <span style="font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 Triggers<span style="color:blue >
<span style="line-height:115%; font-family:Courier New; font-size:10pt <span>
<span style="color:blue </<span style="color:#a31515 ajaxToolkit<span style="color:blue :<span style="color:#a31515 UpdatePanel<span style="color:blue >


View the full article
 

Similar threads

A
Replies
0
Views
162
ANIL AYDINALP
A
D
Replies
0
Views
104
Donald Uko
D
K
Replies
0
Views
224
Khan345
K
D
Replies
0
Views
103
Donald Uko
D
R
Replies
0
Views
132
Ravnø Data
R
Back
Top