All Tags »
ASP.NET »
.Net (RSS)
Sorry, but there are no more tags available to filter with.
-
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 ...
-
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 ...
-
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 ...
-
Asynchronous JavaScript with XmlHttpRequest - C# Example
Download the latest Ajax.dll (5.5.13.1) to use it for free in your web projects.
To learn more about AJAX, visit:
Wikipedia
A New Approach to Web Applications
To download this C# example click here.
There is a usage guide (will be updated in the next days) available for the first ...