Blog

Custom Gradient Button with hover Effect C#.NET

Any one create a gradient button with this example. Which have hover effect class CustomButton:Button{#region Fieldsprivate Color _StartColor;private Color _EndColor;private Color _StartHoverColor;private Color _EndHoverColor;private bool bMouseHover;private Brush _paintBrush;private PointF _centerPoint;StringFormat _sf = new StringFormat();#endregion#region Propertiespublic Color StartColor{get{return _StartColor;}set{if (value == Color.Empty){_StartColor = Color.FromArgb(251,250,249);}else{_StartColor = value;}}}public Color StartHoverColor{get{return _StartHoverColor;}set{if (value == Color.Empty){_StartHoverColor =Color.White;}else{_StartHoverColor = value;}}}public Color

Getting tooltip of ASP.NET Radio button in java script.

This post in regards to a question that I have answered on stack overflow. Getting Tool tip of the Radio button in JavaScript. Where user asks why he is not able to get tooltip with document.GetElementById and Client Id of ASP.NET Radio button control like following. document.getElementById(”).title While answering this question, I have found that

XML for asp.net

I have found a great resources for developers who are using XML in asp.net frameworks. The site http://www.xmlforasp.net/ having all the thins that require to develop application using XML in asp.net. It has videos, code bank , .NET XML training all the stuff.

Entity Framework code first and Inheritance–Table per hierarchy

Before some day I have posted a blog about Entity Framework code first and Inheritance – Table per type and this post in next in series with that. In previous post we have learned about how entity framework code first handles inheritance and in this part we are going to extend this and modify some