title: How to get position of cursor in a textbox VB.NET Web Form
body: <p>I have a textbox and I want to know the position of the cursor (preferably as a character index in textbox.Text) when a button is clicked and I want to do this in the server side using VB.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;asp:TextBox ID="txtboxExplanation" runat="server" Height="530px" TextMode="MultiLine" Width="500px" MaxLength="600"&gt;&lt;/asp:TextBox&gt;
  </code></pre>
  
  <p>Thanks!</p>