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

RadAjaxNamespace

2 Answers 124 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Moustafa
Top achievements
Rank 1
Moustafa asked on 25 Aug 2008, 03:55 PM
Hi

I tried to explicity show/hide the Ajax uploading  panel using the following JS code

 currentLoadingPanel = RadAjaxNamespace.LoadingPanels["<%= RadAjaxLoadingPanel1.ClientID %>"];
        currentLoadingPanel.Show('<%=RadGrid1.ClientID %>');

where
  • RadAjaxLoadingPanel1 is  my RadAjaxLoadingPanel
  • RadGrid is the target RadGrid
but It gives me  a java script error "RadAjaxNamespace" is undefined
how can I resolve this problem??
I think what I done can be benefits for 2007 versions

Note:
I'm using the following
  • Asp.net framework 3.5
  • Rad controls for asp.net ajax.
thanks



2 Answers, 1 is accepted

Sort by
0
Mishel
Top achievements
Rank 1
answered on 26 Aug 2008, 09:06 AM
Hello Moustafa

If you are getting an error "RadAjaxNamespace" is undefined this means that the control has rendered its initializing javascript, however the browser cannot find the definition of the RadAjaxNamespace object.

Possible reasons for this are:
- You have not added the RadControlsDir to the root of your web application
- The control has not added a reference to the RadAjaxNamespace.js file
-
When you cause an AJAX request before the page is fully load (in this case you should set some timeout)

I hope this helps

M
0
Moustafa
Top achievements
Rank 1
answered on 26 Aug 2008, 09:16 AM
Really I read this answers before but you must note that

I'm using Rad controls for asp.net ajax Q2 - 2008

where no folders needed

this folder was been added in previous versions of telerik controls
Tags
Ajax
Asked by
Moustafa
Top achievements
Rank 1
Answers by
Mishel
Top achievements
Rank 1
Moustafa
Top achievements
Rank 1
Share this question
or