Feeds:
Posts
Comments

Archive for June, 2007

      Recently I have to use color picker control in my project so that each user has its own UI. The best color picker example I found on blogger.com. This inspired me to create my own color picker control. 

Fig (1) Color picker control.
   Color picker allows user to do following thisng. User controls expose the property [...]

Read Full Post »

        Hi, in my previous atrlicle I show how to create virtual directory. Here I have attched the code for creating , deleteing or listing virtual directories or website in IIS using ASP.NET and C#.
    Code uses DirectoryService name space which allows access to Internet Information Services (IIS). The System.DirectoryServices namespace also provides access to [...]

Read Full Post »

      In my recent project, I found a starnge behaviour of PNG file. We have created PNG files with transparent back ground for logo. Everything is working fine in IE 7 , Opera, Firefox and even in Safari. However when we saw the image in IE 6 we found a problem that it does not [...]

Read Full Post »

         Recently I found a really good article on moving options up and down in list box using javascript. Here is the link.
Happy Programming !!

Read Full Post »

           Recent ly I found a really good article on moving value from one list box to another list box using javascript. Here is the link.
Happy Programming !!

Read Full Post »

Shadow Copying

                A fantastic feature of ASP.NET is that the code for a Web site can be changed on the fly without shutting down the Web server. When a Web site’s file is changed on the hard disk, ASP.NET detects this, unloads the AppDomain that contains the old version of the files (when the last currently [...]

Read Full Post »

        I have seen lots of questions in diffrent forums for adding items in drop down list or list box using javascript. Below is the script for the same. 
 
<script type=”text/javascript”>
function AddItem(Text,Value)
{
// Create an Option object [...]

Read Full Post »

            In my recent project I need to create virtual directory in IIS programmatically.  I was searching on net and found a really good article posted by Dipali Choksi. You can find the artilce here. I have copied that article below for my reference.
 
Using System.DirectoryServices;private void btnCreateDirectory_Click(object sender, EventArgs e){          string strSchema = “IIsWebVirtualDir“;          string [...]

Read Full Post »