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

Status bar width bug

15 Answers 143 Views
Window
This is a migrated thread and some comments may be shown as answers.
QScend
Top achievements
Rank 1
QScend asked on 05 Feb 2008, 04:59 PM
When a window pops up that has an extremely long URL (due to querystring or the such) and you have an explicitly set width on the window, the URL text in the status bar will extend the RadWindow to the width of the URL. This can cause some extremely large windows where they are not necessarily desired, and after a few clicks the window shrinks itself back down when the URL is replaced/removed from the status bar. This should probably function more like IE/Firefox, where status information is truncated at the point that it would start expanding the window size. This was found while using a custom dialog in RadEditor (which I believe uses RadWindow now for its popups).

15 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 06 Feb 2008, 04:33 PM
Hi Keith,

Indeed you are right - RadWindow "Prometheus" is used in RadEditor's "Prometheus" dialogs. I am afraid however that I was not able to reproduce the problem locally.

Can you please make sure that you are using the latest version of RadControls "Prometheus"? The current version is 2007.3.1218.20 and is available for download from your Client.net account.
If you still experience problems, please open a new support ticket and send us a small sample project where the behavior can be reproduced. We will check it and do our best to help.




Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
QScend
Top achievements
Rank 1
answered on 06 Feb 2008, 05:33 PM
Isn't the newest build 1314? Also, we're using Vista skin for the popup. Maybe it's a specific skin issue?
0
Georgi Tunev
Telerik team
answered on 07 Feb 2008, 07:10 AM
Hi Keith,

Indeed, 1314 is the latest official build and my tests were made with it. You can test your scenario on our site as well:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Window/Examples/WindowObject/DefaultCS.aspx

is using RadWindow with the Vista skin and you can load a long Url by using the text input field.

Can you please try reproducing the problem on our site? If you experience the same problem there, I would like to ask you to provide us with detailed step-by-step reproduction instructions. If the problem cannot be reproduced there however, please open a support ticket and send us a sample project which we can examine.






Kind regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Iurii
Top achievements
Rank 1
answered on 08 Feb 2008, 11:34 PM
I have noticed this bug even in previous versions. It seems that the initial width of the window is dictated by your URL length. It's extremely difficult to spot in the testing environment, I spent hours trying to understand what was going on ;)
0
Georgi Tunev
Telerik team
answered on 11 Feb 2008, 11:29 AM
Hello Ramin,

Can you please provide a sample code or a sample project (in a support ticket because you cannot attach files in the forum) where the problem can be reproduced?




Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Leslie Shkolnik
Top achievements
Rank 1
answered on 03 Jul 2008, 04:26 PM
Was there ever any resolution on this issue?  I am having the same problem.
0
Tervel
Telerik team
answered on 04 Jul 2008, 07:47 AM
Hello Leslie,

The issue has been resolved. Are you using the latest official RadControls for ASP.NET AJAX release? The current is Q1 SP2 2008 (build 619).
Please give it a try and let us know if you encounter a problem.

Greetings,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
arno koolen
Top achievements
Rank 1
answered on 05 Jul 2008, 10:57 PM
I'm having the same problems. I'm using assembly version 2008.1.619.35.

When passing a long querystring into the URL parameter of the radOpen javascript function the resulting window displays well out of bounds of the screen width as it tries to display the entire querystring in the status bar of the window.

In my ASPX I include the following lines
<telerik:RadWindowManager id="Singleton" ShowContentDuringLoad="false" foo runat="server" skin="Vista" Width="500px" Height="300px" Modal="true" OnClientClose="RadWindow_Closed" > 
</telerik:RadWindowManager> 
 

with some JavaScript to open the window passing in ID's of multiple seletected rows in a RadGrid

 function MoveItems( partID, partGroupID, craneTemplateID )  
 {  
              
     var selectedRows = $find("<%= RadGrid2.MasterTableView.ClientID %>").get_selectedItems();  
              
            var i;  
            var csvParts = "";  
            var foundPartID = false;  
              
            // add each id from each selected table row  
            for( i = 0; i < selectedRows.length; i++ )  
            {  
                csvParts += selectedRows[i].get_element().firstChild.innerHTML + ",";  
                  
                if( partID.toString() == selectedRows[i].get_element().firstChild.innerHTML.toString() )  
                {  
                    foundPartID = true;  
                }  
            }  
              
            // remove trailing comma  
            if( csvParts.length > 0 )  
               csvParts.substr(0, csvParts.length - 2 );  
             
           // if the actual row the user clicked remove on wasnt selected   
            if( !foundPartID )  
                csvParts += "," + partID;  
 
 
            // open the move dialogue  
            var oWnd = radopen("MovePart.aspx?PartID=" + csvParts + "&PartGroupID=" + partGroupID + "&CraneTemplateID=" + craneTemplateID, "RadWindow1" );  
            oWnd.center();  
             
             
        } 

The problem is, when the user has selected 100 odd rows from from the radGrid, the csvParts csvParts looks like 1,2,3,4,5,6,7,8,9,11,12...n etc., so the more rows the user selects the bigger the resulting dialogue window.

As a user workaround the user can click the window maximize button which then resizes the window to the screen bounds, but its a bit of a bodge.

0
Georgi Tunev
Telerik team
answered on 08 Jul 2008, 01:18 PM
Hi Arno,

I tried to reproduce the problem with the latest release but to no avail. Please open a support ticket and send us a small project that can be run locally and that reproduces the problematic behavior - we will check it right away.




All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
James Keller
Top achievements
Rank 1
answered on 21 Jul 2008, 04:50 PM
I am currently getting this issue.  I have a grid with a link button that opens a rad widow.  On first rendering the window is fine and the URL in the status bar has dots(...) on both sides of it. But if I close the window and re-click the link the window reappears and gets wider, breaks the border and the url on the right side no longer has the dots(...).  I want the loading image but the url we are sending the window is large.  Is there a way to hide the Url so I can still have the loading image or is there a way to display a different loading image so I can set the visibility for the status bar to false.  I've wasted so much time messing with boarders and widths to find out it was the bar at the bottom causing my rendering issue.  I am currently using the newest AJax 2008 telerik controls.

Here's the code I am using.

<

telerik:radwindowmanager id="RadWindowManager1" runat="server" Skin="WebBlue">

<Windows>

<telerik:RadWindow ID="DriverWindow" runat="server" Title="Drivers" Width="500px" Height="550px" Modal="true" Behavior="close, move" ShowContentDuringLoad="false"/>

</

Windows>

</telerik:radwindowmanager>
I open the window using this java script call

function

ShowDriverForm(jobId) {

window.radopen(

"../Resources/Drivers.aspx?q=" + jobId, "DriverWindow");

return false;

}

0
Georgi Tunev
Telerik team
answered on 22 Jul 2008, 09:17 AM
Hello James,

Basically, you can register to the OnClientPageLoad eventhandler and to use RadWindow's set_status() method to change the status to what you need.
e.g.
function OnClientPageLoad(oWnd)
{
   oWnd.set_status("my custom status");
}

I was not able however to reproduce the problem locally - can you please send me a small sample project where it can be reproduced?


Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
James Keller
Top achievements
Rank 1
answered on 25 Jul 2008, 04:27 PM
Sorry been busy.  I built the sample app you asked for.  How do I give it to you.  I don't see a way to attach a zip file.
0
Georgi Tunev
Telerik team
answered on 28 Jul 2008, 06:03 AM
Hi James,

You need to open a support ticket and attach the zipped project there - you cannot attach files in the forum. Just add a reference to this forum thread in the ticket and send it to us - we will check it right away.



Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Caesar
Top achievements
Rank 1
answered on 12 Dec 2008, 11:29 AM
Hi,

Seems like this issue isn't solved yet?
I'm using the 2008 Q3 release and still have the same problems as described earlier in this thread and also in this thread: http://www.telerik.com/community/forums/aspnet-ajax/window/set-status-being-replaced-by-url.aspx.

I have a long url and the first time I open the window the width is fine.
But when re-opening the window for the second, or sometimes the third/fourth, time the width is determined by the long url.
I've tried to use the set_status('') solution but this only works the first time the window is opened. Then it's the same story as with the width issue - the status isn't set, the status text is the url.

I'm setting the status in the OnClientPageLoad event so that should not be the issue here.

Any advice?

0
Georgi Tunev
Telerik team
answered on 16 Dec 2008, 01:05 PM
Hello Caesar,

Yes, this problem still exist. It is due to a browser's bug (the problem appears in IE only) and we are still working on it. We will do our best to fix this issue in one of the following updates, and for now you can avoid it by setting VisibleStatusbar to false.

Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
QScend
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
QScend
Top achievements
Rank 1
Iurii
Top achievements
Rank 1
Leslie Shkolnik
Top achievements
Rank 1
Tervel
Telerik team
arno koolen
Top achievements
Rank 1
James Keller
Top achievements
Rank 1
Caesar
Top achievements
Rank 1
Share this question
or