Monday, March 19, 2012

Generate random file names in Asp.net


//Random FileName with Random Extension
        string fileName = System.IO.Path.GetRandomFileName();

        //Random FileName without Random Extension
        string fileNameWithoutExtension = System.IO.Path.GetFileNameWithoutExtension(System.IO.Path.GetRandomFileName());

Ajax CalendarExtender displaying at wrong position in Chrome

< script type ="text/javascript" language ="javascript">     function onCalendarShown(sender, args)...