Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Ihechi

    Either check a checkbox or fill out the textboxes in Gridview with JS. Any ideas how?

    UPDATE: I was able to use VB to validate the form. If checkbox is not checked and textboxes are blank, the alert message is displayed. This is great. However, the form still gets submitted. How do I prevent the form from submitting when the alert is raised? For Each row As...
  2. Ihechi

    Either check a checkbox or fill out the textboxes in Gridview with JS. Any ideas how?

    Ok, Is this what you want to see? <div> <table> <tr> <td> <div> <table cellspacing="0" id="Gridview1" style="border-collapse:collapse;"> <tr> <th align="left" scope="col">Name</th><th scope="col">Address</th><th scope="col">Income</th><th...
  3. Ihechi

    Either check a checkbox or fill out the textboxes in Gridview with JS. Any ideas how?

    Using class actually does the opposite of what you just described. Because the markup is using gridview control, it gives several elements of the same textfield as you correctly described such as $gridview_0, 02, etc. However, to work around that, you use class. This way, only the text control...
  4. Ihechi

    Either check a checkbox or fill out the textboxes in Gridview with JS. Any ideas how?

    Greetings mate, New comer here. Please take it easy on my first post :) I have a gridview with a control ID of Gridview1. Inside this gridview are three textboxes and a checkbox with Id of grid1Details. Our requirement is as follows: if checkbox is unchecked and textboxes are empty => You...

Part and Inventory Search

Back
Top