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

multiple scripts being included for multiple instances of RadWindow

1 Answer 48 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
varun agarwal
Top achievements
Rank 1
varun agarwal asked on 10 Feb 2012, 07:27 PM
Hi,

We have used RadWindow in our application and create a multiple instances on a page. So at the time of Page loading multiple scripts (ScriptResources.axd & WebResources.axd) being included for multiple instances of RadWindow.

So is there any approach to load a single ScriptResources.axd & WebResources.axd for all radwindow instances.

So please help us.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Abhishek
Top achievements
Rank 2
answered on 14 Feb 2012, 01:04 PM
Hello varun agarwal,

Please follow the steps for solution to your problem :
 
Steps: 
  1. Remove all page level scripts.
  2. Make one common Js(Javascript) function .
  3.  Add the reference of the common function in Master page.

Thanks,
Abhishek K
Tags
Ajax
Asked by
varun agarwal
Top achievements
Rank 1
Answers by
Abhishek
Top achievements
Rank 2
Share this question
or