Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can AJAX interfere with the form's logic and be not needed?
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
AJAX
Titre:
Can AJAX interfere with the form's logic and be not needed?
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01309075
Message ID:
01309075
Vues:
58
Hi everybody,

I believe I have found a case where AJAX is going in the middle of the things and interfering with the normal form's flow.

In my page right at the top I have:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="smAddUser" EnablePartialRendering="true" EnableScriptGlobalization="true"
        runat="server">
    </asp:ScriptManager>
    <div>
          
        <asp:UpdateProgress ID="updtprgAddUser" runat="server">
            <ProgressTemplate>
                <img src="../images/indicator_mozilla_blu.gif" alt="" />
                <span style="color: #cc3333; font-weight: bold;">Processing... </span>
            </ProgressTemplate>
        </asp:UpdateProgress>
    </div>
    <asp:UpdatePanel ID="uptpnlAddUser" UpdateMode="Conditional" runat="server">
        <ContentTemplate>
when all the controls of the page (MultiView, grids, etc. are inside the UpdatePanel).

I have a GridView with Remove button. This button is supposed to remove the user from the role.

Now, when I click on this button there is something else going on, because the Processing message is activated and RowBound event for the grid is firing.

I'm wondering what should I do in my situation? How can I "exclude" this grid from the AJAX?

Thanks a lot in advance.
If it's not broken, fix it until it is.


My Blog
Répondre
Fil
Voir

Click here to load this message in the networking platform