Asp.net, programming, Web development and design

Comments Off on Animate font awesome icons compatible to twitter bootstrap css

Animate font awesome icons compatible to twitter bootstrap css

You can using following CSS to animate font awesome icons compatible to twitter bootstrap. .btn-animated { min-width: 0 !important; padding-right: 45px !important; position: relative; } .btn-animated.animate-to-right i { line-height: 34px; min-width: 12px; position: absolute; right: 17px; top: 0; transition: right 0.2s ease-in-out 0s; z-index: 3; }   .btn-animated.animate-to-left i { line-height: 34px; min-width: 12px; position: […]

Asp.net, ASP.net MVC, programming, Web development and design

Comments Off on debugging website hosted on IIS web server from visual studio

debugging website hosted on IIS web server from visual studio

Often you want to debug a website hosted in IIS from your visal studio. Requirement: Visual Studio, Website (you want to debug) must have the same source code. Now web browser (Internet explorer, Firefox , Google chrome etc) type the URL of your website hosted in IIS (Internet Infomration Server). Open the Source code in […]

Asp.net, Web development and design

Comments Off on Running asp.net website through Visual Studio – Page Not Found error

Running asp.net website through Visual Studio – Page Not Found error

The other day I copied a working website solution onto a different machine and attempted to compile and run it in debug mode. It compiled fine and started to run, the browser attempted to load the page up in debug mode running of a port (as is normal), but then I got a Page Not […]

Asp.net, Web development and design

Comments Off on ASP.NET DropDownList1.Sort – Sorting a DropDownList

ASP.NET DropDownList1.Sort – Sorting a DropDownList

Have you ever wanted to sort an ASP.NET drop down list, and tried to search for DropDownList1.Sort in the intellisense? How dissapointing that Microsoft did not supply this. Below I show you how to implement a SortDropDownList function that will allow you to achieve this functionality: public void SortDropDownList(DropDownList dropDownList) //Listbox too { ArrayList arrayList […]

Remove extra spaces from string using regular expression, asp.net, c#

Removes extra space from the string using Regular expression. public static readonly RegexOptions Options =          RegexOptions.IgnorePatternWhitespace | RegexOptions.Singleline; public string RemoveExtaSpaces(string text) { Regex regex = new Regex(@”\s{2,}”, Options); text = regex.Replace(text.Trim(), ” “); //This line removes extra spaces and make space exactly one. //To remove the  space between the end of a word […]

JavaScript ShowModalDialog + Aspx page_load event not fires

I was using following code to show  Popup window //opens a pop up window function PopupWindow(url) { mywindow =window.open( url, “Popupwindow”, “location=1,status=0,scrollbars=1,width=800, height=600,resizable=1,toolbar=0” ) Above code was showing Popwindow then Requirement changed and we needed a Modal popup Window.  Then I found followin code which provides required functionality. //opens a pop up window function PopupWindow(url) { var […]

Web development and design

Comments Off on What software is required to design a small commercial website ?

What software is required to design a small commercial website ?

It really depends on your requirement. For graphics you can use MsPaint which comes free with windows operating system or you can go fot adobe photoshop or Macromedia Freeand, Firworks. But if your website is using CSS (Cas Cade Style  sheets) then you can write them in not pad, word pad or you can go […]