[CLOSED] reload usercontrol in panel & checkbox

  1. #1

    [CLOSED] reload usercontrol in panel & checkbox

    1. is there anyway to reload an usercontrol in panel?

    2. how to do this...check radiobutton on select

    <ext:Radio ID="Radio_Period" runat="server" BoxLabel="Period" name="Duration_Period"></ext:Radio>
    
    <ext:SelectBox ID="SelectBox_Period" runat="server" Width="200">
    <Listeners>
          <Select Fn="Radio_Period.Checked = true;" /> //<<-- error
    </Listeners>
    </ext:SelectBox>
    3. i have plain html table, is there any sample to attach tooltip from ext.net into <td> ?
    Last edited by Daniil; Oct 14, 2011 at 4:25 PM. Reason: [CLOSED]
  2. #2
    1. is there anyway to reload an usercontrol in panel?
    You have to rerender the panel contains the user control (for example, Panel1.Render();)

    2. how to do this...check radiobutton on select
    Use Handler instead Fn (Fn expects function name)
    <Select Handler="#{Radio_Period}.setValue(true);" />
    i have plain html table, is there any sample to attach tooltip from ext.net into <td> ?
    Yes, see the following 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>Ext.NET Examples</title>
    
    
        <script type="text/javascript">
            var showTip = function () {            
                this.body.dom.innerHTML = this.triggerElement.innerHTML;
            }
        </script>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager ID="ResourceManager1" runat="server" />
            
            <table id="table1" border="1" cellpadding="2" cellspacing="1">
                <tr>
                    <td>Cell 1-1</td>
                    <td>Cell 1-2</td>
                    <td>Cell 1-3</td>
                </tr>
                
                <tr>
                    <td>Cell 2-1</td>
                    <td>Cell 2-2</td>
                    <td>Cell 2-3</td>
                </tr>
                
                <tr>
                    <td>Cell 3-1</td>
                    <td>Cell 3-2</td>
                    <td>Cell 3-3</td>
                </tr>
            </table>
            
            <ext:ToolTip 
                ID="RowTip" 
                runat="server" 
                Target="table1"
                Delegate="td"
                TrackMouse="true">
                <Listeners>
                    <Show Fn="showTip" />
                </Listeners>
            </ext:ToolTip>     
        </form>
    </body>
    </html>
    In future, please create separate topic for each question
  3. #3
    hi,

    sorry for that :)

    for the tooltip...since the html table actually loaded via usercontrol and the tooltip are in the aspx and late binding
    I've tried but its not working...any idea?
  4. #4
    Please clarify how exactly does it not working? And how do you try?

    Providing us with a sample to reproduce the problem would be best.

Similar Threads

  1. [CLOSED] Tab Panel reload
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 14
    Last Post: May 30, 2012, 5:55 PM
  2. [CLOSED] Force form reload from internal userControl
    By edigital in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 25, 2011, 11:49 AM
  3. [CLOSED] Efficient Panel Reload
    By macap in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 25, 2010, 2:25 PM
  4. [CLOSED] Reload an iframe within a panel
    By jeremyl in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Nov 05, 2009, 12:55 PM
  5. [CLOSED] Reload usercontrol in a window
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 14, 2009, 12:08 PM

Posting Permissions