Posts

Showing posts from April, 2012

Using SPRITE in Web based application

Hi, I was going through using Sprite in web based application. What is Sprite : Sprite is a way to use a single image for displaying multiple images on the web page. It works by joining all the images together in a single image and specifying the path in your css class. How to use sprite Css class then provides the sapeate class name for each image by specifying the coordinates of a particular image (called background), and specifying the height and width of that image inside the big image. here is good tutorial link

asp.net Set Repeater Header and Footer text from code behind

To find a control in the header: lblControl = repeater1.Controls[0].Controls[0].FindControl("lblControl"); To find a control in the footer: lblControl = repeater1.Controls[repeater1.Controls.Count - 1].Controls[0].FindControl("lblControl"); With extension methods public static class RepeaterExtensionMethods { public static Control FindControlInHeader(this Repeater repeater, string controlName) { return repeater.Controls[0].Controls[0].FindControl(controlName); } public static Control FindControlInFooter(this Repeater repeater, string controlName) { return repeater.Controls[repeater.Controls.Count - 1].Controls[0].FindControl(controlName); } }

Creating a printable web page the intricasies

Nice article for beginner who wants to create printable web page. http://www.killersites.com/articles/newsletterArchive/Newsletter_Nov3_2003.htm

Understanding effects of Mars in 2nd House

Below is a link which describes the effects of Mars in 2nd House of persons. Also, Reading this helps in dealing with persons which these effects. Understanding effects of Mars in 2nd House

Visual Studio team System. How to add a new project into TFS. Why I need TFS in first place.

Hi , I started with a small , freelancing, new project. Inbetween, the project i did some minor mistake and things were behaving wrongly in my project. in these small and fast pased developments we don't have time to resolve the unnessary errors and we wants to review what changes we did. Sometimes urgently we need to deploy code which was few days earlier. All, this is very difficult if we don't have TFS. I installed TFS and I faced lot of configuration issues both with connecting with Sql Server express and then Adding a new project. below are the tutorials that helped me with these. Configuring TFS with Sql Express. When I tried to configure the TFS with Existing SqlExpress i was getting two errors. which i don't have at this moment. But the final solution i understood is. 1. uninstall ur current Sql Express and then from TFS itself try to create that Sql Express edition. Then the problem got resolved. Adding a new project in TFS.

SQL Server – Management Studio Unable to save changes

f you are using management studio and attempt to add a column to a table or some other activity and get a message telling you that you will need to recreate a table, don’t worry. The message is not clear. What it is trying to say in the message is that data in the table maybe deleted if you add a column to the table. Management studio has a setting that causes this message. I recommend turning this option off. It can be found in the following location. Tools-> Options-> Designers-> Table and Database Designers-> Uncheck the option. “Prevent saving changes that require table recreation”

PaperCut nice tool to test Email functionality : or imitate SMTP Server

Hi, I used Paper cut and its very easy to use download papercut (smtp test tool)from codeplex at http://papercut.codeplex.com/. this tool allows you to test email sending using simple tool. run paper cut ip address = 127.0.0.1 Port = 25 Thanks & Regards, Sam