Edison
Edison

Reputation: 4291

Avoid Postback on command field

I have a commandfiled inside my gridview.

<asp:CommandField ShowEditButton="true"  ShowDeleteButton="true"  
                EditImageUrl="~/Icons/1414412214_edit.png" EditText="Edit" 
                DeleteImageUrl="~/Icons/1414412198_delete.png" UpdateText="Done"   >
            <ItemStyle Height="10%" Width="10%" />
            </asp:CommandField>

How can I stop post back on edit link button and still be able to show the update and cancel link on clicking it. I know that I can do that using update panel and I tried it did not work?

Upvotes: 0

Views: 660

Answers (1)

Bhavik Patel
Bhavik Patel

Reputation: 1464

use update panel to avoid full page postback.. or try any jquery grid plugin in your application. Using JqGrid in ASP.NET

Upvotes: 1

Related Questions