Hi I would like to know:
How my Web Form can call a GUIHelper class so that the GUIHelper class know about and can modify the controls on the Web Form?
In my project I am making a layered architecture so that all the handling of the controls on my GUI is taking care of in a GUIHelper.cs class. Thus the GUIHelper.cs class needs to know about the controls in the GUI. I have found out how to do this in the Winform client. The simple example shows the principle.
public partial class Form1 : Form { GUIHelper Helper; public Form1() { InitializeComponent(); Helper = new GUIHelper(this); } private void button1_Click(object sender, EventArgs e) { Helper.doSomething(sender, e); } } class GUIHelper { Form1 theform; public GUIHelper(Form1 form) { th ...

Go to the complete details ...