Apr 21, 2010, 12:36 PM
Urgent please Binding asp.net controls
Hi
Please I need your help, I try many ways to Binding asp.net controls using coolite controls but is not working, an I need to know it's possipble to do this, I try using coolite v.08 and using AjaxMethod and is not work, then a download the coolite v1.0 using the DirectMethod and is not work, I try using Textbox.Update, Textbox.Text = string.Empty, <TextBox1.Binding. and not of this work, I try also with de girdview and others asp.net controls and is not work.
Please if you can give some advise, if I'm doing something wrong, or it's not possible to do it int that way that I'm trying, to I can give some reply to my office, because we trying to mix asp.net control whith this great coolite controls. This a simple example that what I'm doing using usercontrols:
[DirectMethodProxyID(IDMode = DirectMethodProxyIDMode.Alias, Alias = "UC")]
[DirectMethod]
public void Claen()
{
CleanBox();
}
(All are asp text boxes)
private void CleanBox()
{
TextBox1.Text = string.Empty; Not working
TextBox2.Update(); Not Working
TextBox3.DataBind(); Not working
}
<ext:Button ID="Button1" runat="server" Icon="Accept" Text="Accept">
<Listeners>
<Click Handler="Ext.net.DirectMethods.UC.Claen();" />
</Listeners>
</ext:Button>
Please I need your help, I try many ways to Binding asp.net controls using coolite controls but is not working, an I need to know it's possipble to do this, I try using coolite v.08 and using AjaxMethod and is not work, then a download the coolite v1.0 using the DirectMethod and is not work, I try using Textbox.Update, Textbox.Text = string.Empty, <TextBox1.Binding. and not of this work, I try also with de girdview and others asp.net controls and is not work.
Please if you can give some advise, if I'm doing something wrong, or it's not possible to do it int that way that I'm trying, to I can give some reply to my office, because we trying to mix asp.net control whith this great coolite controls. This a simple example that what I'm doing using usercontrols:
[DirectMethodProxyID(IDMode = DirectMethodProxyIDMode.Alias, Alias = "UC")]
[DirectMethod]
public void Claen()
{
CleanBox();
}
(All are asp text boxes)
private void CleanBox()
{
TextBox1.Text = string.Empty; Not working
TextBox2.Update(); Not Working
TextBox3.DataBind(); Not working
}
<ext:Button ID="Button1" runat="server" Icon="Accept" Text="Accept">
<Listeners>
<Click Handler="Ext.net.DirectMethods.UC.Claen();" />
</Listeners>
</ext:Button>