Asp.net server controls ClientSide events and methods

Last post 05-21-2008 5:35 PM by justinmichaels. 2 replies.

Sort Posts:

  • Asp.net server controls ClientSide events and methods

    05-20-2008, 5:37 PM
    • Member
      170 point Member
    • justinmichaels
    • Member since 07-31-2007, 8:27 AM
    • Pittsburgh, Pa
    • Posts 52

    Is there any website that contains a listing of all asp.net server controls with their client side events and methods that you can use in Javascript portions?  I have searched the web for about an hour and have had no luck.

  • Re: Asp.net server controls ClientSide events and methods

    05-20-2008, 5:41 PM
    Answer
    • All-Star
      28,218 point All-Star
    • johram
    • Member since 06-13-2006, 10:36 AM
    • Sweden
    • Posts 3,543
    • Moderator

    The best client-side reference I've seen is Microsoft's own DHTML reference.

    Head over to http://msdn.microsoft.com/en-us/library/ms533050(VS.85).aspx

    If you click on DHTML objects, it will list all objects available for scripting. If you click on a certain object, for example select (<select>), you will get a list of all available attributes, events and methods. Very handy!

    Only thing is that there is no mapping between server control and client object. But if you know your html, it's not hard to do this mapping yourself :)

    If this post was useful to you, please mark it as answer. Thank you!
  • Re: Asp.net server controls ClientSide events and methods

    05-21-2008, 5:35 PM
    • Member
      170 point Member
    • justinmichaels
    • Member since 07-31-2007, 8:27 AM
    • Pittsburgh, Pa
    • Posts 52

    I really appreciate it.. This is exactly what I have been looking for two days.  Thanks!

Page 1 of 1 (3 items)