Performance

  1. #1

    Performance

    *Hi all...

    I am problems with performance of my website. I am using desktop with some grids and some windows.


    The performance problem of the grids i resolve with a http proxy and a ashx file, and this working very good...


    But now the forms of my windows are very slow... For example, a combobox with a ajaxevents, with the code below are very slow, and response only when i click in other field form.




    ASP code:
    ** * * * * * * * * <ext:ComboBox id="cmbContratante" runat="server" FieldLabel="Contratante" Editable="false" TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" EmptyText="Selecione a Contratante..." Select&#111;nfocus="true">
    ** * * * * * * * * *<AjaxEvents>
    ** * * * * * * * * * * *<Change OnEvent="RegraLP" Delay="0"/>
    ** * * * * * * * * *</AjaxEvents>
    ** * * * * * * * * *</ext:ComboBox>



    VB code:
    ** *Protected Sub RegraLP(ByVal sender As Object, ByVal e As Coolite.Ext.Web.AjaxEventArgs)
    ** * * *If cmbContratante.SelectedItem.Text = "Intelig" Then
    ** * * * * *txtLP.Text = "0"
    ** * * * * *txtLP.Enabled = False
    ** * * *Else
    ** * * * * *txtLP.Text = vbNullString
    ** * * * * *txtLP.Enabled = True
    ** * * * * *stbRequisicao.Text = vbNullString
    ** * * *End If
    ** *End Sub


    Any idea to improve the performance and resolve this problem ???


    TKs a lot.

  2. #2

    RE: Performance

    Hi,

    Change event is fired when combo looses the focus. Use Select event instead Change
  3. #3

    RE: Performance

    *Ok, tks.



Similar Threads

  1. Performance issues with 0.8.2
    By ywonline in forum 1.x Help
    Replies: 3
    Last Post: Oct 26, 2011, 4:43 PM
  2. [CLOSED] [1.2] IE8 Performance
    By softmachine2011 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Oct 05, 2011, 12:02 PM
  3. Multiheader + performance
    By Birgit in forum 1.x Help
    Replies: 2
    Last Post: Mar 14, 2011, 3:47 PM
  4. Server Performance
    By magisystem in forum Open Discussions
    Replies: 2
    Last Post: Sep 30, 2010, 12:18 PM
  5. GWT EXT performance
    By jeybonnet in forum Open Discussions
    Replies: 6
    Last Post: Mar 25, 2009, 8:39 AM

Posting Permissions