December 2007 Entries

DropDownList.SelectedValue returns UpperCase string.

I've noticed that DropDownList.SelectedValue returns Upper Case string, even if Items in ListItemCollection are shown in mixed case in debugger and in html. I tried to confirm it using Reflector , but didn't find particular code to call ToUpper. Is it only my application or .Net framework(I am using 2.0) ? Anyway, it is a good practice to call ToUpper() if you want to compare DropDownList.SelectedValue with other strings ......

How to disable IIS application pool

I wanted to disable a few web application on IIS server, running within the same application pool. I've opened the pool properties, but I didn't find the option to disable. I've tried to find in Google, but didn't find the answer. So I decided that changing identity to some not authorized user will be sufficient. Fortunately, my collegue told me, that to disable pool you need to STOP it. And pool will be stopped until you as Admin explicitely start it.- it is not re-started autiomatically after reboot. ......

«December»
SunMonTueWedThuFriSat
2526272829301
2345678
9101112131415
16171819202122
23242526272829
303112345