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

Explicit Ajax loading panel display

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Moustafa
Top achievements
Rank 1
Moustafa asked on 26 Aug 2008, 08:34 AM
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

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Aug 2008, 09:10 AM
Hi,

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

Thanks
Shinu
Tags
Grid
Asked by
Moustafa
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or