Solved

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

Posted on 2008-10-29
1
284 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Automatic sizing of HTML.TextAreaFor based on content 1 26
@Html.EditorFor displays mm/dd/yyyy rather than date 2 34
Calling stored proc in EDMX 11 23
Problem to page 4 72
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 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

20 Experts available now in Live!

Get 1:1 Help Now