need help to use mouse event on webpart

Last post 05-09-2008 5:55 AM by vinz. 3 replies.

Sort Posts:

  • need help to use mouse event on webpart

    05-09-2008, 3:49 AM
    • Loading...
    • vinnuvineet
    • Joined on 04-08-2008, 11:36 AM
    • Bombay
    • Posts 6

    Dear friend,

    i want to use mouse event on webpart like .. mouse click, doubleclick

    but i did not get any such event in webpart.

     i need this urgently.

    please help me

    Thanks in adavance 

    Vineet Jain

    Vin
  • Re: need help to use mouse event on webpart

    05-09-2008, 5:37 AM
    • Loading...
    • vinz
    • Joined on 10-05-2007, 11:47 AM
    • Cebu Philippines
    • Posts 6,121

    As far as i know ASPNET WebParts can  only be manipulated using the WebPart VERBS.. so i don't think if you can attach any events to webparts.. another thing is that WebPart will render as HTML table in the Page at run time and i dont think if you can attach an event to a Table like onlick or something...

    Cheers,
    Vincent Maverick Durano


  • Re: need help to use mouse event on webpart

    05-09-2008, 5:41 AM
    • Loading...
    • vinnuvineet
    • Joined on 04-08-2008, 11:36 AM
    • Bombay
    • Posts 6

    Thanks for your reply.

    Please tell me how an i add an verbs into webpart.

    Please guide me step by step for that.

     Thanks in advance

     

    Vineet Jain

    Vin
  • Re: need help to use mouse event on webpart

    05-09-2008, 5:55 AM
    • Loading...
    • vinz
    • Joined on 10-05-2007, 11:47 AM
    • Cebu Philippines
    • Posts 6,121

    Verbs are those Links in the WebPart Title bar such as Minimize verbs, Restore verbs, Close Verbs and so on... If you wanted to create your own Custom verbs then have a read on this article below

    http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.webpartverb(VS.80).aspx 

    http://www.codeguru.com/csharp/sample_chapter/print.php/c13037__3/ 

    Cheers,
    Vincent Maverick Durano


Page 1 of 1 (4 items)