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

Browse by Tags

All Tags » Asp.Net » .Net
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 Read More...
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 Read More...
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, Read More...
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 Read More...
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 Read More...