Thursday, January 10, 2013

Ignore AJAX Request on aspx/asp pages


.aspx


<%@ MasterType VirtualPath="~/MasterPages/DefaultMaster.master" %>

.aspx.vb

  Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit
        Master.RegisterPostbackTrigger(gvInvoiceList)
    End Sub

No comments:

Post a Comment