I'm trying to capture a sorting event and have it so that before it actually does the sort on the gridview, a textbox value on the page say's "one moment..."
The "one moment..." is listed within javascript on the actual page. However, I don't know how to talk to the page, prior to calling RunQuery, which handles the sort.
Any ideas...
Protected Sub GridView2_Sorting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewSortEventArgs) Handles GridView2.Sorting
If Not Me.Page.IsPostBack Then
Me.GridView2.Attributes.Add("OnSorting", "Sort_msg(this);")
End If
'Run Public Sub
RunQuery(SearchVal)
End Sub
The "one moment..." is listed within javascript on the actual page. However, I don't know how to talk to the page, prior to calling RunQuery, which handles the sort.
Any ideas...
Protected Sub GridView2_Sorting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewSortEventArgs) Handles GridView2.Sorting
If Not Me.Page.IsPostBack Then
Me.GridView2.Attributes.Add("OnSorting", "Sort_msg(this);")
End If
'Run Public Sub
RunQuery(SearchVal)
End Sub