The postback tag has no wiki summary.
0
votes
1answer
31 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
58 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
266 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
195 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 ...
0
votes
0answers
103 views
Exception in ListFieldIterator on postback
I'm using ListFieldIterator to display/edit values of item from some list. When a postback is triggered (user clicked on button with my custom saving routine), following exception is thrown:
...
1
vote
0answers
214 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
1k 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
0answers
45 views
Repeating Textboxes that persist on postback
Hoping someone has advice with the following situation:
I am creating a search that returns a varying amount of data,
For each of the results I want to output a textbox into which I can enter a ...
0
votes
1answer
864 views
Viewstate to keep data after postback
[Personalizable(PersonalizationScope.Shared)]
[WebPartStorage(Storage.Shared)]
public List<searchResult> lsQtys
{
get
{
List<searchResult> ...
1
vote
0answers
371 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
691 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
451 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
145 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
984 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
300 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
722 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
2k 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
2k 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
668 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
602 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 ...