By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,601 Members | 1,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,601 IT Pros & Developers. It's quick & easy.

aspnet don't save property value

P: n/a
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; } }
}

Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.