Hi all.
I'm trying to get the webCombo to fire an event when it's 'editable' area is double-clicked. So far I've tried with
webCombo.Attributes.Add("ondblclick", "DblClickEvent()");
but the event is not firing. The only restriction I have for this is to set this attribute in runtime since the webCombo itself is being dynamically created.
Any thoughts will be appreciated.
Connecting to client-side events for NetAdvantage for .NET - ASP.NET controls isn't done through adding attributes in this fashion. Instead, you'd normally set a property off of a "ClientSideEvents" property, pointing it to the name of the JavaScript function you'd like to run when the event is raised.
That said, WebCombo doesn't have a client-side double-click event defined in current versions.
I suspect there may be a way around this, but I don't know how it would be done.