J
Jhon Smith
Hi!
I have one WebControl and 2 properties... but aspnet don't save my
second property value when I change first property.
Thank's!!
This is my code:
public class myControl: System.Web.UI.WebControls.Button {
private string _one, _two;
public myControl() : base()
{ /*_*/ }
public string one {
get { return _one; }
set { this.two = "Two!: " + value; _one = value; } }
public string two {
get { return _two; }
set { _two = value; } }
}
I have one WebControl and 2 properties... but aspnet don't save my
second property value when I change first property.
Thank's!!
This is my code:
public class myControl: System.Web.UI.WebControls.Button {
private string _one, _two;
public myControl() : base()
{ /*_*/ }
public string one {
get { return _one; }
set { this.two = "Two!: " + value; _one = value; } }
public string two {
get { return _two; }
set { _two = value; } }
}