all groups > asp.net building controls > july 2004 >
You're in the

asp.net building controls

group:

HtmlTextWriterAttribute for double click attribute


HtmlTextWriterAttribute for double click attribute whoisnidhee NO[at]SPAM yahoo.com
7/29/2004 6:11:31 AM
asp.net building controls:
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?

Re: HtmlTextWriterAttribute for double click attribute Dale
7/29/2004 9:52:53 PM
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

[quoted text, click to view]

AddThis Social Bookmark Button