private void btnOk_Click(object sender, System.EventArgs e)
{
string strAnser = this.txtId.Text+" "+this.txtName.Text;
this.txtAnswer.Text =strAnser;
this.RegisterUpdateControl)this.txtAnswer.ID,this.txtAnswer,ZeroAjax.ControlUpdateType.Value);
}
?最后一句
还有这个控件组怎么样
要不要钱的
稳定不稳定谢谢
{
string strAnser = this.txtId.Text+" "+this.txtName.Text;
this.txtAnswer.Text =strAnser;
this.RegisterUpdateControl)this.txtAnswer.ID,this.txtAnswer,ZeroAjax.ControlUpdateType.Value);
}
?最后一句
还有这个控件组怎么样
要不要钱的
稳定不稳定谢谢
this.RegisterUpdateControl(this.txtAnswer.ID,this.txtAnswer,ZeroAjax.ControlUpdateType.Value);晕。这怎么看呀。。把一个文本框 注册到ZeroAjax中??只发现你的括号写错了。
this.RegisterUpdateControl(this.AjaxTextBox2.ID,this.AjaxTextBox2,ZeroAjax.ControlUpdateType.Value);
错误提示
c:\inetpub\wwwroot\ajax\WebForm1.aspx.cs(53): “ajax.WebForm1”并不包含对“RegisterUpdateControl”的定义