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

Authentication Failed. Pop Ups. ImageMap and Tooltip

5 Answers 102 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:23 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






5 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 09 Apr 2010, 01:44 PM
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.

Greetings,
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.
0
Joe
Top achievements
Rank 1
answered on 09 Apr 2010, 10:56 PM
Thank you for your reply Svetlina!  Good call on that javascript error, i didnt have a reference to the JS file.  As you suspected, that did not fix my problem.  Do you have an example of calling a web method from code behind for the radtooltipmanager?  I didnt see a demo area for the radtooltipmanager with examples. 

<telerik:RadToolTipManager ID="RadToolTipManager1" Style="z-index: 1000" ShowCallout="true"
                                                        Skin="Telerik" RelativeTo="Mouse" HideEvent="LeaveToolTip" Position="Center"
                                                        Animation="FlyIn" Width="150px" Height="150px" ContentScrolling="Auto" runat="server">
                                                        <WebServiceSettings Method="GetDataByState" Path="wsToolTip.asmx" />
                                                    </telerik:RadToolTipManager>

- I imagine I have to change the WebServiceSettings tag above?  I didnt see any intellisense for another option.    Or if you have any other thoughts of what is messed up with my application.  Would attaching my application help?  It is huge, and includes several projects, but I could probably create a separate application to show my issue.  But let me know if you have a good example of the web method part above, the attributes you mentioned.  Thank you!

Joe



0
Joe
Top achievements
Rank 1
answered on 09 Apr 2010, 11:16 PM
Oh and sorry I posted 2 separate threads, the server kept error-ing so I tried a bunch of times.
0
Joe
Top achievements
Rank 1
answered on 10 Apr 2010, 05:19 AM
Im getting it there!  In case you look at the link now, it is kind of working, I got it to work with code behind webmethod (page method) vs web service.  Well I should be able to finish it up by myself.  If anyone replies to this in the future asking for help I will reply to it.   Holler
0
Svetlina Anati
Telerik team
answered on 13 Apr 2010, 01:53 PM
Hello Joe,

We are glad to hear that you managed to make the things working. In case you encounter any further problems, do not hesitate to contact us again.

Greetings,
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
Joe
Top achievements
Rank 1
Share this question
or