Hi..I have amended my gridview to include an additional link button that opens another page with details I can print, unfortunately my edit button longers works, instead of going into edit mode, it goes to the linked page..see code below
<ItemTemplate>
<asp:LinkButtonID="Viewitems"runat="server"CommandName="View"CommandArgument='<%# Bind("BagNo") %>'>Print</asp:LinkButton>
</ItemTemplate>
this is the code in my rowcommand
Protected
Sub GridView3_RowCommand(ByVal sender AsObject,ByVal eAs System.Web.UI.WebControls.GridViewCommandEventArgs)Response.Redirect("BagitemsNew.aspx?cat="+ e.CommandArgument)
EndSub
is there a way to have the edit button working as well as my print button i.e some way to differentiate which button was clicked, or maybe some better way to do this altogether..
thanks