Monthly Archives: May 2013

Install and Manage IIS

Please follow the below steps to install and manage IIS: 1) Go to Start->Control Panel->Programs 2) Now click on “Turn Windows features on or off” 3) It will open up a window with all features. In that, select “Internet Information …

Read more »

Access value throughout application in .NET

While developing large applications, the need of global key values arise, that can be used throughout the application. So, for this purpose we should define the key value in the web.config file and through that specific key can access that …

Read more »

Change the default browser for Visual Studio

To change the default browser in which the visual studio opens the site or for debugging purposes, just follow the below steps: 1) Go to the Page in visual studio that you want to open / start page. 2) Right …

Read more »

Set the Culture and UI Culture for ASP.NET

The need of setting culture and UI culture comes when your application supports globalization. The Culture property determines the culture dependent functions like date, number, currency formatting etc.. The UI Culture property determines the resources that are to be loaded …

Read more »

Allow/Block popups in chrome

To allow or block popups in google chrome, please refer to the below steps: 1) Open chrome browser. 2) Go to settings 3) Then, go to “show advanced settings” 4) Then, go to “Content Settings” under Privacy section 5) After …

Read more »

Add/Remove master page control from child page in asp.net

Most of the time, developers who are new to .NET encounter this problem of handling or setting master page control properties from their child pages/content pages. The below technique can be used to set various properties of the master page …

Read more »

Adding Custom Validator run-time to your page and throw Data driven Error to page

Hello All, Today, I was trying to add a custom validator to my page, as we know that Page.IsValid is responsible to run all validators attached to page. Following Code snippet will create a custom validator on the fly: In …

Read more »