ASP.NET Chinese Blogs

Sponsors

Browse by Tags

All Tags » ASP.NET (RSS)
Session Lost in iFrame (P3P Issue)
Problem: If you have iFrame or multiple frameset in your ASP.NET page, session is lost in the child frame. Session ID: If you use Response.Write to show the Session.SessionID of your page, you'd notice that it's actually changing on every postback...
ASP.NET Vulnerability Update
Two updates from ScottGu regarding the recent ASP.NET Vulnerability: Revised Workaround - URLScan Windows Update Read More...
ASP.NET Security Vulnerability (1.0 - 4.0)
It's very important, check it out if you haven't take any action yet: http://weblogs.asp.net/scottgu/archive/2010/09/18/important-asp-net-security-vulnerability.aspx http://www.microsoft.com/technet/security/advisory/2416728.mspx http://weblogs...
EventSource and EventLog.WriteEntry
It's pretty easy to write an entry into Windows event log in ASP.NET For example, EventLog.WriteEntry(" AppName ", YourMessage , EventLogEntryType.Error) However, if you don't have sufficient rights and create the event source in advance...
Back Pressure Problem in ASP.NET Emailing
I got an error message about " Back Pressure " when I was developing a ASP.NET emailing function recently. The code and configuration are good and I have no idea what is this issue, so I search MSDN and found this page about what is " Back...
Set focus to a TextBox (in a ModalPopupExtender)
I have a web page where couple of ModalPopupExtender and Panel exist, and I want to set focus to TextBox inside the corresponding pop up window when user click the target button accordingly. I think it's a common requirement to set the focus to a...
Turn TextBox.Text to CAPITAL or small letter in CSS
I'm looking for a simple function that turn the text of a TextBox into capital or small letter, but most of the JavaScript I found are clumsy because of the incompatibility of script (including the inconsistent behavior of event.keyCode and event...
Preview a web page in different versions of IE
I used Multiple_IE in the past when I wanted to test and verify something of my developed web app across browsers. Today, I try to download the Microsoft Expression Web SuperPreview for Windows Internet Explorer , it is simply do the job correctly and...
JavaScript tips
I was writing a lot of jQuery and JavaScript this weekend, and two tips that I would like to jot down for future reference: 1. Place open brace on new line in Visual Studio I used to place open brace on new line, so my codes would look more tidy with...
Expandable or Auto-Resize TextBox Height
Recently, I was asked to prepare a Facebook like expandable textbox in a ASP.NET web application, where user can input text and the textbox can be re-sized (more specifically the height) dynamically. I searched for a while and found quite a lot of solutions...
More Posts Next page »