slimmed .NET AJAX controls?

  • Thread starter Thread starter tomk148
  • Start date Start date
T

tomk148

I'm getting complaints on one of our internal tools about to many
postbacks to validate time/date input. Currently I just have some
DropDownLists with H/M/M etc.

I started looking at the MaskedEdit control, and while its free after
load it has a huge list of ScriptResource hits on the server. My
roundtrip on that initial call is near 5 times as long as a single
post back without the AJAX control.

I have 9 of these on each postback.

<script src="/ScriptResource.axd?...

All of them are pretty small in size, but they each have the new
connection overhead.

Is there a way to group the calls?

The actual validation after its all said and done doesn't post back,
so I'm confused as to why it needs all these requests if it has the
javascript it needs after the initial load.
 
With AJAX from Microsoft you can specify that you want to use "static"
scripts and not the ones from resources (.axd extension)
I think it's achieved by providing ScriptFolder in Script Manages.
Then you can add caching meta tags and IE will not ask for those anymore.

George.
 
Back
Top