Solved

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

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

820 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