nikkishri / dropthings

Automatically exported from code.google.com/p/dropthings
0 stars 0 forks source link

Gridview Item template column with postback url #230

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi i have one gridview with item template column as link button. and i want to 
call another widget when i click on this linkbutton with querystring value.

Please help me its urgent.

<asp:gridview runat="server">
<itemtemplate>
<asp:linkbutton id="lnkPostback" runat="server" 
postbackurl="edipage.aspx?Id=Eval("SNo")/>
</itemtemplate>
</asp:gridview>

Thanks
Sathish

Original issue reported on code.google.com by sathish....@gmail.com on 1 Nov 2011 at 6:50

GoogleCodeExporter commented 9 years ago
Please see the example on widget to widget communication. Use that pattern to 
generate event on the server side once the click reaches server. 

Original comment by omaralzabir@gmail.com on 1 Nov 2011 at 7:00

GoogleCodeExporter commented 9 years ago
Thanks...it's really worked for me..!

Original comment by sathish....@gmail.com on 3 Nov 2011 at 7:38

GoogleCodeExporter commented 9 years ago
You need to turn off request validation on the default.aspx. Otherwise ASP.NET 
blocks any form post that has html tags in it, assuming it is a script 
injection attach. 

Original comment by omaralzabir@gmail.com on 22 Mar 2012 at 1:53