Add a custom section to web.config

0
If you have created a custom section like this, and if you want to add it programmatically to web.config then you have to: Use the WebConfigurationManager class and open the...

Setting the original file name when using Response.BinaryWrite()

0
Imagine you have file saved in a database. Then you have an aspx page that gets that page and sends it back to the user. If you just simply use Response.BinaryWrite you...

Posting back in a modal popup

0
If you have a server-side form that needs to post back to itself, and that form is in a window made available through window.showModalDialog call, the postback will cause...

Dealing with Memory Pressure problems in MOSS and WSS

0
I just a found another great post about memory management and performance issues on the SharePoint platform. This article defines the concept of "Memory Pressure" and discusses in great...

Page.EnableEventValidation and “Invalid postback or callback argument” error

0
I developed a custom web part that basically renders a form and submits the entered data into a SharePoint list. The problem I was having is that when the...