More in this section
Forums / Developing with Sitefinity / Problem with PostBack while editing the page

Problem with PostBack while editing the page

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Dinesh
    Dinesh avatar
    46 posts
    03 Aug 2009
    06 Aug 2009
    Link to this post

    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.


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

    Please take a look at the following KB article:

    It explains the problem in details. 

    I hope this helps!

    Best wishes,
    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