|
|
Browse by Tags
All Tags » ASP.NET (RSS)
Showing page 1 of 2 (13 total posts)
-
When i studied for the Microsoft exam (70-562, Microsoft .NET Framework 3.5, ASP.NET Application Development) i found an interesting setting that i didn’t known, the Deployment.
This configuration setting ensures that your application will override important application level settings used when you developed your web application. It will ...
-
Because I have pages with the markup <%= someVariable%> like <script type="text/javascript">
function ConfirmCallBack(arg)
{
if (arg)
<%= this._nextPostBack%>
}
</script>
I get the following error: "The Controls collection cannot be modified because the control ...
-
Started today using Codesmith tools today after a year or so since the last time that I used this great generation template based tool.
I had to generate all the layers of an existent portal and I decided to use the netTiers templates to accomplish this task.
And here are the problems that I had to solve: In the Entities templates: I have ...
-
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 detail the most common reasons for memory pressure situations and best practices on how to avoid them. For more details, click here.
-
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 form button was clicked, I got the following error:
"Invalid postback or callback argument. Event validation is enabled
using <pages enableEventValidation="true"/> in ...
-
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 web
Configuration config = WebConfigurationManager.OpenWebConfiguration(path, site);
From MSDN
path
The virtual path to the configuration file.
site
The name ...
-
In the project that I'm currently working I had a problem because my connection strings are different from the other developers: I want to work locally in my SQL Express so the connections strings are different and since we are developing with Visual Source Safe 2005 as the version control system it is not possible to change the file where the ...
-
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 a new, blank window to be shown.
The best way to solve this problem is to include the following tag in the <head/> section of your HTML source:
<base ...
-
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 get the browser's download dialog box and the file's name will be the aspx page's name. If you want to force the original file name you have to add an header ...
-
O exemplo apresentado de seguida permite efectuar a criação de um site no IIS6 a partir de uma template. Esta solução torna-se particularmente útil para cenários em que seja necessário efectuar o aprovisionamento de vários sites com a mesma estrutura, composta tipicamente por um conjunto ...
1
|
|
|