ASP.Net - Question on using Eval

Posted on 2009-04-29
Last Modified: 2012-05-06
How do I handle this:

onMouseover="ddrivetip('<%#Eval("Billrun")%>','yellow', 300)"

the Eval keeos throwing errors such as expected ;

How do I pass in an eval to this javascript function?
Question by:sbornstein2
    LVL 9

    Accepted Solution

    is it javascript error?
    try this:
    onMouseover="ddrivetip('<%#Eval("Billrun")%>','yellow', 300);"

    Author Comment

    same error:

    Javascript error Expected ';'

    Author Comment

    i wonder if I have to do some type of add attribute on the rowdatabound as this label is in a gridview.

    Author Comment

    it needed to be done in the rowdatabound

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
    In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now