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

[Solved] JavaScript Error on a RadWindow inside of a RadAjaxPanel

3 Answers 205 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Hardcore Development
Top achievements
Rank 2
Hardcore Development asked on 07 Oct 2007, 08:34 PM
I have a master page that contains a RadScriptManager, RadAjaxManager, RadAjaxPanel, and an asp:UpdateProgress. Inside the RadAjaxPanel is a couple asp:ContentPlaceHolders. On one of the pages that have content for these ContentPlaceHolders I have a RadGrid that contains some GridTemplateColumns.

Now to the actual error...
Inside one of the GridTemplateColumn I am using a RadWindow thru Javascript to open a preview window for an item in the grid like so: 

window.radopen('PreviewTemplate.aspx','PreviewWindow')

If my RadAjaxPanel1.EnableAJAX property is set to true I receive the following Javascript Error: Line 4911 Error: length is null or not an object

If the property is set false which disables ajax then the preview window works perfectly.

I was wondering if this is a known bug and if a hotfix is available to resolve it as of yet. I have browsed the forum in prometheus Ajax and Window sections but have not found a resolution, maybe I missed something though.

3 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 09 Oct 2007, 05:24 AM
Hi,

Looking at our system, it seems you use the latest Prometheus RadControls official build, is that correct? I'm afraid we are not aware of such error with Prometheus controls reported so far so can you help us isolate that? You can send sample project, which replicates the error, through private support ticket. Thank you in advance!

Sincerely yours,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Brian
Top achievements
Rank 1
answered on 16 Jan 2008, 09:51 PM
Was there ever a solution for this?  I am experiencing the same issue (although my configuration is a bit different).  I am using the latest build (Q3 2007.3.1218.20).  I have a button that causes an ajax request with the target being a radwindowmanager (I am changing the navigateurl property based on a value of textbox).

Any help would be greatly appreciated.

Brian
0
Sebastian
Telerik team
answered on 17 Jan 2008, 08:59 AM
Hello Brian,

The latest version of RadControls Prometheus has been released two days ago (Q3 2007 SP1) and I suggest you migrate to this release to see whether this eliminates the error. If the issue persists, the best means to progress in our investigation is to prepare a working subset of your project and send it attached to a formal support ticket. We will debug it locally and will get back to you with our findings.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Ajax
Asked by
Hardcore Development
Top achievements
Rank 2
Answers by
Konstantin Petkov
Telerik team
Brian
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or