Hello to all forum members,
I have a search button which search records in the form, then I have to call a java script which return some values, on the base of these values I have I Have to populate Grid View.
Actually when I clicked on search button.
I) It hits to database and takes records and
II) These records are passed to java script
III) Then java script returns a value location. On the base of java script values and code behind search criteria values i Have to populate grid view. I am using asp.net and c# technology. How can achieve all three steps by single click of search button.
Even i am unable to populate grid on form refresh from that java script code.
All three steps I have to perform in Single click on Search button.
I achieved this but I have to click search button twice.
All three steps I have to perform in Single click on Search button

.
I achieved this but I have to click search button twice

.