Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Javier Sierra 9 posts 29 karma points
    Feb 09, 2012 @ 19:01
    Javier Sierra
    0

    Problems rendering contour form with RenderTemplate call in macro

    Hi guys, 

    I have a website where a user can define in a grid (custom user control) which nodes he wants to see in a given order. This site and control have been working beautifully until recently when we included a contour form. The form display correctly but whenever we send a postback we get the following error 

    Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request

    I have not been able to figure out why this error is happening or how to overcome in. Is contour not compatible with renderTemplate calls? 

     

    Thanks in advance for your help guys

  • Javier Sierra 9 posts 29 karma points
    Feb 13, 2012 @ 17:18
    Javier Sierra
    0

    Removing all upload controls from the form has solved the issue. However is anyone has any information as to how to enable upload using render templates i'd be really gratefull

Please Sign in or register to post replies

Write your reply to:

Draft