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

Funny Issue

4 Answers 65 Views
Window
This is a migrated thread and some comments may be shown as answers.
Waleed Seada
Top achievements
Rank 2
Waleed Seada asked on 17 Dec 2009, 01:35 PM
Dear All,

I manage to open radwindow from code-behind after assigning the NavigationUrl to an aspx page.

The navigationUrl contains parameters for the aspx to extract and work with.

On the aspx I place a button to close the radwindow, when I hover the move over it, it displays the parameters passed to the page in the IE statusbar.

How can I disable it from displaying the parameters in the IE statusbar

Thanks and best regards
Waleed

4 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 17 Dec 2009, 01:53 PM
Hello Waleed Seada,

 I suggest to use the client-side set_status method which is listed below to set the desired text in the status bar:

http://www.telerik.com/help/aspnet-ajax/window_programmingradwindowmethods.html

You can do this e.g in the OnClientShow event of the RadWindow.


All the best,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Waleed Seada
Top achievements
Rank 2
answered on 18 Dec 2009, 08:56 AM
Hello Svetlina ,

I meant the IE statusbar not the radwindow ...

Best regards
Waleed
0
Princy
Top achievements
Rank 2
answered on 18 Dec 2009, 12:28 PM
Hello Waleed,

Try adding following client side code and see whether it helps in hiding the url in IE status bar.

javscript:
 
<script type="text/javascript"
    function mouseOutHandler(evt) { 
        if (typeof evt != 'undefined') { 
            evt = window.event; 
        } 
        window.status = ''
        if (evt && typeof evt.returnValue != 'undefined') { 
            evt.returnValue = true
        } 
        if (evt && evt.preventDefault) { 
            evt.preventDefault(); 
        } 
        return true
    } 
 
    window.onload = function(evt) { 
        if (document.addEventListener) { 
            document.addEventListener('mouseover', mouseOutHandler, false); 
        } 
        else if (document.attachEvent) { 
            document.attachEvent('onmouseover', mouseOutHandler); 
        } 
    }; 
</script> 

Thanks,
Princy.
0
Waleed Seada
Top achievements
Rank 2
answered on 18 Dec 2009, 04:26 PM
Hello Princy,

Thanks for your help.
I have this issue with a user-control that contains the Radwindow, I put this script in it's content but didn't work !!

IE statusbar still showing the url information

Regards
Waleed
Tags
Window
Asked by
Waleed Seada
Top achievements
Rank 2
Answers by
Svetlina Anati
Telerik team
Waleed Seada
Top achievements
Rank 2
Princy
Top achievements
Rank 2
Share this question
or