Login
Infragistics PropertyBrowser control
NEW 09.05.06 08:45
in Antwort krys 04.05.06 14:58
Просто наследуй от цонтролла и добавляй свои Проперты
[DefaultProperty("Text"), ToolboxData("<{0}:CheckBoxEx runat=\"server\" />")]
public class CheckBoxEx : System.Web.UI.WebControls.CheckBox, IPostBackEventHandler
{
public string CommandArgument
{
get { return this.ViewState["CommandArgument"] as string; }
set { this.ViewState["CommandArgument"] = value; }
}
public string CommandName
{
get { return this.ViewState["CommandName"] as string; }
set { this.ViewState["CommandName"] = value; }
}
}
[DefaultProperty("Text"), ToolboxData("<{0}:CheckBoxEx runat=\"server\" />")]
public class CheckBoxEx : System.Web.UI.WebControls.CheckBox, IPostBackEventHandler
{
public string CommandArgument
{
get { return this.ViewState["CommandArgument"] as string; }
set { this.ViewState["CommandArgument"] = value; }
}
public string CommandName
{
get { return this.ViewState["CommandName"] as string; }
set { this.ViewState["CommandName"] = value; }
}
}
09.05.06 08:50
in Antwort saschka_net 09.05.06 08:45