To simplify what I am doing: I have a control and I want to set it's visible property and value on seperate threads; both will be using a database transaction. When I run the code, both threads execute correctly but the page doesn't show the changes in the properties. I know I am missing some logic as I am new to this. Here is my code:
private delegate void VisibleDelegate(object sender, EventArgs e);
private delegate void CalculateDelegate(object sender, EventArgs e);
PageLoad
{
textbox txt = new textbox();
txt.TextChanged += new EventHandler(Calculate);
txt.TextChanged += new EventHandler(VisibleSwitch);
Go to the complete details ...