Sep 11, 2008, 7:30 AM
[CLOSED] Change text property on button
Hi
I'm trying to change the .text property on a button that has its onClick event in a AjaxEvents tag. But the property change does not reflect on the web page. Why does not this work?
Im using 0.6 of Coolite
Mikael Jürke
I'm trying to change the .text property on a button that has its onClick event in a AjaxEvents tag. But the property change does not reflect on the web page. Why does not this work?
Im using 0.6 of Coolite
protected void Button1_Click(object sender, AjaxEventArgs e)
{
Button1.Text = "New label";
}
<ext:Button ID="Button1" runat="server" Icon="Key">
<AjaxEvents>
<Click OnEvent="Button1_Click"></Click>
</AjaxEvents>
</ext:Button>
Best regardsMikael Jürke
Last edited by geoffrey.mcgill; Apr 04, 2012 at 10:20 PM.