+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / No Viewstate

No Viewstate

57 posts, 0 answered
  1. Greg Figueroa
    Greg Figueroa avatar
    23 posts
    Registered:
    24 Apr 2005
    07 Mar 2011
    Link to this post
    Hi Ivan,

    Yes, I saw that issue, and thought it might be related, however, #4968 reads as a RadGrid problem in Sitefinity.

    While I agree I'm sure the Viewstate issue is causing that problem among others, that issue does not directly reflect the underlying problem.   The real problem here is the Viewstate, not Radgrid, not Ajax, not anything else.

    The ticket should reflect the underlying problem, in my opinion, and perhaps note the issues related to the problem.

    Thanks, Greg

  2. Bassem
    Bassem avatar
    19 posts
    Registered:
    29 Dec 2010
    08 Mar 2011
    Link to this post
    Hi everyone, 

    I was wondering since this caused lot of problems because ViewState is used almost everywhere. 
    How did we get to this : for a basic functionality the basic Control tests would fail and I think you Telerik guys ran into having a release for 2011 but you shouldn't release stuff like this.
    Now we have problems with our clients  
    We tested SF for previous release and this seemed working,
    Even we had other problems, we could have some work around and we could going on.

    But when it comes to ViewState not working, this is quite serious and frustrating. 

    I hope this get fixed because this stopped us. 

    I am working not on a ASP web Application and I will use  with RadControls (for test purposes) hoping 
    I can integrate my UC then in SF.


  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    10 Mar 2011
    Link to this post
    Hi,

    We are fixing this with high priority, and will definitely have a fix for it in for the Q1 release. We can also push the fix as an internal build, if you would like us to do it.

    All the best,
    Georgi
    the Telerik team
  4. Hoyt
    Hoyt avatar
    1 posts
    Registered:
    12 Jan 2011
    28 Mar 2011
    Link to this post
    I'm pretty sure that you would update this thread, if there was a solution available, but just in case...

    I'm trying to make a case for using SiteFinity in a large development project that's just getting underway, and the main objection is finding ourselves unable to deliver because of a serious SiteFinity bug with no work-around. I was dismayed to chance across this problem, a case-in-point.

    So, any good news? ETA? Anything? Is the problem well-understood? Is it fixed in 50% of SF? 80%?

    Thanks, Hoyt
  5. Ivan
    Ivan avatar
    478 posts
    Registered:
    16 Jun 2015
    28 Mar 2011
    Link to this post
    Hi Greg Figueroa,

    the bug has been fixed indeed and is in process of extended testing. Yes, we know we should have done this way, way earlier, but there is really nothing else we can do except offer sincere apology.

    We have moved completely to the Virtual Path Provider, which means that Sitefinity pages will now behave exactly as any other ASP.NET page. Apart from the obvious functional benefits (exact lifecycle), this also brings about a significant performance improvement.

    The fix will be made available in Sitefinity 2011 Q1, which is due on April 13th.

    Once again, to you and all other affected, we are really sorry about this problem and that it took us so long to fix it.

    Best wishes,
    Ivan
    the Telerik team
  6. AmrElsayed
    AmrElsayed avatar
    87 posts
    Registered:
    18 Jul 2012
    31 Mar 2011
    Link to this post
    Hi,

    Is this bug can't be release in any of the internal builds before April 13th?
    Cause we have to release our project during this week, and we can't release with this issue.

    Thanks.
  7. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    31 Mar 2011
    Link to this post
    Hi AmrElsayed,

    Thanks for the follow up.

    Can you please let us know what exactly stops you to go to production? If you have worked it around in development, this should not stop you for production? 

    Greetings,
    Georgi
    the Telerik team
  8. AmrElsayed
    AmrElsayed avatar
    87 posts
    Registered:
    18 Jul 2012
    31 Mar 2011
    Link to this post
    Hi Georgi,

    We have several controls that rely heavily on viewstate and it's getting lost between requests, our work is complete and is working fine in normal asp.net websites but once the user controls are moved into the sitefinity runtime, viewstate disappears across postbacks, this is explained below in the thread, I don't want to repeat the same requests other developers have raised, I am just asking if any of the latest internal builds contain the fix so we can check it out.
  9. Greg Figueroa
    Greg Figueroa avatar
    23 posts
    Registered:
    24 Apr 2005
    31 Mar 2011
    Link to this post
    Hi Georgi,

    That's great news.  I'd love to get my hands on it sooner, but I am happy that there is a definative date now set.  Looking forward to eliminating my temporary aspx pages that emulate what Sitefinity does.

    Thanks again,

    Greg
  10. Greg Figueroa
    Greg Figueroa avatar
    23 posts
    Registered:
    24 Apr 2005
    13 Apr 2011
    Link to this post
    ...Chomping at the bit to get my hands on Sitefinity 4.1.  The ads are up, and the webinar scheduled.  The 13th of April has arrived, but the download is still not posted...  

    Are we going to get our hands on it today?

    Thanks, Greg
  11. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    15 Apr 2011
    Link to this post
    Hi Greg Figueroa,

    We are having an official statement here - http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/sitefinity-2011-q1-postponed-by-one-week.aspx

    Greetings,
    Georgi
    the Telerik team

  12. Keith
    Keith avatar
    8 posts
    Registered:
    25 Oct 2010
    18 Apr 2011
    Link to this post
    Disregard
  13. Mark
    Mark avatar
    22 posts
    Registered:
    16 Sep 2012
    09 Dec 2011
    Link to this post
    Telerik,

    We're using Sitefinity 4.2.1650 and the ViewState issue is still not fixed.  
    I have enabled ViewState per page; however, my user controls are still losing values on postback.
    I have written my own custom user controls and added them to my own custom templates.  I've combed
    the forums looking for solutions and have tried the OnInit to enable viewstate for the page and
    it's not working.  Is this fixed in a build after 4.2.1650?  Please advise.

    Mark 
  14. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    09 Dec 2016
    13 Dec 2011
    Link to this post
    Hi Mark,

    I can confirm we used to have issue with the Enable Viewstate option for pages not taking effect, however these were fixed for our Sitefinity 4.2 release, and since then up to my knowledge you're the first to report such behavior. Would it be possible to give us a sample user control you're testing with, so we can test if the issue will reproduce with it, as we were unable to reproduce it on several Sitefinity 4.2 and 4.3 projects. Looking forwards to your reply.

    All the best,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  15. Moot
    Moot avatar
    6 posts
    Registered:
    08 Mar 2011
    14 Dec 2011
    Link to this post
    Hi Boyan,

    We too are using 4.2.1650 and have an issue with viewstate, but only for "list" controls.  
    The workaround we are currently using is to read the values from the Request on Page_Load (e.g.  
    lstControl.SelectedValue = Request.Form(this.FindControl("lstControl").UniqueID)   )
  16. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    09 Dec 2016
    14 Dec 2011
    Link to this post
    Hello Moot,

    Can you please paste/send us a copy of your ~/App_Data/Sitefinity/Configurations/SystemConfig.config file, and a copy of the ~/App_Data/Sitefinity/Logs folder so we can check if there's anything that might be causing these problems.

    Regards,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  17. Moot
    Moot avatar
    6 posts
    Registered:
    08 Mar 2011
    14 Dec 2011
    Link to this post
    Boyan,

    Here is the config file.  How do you want me to send the Zip of the Logs folder (give me an Email address or ?).  Just an FYI, we have this issue in the CoursesModule in config below as well as some ascx/vb controls.  

    Thanks,
    Moot

    <?xml version="1.0" encoding="utf-8"?>
    <systemConfig xmlns:config="urn:telerik:sitefinity:configuration" xmlns:type="urn:telerik:sitefinity:configuration:type" config:version="4.2.1650.0" build="1650" previousBuild="1574">
     <servicesModules>
      <add version="4.2.1650.0" name="Search" />
     </servicesModules>
     <applicationModules>
      <add version="4.2.1650.0" name="News" />
      <add version="4.2.1650.0" name="Blogs" />
      <add version="4.2.1650.0" name="Events" />
      <add version="4.2.1650.0" name="Libraries" />
      <add version="4.2.1650.0" name="Forms" />
      <add version="4.2.1650.0" name="Lists" />
      <add version="4.2.1650.0" name="Analytics" />
      <add version="4.2.1650.0" name="Publishing" />
      <add version="4.2.1650.0" name="Scheduling" />
      <add version="4.2.1650.0" name="Newsletters" />
      <add version="4.2.1650.0" name="GenericContent" />
      <add version="4.2.1650.0" name="ControlTemplates" />
      <add version="4.2.1650.0" name="Migration" />
      <add version="4.2.1650.0" name="Catalog" />
      <add version="4.2.1650.0" name="Orders" />
      <add version="4.2.1650.0" name="Shipping" />
      <add title="Courses" description="Courses" type="SitefinityWebApp.Modules.Courses.CoursesModule" startupType="OnApplicationStart" version="4.2.1733.0" name="Courses" />
     </applicationModules>
     <outputCacheSettings enableOutputCache="False" enableClientCache="False" />
    </systemConfig>
  18. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    19 Dec 2011
    Link to this post
    Hi Moot,

    If possible we would like also the code for your module and the .ascx/vb files. If the archive becomes too large you could create a password protected file, upload it to some free sharing service site like http://www.megaupload.com/ , give here the link to the file and send the password to the archive to Liubomir.Velkov@telerik.com

    Kind regards,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  19. Moot
    Moot avatar
    6 posts
    Registered:
    08 Mar 2011
    19 Dec 2011
    Link to this post
    Lubomir,

    I have sent a ZIP file to your email with some of the code that I hope will be enough for you to detemine if it is something we are doing wrong or if it is an issue with ViewState not being properly handled.

    Thanks,
    Moot
  20. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    03 Nov 2014
    21 Dec 2011
    Link to this post
    Hello Moot,

    Unfortunately I didn't receive any email from your. Could you try opening a bug report and attach the code there?

    Regards,
    Lubomir Velkov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  21. Dave
    Dave avatar
    29 posts
    Registered:
    27 Aug 2010
    21 Dec 2011
    Link to this post
    Sometimes I encounter problems when enabling viewstate after the page has been created. You might try enabling view state from the advanced options at the same time you create the page. This has always worked for me.
  22. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    22 Dec 2011
    Link to this post
    Hi,

    I believe that the Moot's issue comes from the code that he use. We are looking for his ticket to see what exactly goes wrong.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  23. Moot
    Moot avatar
    6 posts
    Registered:
    08 Mar 2011
    11 Jan 2012
    Link to this post
    Ivan/Lubomir,

    I will try to create a simple project that illustrates the problem and upload it to a ticket.  Have a looming deadline so I won't be able to take the time to get the example done for a few weeks.

    Thanks,
    Helmut
  24. Greg
    Greg avatar
    16 posts
    Registered:
    11 May 2011
    10 Aug 2012
    Link to this post
    Is there any resolution to this?  I am running SItefinity 5.1 and am still seeing the exact behavior described throughout this thread.  I have a widget (user control) which contains a drop-down list that is populated at page load.  On post-back the list is not repopulated.  ViewState is enabled for the page and I can see the viewstate information when doing a "view source". 
    Additionally, I am manually setting viewstate values within page_load and those disappear after postback as well.
    The control is in a template column (not using a physical master page.)  If this was fixed in 4.2, WHY is it still happening in 5.1?
  25. Greg
    Greg avatar
    16 posts
    Registered:
    11 May 2011
    10 Aug 2012
    Link to this post
    Is there any resolution to this?  I am running SItefinity 5.1 and am still seeing the exact behavior described throughout this thread.  I have a widget (user control) which contains a drop-down list that is populated at page load.  On post-back the list is not repopulated.  ViewState is enabled for the page and I can see the viewstate information when doing a "view source". 
    Additionally, I am manually setting viewstate values within page_load and those disappear after postback as well.
    The control is in a template column (not using a physical master page.)  If this was fixed in 4.2, WHY is it still happening in 5.1?
  26. Ben
    Ben avatar
    44 posts
    Registered:
    27 Sep 2012
    10 Sep 2013
    Link to this post
    Bump, I'm encountering the same issue in 6.1, the page life cycle events are inconsistent and I have viewstate enabled on the page properties in Sitefinity. I'm just trying to bind a repeater on a button click. Anyone gotten this work and could share their code?
  27. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    Registered:
    26 Mar 2015
    13 Sep 2013
    Link to this post
    Hello all,

    The bug reported in this thread is indeed fixed. My conclusion is that the issue lies in your code as we do not have any complaints of the ViewState recently. You can post your code here in the thread or better yet in a Sitefinity support ticket so the issue can be resolved.

    Regards,
    Ivan D. Dimitrov
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
57 posts, 0 answered
1 2