Javascript function on submit button to validate if cells are emply for a particular column of gridview
<p>I have binded a custom datatable to gridview. Now I want to validate if the value of cells of the column "DocumentsAttached" is Yes or No. If it is yes, then an alert message displaying " Documents are Attached". If No, a pop up box with message would you like to continue" Yes/No...If yes, is chosen my submit button should go through otherwise no.</p>

<p>Hope i made sense until now. Below is my aspx</p>

<pre><code> &lt;asp:GridView ID="UploadDocs" AutoGenerateColumns="False" runat="server" 
         EnableViewState="true" onrowdatabound="dgdUpload_RowDataBound" style="margin-top: 0px"&gt;

 &lt;Columns&gt;

&lt;asp:HyperLinkField  DataTextField="DocName" HeaderText="Invoice File Name" DataNavigateUrlFields="FilePath" DataNavigateUrlFormatString="{0}"&gt;   
&lt;/asp:HyperLinkField&gt;
  &lt;asp:BoundField HeaderText="Document Included" DataField="DocumentsAttached" ReadOnly="true" /&gt;
 &lt;asp:BoundField HeaderText="Identifier" DataField="Identifier" Visible="false"/&gt;
 &lt;asp:CommandField ButtonType="Button" HeaderText="Delete" ShowDeleteButton="true"/&gt;
&lt;/Columns&gt;
 &lt;/asp:GridView&gt;
   &lt;asp:Button ID="btnSubmit" runat="server" Text="Save to MassUploadList" /&gt;
</code></pre>

<p>Can anyone help me to achieve this please.</p>
