Update Panel not working properly

5 posts, 0 answers
  1. ankur
    ankur avatar
    2 posts
    Member since:
    Jun 2014

    Posted 05 Jun 2014 Link to this post

    I am using DNN(DotNetNutke) 07.01.00 (2676) for website. DNN internally uses Telerik Controls.

    I am using asp.net Update Panel in my page, so there is a Button inside that UpdatePanel (named as "UPDATE CART" in screen shot of page) and when i click on this button request goes to server and executes the code on server and then response comes with rendered HTML and update the content of UpdatePanel.




    So problem here is like that when i click this button("UPDATE CART") first time(i.e.when i come to this page first time or say it is not post back or IsPostback ==false) then my content of Update Panel just get updated but after that if i click the button again(IsPostBack==true) then content of Update Panel does not change although the request always goes to server every time and also response is sent from server without any error but content of Update Panel doesn't change.

    So i checked client side code in chrome's developer tool then i got to know that some javascript/jquery exception(refer to Screen Shot) is coming whenever this Page loads.But exception details differs when the page loaded first time(i.e. IsPostback == false) and when it is posted back(i.e. IsPostBack == true).

    Here is the screen shot of exception


    Here is the screen shot of exception detail when page loaded first time.


    Here is the screen shot of exception detail when Page's IsPostBack== true or i clicked that "UPDATE CART".button again and again(not the first time).


    But interesting thing what i noticed is that when i logged-in as a DNN Super User in website and come to this page then no exception comes and functionality works well or content of Update Panel always change on "UPDATE CART" button clicks but whenever i logged-in as other user i.e. rather then DNN Super User i i always face this problem.

    So please help me asap and sorry for my bad English.
  2. ankur
    ankur avatar
    2 posts
    Member since:
    Jun 2014

    Posted 06 Jun 2014 Link to this post

    Screen shot of page is
    https://i.imgur.com/zwh96AH.png

    Here is the screen shot of exception
    https://i.imgur.com/5Owx35C.png

    Here is the screen shot of exception detail when page loaded first time.
    https://i.imgur.com/qDO2e2d.png

    Here is the screen shot of exception detail when Page's IsPostBack==
    true or i clicked that "UPDATE CART".button again and again(not the
    first time).
    https://i.imgur.com/hmH5bxb.png

  3. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 09 Jun 2014 Link to this post

    Hello,

    In case you encounter some issues while using Telerik DLL within your module our suggestion is to post your question in the DotNetNuke forums or contact the support of DNN for technical help with our products.

    If you have problems with Telerik RadControls when  you use them outside DNN, please do not hesitate to contact us. We will gladly assist you.

    Regards,
    Pavlina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  4. ankur
    ankur avatar
    2 posts
    Member since:
    Jun 2014

    Posted 09 Jun 2014 Link to this post

    Hi Pavlina,

    I also posted this same issue on dnn forum but i didnt get the sufficient solution.
    So i thought to post here on telerik forum , in a hope that may be i will get solution from here.

    Anyways thanks for replying and will consider the things that you mentioned before posting here.
  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 12 Jun 2014 Link to this post

    Hello,

    To identify whether the problem is DNN-related or not, you can check whether moving the Telerik controls outside of the DotNetNuke environment makes a difference. If the described problem still persists we will do everything possible to provide more definite answer.

    Regards,
    Pavlina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top