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

RadWindow throws Unspecified Error

2 Answers 22 Views
Window
This is a migrated thread and some comments may be shown as answers.
Clem
Top achievements
Rank 1
Clem asked on 11 Feb 2010, 01:38 PM

When opening a RadWindow for the second time, it throws an Unspecified Error.

 

function

 

OpenNewLocationWindow(Location, StopOffNum, url, offsetElementID) {

 

 

if (StopOffNum == null)

 

StopOffNum = 0;

StopValue = StopOffNum;

 

if (url == null)

 

    url =

"../../CustomerWebUI/NewLocations/CreateNewIntransShipperLocation.aspx";

 

 

    var oWnd = radopen(url + "?Location=" + Location + "&SeqNum=" + StopOffNum, "RadWindow1");

 

 

if (offsetElementID != null) {

 

    oWnd.set_offsetElementID(offsetElementID);

}

}
If the offsetElementID exists, the error is thrown.  If the offsetElementID does not exist, the program functions properly however the placement of the window is at the bottom of the page and the user must scroll down to find the window.

2 Answers, 1 is accepted

Sort by
0
Clem
Top achievements
Rank 1
answered on 11 Feb 2010, 01:47 PM
Additional Information:  The control for the offset positioning exists within an ASP UpdatePanel.
0
Clem
Top achievements
Rank 1
answered on 11 Feb 2010, 02:04 PM
The work around is to have the window offset be placed over a control outside the <ASP:UpdatePanel> 
It fixed the problem.
Tags
Window
Asked by
Clem
Top achievements
Rank 1
Answers by
Clem
Top achievements
Rank 1
Share this question
or