View Single Post
  #7 (permalink)  
Old August 8th, 2012, 04:57 AM
cms9651 cms9651 is offline
Authorized User
Points: 121, Level: 2
Points: 121, Level: 2 Points: 121, Level: 2 Points: 121, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2012
Posts: 27
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Thank you.

I don't have error in debug for SQL statement: all working also queries execute where conditions.

My first problem is in the javascript validator function... the validator working but I can not replace the error message in display for alert javascript.
When validation is failed I need to show the alert javascript and not error message in display and not refresh GridView.

Other problem is the refresh GridView when I use the filtering in my web page. When click on the:
Code:
            <asp:ImageButton ID="Button1" ImageUrl="images/icon.gif" runat="server" OnClick="Button1_Click"
                OnClientClick="javascript:InitValidators();return false;" />
The view of GridView not change, the problem is:
Code:
OnClientClick="javascript:InitValidators();return false;"
How to change to refresh the gridview with the values selected in filtering ?
Reply With Quote