You must Sign In to post a response.
  • Category: ASP.NET

    Ajax update panel

    hello

    i m using Ajax update panel..to prevent my page from postback..but it is not working as whole page postback when i click button control..i m using following source code...is there any prob with code..or i hv to include any javascript..
    plz help

    ..i m using following code
    <asp:ScriptManager ID="ScriptManager1" runat="server"/>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">

    <ContentTemplate>
    <asp:TextBox ID="TextBox1" runat="server">0</asp:TextBox>
    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
    <asp:Button ID="Button1" runat="server" Text="Button" />
    <dotnetCHARTING:Chart ID="Chart1" runat="server">
    </dotnetCHARTING:Chart>
    </ContentTemplate>
    </asp:UpdatePanel>
  • #436678
    Did you include the http handlers in your web.config files if not please add the below script under <System.web> tag and try.

    <httpHandlers>
    <remove verb="*" path="*.asmx"/>
    <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
    </httpHandlers>
    <httpModules>
    <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    </httpModules>

  • #436723
    I`m not sure but please check out even with something like PatrialRenedring property
    THIS POSTING IS PROVIDED WITH NO WARRANTIES, BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT AS PER MY KNOWLEDGE, NOT TRIED IT.

    Regards
    ---------------------
    Venkatesh Ellur
    9886417764
    venkatesh.ellur@gmail.com
    ---------------------


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.