Hi,
I fixe my window size into javascipt :
var oWnd=window.radopen(""EditWindowURL.aspx?1&Type=0,null);
oWnd.SetSize(200,200)
oWnd.Center()
And it's work well except if the URL we can see in status bar is longer than window width. In this case the window is resize with the "size" of URL.
thx
I fixe my window size into javascipt :
var oWnd=window.radopen(""EditWindowURL.aspx?1&Type=0,null);
oWnd.SetSize(200,200)
oWnd.Center()
And it's work well except if the URL we can see in status bar is longer than window width. In this case the window is resize with the "size" of URL.
thx
5 Answers, 1 is accepted
0
Shaun Peet
Top achievements
Rank 2
answered on 25 Oct 2007, 02:23 PM
You could use request.url.tostring to get the url into a string, and then count the number or characters in the string. I have no idea how wide a window would need to be if, say, the string length was 40 characters, but some trial & error would probably help to find the answer.
0
Marc
Top achievements
Rank 1
answered on 09 Jan 2008, 09:12 AM
Hi,
I made a little movie for explain what happen with window (i'm now in Prometheus Q3 1218)
I don't know how to post my file
I made a little movie for explain what happen with window (i'm now in Prometheus Q3 1218)
I don't know how to post my file
0
Hi Reynald,
You cannot post files in forum threads. Please, open a support ticket and send us the video along with information about the issue.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You cannot post files in forum threads. Please, open a support ticket and send us the video along with information about the issue.
Kind regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Kevin Wolf
Top achievements
Rank 1
answered on 04 Feb 2008, 04:11 PM
I'm running into this same issue. My URL string length is wider than the window and when the url is placed in the status bar it resizes the window as well. It appears that in FireFox 2.x it works fine but in IE 7.0 I run into this problem.
0
Hello Kevin Wolf,
Please find the attached solution, feel free to rework it for your specific scenario.
Another solution is to set the attribute VisibleStatusbar=false in the window declaration, but your statusbar will not be visible in this case.
Regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please find the attached solution, feel free to rework it for your specific scenario.
Another solution is to set the attribute VisibleStatusbar=false in the window declaration, but your statusbar will not be visible in this case.
Regards,
George
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center