Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1910
Only works when user clicks directly on the word
posted

I have a WebDropDown that includes a list of items which are all tied to a specific URL using the NavigateURLField property. The problem is that it only navigates to that URL if the user clicks directly on the word...but not on the line. Since some of the words are longer than others, there is white space to the right of the shorter words and it seems odd that when they click there...because it's on the same line that the URL wouldn't then be selected like it is when they click directly on the word.

Parents
No Data
Reply
  • 49378
    posted

    Hi algunderson,

    Thank you for pointing out this issue to us. I have logged this behavior with our Engineering staff and the next step would be for a developper to examine my investigation and provide a fix or another solution.

    In the meantime there is a possible resolution to the matter. You can handle the SelectionChanged client-side event of the WebDropDown in order to navigate to the desired URL:


    function WebDropDown1_SelectionChanged(sender, eventArgs){
        window.location.href = eventArgs.getNewSelection()[0].get_navigateUrl();
    }

    Please contact me if you have any questions.

    Best Regards,

    Petar Ivanov
    Developer Support Engineer
    Infragistics, Inc.
    http://es.infragistics.com/support

     

Children