This is a migrated thread and some comments may be shown as answers.

RadAjaxLoadingPanel not showing

19 Answers 598 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jean-Marc
Top achievements
Rank 1
Jean-Marc asked on 07 Sep 2012, 03:02 PM
Hello,
I have a problem with RadAjaxLoadingPanel:
my web application has a RadGrid control and a RadTreeView.
When I click on a node of the radtreeview the radgrid performs a rebind action and loads data associated with the node values.

I use a RadAjaxManager to perform the update/rebind action of the radgrid and i use a RadAjaxLoadingPanel to hide the radgrid while loading data.
The update process is correctly performed but the RadAjaxLoadingPanel is not displayed.

In my application there are other controls that trigger the update action of ther radgrid and the update is correctly performed and also the RadAjaxLoadingPanel is correctly displayed.

How can I fix my problem and make the RadAjaxLoadingPanel visible during the update of the radgrid when clicking on a Radtreeview node, like with the other controls?

A short part of the code is following:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Block" EnableHistory="False">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="CheckBoxMerge">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="Block" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="CheckBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="Block" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGridAccounts">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="Block" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ButtonEseguiFiltro">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="Block" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="CatTree1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="Block" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                </UpdatedControls>
            </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

CheckBoxMerge, CheckBox1, RadGridAccounts, ButtonEseguiFiltro perform correctly the update and also the RadAjaxLoadingPanel1 is displayed, while CatTree1(the radtreeview) performs the update but the RadAjaxLoadingPanel1 is ot displayed

19 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 12 Sep 2012, 09:19 AM
Hi Jean-Marc,

Could you please try to set UpdatePanelHeight to "100%" in the problematic setting and verify if this helps.
Another approach could be to wrap the RadGrid control into regular asp Panel and add this Panel to be updated by the TreeView control in the AjaxManager setting.

Give this suggestions a try and let me know if they help.

Kind regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jean-Marc
Top achievements
Rank 1
answered on 12 Sep 2012, 10:15 AM
I set the UpdatePanelHeight to "100%" in the AjaxUpdatedControl and no changes
I wrapped the radgrid control into a asp panel and also in a updatepanel and i let them updated by the treeview control in the ajaxmanager setting but no changes.
I don' t know if it is the problem, but my treeview control is inserted in the page as an ascx file with <%@ Register statement
0
Jean-Marc
Top achievements
Rank 1
answered on 13 Sep 2012, 10:34 AM
If I insert the radgridview in an asp panel and then I use the radajaxmanager to update the panel and the other controls there are two situation:
If I update the panel instead of the radgrid (<telerik:AjaxUpdatedControl ControlID="panel1") nothing changes: the radgrid and the other controls are updated but the  RadAjaxLoadingPanel is not displayed while loading.
If I add the asp panel to the UpdatedControls:
<telerik:AjaxSetting AjaxControlID="CatTree1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
<telerik:AjaxUpdatedControl ControlID="panel1" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="Block" />
                </UpdatedControls>
            </telerik:AjaxSetting>

the radgrid in no more visible after the first update and the following updates are no more performed and the controls ("TextElementi") are no more updated.
0
Maria Ilieva
Telerik team
answered on 17 Sep 2012, 08:10 AM
Hello Jean-Marc,

Could I kindly ask you to send us the whole page markup as well as the related code behind? Thus we will be able to recreate your application locally and do our best to isolate the root cause of the problem you are facing.

All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jean-Marc
Top achievements
Rank 1
answered on 17 Sep 2012, 09:34 AM
this is the asp code
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CreateAccount.ascx.vb" Inherits="Admin_AccountingManagement_CreateAccount" %>
<%@ Register TagPrefix="qsf" TagName="CommandBar" Src="~/Admin/CommonASCX/CommandBar.ascx" %>
<%@ Register TagPrefix="qsf" TagName="RTV" Src="~/Admin/CategoriesManagement/TreeCategories.ascx" %>
 
 
 
    <link href="/GlobalManagement_Preferences/NewsManagement/Style/NM_Admin/NM_Admin.css" rel="stylesheet" type="text/css" />
 
   
 
    <table cellpadding="0" cellspacing="0" style=" width:100%; " id="headerText" runat="server">
        <tr>
            <td>
                <table style="width: 100%; padding: 0px 18px 0px 18px " class="Mappa_fondo" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="Mappa_testo" style="text-align: left; height: 34px;">
                        I-Connect Manager / Utenti / <span class="Mappa_testo_selez" id="use"></span></td>                       
                    </tr>
                </table>
             </td>
        </tr>
        <tr>
            <td style="height: 8px">
            </td>
        </tr>
 
    </table>
 
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script language="javascript" type="text/javascript">
 
    window.onload = function () {
        scripts();
        var importa = document.getElementById("ButtonImporta");
        var esporta = document.getElementById("ButtonEsporta");
        var textElementi = document.getElementById("TextElementi");
        var hidden = document.getElementById('<%= Hidden1.ClientID %>');
 
        importa.style.display = hidden.value;
        esporta.style.display = hidden.value;
        textElementi.style.display = hidden.value;
 
        var filtri = document.getElementById("filtri");
        var first = document.getElementById("first");
        var second = document.getElementById("second");
        var third = document.getElementById("third");
        var fourth = document.getElementById("fourth");
 
        if (GetCookie("filtri") != "") {
            filtri.style.display = GetCookie("filtri");
        }
 
        if (GetCookie("first") != "") {
            first.style.display = GetCookie("first");
        }
 
        if (GetCookie("second") != "") {
            //alert(hidden2.value);
            second.style.display = GetCookie("second");
        }
 
        if (GetCookie("third") != "") {
            //alert(hidden3.value);
            third.style.display = GetCookie("third");
        }
 
        if (GetCookie("fourth") != "") {
            //alert(hidden4.value);
            fourth.style.display = GetCookie("fourth");
        }
 
    }
 
//    function onTreeViewNodeClicked(sender, eventArgs) {
//        var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
//        if (ajaxManager != null) {
//            var settings = ajaxManager.get_ajaxSettings();
//            for (setting in settings) {
//                var initiatingControl = settings[setting].InitControlID;
//                var controls = settings[setting].UpdatedControls;
//                if (initiatingControl == '<%= CatTree1.ClientID %>') {
//                    for (control in controls) {
//                        if (controls[control].ControlID == 'RadGridAccounts') {
//                            controls[control].ControlID = '<%= RadAjaxLoadingPanel1.ClientID %>';
//                        }
//                    }
//                }
 
//            }
 
//            ajaxManager.set_ajaxSettings(settings);
//        }
//    }
 
    function scripts() {
         
        var hidden = document.getElementById('<%= Hidden2.ClientID %>');
         
        var span = document.getElementById('use');
         
        span.textContent = hidden.value;
    }
 
    function Close() {
        window.close();
    }
 
    function VisualizzaFiltri() {
        var filtri = document.getElementById("filtri");
        filtri.style.display = "block";
        SetCooKie("filtri", filtri.style.display);
    }
 
    function Popup(apri, visualizzaGrid) {
//        var stile;
//        stile = "top=10, left=10, width=977, height=430, status=no, menubar=no, toolbar=no scrollbars=yes, resizable=no";
        //        window.open(apri, "", stile, false);
        var wnd = $find("<%=AddWindow.ClientID%>");
        wnd.show();
        wnd.setUrl("/Admin/AccountingManagement/" + apri);
    };
 
 
    function SetCooKie(name, value) {
        var path = "/";   // il cookie ha validit?  in tutto il sito
        var today = new Date();  // data/orario di oggi
        var expires = new Date();  // variabile necessaria a calcolare la scadenza
 
        expires.setTime(today.getTime() + (1000 * 60 * 60)); // fra un ora in millisecondi
        avviso = name + "=" + value + "; expires=" + expires.toGMTString() + "; path=" + "/";
        document.cookie = avviso; // attivo il cookie
        //alert(avviso);  //alert di controllo dei contenuti
    }
 
    function GetCookie(name) {
        var biscotti = document.cookie.split("; ");  // separo i blocchi di informazioni con il punto e virgola
        for (i = 0; i < biscotti.length; i++) {
            briciola = biscotti[i].split("="); // divido l'informazione name dal suo valore
            if (briciola[0] == name) { // cerca il cookie con il nome appena definito
                valore = briciola[1]; // memorizza il codice in una variabile
                //alert(valore);  // stampa il valore di controllo
                return valore;   // restituisco il valore in uscita
            }
        }
    }
 
    function nascondiVisualizzaFiltri() {
        var filtri = document.getElementById("filtri");
        var first = document.getElementById("first");
        var second = document.getElementById("second");
        var third = document.getElementById("third");
        var fourth = document.getElementById("fourth");
 
        if (filtri.style.display == "block") {
            filtri.style.display = "none";
            second.style.display = "none";
            third.style.display = "none";
            fourth.style.display = "none";
        }
        else {
            filtri.style.display = "block";
            first.style.display = filtri.style.display;
        }
 
 
        SetCooKie("filtri", filtri.style.display);
        SetCooKie("first", filtri.style.display);
    };
 
    function AggiungiFiltro(id) {
 
        var filtri = document.getElementsByTagName("div");
 
        var count = filtri.length;
         
        for (var i = 0; i < count; i++) {
            if ((filtri.item(i)).style.display == "none" && ((filtri.item(i)).id == 'first' || (filtri.item(i)).id == 'second' || (filtri.item(i)).id == 'third' || (filtri.item(i)).id == 'fourth')) {
                (filtri.item(i)).style.display = "block";
                 
                break;
            }
             
        }
        //        RebindFiltro();
        SalvaFiltri();
 
    };
 
    function RemoveFiltro(id) {
        var filtro = document.getElementById(id);
        if (id != "first")
            filtro.style.display = "none";
        else {
 
            if (document.getElementById("second").style.display == "none" && document.getElementById("third").style.display == "none" && document.getElementById("fourth").style.display == "none") {
                //alert("qui");
                filtro.style.display = "none";
                var filtri = document.getElementById("filtri");
                filtri.style.display = "none";
            }
            else {
                var filtri = document.getElementsByTagName("div");
 
                var count = filtri.length;
 
                for (var i = 0; i < count; i++) {
                    if ((filtri.item(i)).style.display == "block" && ((filtri.item(i)).id == 'second' || (filtri.item(i)).id == 'third' || (filtri.item(i)).id == 'fourth')) {
                        (filtri.item(i)).style.display = "none";
                        break;
 
                    }
                }
            }
        }
        SalvaFiltri();
        //RebindFiltro();
    };
 
    function SalvaFiltri() {
           var filtri = document.getElementsByTagName("div");
 
           var count = filtri.length;
 
           for (var i = 0; i < count; i++) {
               if ((filtri.item(i)).id == 'first') {
//                   var hidden = document.getElementById("HiddenFieldFiltro1");
                   //                   hidden.value = filtri.item(i).style.display;
                   SetCooKie("first", filtri.item(i).style.display);
                   SetCooKie("filtri", filtri.item(i).style.display);
               }
               if ((filtri.item(i)).id == 'second') {
//                   var hidden = document.getElementById("HiddenFieldFiltro2");
                   //                   hidden.value = filtri.item(i).style.display;
                   SetCooKie("second", filtri.item(i).style.display);
               }
               if ((filtri.item(i)).id == 'third') {
//                   var hidden = document.getElementById("HiddenFieldFiltro3");
                   //                   hidden.value = filtri.item(i).style.display;
                   SetCooKie("third", filtri.item(i).style.display);
               }
               if ((filtri.item(i)).id == 'fourth') {
//                   var hidden = document.getElementById("HiddenFieldFiltro4");
                   //                   hidden.value = filtri.item(i).style.display;
                   SetCooKie("fourth", filtri.item(i).style.display);
               }
           }
    };
 
    function RebindFiltro() {
        var campi = document.getElementsByTagName("select");
        var count = campi.length;
        //alert(count);
        //var e = document.getElementById("dropdown1");
//var strUser = e.options[e.selectedIndex].value;
        var strUser = "";
        for (var i = 0; i < count; i++) {
            //var strUser = "";
            if ((((campi.item(i)).id.toString()).indexOf("SelectCampi1") != -1 || ((campi.item(i)).id.toString()).indexOf('SelectCampi2') != -1 || ((campi.item(i)).id.toString()).indexOf('SelectCampi3') != -1 || ((campi.item(i)).id.toString()).indexOf('SelectCampi4') != -1)) {
                //alert(strUser);
                if (i - 1 > 0) {
                    strUser = strUser + campi.item(i - 1).options[campi.item(i - 1).selectedIndex].value;
                     
                    if ((((campi.item(i)).id.toString()).indexOf('SelectCampi1') == -1)) {
                        if (strUser.indexOf("Tutto") == -1) {
                            var opt = document.createElement("option");
 
                            // Add an Option object to Drop Down/List Box
                            document.getElementById((campi.item(i)).id).options.add(opt);
 
                            // Assign text and value to Option object
                            opt.text = "Tutto";
                            opt.value = "Tutto";
                        }
                        if (strUser.indexOf("Cognome") == -1) {
                            var opt = document.createElement("option");
 
                            // Add an Option object to Drop Down/List Box
                            document.getElementById((campi.item(i)).id).options.add(opt);
 
                            // Assign text and value to Option object
                            opt.text = "Cognome";
                            opt.value = "Cognome";
                        }
                        if (strUser.indexOf("Nome") == -1) {
                            var opt = document.createElement("option");
 
                            // Add an Option object to Drop Down/List Box
                            document.getElementById((campi.item(i)).id).options.add(opt);
 
                            // Assign text and value to Option object
                            opt.text = "Nome";
                            opt.value = "Nome";
                        }
                        if (strUser.indexOf("Email") == -1) {
                            var opt = document.createElement("option");
 
                            // Add an Option object to Drop Down/List Box
                            document.getElementById((campi.item(i)).id).options.add(opt);
 
                            // Assign text and value to Option object
                            opt.text = "Email";
                            opt.value = "Email";
                        }
                    }
                }
                else
                    strUser = strUser + campi.item(i).options[campi.item(i).selectedIndex].value;
            }
        }
 
    };
 
    function CloseAndRedirect(sender, args) {
        GetRadWindow().close();       //closes the window      
    }
    function GetRadWindow()   //Get reference to window   
    {
        var oWindow = null;
        if (window.radWindow)
            oWindow = window.radWindow;
        else if (window.frameElement.radWindow)
            oWindow = window.frameElement.radWindow;
        return oWindow;
    }
 
    function closeRadWindow(oWnd, args) {
        //alert('closeRadWindow');            
        var arg = args.get_argument();
        //alert('close');
 
        //gestione da code-behind
        var ajaxManager = $find("<%=RadAjaxManager1.ClientID%>");
        //alert(arg)
        ajaxManager.ajaxRequest('closeRadWindow' + arg);
 
 
    }
 
    function ClosePop() {
        //alert('qui');
        var wnd = $find("<%=PopWindow.ClientID%>");
        wnd.close();
        return false;
    }
 
    function CSTOpen() {
        var wnd = $find("<%=RadWindowCST.ClientID%>");
        wnd.show();
        wnd.setUrl("/Admin/AccountingManagement/Anagrafica.aspx?Insert=True");
    }
 
    function Pop() {
        var wnd = $find("<%=PopWindow.ClientID%>");
        wnd.show();
        //wnd.setUrl("/Admin/Mailing/OpenRooms.aspx?IDMailing=" + IDMailing + "&SupplierID=" + IDSupplier);
        wnd.setUrl("/Admin/AccountingManagement/Popup.aspx");
        return false;
    }
 
 
    function RequestStart(sender, args) {
        var currentLoadingPanel;
        var currentUpdatedControl;
        currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
 
 
        currentUpdatedControl = "<%= RadGridAccounts.ClientID %>";
         
        //show the loading panel over the updated control
        currentLoadingPanel.show(currentUpdatedControl);
    }
    function ResponseEnd() {
        var currentLoadingPanel;
        var currentUpdatedControl;
        currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
        currentUpdatedControl = "<%= RadGridAccounts.ClientID %>";
        if (currentLoadingPanel != null)
            currentLoadingPanel.hide(currentUpdatedControl);
        currentUpdatedControl = null;
        currentLoadingPanel = null;
    }
 
</script>
</telerik:RadCodeBlock>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Block" EnableHistory="False">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="CheckBoxMerge">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="CheckBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGridAccounts">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ButtonEseguiFiltro">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="CatTree1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                </UpdatedControls>
            </telerik:AjaxSetting>
    </AjaxSettings>
    <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />
</telerik:RadAjaxManager>
 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" EnableSkinTransparency="True" RegisterWithScriptManager="True" BackgroundPosition="Center" EnableAjaxSkinRendering="True" HorizontalAlign="Center" MinDisplayTime="0" BorderStyle="NotSet" Skin='Transparent' EnableViewState="True" EnableEmbeddedBaseStylesheet="True" EnableEmbeddedSkins="True" EnableEmbeddedScripts="True" IsSticky="False" >
         
    </telerik:RadAjaxLoadingPanel>
    <input id="Hidden1" type="hidden" runat="server" />
    <input id="Hidden2" type="hidden" runat="server" />
    <table style="width: 100%" cellspacing="0" cellpadding="0">
            <tr>
                <td class="Categorie_fondo"  style="text-align: left" valign="top">
                    <qsf:RTV runat="server" ID="CatTree1" />
                </td>
 
                <td style="width: 9px"></td>
                 
                <td class="Editor_fondo" style="text-align: left" valign="top">
 
 
                    <table cellpadding="6" cellspacing="0" style=" width:100%; " >
           
                         <tr>
                             <td valign="top" style=" padding-top:10px">
 
                                <qsf:CommandBar runat="server" ID="CommandBar1" />
           
                            </td>
                        </tr>
                        <tr>
                        <td>
                            <asp:Button ID="ButtonCST" runat="server" Text="Aggiungi"  OnClientClick="CSTOpen();return false;"/>
                        </td>
                        </tr>
                     
                          <tr>
                            <td>
                                <asp:CheckBox ID="CheckBox1" runat="server" Text="Cerca anche figli" AutoPostBack="True" />
                                   
                                <asp:CheckBox ID="CheckBoxMerge" runat="server" Text="Merge" AutoPostBack="True" />
                             </td>
                        </tr>
                         
                        <tr>
                       <td>
                          <table>
                           <tr>
                            <td>
                                <input id="ButtonFiltro" type="button" value="Filtri" onclick = "nascondiVisualizzaFiltri();"/>
                        </td>
                            <td>
                                <input id="ButtonImporta" type="button" value="Importa" onclick = "Popup('PopupImporta.aspx',false);"/>
                            </td>
                            <td>
                                <input id="ButtonEsporta" type="button" value="Esporta" onclick = "Popup('PopupEsporta.aspx',true);"/>
                            </td>
                            <td>
                                <table>
                                <tr>
                                <td>
                                    <asp:DropDownList ID="SelectCampi1" runat="server">
                                    <asp:ListItem Text="Tutto" Value="Tutto"></asp:ListItem>
                                    <asp:ListItem Text="Cognome" Value="Cognome"></asp:ListItem>
                                    <asp:ListItem Text="Nome" Value="Nome"></asp:ListItem>
                                    <asp:ListItem Text="Email" Value="Email"></asp:ListItem>
                                    <asp:ListItem Text="Username" Value="Username"></asp:ListItem>
                                    <asp:ListItem Text="Indirizzo" Value="Indirizzo"></asp:ListItem>
                                    <asp:ListItem Text="Città" Value="Città"></asp:ListItem>
                                    <asp:ListItem Text="Provincia" Value="Provincia"></asp:ListItem>
                                    <asp:ListItem Text="CAP" Value="CAP"></asp:ListItem>
                                    <asp:ListItem Text="Paese" Value="Paese"></asp:ListItem>
                                    <asp:ListItem Text="Cittadinanza" Value="Cittadinanza"></asp:ListItem>
                                    <asp:ListItem Text="Telefono" Value="Telefono"></asp:ListItem>
                                    <asp:ListItem Text="Cellulare" Value="Cellulare"></asp:ListItem>
                                    <asp:ListItem Text="Fax" Value="Fax"></asp:ListItem>
                                    <asp:ListItem Text="Lingua" Value="Lingua"></asp:ListItem>
                                    <asp:ListItem Text="Sesso" Value="Sesso"></asp:ListItem>
                                    <asp:ListItem Text="Codice Fiscale" Value="Codice Fiscale"></asp:ListItem>
                                    <asp:ListItem Text="Data nascita" Value="Data nascita"></asp:ListItem>
                                    <asp:ListItem Text="Città natale" Value="Città natale"></asp:ListItem>
                                    <asp:ListItem Text="Azienda" Value="Azienda"></asp:ListItem>
                                    <asp:ListItem Text="Part. IVA" Value="Part. IVA"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:DropDownList ID="SelectOpzioni1" runat="server">
                                    <asp:ListItem Text="Contiene" Value="Contiene"></asp:ListItem>
                                    <asp:ListItem Text="Uguale" Value="Uguale"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextFiltro1" runat="server"></asp:TextBox>
                                </td>
                                </tr>
                                </table>
 
                            </td>
 
                            <td valign="top">
                                   <asp:Button ID="ButtonEseguiFiltro" runat="server" Text="Esegui"  OnClick = 'EseguiFiltro_Click'/>
                                   </td>
                                   <td>
                                     
                                   </td>
                                   <td>
                                       <asp:Label ID="LabelElementi" runat="server" Text="Numero elementi: "></asp:Label>
                                   </td>
 
                                   <td>
                                        
                                               
                                              <asp:TextBox ID="TextElementi" runat="server" ReadOnly="True" Width="50px"></asp:TextBox>
 
                                             
                                   </td>
 
                                   <td>
                                               
                                   </td>
                                   <td>
                                      <asp:Button ID="ButtonInsert" runat="server" Text="Inserisci" />
                                   </td>
                            </tr>
                           </table>
                           </td>
                        </tr>
                         
                        <tr>
                            <td>
                            <div id="filtri"  style="display: none">
                             <table>
                             <tr>
                                <td>
                                <div id="first" style="display: block">
                                <table>
                                <tr>
                                <td>
                                    <asp:DropDownList ID="SelectCampi" runat="server">
                                    <asp:ListItem Text="Tutto" Value="Tutto"></asp:ListItem>
                                    <asp:ListItem Text="Cognome" Value="Cognome"></asp:ListItem>
                                    <asp:ListItem Text="Nome" Value="Nome"></asp:ListItem>
                                    <asp:ListItem Text="Email" Value="Email"></asp:ListItem>
                                    <asp:ListItem Text="Username" Value="Username"></asp:ListItem>
                                    <asp:ListItem Text="Indirizzo" Value="Indirizzo"></asp:ListItem>
                                    <asp:ListItem Text="Città" Value="Città"></asp:ListItem>
                                    <asp:ListItem Text="Provincia" Value="Provincia"></asp:ListItem>
                                    <asp:ListItem Text="CAP" Value="CAP"></asp:ListItem>
                                    <asp:ListItem Text="Paese" Value="Paese"></asp:ListItem>
                                    <asp:ListItem Text="Cittadinanza" Value="Cittadinanza"></asp:ListItem>
                                    <asp:ListItem Text="Telefono" Value="Telefono"></asp:ListItem>
                                    <asp:ListItem Text="Cellulare" Value="Cellulare"></asp:ListItem>
                                    <asp:ListItem Text="Fax" Value="Fax"></asp:ListItem>
                                    <asp:ListItem Text="Lingua" Value="Lingua"></asp:ListItem>
                                    <asp:ListItem Text="Sesso" Value="Sesso"></asp:ListItem>
                                    <asp:ListItem Text="Codice Fiscale" Value="Codice Fiscale"></asp:ListItem>
                                    <asp:ListItem Text="Data nascita" Value="Data nascita"></asp:ListItem>
                                    <asp:ListItem Text="Città natale" Value="Città natale"></asp:ListItem>
                                    <asp:ListItem Text="Azienda" Value="Azienda"></asp:ListItem>
                                    <asp:ListItem Text="Part. IVA" Value="Part. IVA"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:DropDownList ID="SelectOpzioni" runat="server">
                                    <asp:ListItem Text="Uguale" Value="Uguale"></asp:ListItem>
                                    <asp:ListItem Text="Contiene" Value="Contiene"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextFiltro" runat="server" ClientIDMode="Static"></asp:TextBox>
                                </td>
                                <td>
                                     
                                    <input id="ButtonAdd" type="button" value="+" onclick = "AggiungiFiltro('first');"/>
                                </td>
                                <td>
                                    
                                    <input id="ButtonRemove" type="button" value="-" style="width: 22px" onclick = "RemoveFiltro('first');"/>
                                </td>
                                </tr>
                                </table>
                                </div>
 
                                <div id="second" style="display: none">
                                <table>
                                <tr>
                                <td>
                                    <asp:DropDownList ID="SelectCampi2" runat="server">
                                    <asp:ListItem Text="Tutto" Value="Tutto"></asp:ListItem>
                                    <asp:ListItem Text="Cognome" Value="Cognome"></asp:ListItem>
                                    <asp:ListItem Text="Nome" Value="Nome"></asp:ListItem>
                                    <asp:ListItem Text="Email" Value="Email"></asp:ListItem>
                                    <asp:ListItem Text="Username" Value="Username"></asp:ListItem>
                                    <asp:ListItem Text="Indirizzo" Value="Indirizzo"></asp:ListItem>
                                    <asp:ListItem Text="Città" Value="Città"></asp:ListItem>
                                    <asp:ListItem Text="Provincia" Value="Provincia"></asp:ListItem>
                                    <asp:ListItem Text="CAP" Value="CAP"></asp:ListItem>
                                    <asp:ListItem Text="Paese" Value="Paese"></asp:ListItem>
                                    <asp:ListItem Text="Cittadinanza" Value="Cittadinanza"></asp:ListItem>
                                    <asp:ListItem Text="Telefono" Value="Telefono"></asp:ListItem>
                                    <asp:ListItem Text="Cellulare" Value="Cellulare"></asp:ListItem>
                                    <asp:ListItem Text="Fax" Value="Fax"></asp:ListItem>
                                    <asp:ListItem Text="Lingua" Value="Lingua"></asp:ListItem>
                                    <asp:ListItem Text="Sesso" Value="Sesso"></asp:ListItem>
                                    <asp:ListItem Text="Codice Fiscale" Value="Codice Fiscale"></asp:ListItem>
                                    <asp:ListItem Text="Data nascita" Value="Data nascita"></asp:ListItem>
                                    <asp:ListItem Text="Città natale" Value="Città natale"></asp:ListItem>
                                    <asp:ListItem Text="Azienda" Value="Azienda"></asp:ListItem>
                                    <asp:ListItem Text="Part. IVA" Value="Part. IVA"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:DropDownList ID="SelectOpzioni2" runat="server">
                                    <asp:ListItem Text="Uguale" Value="Uguale"></asp:ListItem>
                                    <asp:ListItem Text="Contiene" Value="Contiene"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextFiltro2" runat="server" ClientIDMode="Static"></asp:TextBox>
                                </td>
                                <td>
                                     
                                    <input id="ButtonAdd2" type="button" value="+" onclick = "AggiungiFiltro('second');"/>
                                </td>
                                <td>
                                     
                                    <input id="ButtonRemove2" type="button" value="-" style="width: 22px" onclick = "RemoveFiltro('second');"/>
                                </td>
                                </tr>
                                </table>
                                </div>
 
                                <div id="third" style="display: none">
                                <table>
                                <tr>
                                <td>
                                    <asp:DropDownList ID="SelectCampi3" runat="server">
                                    <asp:ListItem Text="Tutto" Value="Tutto"></asp:ListItem>
                                    <asp:ListItem Text="Cognome" Value="Cognome"></asp:ListItem>
                                    <asp:ListItem Text="Nome" Value="Nome"></asp:ListItem>
                                    <asp:ListItem Text="Email" Value="Email"></asp:ListItem>
                                    <asp:ListItem Text="Username" Value="Username"></asp:ListItem>
                                    <asp:ListItem Text="Indirizzo" Value="Indirizzo"></asp:ListItem>
                                    <asp:ListItem Text="Città" Value="Città"></asp:ListItem>
                                    <asp:ListItem Text="Provincia" Value="Provincia"></asp:ListItem>
                                    <asp:ListItem Text="CAP" Value="CAP"></asp:ListItem>
                                    <asp:ListItem Text="Paese" Value="Paese"></asp:ListItem>
                                    <asp:ListItem Text="Cittadinanza" Value="Cittadinanza"></asp:ListItem>
                                    <asp:ListItem Text="Telefono" Value="Telefono"></asp:ListItem>
                                    <asp:ListItem Text="Cellulare" Value="Cellulare"></asp:ListItem>
                                    <asp:ListItem Text="Fax" Value="Fax"></asp:ListItem>
                                    <asp:ListItem Text="Lingua" Value="Lingua"></asp:ListItem>
                                    <asp:ListItem Text="Sesso" Value="Sesso"></asp:ListItem>
                                    <asp:ListItem Text="Codice Fiscale" Value="Codice Fiscale"></asp:ListItem>
                                    <asp:ListItem Text="Data nascita" Value="Data nascita"></asp:ListItem>
                                    <asp:ListItem Text="Città natale" Value="Città natale"></asp:ListItem>
                                    <asp:ListItem Text="Azienda" Value="Azienda"></asp:ListItem>
                                    <asp:ListItem Text="Part. IVA" Value="Part. IVA"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:DropDownList ID="SelectOpzioni3" runat="server">
                                    <asp:ListItem Text="Uguale" Value="Uguale"></asp:ListItem>
                                    <asp:ListItem Text="Contiene" Value="Contiene"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextFiltro3" runat="server" ClientIDMode="Static"></asp:TextBox>
                                </td>
                                <td>
                                     
                                    <input id="ButtonAdd3" type="button" value="+" onclick = "AggiungiFiltro('third');"/>
                                </td>
                                <td>
                                     
                                    <input id="ButtonRemove3" type="button" value="-" style="width: 22px" onclick = "RemoveFiltro('third');"/>
                                </td>
                                </tr>
                                </table>
                                </div>
 
                                <div id="fourth" style="display: none">
                                <table>
                                <tr>
                                <td>
                                    <asp:DropDownList ID="SelectCampi4" runat="server">
                                    <asp:ListItem Text="Tutto" Value="Tutto"></asp:ListItem>
                                    <asp:ListItem Text="Cognome" Value="Cognome"></asp:ListItem>
                                    <asp:ListItem Text="Nome" Value="Nome"></asp:ListItem>
                                    <asp:ListItem Text="Email" Value="Email"></asp:ListItem>
                                    <asp:ListItem Text="Username" Value="Username"></asp:ListItem>
                                    <asp:ListItem Text="Indirizzo" Value="Indirizzo"></asp:ListItem>
                                    <asp:ListItem Text="Città" Value="Città"></asp:ListItem>
                                    <asp:ListItem Text="Provincia" Value="Provincia"></asp:ListItem>
                                    <asp:ListItem Text="CAP" Value="CAP"></asp:ListItem>
                                    <asp:ListItem Text="Paese" Value="Paese"></asp:ListItem>
                                    <asp:ListItem Text="Cittadinanza" Value="Cittadinanza"></asp:ListItem>
                                    <asp:ListItem Text="Telefono" Value="Telefono"></asp:ListItem>
                                    <asp:ListItem Text="Cellulare" Value="Cellulare"></asp:ListItem>
                                    <asp:ListItem Text="Fax" Value="Fax"></asp:ListItem>
                                    <asp:ListItem Text="Lingua" Value="Lingua"></asp:ListItem>
                                    <asp:ListItem Text="Sesso" Value="Sesso"></asp:ListItem>
                                    <asp:ListItem Text="Codice Fiscale" Value="Codice Fiscale"></asp:ListItem>
                                    <asp:ListItem Text="Data nascita" Value="Data nascita"></asp:ListItem>
                                    <asp:ListItem Text="Città natale" Value="Città natale"></asp:ListItem>
                                    <asp:ListItem Text="Azienda" Value="Azienda"></asp:ListItem>
                                    <asp:ListItem Text="Part. IVA" Value="Part. IVA"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:DropDownList ID="SelectOpzioni4" runat="server">
                                    <asp:ListItem Text="Uguale" Value="Uguale"></asp:ListItem>
                                    <asp:ListItem Text="Contiene" Value="Contiene"></asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="TextFiltro4" runat="server" ClientIDMode="Static"></asp:TextBox>
                                </td>
                                <td>
                                     
                                    <input id="ButtonAdd4" type="button" value="+" />
                                </td>
                                <td>
                                    
                                    <input id="ButtonRemove4" type="button" value="-" style="width: 22px" onclick = "RemoveFiltro('fourth');"/>
                                </td>
                                </tr>
                                </table>
                                </div>
                                 
                                </td>
                                 
                                </tr>
                                </table>
                        </div>
 
                        </td>
                        </tr>
                         <tr>
                            <td>
                                 <table cellpadding="8" cellspacing="0" style=" width:100%;" >
                                                       
                                    <tr>
                                        <td style=" width:100%" >
 
                                        <table>
                                        <tr>
                                            <td>
                                             
                                                <asp:PlaceHolder ID="PlaceHolderGrid" runat="server">
                                                <table>
                                                    <tr>
                                                        <td>   
                                                               <telerik:RadGrid    ID="RadGridAccounts"
                                                                                        allowsorting="False"
                                                                                        runat="server"
                                                                                        GridLines="Vertical"
                                                                                        AllowPaging="true"
                                                                                        Skin="Simple"
                                                                                        AllowFilteringByColumn="False"
                                                                                        AutoGenerateColumns="False"
                                                                                        PageSize="10"
                                                                                        Width="950px"
                                                                                        OnItemCommand="RadGridAccounts_ItemCommand"                                                                               
                                                                                        EnableHeaderContextFilterMenu="True" EnableHeaderContextMenu="True" EnableHeaderContextAggregatesMenu="True" FilterMenu-ViewStateMode="Enabled" MasterTableView-EnableHeaderContextFilterMenu="True" MasterTableView-EnableHeaderContextMenu="True" MasterTableView-UseAllDataFields="True" ClientIDMode="Static" AllowAutomaticUpdates="False" PagerStyle-EnableSEOPaging="False" MasterTableView-ViewStateMode="Inherit" MasterTableView-HierarchyLoadMode="ServerOnDemand">
                                     
                                                                     <ItemStyle Wrap="False" />
                                                                     <AlternatingItemStyle Wrap="False" />
                                     
                                     
                                                                     <PagerStyle    Mode="NumericPages"
                                                                                    FirstPageText="Prima"
                                                                                    FirstPageToolTip="Prima"
                                                                                    LastPageText="Ultima"
                                                                                    LastPageToolTip="Ultima"
                                                                                    NextPagesToolTip="Successiva"
                                                                                    NextPageToolTip="Successiva"
                                                                                    PagerTextFormat="Cambia Pagina: {4} &nbsp;Pagina <strong>{0}</strong> di <strong>{1}</strong>"
                                                                                    PrevPagesToolTip="Precedente"
                                                                                    PrevPageToolTip="Precedente" 
                                                                                    />
                                                                                 
                                                                    <MasterTableView    NoMasterRecordsText="Nessun Account."
                                                                                        GridLines="Vertical"
                                                                                        AllowPaging="true"
                                                                                        AllowFilteringByColumn="False"
                                                                                        ClientDataKeyNames="CustomerID"
                                                                                        DataKeyNames="CustomerID"
                                                                                        TableLayout="Fixed" EnableViewState="True">
                                                                                        <CommandItemSettings ShowExportToExcelButton="False" ShowExportToCsvButton="False" ShowAddNewRecordButton="False" ShowRefreshButton="False" />
                                                                         <Columns>
 
                                                                            <telerik:GridTemplateColumn>
                                                                                <HeaderTemplate>
                                                                                    <asp:CheckBox ID="headerChkbox" AutoPostBack="True" OnCheckedChanged="RadGridAccounts_HeaderCheckChanged" runat="server" Checked="True">
                                                                                    </asp:CheckBox>
                                                                                </HeaderTemplate>
 
                                                                                <ItemTemplate>
                                                                                    <asp:CheckBox ID="CheckBoxSet" runat="server" Checked="True" OnCheckedChanged="CheckBoxSet_OnCheckedChanged">
                                                                                    </asp:CheckBox>
                                                                                </ItemTemplate>                                                               
                                                                                <HeaderStyle Width="30px" />
                                                                            </telerik:GridTemplateColumn>
                                                                           
                                                         
                                                                            <telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID">                                           
                                                                                <HeaderStyle Width="35px" HorizontalAlign="Center" />
                                                                            </telerik:GridBoundColumn>
 
                                                                            <telerik:GridBoundColumn DataField="Name1" HeaderText="Nome">                                           
                                                                                <HeaderStyle Width="45px" HorizontalAlign="Center"/>
                                                                            </telerik:GridBoundColumn>
 
                                                                            <telerik:GridBoundColumn DataField="SurName1" HeaderText="Cognome">                                           
                                                                                <HeaderStyle Width="45px" HorizontalAlign="Center" />
                                                                            </telerik:GridBoundColumn>
 
                                                                            <telerik:GridBoundColumn DataField="Email" HeaderText="Email">                                           
                                                                                <HeaderStyle Width="90px" HorizontalAlign="Center"/>
                                                                            </telerik:GridBoundColumn>
 
                                                                            <telerik:GridBoundColumn DataField="Username" HeaderText="Utente">                                           
                                                                                <HeaderStyle Width="90px" HorizontalAlign="Center" />
                                                                            </telerik:GridBoundColumn>
 
                                                                             
 
                                                                            <telerik:GridTemplateColumn DataField="Password" ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="True" HeaderStyle-HorizontalAlign="Center" ReadOnly="True">
 
                                                                                <HeaderTemplate>
                                                                                  <asp:Label ID="LabelPassW" runat="server" Text="Password"></asp:Label>
                                                                                </HeaderTemplate>
 
                                                                                <ItemTemplate>
                                                                                 <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" value='<%# Eval("Password") %>'  Text='<%# Bind("Password") %>' BorderStyle="None" BackColor="Transparent" ReadOnly="True" Enabled="False">
                                                                                 </asp:TextBox>
                                                                               </ItemTemplate>
                                                                                <HeaderStyle Width="45px" HorizontalAlign="Center"/>
                                                                             </telerik:GridTemplateColumn>
                                               
                                                                            <telerik:GridCheckBoxColumn DataField="Activate" HeaderText="Attivo On/Off">                                           
                                                                                <HeaderStyle Width="35px" HorizontalAlign="Center"/>
                                                                            </telerik:GridCheckBoxColumn>
                                                         
                                                                        </Columns>
                                                                            
                                                                    </MasterTableView>
                     
                                                                     <ClientSettings enablePostBackOnRowClick="True">                       
                                                                        <Selecting AllowRowSelect="True" />
                                                                    </ClientSettings>
                                                                 
                                                              </telerik:RadGrid>
                                                        </td>
                                                    </tr>
 
                                                </table
                                                </asp:PlaceHolder>
 
                                            </td>
                                        </tr>
                                         
                                         
                                        <tr>
                                            <td>
                                                     
                                            <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                                <ContentTemplate>
                                                    <asp:PlaceHolder ID="PlaceHolder1" runat="server">
                                                        <table style=" width:100%" cellspacing="6" cellpadding="2">
 
                                                             
                                                            <tr>
                                                                <td class="Field_sfondo"  >
 
                                                                  <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                ID
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:Label ID="lblAccountID" runat="server" ForeColor="#d69b64"></asp:Label>                                                              
                                                                            </td>
                                                                        </tr>
                                                                    </table>
 
                                                     
                                                                </td>
                                                            </tr>
 
 
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                Username
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:TextBox CssClass="tbox" ID="txtUN" runat="server" Width="97%"></asp:TextBox>                                                               
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
 
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                Password
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:TextBox CssClass="tbox" ID="txtPSW" runat="server" Width="97%"></asp:TextBox>                                                               
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
 
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                Activate
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                    SI <asp:RadioButton ID="RadioButtonSI" runat="server" GroupName="Activate" />
                                                                                    NO <asp:RadioButton ID="RadioButtonNO" runat="server" GroupName="Activate" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
 
 
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                Nome
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:TextBox CssClass="tbox" ID="txtName" runat="server" Width="97%"></asp:TextBox>                                                               
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                Cognome
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:TextBox CssClass="tbox" ID="txtSurname" runat="server" Width="97%"></asp:TextBox>                                                               
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                      
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                Indirizzo
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:TextBox CssClass="tbox" ID="txtAddress" runat="server" Width="97%"></asp:TextBox>                                                               
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
 
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                Città
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:TextBox CssClass="tbox" ID="txtCity" runat="server" Width="97%"></asp:TextBox>                                                               
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
 
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                EMail
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:TextBox CssClass="tbox" ID="txtEMail" runat="server" Width="97%"></asp:TextBox>                                                               
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
 
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                VatNumber
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:TextBox CssClass="tbox" ID="txtVAT" runat="server" Width="97%"></asp:TextBox>                                                               
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
 
                                                            <tr>
                                                                <td  class="Field_sfondo" >
                                                                    <table style=" width:100%" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td class="cell_description_box">
                                                                                TaxCode
                                                                            </td>
                                                                            <td style="background-color:#d69b64; width:1px">
                                                                            </td>
                                                                            <td style="padding-left:6px">
                                                                                <asp:TextBox CssClass="tbox" ID="txtTaxCode" runat="server" Width="97%"></asp:TextBox>                                                               
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
 
                                                         
                                                          
                                                            
 
                                                             <tr>
                                                                <td>
                                                                    <asp:Label ID="LabelMsg" runat="server" Text="" Font-Bold="False" ForeColor="#993333"/>
                                                                </td>
 
                                                            </tr>
 
                                                             
                                                             
                                                        </table>
                                                        </asp:PlaceHolder>
                                                         
                                                     
                                                        </ContentTemplate>
                                             
                                                    <Triggers>
                                                        <asp:AsyncPostBackTrigger ControlID="RadGridAccounts" />
                                                        <asp:AsyncPostBackTrigger ControlID="CatTree1" />
                                                    </Triggers>
                                                    </asp:UpdatePanel>
 
 
                                                </td>
                                            </tr>
                                        </table>
 
 
                                        </td>
                                    </tr>
                                    </table>
                            </td>
                        </tr>
                         
                    </table>
 
 
 
 
 
 
 
 
 
 
 
 
                                     
 
 
 
            </td>
        </tr>
    </table>
 
     <telerik:RadWindow runat="server"
                    Width="1000"
                    Height="500"
                    VisibleStatusbar="false"
                    ID="AddWindow"
                    Modal="true"
                    KeepInScreenBounds="true"
                    OnClientClose="closeRadWindow" 
                    Behaviors="Close"
                    Skin="Vista"
                    ReloadOnShow="True">
</telerik:RadWindow>
<telerik:RadWindow runat="server"
                    Width="250"
                    Height="125"
                    VisibleStatusbar="false"
                    ID="RadWindow"
                    Modal="true"
                    KeepInScreenBounds="true"
                    OnClientClose="closeRadWindow" 
                    Behaviors="Close"
                    Skin="Vista"
                    ReloadOnShow="True" VisibleTitlebar="False">
</telerik:RadWindow>
 
<telerik:RadWindow runat="server"
                    Width="1500"
                    Height="770"
                    VisibleStatusbar="False"
                    ID="RadWindowCST"
                    Modal="true"
                    KeepInScreenBounds="true"
                    OnClientClose="closeRadWindow" 
                    Behaviors="Close"
                    Skin="Vista"
                    ReloadOnShow="True" VisibleTitlebar="True">
</telerik:RadWindow>
 
<telerik:RadWindow runat="server"
                    Width="250"
                    Height="125"
                    VisibleStatusbar="false"
                    ID="PopWindow"
                    Modal="true"
                    KeepInScreenBounds="true"
                    OnClientClose="closeRadWindow"
                    Behaviors="Close"
                    Skin="Vista"
                    ReloadOnShow="True" VisibleTitlebar="False">
</telerik:RadWindow>
0
Jean-Marc
Top achievements
Rank 1
answered on 17 Sep 2012, 12:53 PM
The system doesn' t let me send the code-behind.
Probably it contains too many rows: I used the code block tool and also I tried to paste directly the code.

Attachement files allowed are only pictures file
0
Maria Ilieva
Telerik team
answered on 20 Sep 2012, 10:25 AM
Hello Jean-Marc,

I reviewed the provided code and it looks correct to me except that you do not have set Skin for the RadAjaxLoadingPanel control which in some cases may cause visibility issues. Please set the mentioned property and verify if this makes any difference.

Kind regards,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Casey
Top achievements
Rank 1
answered on 20 Sep 2012, 07:39 PM
Maybe the RequestStart isn't properly showing the RadAjaxLoadingPanel? Have you tried setting the DefaultLoadingPanelID property of the RadAjaxManager to see if it shows up then?

One thing that caused issues with my RadAjaxLoadingPanel not displaying was that the request finished before the RadAjaxLoadingPanel could even be displayed. If this is happening in your case, then the screen will flicker after each request. Does the screen flicker when you are expecting to see the RadAjaxLoadingPanel? 

Casey
0
Jean-Marc
Top achievements
Rank 1
answered on 21 Sep 2012, 07:23 AM
Thank you casey, but it doesn' t flicker
0
Jean-Marc
Top achievements
Rank 1
answered on 24 Sep 2012, 08:06 AM
Hi,
The skin of the RadAjaxLoadingPanel control is set and there are not differences.

0
Maria Ilieva
Telerik team
answered on 25 Sep 2012, 11:40 AM
Hello,

As a last suggestion could I kindly ask you to double test the application by wrapping the RadGrid control into regular asp Panel and add this Panel to be updated by the TreeView control in the AjaxManager setting, however explicitly set a height for this asp Panel control.
In case this does not help it will be best to open a regular support ticket and send us sample runnable application which demonstrates the problematic beahvior. Thus we will be bale to inspect it locally and do our best to provide a proper solution.

Greetings,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Manuel
Top achievements
Rank 1
answered on 22 Oct 2012, 02:16 PM
Hi Jean-Marc,

In your declaration:

Quote:

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" EnableSkinTransparency="True" RegisterWithScriptManager="True" BackgroundPosition="Center" EnableAjaxSkinRendering="True" HorizontalAlign="Center" MinDisplayTime="0" BorderStyle="NotSet" Skin='Transparent' EnableViewState="True" EnableEmbeddedBaseStylesheet="True" EnableEmbeddedSkins="True" EnableEmbeddedScripts="True" IsSticky="False" >
</telerik:RadAjaxLoadingPanel>

Try and remove MinDisplayTime="0" or change its value to greater then "0" like MinDisplayTime="1000" and then see if it appears.

Greetings,

Manuel Cordovil
0
Jean-Marc
Top achievements
Rank 1
answered on 23 Oct 2012, 04:20 PM
Thank you for your hints.
I tried to wrap the RadGrid into a regular asp Panel and added this Panel to be updated by the TreeView control in the AjaxManager setting, I set a height for this asp Panel control, but no changes.

I set MinDisplayTime="1000" and others numbers in the RadAjaxLoadingPanel and also I removed the parameter, but no changes




0
Maria Ilieva
Telerik team
answered on 26 Oct 2012, 08:00 AM
Hi Jean-Marc,

As none of the proposed solutions help I would suggest you to try shoing the RadAjaxLoadingPanel explicitly as described in the help topic below:
http://www.telerik.com/help/aspnet-ajax/ajax-show-hide-loadingpanel.html
Give this a try and let me know if ti helps.

All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Jean-Marc
Top achievements
Rank 1
answered on 26 Oct 2012, 02:14 PM
Hi,
I tried to wrap the radgrid into a standard panel and then i updated the content of the radgrid using ajax manager and showing the RadAjaxLoadingPanel explicitly with "Requeststart" and "ResponseEnd" scripts, updating also the panel containing the radgrid.
I used in the script a mark (alert("OK")) to examine if the script "Requeststart" was executed but doesn' t seem when the control updating as the tree inside the ascx; the other controls entered in the "Requeststart" script because a messagebox with "OK" sentence appeared when clicking one of the control except for the treeview.
I modified the ajaxmanager, by updating the radgrid automatically without the clientevents and "Requeststart" "ResponseEnd" scripts, and inserting the panel wrapping the radgrid as one of the Updated Controls:

<telerik:AjaxSetting AjaxControlID="CatTree1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                    <telerik:AjaxUpdatedControl ControlID="Panel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>      

And this time the RadAjaxLoadingPanel1 was not displayed at start, and also at the end of the update of the radgrid, the panel wrapping the radgrid and the radgrid too disappeared and they were not displayed anymore, even by clicking other controls.
Also the textbox were updated only the first time and nevermore

0
Jean-Marc
Top achievements
Rank 1
answered on 26 Oct 2012, 03:00 PM
Hi,
I tried to wrap the radgrid into a standard panel and then i updated the content of the radgrid using ajax manager and showing the RadAjaxLoadingPanel explicitly with "Requeststart" and "ResponseEnd" scripts, updating also the panel containing the radgrid.
I used in the script a mark (alert("OK")) to examine if the script "Requeststart" was executed but doesn' t seem when the control updating as the tree inside the ascx; the other controls entered in the "Requeststart" script because a messagebox with "OK" sentence appeared when clicking one of the control except for the treeview.
I modified the ajaxmanager, by updating the radgrid automatically without the clientevents and "Requeststart" "ResponseEnd" scripts, and inserting the panel wrapping the radgrid as one of the Updated Controls:

<telerik:AjaxSetting AjaxControlID="CatTree1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridAccounts" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="TextElementi" />
                    <telerik:AjaxUpdatedControl ControlID="Panel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>      

And this time the RadAjaxLoadingPanel1 was not displayed at start, and also at the end of the update of the radgrid, the panel wrapping the radgrid and the radgrid too disappeared and they were not displayed anymore, even by clicking other controls.
Also the textbox were updated only the first time and nevermore
0
Manuel
Top achievements
Rank 1
answered on 27 Oct 2012, 11:09 AM
Hi  Jean-Marc

I have made this demo that uses the RadAjaxLoadingPanel, RadAjaxPanel, RadWindow, RadGrid and some other controls try and see if you can use it to resolve your issue the loading panel is working correct in this Demo ASCX and CS bellow:

ASCX code:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="LoadingPanelRadAjaxPanel.ascx.cs"
    Inherits="Telerik_HelperDemo_LoadingPanel.LoadingPanelRadAjaxPanel" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<style type="text/css">
    /*DEMO CSS*/
     
    /*RadAjaxLoadingPanel*/
    .RadAjaxLoadingPanelDemo
    {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 900000;
    }
     
    /*END RadAjaxLoadingPanel*/
     
    /*END DEMO CSS*/
</style>
<telerik:RadScriptManager ID="masterPageRadScriptManager" runat="server" EnablePageMethods="True"
    AsyncPostBackTimeout="180">
</telerik:RadScriptManager>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        //Postback buttons inside RadAjaxPanel
        function ajaxTriggerRegisteredButtons(sender, args) {
            var theRegexbtnClose = new RegExp("\.btnClose$", "ig");
 
            if (args.get_eventTarget().match(theRegexbtnClose)) {
                args.set_enableAjax(false);
            }
        }
    </script>
</telerik:RadCodeBlock>
<div id="divUpDemo" class="divMasterUpDemo">
    <telerik:RadAjaxManager ID="RadAjaxManagerDemo" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanelDemo">
        <AjaxSettings>
            <telerik:AjaxSetting>
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RapDemo" LoadingPanelID="RadAjaxLoadingPanelDemo" />
                    <telerik:AjaxUpdatedControl ControlID="RapDemoModal" LoadingPanelID="RadAjaxLoadingPanelDemo" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxPanel ID="RapDemo" runat="server" ClientEvents-OnRequestStart="ajaxTriggerRegisteredButtons"
        LoadingPanelID="RadAjaxLoadingPanelDemo">
        <div id="divHfDemo" runat="server">
            <asp:HiddenField ID="hfDemo" runat="server" Value="" />
        </div>
        <div class="divVWPDemo">
            <div>
                <p>
                    Asp Button to do a AJAX Postback and show Loading Panel</p>
                <asp:Button ID="btnDemoPostBack" runat="server" Text="Asp Button DoPostBack" OnClick="btnDemoPostBackClick" />
            </div>
            <br />
            <br />
            <div>
                <p>
                    RAD Button to do a AJAX Postback and show Loading Panel</p>
                <telerik:RadButton ID="radBtnDemo" runat="server" Text="RAD Button DoPostBack" OnClick="radBtnDemoClick"
                    EnableTheming="false" EnableEmbeddedSkins="true" EnableEmbeddedBaseStylesheet="true"
                    Skin="Default" />
            </div>
            <br />
            <br />
            <div>
                <p>
                    Asp Button to do a AJAX Postback and show Loading Panel with AutoPostBack = true</p>
                <asp:CheckBox ID="cbDemo" runat="server" AutoPostBack="true" OnCheckedChanged="cbDemoCheckedChanged" />
            </div>
            <br />
            <br />
            <div>
                <telerik:RadGrid ID="RadGridDemo" runat="server" Skin="Default" EnableEmbeddedSkins="true"
                    AutoGenerateColumns="False" OnDeleteCommand="RadGridDemoDelete" OnItemCommand="RadGridDemoItemCommand"
                    ClientSettings-EnableRowHoverStyle="true" ClientSettings-EnableAlternatingItems="false"
                    AllowAutomaticInserts="False" AllowAutomaticUpdates="False" AllowMultiRowSelection="False">
                    <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="None" NoMasterRecordsText="No data demo....">
                        <PagerStyle PageButtonCount="5" />
                        <Columns>
                            <telerik:GridBoundColumn UniqueName="IDDemo" HeaderText="ID Demo" DataField="IDDemo"
                                ItemStyle-CssClass="left" Visible="true">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="NameDemo" HeaderText="Name Demo" DataField="NameDemo"
                                ItemStyle-CssClass="left">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="AdressDemo" HeaderText="Adress Demo" DataField="AdressDemo"
                                ItemStyle-CssClass="left">
                            </telerik:GridBoundColumn>
                            <telerik:GridEditCommandColumn ButtonType="ImageButton" EditText="Edit" UniqueName="EditGridColumn"
                                CancelText="Cancelar" UpdateText="Gravar">
                            </telerik:GridEditCommandColumn>
                            <telerik:GridButtonColumn ConfirmText="Remove?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete"
                                ButtonType="LinkButton" CommandName="Delete" Text="Remove" UniqueName="DeleteColumn">
                            </telerik:GridButtonColumn>
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>
                <telerik:RadWindow ID="rwDemo" runat="server" Title="Demo" VisibleOnPageLoad="False"
                    Width="600" Height="500" Behaviors="None" OffsetElementID="RadGridDemo" Modal="True"
                    Animation="Resize" Left="0" Top="50" EnableShadow="true" CssClass="rwDemo">
                    <ContentTemplate>
                        <telerik:RadAjaxPanel ID="RapDemoModal" runat="server" ClientEvents-OnRequestStart="ajaxTriggerRegisteredButtons"
                            LoadingPanelID="RadAjaxLoadingPanelDemo">
                            <div>
                                <p>
                                    Window Open - <asp:Label ID="lblDemoText" runat="server" Text="Initial Text"></asp:Label></p>
                                <div>
                                    <p>
                                        Asp Button to do a AJAX Postback and show Loading Panel</p>
                                    <asp:Button ID="btnDemoPostBackWindow" runat="server" Text="Asp Button DoPostBack and change the Label with text: Initial Text" OnClick="btnDemoPostBackWindowClick" />
                                </div>
                                <br />
                                <br />
                                <div>
                                    <p>
                                        RAD Button to do a AJAX Postback and show Loading Panel</p>
                                    <telerik:RadButton ID="radBtnWindowDemo" runat="server" Text="RAD Button DoPostBack and change the Label with text: Initial Text" OnClick="radBtnWindowDemoClick"
                                        EnableTheming="false" EnableEmbeddedSkins="true" EnableEmbeddedBaseStylesheet="true"
                                        Skin="Default" />
                                    <div>
                                     <p>
                                        Button to do a Full Postback With AJAXEnable = False and NOT show Loading Panel but closing Window</p>
                                        <asp:Button ID="btnClose" runat="server" Text="Close Window" OnClick="btnCloseClick" />
                                    </div>
                                </div>
                            </div>
                        </telerik:RadAjaxPanel>
                    </ContentTemplate>
                </telerik:RadWindow>
            </div>
        </div>
    </telerik:RadAjaxPanel>
</div>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelDemo" runat="server" IsSticky="true"
    Skin="Default" CssClass="RadAjaxLoadingPanelDemo" ZIndex="900000" EnableSkinTransparency="True"
    RegisterWithScriptManager="True" BackgroundPosition="Center" EnableAjaxSkinRendering="True"
    HorizontalAlign="Center" BorderStyle="NotSet" EnableViewState="True" EnableEmbeddedBaseStylesheet="True"
    EnableEmbeddedSkins="True" EnableEmbeddedScripts="True" MinDisplayTime="2000">
</telerik:RadAjaxLoadingPanel>



CS code:

/*Info Author
 * Demo Created By: Manuel Cordovil
 * Date: 2012-10-27
*/
#region MCDemo - RadAjaxPanel, RadAjaxLoadingPanel , RadWindow, RadGrid
 
#region Usings
//Base Usings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//Extra Usings
using Telerik.Web.UI;
using System.Data;
 
#endregion //Using
 
#region NameSpace and Main Class
 
namespace Telerik_HelperDemo_LoadingPanel
{
    public partial class LoadingPanelRadAjaxPanel : System.Web.UI.UserControl
    {
        #region Page Events
 
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
                Session["DemoItems"] = 5;
        }
 
        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);
 
            BindGrid();
            RadGridDemo.DataBind();
 
            //to close the edit form.
            RadGridDemo.MasterTableView.ClearEditItems();
        }
 
        #endregion // Page Events
 
        #region Grid Events
 
        protected void BindGrid()
        {
            DataTable Dt = new DataTable();
            Dt.Columns.Add(new DataColumn("IDDemo"));
            Dt.Columns.Add(new DataColumn("NameDemo"));
            Dt.Columns.Add(new DataColumn("AdressDemo"));
 
            var intTotal = Convert.ToInt32(Session["DemoItems"]);
 
            for (int i = 0; i < intTotal; i++)
            {
                Dt.Rows.Add(i, "DemoName_" + i + 1, "MyAdress_" + i + 1);
            }
 
            RadGridDemo.DataSource = Dt;
        }
 
        protected void RadGridDemoItemCommand(object sender, GridCommandEventArgs e)
        {
            if (e.CommandName == "Edit")
            {
                //Show Window
                rwDemo.VisibleOnPageLoad = true;
                //var intIDIndex = ((RadGrid)sender).Items[e.Item.DataSetIndex]["IDDemo"].Text;
            }
        }
 
        protected void RadGridDemoDelete(object sender, GridCommandEventArgs e)
        {
            //Remove the last item if 1 set again to 5 items
            if (Session["DemoItems"] != null)
            {
                if (Convert.ToInt32(Session["DemoItems"]) > 1)
                    Session["DemoItems"] = Convert.ToInt32(Session["DemoItems"]) - 1;
                else
                    Session["DemoItems"] = 5;
            }
            else
            {
                Session["DemoItems"] = 5;
            }
        }
 
        #endregion //Grid Events
 
        #region Buttons Events
 
        protected void btnDemoPostBackClick(object sender, EventArgs e)
        {
            //Do nothing
        }
 
        protected void cbDemoCheckedChanged(object sender, EventArgs e)
        {
            //Do nothing
        }
 
        protected void radBtnDemoClick(object sender, EventArgs e)
        {
            //Do nothing
        }
 
        #endregion //Buttons Events
 
        #region Window Events
 
        protected void btnDemoPostBackWindowClick(object sender, EventArgs e)
        {
            //Change Text in window Label
            lblDemoText.Text = "ASP Button in Window was clicked!!!";
        }
 
        protected void radBtnWindowDemoClick(object sender, EventArgs e)
        {
            //Change Text in window Label
            lblDemoText.Text = "Rad Button in Window was clicked!!!";
        }
 
        protected void btnCloseClick(object sender, EventArgs e)
        {
            //Close Window
            rwDemo.VisibleOnPageLoad = false;
            //Reset data in window
            lblDemoText.Text = "Initial Text";
        }
 
        #endregion //Window Events
    }
}
 
#endregion //NameSpace and Main Class
 
#endregion //MCDemo - RadAjaxPanel, RadAjaxLoadingPanel , RadWindow, RadGrid



Best Regards,

Manuel Cordovil
0
Jean-Marc
Top achievements
Rank 1
answered on 29 Oct 2012, 04:33 PM
Thank you for the hints,
Now I could solve the problem: I did not let ajaxmanager to update the radgrid, but I created the two javascript (RequestStart and ResponseEnd) you showed me in previous posts, but I did not call them inside clientevents of the radajaxmanager: I called them in the page_load event and associated to CType(CatTree1.FindControl("RTV_Categories"), RadTreeView).OnClientNodeClicked = "RequestStart" and RadGridAccounts.ClientSettings.ClientEvents.OnGridCreated = "ResponseEnd".

Now it works

Thank you
0
Maria Ilieva
Telerik team
answered on 30 Oct 2012, 10:26 AM
Hello Jean-Marc,

I'm glad to hear that yo have faced to fix the issue using the last proposal. I'm sure your solution will be helpful for other users that observe the same problematic behaviour.

Do let us know in case you are facing issues with the RadControls in future.

All the best,
Maria Ilieva
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Jean-Marc
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Jean-Marc
Top achievements
Rank 1
Casey
Top achievements
Rank 1
Manuel
Top achievements
Rank 1
Share this question
or