This is a migrated thread and some comments may be shown as answers.

ImageMap and Tooltip Example Issue, authentication?

1 Answer 35 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 07 Apr 2010, 06:24 AM
Hello, please see the following link, it is my source code:
http://www.fronseetechnology.com/ShortSalesWeb/Default.aspx

You will notice the US map, try hovering over some states, I know it does the issue for sure on CA.  You will notice all of the pop-ups I am getting and it is just not working.  I used the sample application here:
http://www.telerik.com/community/forums/aspnet-ajax/tooltip/imagemap-with-tooltip-and-database-data.aspx

and here: http://demos.telerik.com/aspnet-ajax/tooltip/examples/imagemaptooltipmanager/defaultcs.aspx

- Im not sure what I have wrong, it looks like it is trying to work, but there are authentication issues (i imagine with the web service?).  Does anyone have any suggestions?   OH, a big thing I was thinking about, instead of using a web service (.asmx), cant I just call a [webmethod] directly in the code behind?  I have tried this with other code, but not this ImageMap and tooltipmanager.   I gave Everyone permission to the directory on the server, and still these issues.  Someone please help!!! Thank you

Joe






1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 09 Apr 2010, 01:45 PM
Hello Joe,

I already answered your other thread and for your convenience I pasted my reply below:

Hi Joe,

I examined the live url you have provided and the first thing I noticed is that there is a js error thrown - the function attached to onload and onmouseover events which is the following one:

MM_preloadImages('App_Themes/SkinFile/Images/btn_buyers_over.gif','App_Themes/SkinFile/Images/btn_property_owners_over.gif','App_Themes/SkinFile/Images/btn_landers_over.gif','App_Themes/SkinFile/Images/btn_real_estate_over.gif')

is undefined. This is most probably not the reason for teh problem, but please fix this first because when you get a js error unexpected behavior occurs and this should be first resolved before continuing to examine the setup.

As to your question - yes, it is possible to define the WebService and WebMethod in the code behind of the same page instead of a separate file as far as you follow the same logic and you have the needed attributes set.


Best wishes,
Svetlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ToolTip
Asked by
Joe
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or