Urgent please Binding asp.net controls

  1. #1

    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>
  2. #2

    RE: Urgent please Binding asp.net controls

    Hi,

    Here is the sample
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
        
        <script runat="server">
            protected void UpdateTextBox(object sender, DirectEventArgs e)
            {
                TextBox1.Text = string.Empty;
                TextBox1.Update();
            }
        </script>
    </head>
    <body>
        <form id="form1" runat="server">
            <ext:ResourceManager ID="ResourceManager1" runat="server" />
            <asp:TextBox ID="TextBox1" runat="server" Text="Text" />
            
            <ext:Button runat="server" Text="Clear">
                <DirectEvents>
                    <Click OnEvent="UpdateTextBox" />
                </DirectEvents>
            </ext:Button>
        </form>
    </body>
    </html>
  3. #3

    RE: Urgent please Binding asp.net controls

    Thanks a lot,

    But sorry I'hve other question, it's possible to this with Listeners, and if this can do iqual to a asp.net GridView because a try the same example you show but Gridview don't have Update(); and other controls dont have Update; and we are using the great coolite messagebox like




    public void MensajesSiNo()


    {


    X.Msg.Confirm("Message", "Confirm?", new MessageBoxButtonsConfig


    {


    Yes = new MessageBoxButtonConfig


    {


    Handler = "Ext.net.DirectMethods.UC.DoYes();",


    Text = "Si"


    },


    No = new MessageBoxButtonConfig


    {


    Handler = "Ext.net.DirectMethods.UC.DoNo();",


    Text = "No"


    }


    }).Show();

    and we call the proces to do something after we try to Binding asp.net controls like a treeview, textbox,gridview, we star to change few controls to a coolite but we whant to be shore that this can be set in bot type of controls (asp.net and coolite). we will appreciate if you can show some example doing in that way.

Similar Threads

  1. [CLOSED] User Controls & Performance problems - Urgent
    By andreasperanza in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Jun 11, 2012, 2:24 PM
  2. urgent help needed :(
    By waqasaslammeo in forum 1.x Help
    Replies: 1
    Last Post: Feb 22, 2012, 7:42 AM
  3. need urgent help challenging job
    By grajaneesh in forum 1.x Help
    Replies: 1
    Last Post: Apr 08, 2011, 2:31 PM
  4. Replies: 12
    Last Post: Mar 24, 2011, 5:38 PM
  5. controls inside panel urgent help
    By bilgecooliteforum in forum 1.x Help
    Replies: 1
    Last Post: Apr 29, 2010, 12:28 PM

Posting Permissions