Posted By

derebus on 11/10/10


calendar date click autopostback OnTextChanged

Versions (?)

Ajax Calendar Extender - lanzar función al elegir una fecha

 / Published in: VB.NET


Util para lanzar un procedimiento o una función al elegir una fecha en un ajax calendar

  1. 'So the TextBox code will look like this.
  3. <asp:TextBox ID="txtDate" runat="server" OnTextChanged="txtDate_TextChanged" AutoPostBack="True"></asp:TextBox>
  5. 'and your code behind will look something like this (converted from C# but should be right)
  7. Protected Sub txtDate_TextChanged(ByVal sender As Object, ByVal e As EventArgs)
  8. 'Do your stuff
  9. End Sub

Report this snippet  

You need to login to post a comment.