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

1
vote
1answer
67 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
34 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
1answer
297 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
337 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
0answers
34 views

Force Postback on a ListForm

I have a jQuery script that toggles some fields on a ListForm. It worked great on my jsfiddle, but when I added the script to a CEWP on the page via the content link, I can tell it's running b/c when ...
0
votes
0answers
31 views

Postback issue in Firefox

When the user uses some look up for searching or adding or deleting anything on the form, the page reloads and all the values set to default. It is working fine with IE but on Firefox this issue ...
0
votes
0answers
104 views

Publishing Pages and PostBackUrl in SharePoint 2010

I tried to use the PostBackUrl in a web part do a cross page postback in SharePoint. The post is done but when I try to access the PreviousPage property I get an endless loop ending in an ...
0
votes
1answer
77 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
150 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
108 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
1k 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
384 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
362 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
2k 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
3k views

Viewstate to keep data after postback

[Personalizable(PersonalizationScope.Shared)] [WebPartStorage(Storage.Shared)] public List<searchResult> lsQtys { get { List<searchResult> ...
5
votes
1answer
1k 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 ...
1
vote
1answer
1k 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
696 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
205 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
2k 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
439 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
901 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
3k 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 ...
2
votes
3answers
3k 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
862 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
702 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 ...