Authentication Failed. Pop Ups. ImageMap and Tooltip

6 posts, 0 answers
  1. Joe
    Joe avatar
    49 posts
    Member since:
    May 2008

    Posted 07 Apr 2010 Link to this post

    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






  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 09 Apr 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joe
    Joe avatar
    49 posts
    Member since:
    May 2008

    Posted 09 Apr 2010 Link to this post

    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



  5. Joe
    Joe avatar
    49 posts
    Member since:
    May 2008

    Posted 09 Apr 2010 Link to this post

    Oh and sorry I posted 2 separate threads, the server kept error-ing so I tried a bunch of times.
  6. Joe
    Joe avatar
    49 posts
    Member since:
    May 2008

    Posted 10 Apr 2010 Link to this post

    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
  7. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 13 Apr 2010 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017