Solved

Conversion from string "tooltip.BeginShowToolTip(event," to type 'Double' is not valid.

Posted on 2008-10-29
1
292 Views
Last Modified: 2012-06-21
error is pointing in line 3.  

Dim hl As HyperLink = TryCast(e.Row.Cells(0).Controls(0), HyperLink)
            Dim option_num As Integer = Convert.ToInt32(GridView1.DataKeys(e.Row.RowIndex).Value)
            hl.Attributes.Add("onmouseover", "tooltip.BeginShowToolTip(event," + option_num + ")")
            hl.Attributes.Add("onmouseout", "tooltip.HideToolTip()")
0
Comment
Question by:gianitoo
1 Comment
 
LVL 13

Accepted Solution

by:
TechTiger007 earned 500 total points
ID: 22831902
Try
hl.Attributes.Add("onmouseover", "tooltip.BeginShowToolTip(event," + option_num.ToString() + ")")
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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