Comunidade Bloggers |create|it|

Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help
in Search

Browse by Tags

All Tags » ASP.NET » .Net   (RSS)
Sorry, but there are no more tags available to filter with.
  • The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)

    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 ...
    Posted to Ricardo Costa (Weblog) by ricardo.costa on May 7, 2008
  • Codesmith, netTiers and reserved words

    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 ...
    Posted to Ricardo Costa (Weblog) by ricardo.costa on April 15, 2008
  • Add a custom section to web.config

    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 ...
    Posted to Ricardo Costa (Weblog) by ricardo.costa on October 23, 2007
  • Different web.configs

    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 ...
    Posted to Ricardo Costa (Weblog) by ricardo.costa on May 25, 2007
  • Setting the original file name when using Response.BinaryWrite()

    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 ...
    Posted to Ricardo Costa (Weblog) by ricardo.costa on November 16, 2006
  • Ajax.NET - A free library for the Microsoft .NET Framework

    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 ...
    Posted to Raúl Ribeiro (Weblog) by rrr on May 17, 2005
Powered by Community Server, by Telligent Systems