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

Forums / Developing with Sitefinity / Problem with PostBack while editing the page

Problem with PostBack while editing the page

2 posts, 0 answered
  1. Dinesh
    Dinesh avatar
    46 posts
    Registered:
    03 Aug 2009
    06 Aug 2009
    Link to this post
    Hi...

    I have created a field in the 'PagePropertiesInsert.ascx' file. I wrote some code to save the value of that field in the database. Now I am trying to display the value of the field from the database when the admin click on the Properties link. So I want to add some code in the page load event of 'PagePropertiesInsert.ascx.cs' file.

    protected void Page_Load(object sender, EventArgs e) 
        { 
             
            if (!IsPostBack) 
            { 
               do something 
            } 
             
             
        } 

    But, here the page's IsPostBack property is always showing as true. So, I am unable to implement the code. Why is it showing like this?

    Any possible solution would be appreciated.


    -Dinesh.

  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    07 Aug 2009
    Link to this post
    Hello Dinesh Kumar,

    Please take a look at the following KB article: http://www.sitefinity.com/support/kb/sitefinity-3-x/sitefinity-page-freezes-in-edit-mode.aspx

    It explains the problem in details. 

    I hope this helps!

    Best wishes,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
2 posts, 0 answered