samedi 29 novembre 2014

how to reload the same web part after insert



I used !IsPostBack in Page_Load function.



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


In my Page_Load function have lot of controls like textboxes and dropdown lists.


I need to reload the same web part(sharepoint 2010) after insert to the list. I used below code to reload page at the end of my submit button, but not working fyn (ie, Page_Load function is not working).



Response.Redirect(Request.RawUrl);







0 commentaires:

Enregistrer un commentaire