ajax postbak question
-
i have a gridview within a scriptmanager and within the gridview i have a templatefield which contains a hyperlink control which when clicked resubmits this page with some query strings attached. see code below:
<asp:TemplateField HeaderText="Order">
<ItemTemplate>
<asp:HyperLink ID="Hyperlink3" runat="server" NavigateUrl='<%# "default.aspx?SearchType=Wip&CustPO=" & rtrim(DataBinder.Eval(Container, "DataItem.PO#")) & "&StockCode=" & DataBinder.Eval(Container, "DataItem.MStockCode") %>'
Target="_self" Text='<%# DataBinder.Eval(Container, "DataItem.PO#") %> ' ToolTip="Check Work In Progress!">
</asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>How can i catch this event when the user clicks the hyperlink from the gridview. obviously page.ispostback or ScriptManager1.IsInAsyncPostBack do not catch this event. ? any ideas people - ajax newbie so forgive my ignorance Cheers