很久之前的一次北京之行, 开始接触并关注这个asp.net项目,但是一直没有花时间和精力来研究学习它。公司的最近几个项目中都或多或少应用了一些新的技术,所以我想现在是时候作点研究工作了,争取能在以后的项目中推广开来。
MVC 主页: http://asp.net/mvc
几分钟前,看到的新文章:ASP.NET MVC V2 Preview 1 Released
另外的一些动力来源:Should ASP.NET Developers Learn ASP.NET MVC?
很久之前的一次北京之行, 开始接触并关注这个asp.net项目,但是一直没有花时间和精力来研究学习它。公司的最近几个项目中都或多或少应用了一些新的技术,所以我想现在是时候作点研究工作了,争取能在以后的项目中推广开来。
MVC 主页: http://asp.net/mvc
几分钟前,看到的新文章:ASP.NET MVC V2 Preview 1 Released
另外的一些动力来源:Should ASP.NET Developers Learn ASP.NET MVC?

By using the code below, you can create a live daily updating bing theme.
To create the theme, 1st copy and paste the code below in notepad and save it as “Bing.theme”. You can click the link Bing.theme to download the theme file.
[Theme]
DisplayName=Bing
[Slideshow]
Interval=1800000
Shuffle=1
RssFeed=http://feeds.feedburner.com/bingimages
[Control Panel\Desktop]
TileWallpaper=0
WallpaperStyle=0
Pattern=
[Control Panel\Cursors]
AppStarting=%SystemRoot%\cursors\aero_working.ani
Arrow=%SystemRoot%\cursors\aero_arrow.cur
Crosshair=
Hand=%SystemRoot%\cursors\aero_link.cur
Help=%SystemRoot%\cursors\aero_helpsel.cur
IBeam=
No=%SystemRoot%\cursors\aero_unavail.cur
NWPen=%SystemRoot%\cursors\aero_pen.cur
SizeAll=%SystemRoot%\cursors\aero_move.cur
SizeNESW=%SystemRoot%\cursors\aero_nesw.cur
SizeNS=%SystemRoot%\cursors\aero_ns.cur
SizeNWSE=%SystemRoot%\cursors\aero_nwse.cur
SizeWE=%SystemRoot%\cursors\aero_ew.cur
UpArrow=%SystemRoot%\cursors\aero_up.cur
Wait=%SystemRoot%\cursors\aero_busy.ani
DefaultValue=Windows Aero
Link=
[VisualStyles]
Path=%SystemRoot%\resources\themes\Aero\Aero.msstyles
ColorStyle=NormalColor
Size=NormalSize
ColorizationColor=0X6B74B8FC
Transparency=1
[MasterThemeSelector]
MTSM=DABJDKT
The cause for this behavior is that there is a flag (named _spFormOnSubmitCalled) in SharePoint which prevents double form submition. This flag is set when the form is submitted and clear when the response is received.
However when exporting the response is redirected and the page is not updated, thus the flag is not cleared and page’s postbacks are blocked.
In order to workaround this behavior you should manually clear the flag when exporting. This can be achieve, for example in export button’s client click function similar to the following:
MyExportButton.OnClientClick = “_spFormOnSubmitCalled = false;”
Setting the _spFormOnSubmitCalled to false is actually what MS Ajax is doing when an ajax request is made thus I suspect there should be not implication using such approach.
About the removing spFormOnSubmitWrapper function call, you may instead set _spSuppressFormOnSubmitWrapper variable to true, which can be done conditionally only where needed by outputting similar to the following script:
_spBodyOnLoadFunctionNames.push(“supressSubmitWraper”);
function supressSubmitWraper()
{
_spSuppressFormOnSubmitWrapper = true;
}