A postback is an HTTP POST to the same page that the form is on. In other words, the contents of the form are POSTed back to the same URL as the form. Postbacks are commonly seen in edit forms, where the user introduces information in a form, hits "save" or "submit", causing a postback. The server ...

learn more… | top users | synonyms

0
votes
0answers
12 views

contents of a list in EditForm.aspx disappear when a Postback function was triggerred

I have a javascript file in the masterpage that triggers postback function to change list displayed in my custom DVWP megamenu. This runs on page load in ALL page in my Site. The code is working ...
2
votes
3answers
106 views

Problem on loading JQuery mock up script on workflow form CstWrkflIP.aspx

I am trying to mock up the Workflow form (the URL is ~siteCollection/_layouts/15/CstWrkflIP.aspx?List={xxx}) with JQuery. I have included the script file within Master Page so that whenever the URL ...
0
votes
0answers
24 views

__doPostback in ascx page

I am trying to do a postback on a sharepoint ListItem page, to pass the html content of my page to backend for converting to pdf. The reason for doing this is because of IE limitations that I am not ...
2
votes
0answers
29 views

Item creation issue. 503 error

I am facing below problem in one of the list. So, I have list with 12k items. Throttling disabled. Problem appears whenever I try to create or edit list item. Item gets created successfully, but ...
2
votes
0answers
109 views

Sort ListView via Postback in JSLink file

I found out, that you can filter a list view in a JSLink File very easy by a postback: function filterList(ctx, filterField, filterValue){ __doPostBack(controlId, 'NotUTF8;__filter={' + ...
2
votes
2answers
154 views

How get ID from save button and datetime initial and final from form?

I'm trying make a custom event PreSave and I need to do some asynchronous requests, because of this I always have to return false on PreSave and call the postback manually. The problem is disable ...
0
votes
0answers
50 views

Retaining query string filter parameters across postbacks

So I have two site pages, A and B. Page A has a list view with a column that has a link to page B, with filter parameters in the query string to show only items that match criteria from that list ...
1
vote
0answers
35 views

How to POST to form with redirect

I have been trying to do this for hours now but no luck. I have an application page in which there is a form. When user clicks Submit button, form values are submitted to an external site where user ...
1
vote
0answers
387 views

Keep getting a 400 Bad Request when trying to create a Site via REST API

I'm quite new to Sharepoint stuff, and currently am trying to interact with the REST API. I have been able to get all kinds of data without much problems by sending GET reuqests, but sending POST ...
0
votes
0answers
217 views

Provider hosted app fails on postback due to IE security zones

I have a provider hosted app, deployed to SharePoint Online, with the remote web hosted in an Azure Web App. The remote web presents an HTML5 form, using CSOM to read data from managed metadata term ...
1
vote
0answers
31 views

Calling http handler in user control

I'm trying to call httphandler in SharePoint usercontrol. I'm loading this usercontrol in a SharePoint web part. This httphandler is deployed to SharePoint layouts folder. Below is my code . ...
1
vote
0answers
70 views

How to keep sharepoint attachment when postback form

I have a custom list with sharepoint attachment control. How to keep this attachment when form is postback? I'm using SharePoint - AttachmentButton and AttachmentsField Thanks
0
votes
1answer
671 views

Refreshing a Web Part Without a Post back in SharePoint 2013

I have a list with many columns in SharePoint 2013, I used SharePoint designer 2013 for displaying items , I have tow web parts in a page that I created in SharePoint designer 2013, one web part ...
1
vote
1answer
216 views

OData.ODataContentTypeException when trying to post via perl

I fetch data from Sharepoint using perl on a linuxmachine. This worked real good as long as I only had to read data from there. Now that I also have to change data on Sharepoint I'm stuck. ...
0
votes
1answer
205 views

Avoid Postback on NaN fix

I created a form in InfoPath, in which current Year information is compared in a calculated value to Previous Year. Each Year is in a different list, so to calculate the variance percentage I did ...
0
votes
2answers
1k views

Cascading lists drop-downs in SharePoint Designer (no server-side code) without postback

I've created cascading drop downs populated from SharePoint lists, by following this post by Lars in SharePoint designer without using code, it works fine, my issue is that the secondary drop down ...
1
vote
1answer
2k views

Refreshing parent window once a modal dialog has been closed

I am using the following code to generate a popup window once a hyperlink has been clicked: currentUserLink.NavigateUrl = "javascript:OpenPopUpPage('/_Layouts/newTest/PopUpEditor.aspx');"; Since i ...
0
votes
1answer
121 views

How to detect if the user exited page edit mode?

I am making a visual web part for SP2010, and the webpart hides shows content depending on if there was a postback or not. However the only exception to this, is the postback of exiting the page edit ...
0
votes
1answer
248 views

SPGridview Sorting issue with Modal control - Double postback

I'm having a a issue related to Sharepoint/ASP.Net Postbacks. Basically, what's happening is I have the following GridView on my page: <SharePoint:SPGridView EnableViewState="false" ...
0
votes
2answers
174 views

Filters get removed from external list when document is deleted from XsltListViewWebPart on same webpage

I have a webpage on Sharepoint 2010 that has: 1) An external list 2) A webpart that has XsltListViewWebPart referring to a document library When a filter is applied to External list, it filters out ...
1
vote
3answers
2k views

user control losing new values when saving

I have a user control in a web part that pulls data from a SP list and displays it in standard ASP.Net controls. When I save the data, the old values seem to get saved even if I had changed them. I ...
2
votes
1answer
743 views

FormField value set with javascript, value lost on postback

I have a custom list of "requests" which need to accommodate a required time range for a single date (among other fields), so I added "start" and "end" columns of date and time type. I used designer ...
1
vote
0answers
540 views

Close window after save editform with Drop off library

I have a problem with closing my explorer window from the SharePoint 2010 listitem editform. I am opening a new explorer window from Outlook. In this window I open the editform from the ...
0
votes
1answer
4k views

SharePoint List form buttons and &Source on Cancel and Close

If I don't SharePoint Designer customize List newform, editform and dispforms, can I still use my own button outside of the webpart to submit data from the form. Say I'm using CSS to hide the ...
0
votes
1answer
6k views

Viewstate to keep data after postback

[Personalizable(PersonalizationScope.Shared)] [WebPartStorage(Storage.Shared)] public List<searchResult> lsQtys { get { List<searchResult> ...
5
votes
1answer
3k views

How to check for IsPostback in Visual Webpart

I have created visual webpart in SharePoint 2010 which will generate class file for class derived from Webpart and second for UserControl. Now I have TabStrip Control on .ascx markup. Now I want to ...
2
votes
1answer
2k views

Loading script on every postback

I am trying to load a script (that remembers the clicked nodes for a xsltlistview in a jquery cookie) on every postback. The events when i postback should be: 1. save clicked nodes in cookie 2. ...
0
votes
1answer
890 views

How to insert selected items after Ribbon Click

I have a code (following http://makarandrkulkarni.blogspot.it/2010/01/new-one.html). I have a custom WebControl which receives a postback and react with server side code. Thanks to Javascript I can ...
1
vote
1answer
236 views

Possible to have a SPRibbonPostbackCommand and SPRibbonCommand at the same time?

I'm happily using SPRibbonPostBackCommand to a custom save button. It generates a Postback and everything is fine and dandy. Previously to generating a Postback I would like to make one Javascript ...
2
votes
4answers
3k views

How to invoke server side code from Ribbon

I want to create a Button in my Ribbon which modifies some fields in my items.. In details I want to select more than one element and select my "link" button and make the elements be "linked" by an ...
0
votes
1answer
585 views

Best way to initialize an Contextual Tab?

I've a custom contextual ribbon tab element and I'm initializing it throw the following code on a webcontrol hosted on the masterpage: protected override void OnPreRender(EventArgs e) { ...
1
vote
1answer
1k views

How to do a (performant) check if postback is caused by my custom webpart?

Here are some background infos for this question: Where to load data in the lifecycle of custom webpart Having a webpart with different controls (buttons, dropdownlist etc.), I want to check, if a ...
1
vote
2answers
4k views

Dynamically add controls to webpart without Postback?

Is it possible to dynamically add controls to a webpart without having a postback for example with AJAX/Java Script/jQuery/Partial Postback within SharePoint? I'm searching for some kind of ...
4
votes
3answers
5k views

Set SP.UI.Status or SP.UI.Notify at PostBack

I use in my web part a Session[""] and would like to notify the user when the session is expired. I check at the PostBack event if the session is already okay, if not, I will execute a JS function ...
1
vote
2answers
1k views

How to do a partial postback for a webpart on a SharePoint page

What are best practices for doing a partial postback? Is it okay to use an AJAX Update Panel? I have a number of webparts on a page. I need to do a page refresh, so one webpart on the page gets ...
2
votes
2answers
820 views

Using postbackurl with enctype=multipart/form-data

I have a form having one text field and one button all I want is to postback it to some other server. I have created an .ascx for it and I have added html textbox and asp.net button and using ...
4
votes
2answers
1k views

Custom field type won't postback

I've been trying to build a custom field type. It's basically a set of cascading dropdowns, where the values of the second dropdown are taken from another list based on the selected value in the first ...