Questions tagged [postback]

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 then refreshes the same page using the information it has just received.

Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

OnClick the function behind it runs but values are not displayed in the form (webForms)

I am not sure why this is happening it is working alright on my other form which have almost similar code. Button <td> <asp:Button Text="Proceed" ...
Imdad Khan's user avatar
0 votes
0 answers
555 views

Microsoft Forms auto refresh survey after user answers question

I'm using Microsoft Forms to create an embedded survey on our home Intranet page. I have a two column layout where, on the left, the user answers the question. On the right, the results are ...
Michael Colbs's user avatar
2 votes
1 answer
606 views

InfoPath Postback Infinite Loop

I'm working on an InfoPath form and came across a weird error. Whenever I go to the edit form and change any text box (rules or not), the console appears to send postbacks forever until it hits the ...
Evan's user avatar
  • 21
1 vote
0 answers
343 views

Linking to a webpage with a search function and auto filtering that function

In my company, there is a SharePoint site with a page with a search box on it. Underneath this box are two separate web parts, showing two separate lists. The user is asked to enter a value into the ...
Andrew Martin's user avatar
1 vote
0 answers
1k views

How to get a url to the site usage reports?

I want to get a url that downloads the site usage reports in sharepoint 2013. I found the page that ends like http://yoursite/_layouts/15/Reporting.aspx?Category=AnalyticsSite There I can click the ...
omega's user avatar
  • 2,150
1 vote
0 answers
320 views

How to maintain scroll position when navigating back from a document

I have an Access Web Datasheet being used to display data from a Sharepoint 2010 Document Library. We access the document to view but when we navigate back to the Access Web Datasheet view the page ...
Justeasy StackAttacka's user avatar
1 vote
2 answers
3k views

AddPostRenderCallback in ItemTemplate is not getting called in Sharepoint Online

Hi I have an item template. In which below is the code for the AddPostRenderCallback. AddPostRenderCallback(context, function () { alert("Inside Addpostrendercallback"); ...
SandeshR's user avatar
  • 2,002
0 votes
1 answer
340 views

Sharepoint : Mantain dropdownlist selected value on refresh page

I have an application page, which contain a listview, with a dropdownlist in it, first load of page: I have my Dropdownlist , when I select a value and hit f5 , I want to see the selected value (and ...
BKChedlia's user avatar
  • 303
2 votes
3 answers
284 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 ...
Mark L's user avatar
  • 4,070
2 votes
0 answers
63 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 ...
Alexander Ulmaskulov's user avatar
2 votes
0 answers
537 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={' + ...
Dave's user avatar
  • 617
2 votes
2 answers
1k 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 ...
Carlos's user avatar
  • 319
1 vote
0 answers
133 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 ...
Frank Martin's user avatar
  • 3,646
1 vote
0 answers
2k 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 ...
Joachim Seminck's user avatar
1 vote
0 answers
75 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 . this....
user3703305's user avatar
1 vote
0 answers
135 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
Nguyen Anh Duc's user avatar
0 votes
1 answer
2k 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 ...
Parissa Nouraie's user avatar
2 votes
1 answer
597 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. ...
tiMbeRdroP's user avatar
0 votes
1 answer
788 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 ...
varrtto's user avatar
0 votes
2 answers
3k 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 ...
Guy Perry's user avatar
  • 186
1 vote
1 answer
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 ...
user2987348's user avatar
0 votes
1 answer
138 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 ...
omega's user avatar
  • 2,150
0 votes
1 answer
310 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" runat="...
Fox's user avatar
  • 2,676
0 votes
2 answers
246 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 ...
user15558's user avatar
1 vote
3 answers
3k 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 ...
steveareeno's user avatar
  • 1,185
2 votes
1 answer
1k 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 ...
Erin's user avatar
  • 63
1 vote
0 answers
900 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 ...
mgeelen's user avatar
  • 11
0 votes
1 answer
5k 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 ...
Hell.Bent's user avatar
  • 1,299
0 votes
2 answers
8k views

Viewstate to keep data after postback

[Personalizable(PersonalizationScope.Shared)] [WebPartStorage(Storage.Shared)] public List<searchResult> lsQtys { get { List<searchResult> ...
Craig's user avatar
  • 33
5 votes
1 answer
6k 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 ...
Ronak's user avatar
  • 359
2 votes
1 answer
3k 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. ...
Amc_rtty's user avatar
  • 127
0 votes
1 answer
931 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 ...
Ziba Leah's user avatar
  • 1,987
1 vote
1 answer
245 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 ...
Dennis G's user avatar
  • 4,775
2 votes
4 answers
4k 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 ...
Ziba Leah's user avatar
  • 1,987
0 votes
1 answer
639 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) { ...
fallout's user avatar
  • 1,005
1 vote
1 answer
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 ...
Tom Bola's user avatar
  • 381
1 vote
2 answers
5k 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 ...
OG_Mike's user avatar
  • 122
5 votes
3 answers
6k 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 ...
user avatar
1 vote
2 answers
2k 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 ...
obautista's user avatar
  • 795
2 votes
2 answers
934 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 ...
user avatar
4 votes
2 answers
2k 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 ...
user avatar