• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

ASP.Net - Question on using Eval

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?
0
sbornstein2
Asked:
sbornstein2
  • 3
1 Solution
 
tetorvikCommented:
is it javascript error?
try this:
onMouseover="ddrivetip('<%#Eval("Billrun")%>','yellow', 300);"
0
 
sbornstein2Author Commented:
same error:

Javascript error Expected ';'
0
 
sbornstein2Author Commented:
i wonder if I have to do some type of add attribute on the rowdatabound as this label is in a gridview.
0
 
sbornstein2Author Commented:
it needed to be done in the rowdatabound
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now