[CLOSED] CompositeField dialog with Jquery

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] CompositeField dialog with Jquery

    Last edited by Daniil; Dec 12, 2012 at 11:13 AM. Reason: [CLOSED]
  2. #2
    Hi @romeu,

    I would try to set up some height for the CompoisteFields.
  3. #3
    Hello!

    I changed the time but it did not work, it does not load inputs, follows a print screen for you to better visualize the problem.

    Click image for larger version. 

Name:	Untitled-1.jpg 
Views:	80 
Size:	9.9 KB 
ID:	5236
  4. #4
    Quote Originally Posted by romeu View Post
    I changed the time but it did not work
    Time? Did you mean height?
  5. #5
    Yes, height.

    Have you changed the height but did not solve the problem.
  6. #6
    Please also try to set up HideMode="Offsets" for the CompositeFields.
  7. #7
    Hello Daniil,

    I did as requested and did not work again.

    Here the code to see how you did.
    
    <div id="modal-empresa" title="Selecionar Empresa" style="display: none;">
    	<ext:Label ID="LbTipo" runat="server" Text="Empresa" />
    
    	<extCustom:CustomCompositeFieldHabilitar ID="prEmpresa" UrlPesquisa="/athenasx/Procura/GetDescricaoEmpresa"
    		runat="server" Width="330" Height="30" Descricao="prEmpresaDesc" HideMode="Offsets">
    		<Listeners>
    			<AfterRender Handler="preencher()" />
    		</Listeners>
    	</extCustom:CustomCompositeFieldHabilitar>
    
    	<ext:Label ID="LbProcesso" runat="server" Text="Filial" />
    
    	<extCustom:CustomCompositeFieldHabilitado ID="prFilial" UrlPesquisa="/athenasx/Procura/GetDescricaoFilialEmpresa"
    		runat="server" Width="330" Descricao="prFilialDesc" Disabled="true" ItemID="prEmpresa" HideMode="Offsets" >
    	</extCustom:CustomCompositeFieldHabilitado>
    
    	<ext:DateField ID="dtDataCorrente" runat="server" FieldLabel="Data" Format="dd/MM/yyyy"
    		Width="200" />
    
    </div>
  8. #8
    Ok. Please provide a runnable example to reproduce the problem.

    Like this one.

    Example
    <%@ 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 Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
            <ext:Button runat="server" Text="Show">
                <Listeners>
                    <Click Handler="Ext.get('div1').removeClass('x-hidden');" />
                </Listeners>
            </ext:Button>
    
            <div id="div1" class="x-hidden" style="width: 400px; height: 200px;">
                <ext:CompositeField runat="server" FieldLabel="CompositeField">
                    <Items>
                        <ext:TextField runat="server" />
                        <ext:TextField runat="server" />
                    </Items>
                </ext:CompositeField>
            </div>
        </form>
    </body>
    </html>
  9. #9
    Daniil, the above example does not work like the others, does not load the CompositeField.
  10. #10
    What browser are you testing with?
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] JQuery to Ext.net
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 12, 2012, 7:08 PM
  2. Replies: 2
    Last Post: Aug 28, 2011, 1:44 AM
  3. Replies: 7
    Last Post: Aug 12, 2011, 2:30 PM
  4. Jquery & Ext.NET
    By threewonders in forum 1.x Help
    Replies: 3
    Last Post: Jun 16, 2011, 7:01 PM
  5. jQuery and ASP.NET
    By jchau in forum Open Discussions
    Replies: 2
    Last Post: Oct 11, 2008, 4:02 PM

Posting Permissions