Results 1 to 2 of 2

Thread: Events

  1. #1
    Zack Jones Guest

    Default Events

    Greetings,<BR><BR>Does anyone know where I can find a list of events each control in ASP+ supports.<BR><BR>For example, in VB you can use the GotFocus and LostFocus events of the Textbox item to display a label with a hint or tip or whatever.<BR><BR>I&#039d like to be able to duplicate this functionality with ASP+ - can it be done? I think it would be cool if in an asp+ script you could display a prompt like "Your password needs to be between 4 and 6 charasters long" when a password textbox received focus.<BR><BR>Any hints/tips would be greatly appreciated. <BR><BR>Take Care,<BR>Zack Jones<BR>

  2. #2
    Nathen Guest

    Default RE: Events

    You can find a list of events for all the ASP.NET Web Controls and HTML Controls in the .NET Framework Reference. The HTML Help file for the Reference is cpref.chm and should be on your local machine if you installed the .NET Framework, or you can view the Reference in the MSDN Library at MSDN Online. The controls are in the System.Web.UI.WebControls namespace and the System.Web.UI.HTMLControls namespace.<BR><BR>As far as the validation goes the Textbox control doesn&#039t support a GotFocus or LostFocus event, just a TextChanged event. You may want to look into the Validation controls because they allow you to validate a form field for length or content.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts