HtmlTextWriterAttribute for double click attribute

Discussion in 'ASP .Net Building Controls' started by whoisnidhee, Jul 29, 2004.

  1. whoisnidhee

    whoisnidhee Guest

    Hi Everyone,

    I am building a server control. I am using the HtmlTextWriterAttribute
    class for adding the attributes to the control. I want to add a
    function on the "double click" event. The HtmlTextWriterAttribute does
    not provide the ondoubleclick event. How can I add this attribute to
    my class without making a literal string?

    Nidhee
     
    whoisnidhee, Jul 29, 2004
    #1
    1. Advertising

  2. whoisnidhee

    Dale Guest

    Just use the string. The HtmlTextWriterAttribute doesn't even try to cover
    all the bases. That's why the AddAttribute method has an overload that uses
    a literal string.

    Dale Preston
    MCAD, MCSE, MCDBA

    "whoisnidhee" <> wrote in message
    news:...
    > Hi Everyone,
    >
    > I am building a server control. I am using the HtmlTextWriterAttribute
    > class for adding the attributes to the control. I want to add a
    > function on the "double click" event. The HtmlTextWriterAttribute does
    > not provide the ondoubleclick event. How can I add this attribute to
    > my class without making a literal string?
    >
    > Nidhee
     
    Dale, Jul 30, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Web learner

    from List <double> to double[]

    Web learner, Apr 25, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    505
  2. sb
    Replies:
    4
    Views:
    322
    Alberto Barbati
    Feb 19, 2004
  3. Sydex
    Replies:
    12
    Views:
    6,601
    Victor Bazarov
    Feb 17, 2005
  4. Replies:
    0
    Views:
    385
  5. Alan Z. Scharf

    Double-click Event Attribute on Datagrid Item

    Alan Z. Scharf, Jul 29, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    217
    Tian Min Huang
    Jul 31, 2003
Loading...

Share This Page