Extend the DropDown for Item ToolTip,Asp.net,C#
<pre><code>i need to extend the DropDownList For adding toolTip For DropDown Item On mouseOver.
</code></pre>

<p>If(Dropdown size is samller than Dropdownlist item then it will be useful for seeing the item as tool tip)</p>

<p>For that i came to know, We need to create ServerControl project in VS2008 but i dont know how to add a property like ItemToolTip </p>

<p>which need to be worked as (DataTextField, DataValueField in drop down list) in that class .</p>

<p>tell me any link for ServerControl project sample which resembles my requirement.</p>

<p>I  tried using below code but dropdown property itself not working..</p>

<p>namespace DropDownItemToolTip</p>

<p>{</p>

<pre><code>[DefaultProperty("Text")]
[ToolboxData("&lt;{0}:ServerControl1 runat=server&gt;&lt;/{0}:ServerControl1&gt;")]

public class ServerControl1 : System.Web.UI.WebControls.DropDownList 
{

    [Bindable(true)]
    [Category("Appearance")]
    [DefaultValue("")]
    [Localizable(true)]
    public  string Text1
    {
        get
        {
            String s = (String)ViewState["Text"];
            return ((s == null) ? "[" + this.ID + "]" : s);
        }

        set
        {
            ViewState["Text"] = value;
        }
    }

    protected override void RenderContents(HtmlTextWriter output)
    {
        output.Write(Text1);
    }

}
</code></pre>

<p>}</p>

<p>Send me any sample project link, which done like this.. </p>

<p>Thanks &amp; Regards </p>
