Browse by Tags
All Tags »
ASP.NET (
RSS)
In Asp.Net 4 the request validation model has changed (Yet another breaking change). In short, request validation is a security feature of Asp.Net which meant to prevent a user from XSS or script injection attacks. In Asp.Net the behavior of request validation has changed . Validation of the input is know performed in the BeginRequest stage in the life-cycle . When we converted out web application to Asp.Net 4, we found out that one of our pages, which uses a control call FreeTextBox , threw...
In the last week I've encountered a very weird problem, when I tried to use the new DefaultButton property of an Asp.Net Panel in an UpdatePanel. I used two Panels, each one in a different UpdatePanel, and set the DefaultButton. Something like this : < asp:UpdatePanel ID ="UpdatePanel1" runat ="server" > < ContentTemplate > < asp:Panel ID ="Panel1" runat ="server" Height ="50px" Width ="125px" DefaultButton ="Button1"...
In the last couple of weeks I've formatted and reinstalled my laptop. It was one of the longest installation I've ever done and I encountered many problems during the installation. This was a really annoying one. After I finished the installation of windows, updated it, installed visual studio, and updated it also, I created a simple web-site to see that everything is working properly. When I browsed the site I received the this error : "Failed to access IIS metabase The process account used to run...
One of the tools provided with Visual Studio 2005 is the Script Explorer. This tool can be used to view all the JavaScript that have been loaded so far, accessing the functions and objects and debug the script simply by using breakpoints. You can use it when you are debug mode in Visual Studio : The explorer looks like this : You can see the pages that have been loaded so far and the script files.Here you can see I have a JavaScript file named "testscripts.js" that already have been loaded. Clicking...
Suppose you a have a text box in an ASP.NET page. This text box needs to contains calculated values from other inputs that will be received from the user (other text boxes). The user can not change the text in the text box directly. How do you implement that ? By using the ReadOnly property in the text box. That's what one of the programmers on my team did a long time a go. Recently a bug in his page was found : After a post-back the values in the read-only text box have been reset, which is a problem...