Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 11th, 2008, 05:53 PM
Friend of Wrox
 
Join Date: Jan 2007
Posts: 115
Thanks: 2
Thanked 0 Times in 0 Posts
Default Webtextedit Mousemove event in XSLT

Hi, I need help please.

No clue in xml & WebtextEdit, I am editing an xslt stylesheet that creates asp controls.

Below is the WebTextEdit control, I want to add an mousemove event:

       <xsl:element name="igtxt:WebTextEdit">
            <xsl:attribute name='id'><xsl:value-of select='$Name' /></xsl:attribute>
            <xsl:attribute name='runat'>server</xsl:attribute>
     <xsl:attribute name='Text'><xsl:value-of select='$Value' disable-output-escaping="yes" /></xsl:attribute> <xsl:attribute name='MouseMove'>"<xsl:value-of select='@name' />".style.color = '#006AB6';</xsl:attribute>
     <xsl:for-each select="$Attributes/Attribute">
              <xsl:if test=". != ''">
                <xsl:attribute name='{@name}'><xsl:value-of select='.' /></xsl:attribute>
              </xsl:if>
            </xsl:for-each>
            <xsl:copy-of select="$Events" />
          </xsl:element>

The code works to change the style as it works on other objects.

Please assist with how i can add a mouseover event to WebTextEdit control






Similar Threads
Thread Thread Starter Forum Replies Last Post
Onmouseover attrib for element igtxt:WebTextEdit ismailc XSLT 3 October 17th, 2008 03:45 AM
WebTextEdit ClientSideEvent Javascript-Can't Eval ismailc ASP.NET 2.0 Basics 4 October 14th, 2008 05:14 AM
Button Click Event via XML,XSLT,javascript rhd110 XML 2 June 20th, 2007 08:16 AM
XSLT - onclick event Condor76 XSLT 1 June 1st, 2007 04:53 PM
Row highlight with mousemove hello2lu Access VBA 0 July 14th, 2004 04:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.