Posted By

derebus on 11/10/10


Tagged

calendar date click autopostback OnTextChanged


Versions (?)

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


 / Published in: VB.NET
 

URL: http://forums.asp.net/p/1335624/2925135.aspx

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.
  2.  
  3. <asp:TextBox ID="txtDate" runat="server" OnTextChanged="txtDate_TextChanged" AutoPostBack="True"></asp:TextBox>
  4.  
  5. 'and your code behind will look something like this (converted from C# but should be right)
  6.  
  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.