Sunday, March 11, 2012

CalendarExtender effect on DropDownList

Are you running in debug or release mode?? I've found the calendar extender can be particularly show at times in debug mode...

Here are a couple of options to try...

1) Set<configuration><system.web><compilationdebug="false">in your web.config

2) Set theScriptMode="Release"property on the ScriptManager component

<asp:ScriptManagerID="ScriptManager1"runat="server"ScriptMode="Release"></asp:ScriptManager>

Either way, if you are running in debug mode doing this will mean you get the release version of the javascript coming down to you which is A LOT faster!!


Hi,

Yes, changing those things does seem to speed it up a bit. I'm just wondering why the drop-downs flicker like that in the first place? I'm not re-binding them or anything.

Thx.

No comments:

Post a Comment