Problem with mouseWheel Zoom

8 posts, 1 answers
  1. Santiago Dávila
    Santiago Dávila avatar
    6 posts
    Member since:
    Jan 2010

    Posted 08 Mar 2010 Link to this post


    Telerik Staff

    We are working in an application with a radMap with fix size in width and height, empty provider and some information layers on it.
    The option IsMouseWheelZoomEnabled is set to true and the clickMode set to none and the zoom is not working with the mouse wheel.
    Can you tell me if that´s a known issue or if there´s a way to do that, or maybe a tip and possible solution of why it´s not working.


    Thanks in advance

    Santiago
  2. Answer
    Alex Mitchell
    Alex Mitchell avatar
    8 posts
    Member since:
    Sep 2009

    Posted 08 Mar 2010 Link to this post

    What is the Web browser you are testing you Silverlight application in? I also had this problem when testing in Firefox, but the functionality would be fine when I used it in IE8.

    I fixed this problem in Firefox by removing the IsMouseWheelEnabled and subscribing to the MouseWheel Event which might also have some problems with Firefox such as firing multiple times rather than just once. If you use a single DispatchTimer similar to the main demo Telerik has provided, that should fix your problems completely.
  3. DevCraft banner
  4. Santiago Dávila
    Santiago Dávila avatar
    6 posts
    Member since:
    Jan 2010

    Posted 10 Mar 2010 Link to this post

    Hey there

    I am working with IE8, and using the MouseWheel Event event it is working fine, but it became a manual procedure, I suppose the property IsMouseWheelZoomEnabled will work in the future.

    Thanks.
  5. Damian Slee
    Damian Slee avatar
    26 posts
    Member since:
    Nov 2009

    Posted 24 Mar 2010 Link to this post

    I have the mouse zoom problem, only with a second map window.  And also doesn't work at all with firefox.

    I have a main map window in a xaml page.   zoom in/out works fine with the mouse.   I then have a button which opens a child window which allows some geocoding searching, a datagrid with the results, and another map windows displaying the selected geocode location.  the mouse zoom doesn't work in this case.
    IE8.

     

     

    <Telerik_Windows_Controls:RadMap Grid.Row="2" Name="GeocodeMap" IsMouseWheelZoomEnabled="True"/>

     



        public partial class GeocodePage : ChildWindow
        {


     

  6. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 26 Mar 2010 Link to this post

    Hi Damian,

    I believe you can use the RadWindow instead of the ChildWindow in your application. I have tested it on IE8 and firefox 3.6.2 and mouse wheel zoom works as expected.

    I have attached a sample solution that uses RadWindow for showing the second map to get you started.


    Regards,
    Andrey Murzov
    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.
  7. Damian Slee
    Damian Slee avatar
    26 posts
    Member since:
    Nov 2009

    Posted 26 Mar 2010 Link to this post

    thanks, replacing the childwindow with radwindow fixed the zooming issue i had with a map on the second window.
  8. Flemming Rosenbrandt
    Flemming Rosenbrandt avatar
    119 posts
    Member since:
    Mar 2006

    Posted 30 Mar 2010 Link to this post

    Will it be fixed to work with ChildWindows?

    /Flemming Rosenbrandt

  9. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 01 Apr 2010 Link to this post

    Hi Flemming,

    We've created a PITS issue #1649. We will fix the problem with mouse wheel zoom on ChildWindows in future releases.

    Sincerely yours,
    Andrey Murzov
    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
DevCraft banner