chapter 9 comfortasp.dll not working
I'm trying to do the hello world example using the comfortasp.dll but the page is still posting round trips to the server. Basically I create a new page, make reference to the comforasp.dll and add the following code. Heres the code behind class. This is as per the book p.208.
public partial class HelloWorld : ComfortASP.ComfortASP_Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.HiddenFormPostBack = true;
}
protected void btnTest_Click(object sender, EventArgs e)
{
this.lblTest.Text = "Hello World " + DateTime.Now.ToString();
}
}
|