Questions tagged [postback]

A postback is a technique in web development in which a page sends an HTTP POST back to the same form on the server.

The term postback has two meanings depending on the context, one in relation to web development, and one in relation to open-source software.

In the context of web development, a postback is a page sending an HTTP POST back to the same form on the server.

In the context of open source software, the term "postback" is often used to describe making your changes available in source code form. Questions that would use this meaning of the tag are generally off-topic on Stack Overflow.

2708 questions
31
votes
4 answers

IE10 SCRIPT5009: '__doPostBack' is undefined

I am facing a problem on IE10 with ASP.NET controls that requires JavaScript post back[like, link button]. It is properly working on the IE9 version as well as on IE10 Compatibility mode. But on the IE10 standard mode, it is giving below…
CHANDRAHAS
  • 637
  • 3
  • 10
  • 19
30
votes
9 answers

ASP.net Postback - Scroll to Specific Position

I have an ASP.net WebForms page that has a lot of content on the top of the screen. It has a link button that will post back to the page and show another section of the page. When the page refreshes, I would like to set focus and scroll down to this…
Dismissile
  • 32,564
  • 38
  • 174
  • 263
29
votes
7 answers

How to keep the Text of a Read only TextBox after PostBack()?

I have an ASP.NET TextBox and I want it to be ReadOnly. (The user modify it using another control) But when there is a PostBack(), The text get reset to an empty string. I understand that if you set the ReadOnly property to True of a TextBox it's…
Y2theZ
  • 10,162
  • 38
  • 131
  • 200
28
votes
6 answers

ASP.Net page enter key causing post back

I have an aspx page that postsback when it should not. there are two text boxes, two listboxes and two buttons on the page. if at any-point the enter key is pressed the first button is given focus and "clicked" resulting in a loss of selection…
George
  • 4,323
  • 3
  • 30
  • 33
27
votes
10 answers

jQuery modal form dialog postback problems

I've created a jQuery UI Modal form, and I want that form to trigger a postback, but I'm having difficulty getting it to work. I know there are quite a few articles based on using the SimpleModal plugin, and I have tried to adapt these and override…
mancmanomyst
  • 2,118
  • 6
  • 21
  • 23
27
votes
11 answers

How to detect/track postback in javascript?

How to detect/track/check postback in javascript(e.g in asp.net Page.isPostBack())? Any suggestion?
Subrat
  • 881
  • 1
  • 11
  • 19
26
votes
4 answers

How do I make a Textbox Postback on KeyUp?

I have a Textbox that changes the content of a dropdown in the OnTextChanged event. This event seems to fire when the textbox loses focus. How do I make this happen on the keypress or keyup event? Here is an example of my code
Russ Bradberry
  • 10,705
  • 17
  • 69
  • 85
26
votes
6 answers

ASP.Net Checkbox value at postback is wrong?

We have a checkbox that is initially disabled and checked. It is then enabled on the client side through javascript. If the user then unchecks the box and presses the button to invoke a postback, the state of the checkbox remains as checked on the…
Anthony
  • 12,177
  • 9
  • 69
  • 105
25
votes
8 answers

A potentially dangerous Request.Form value was detected from the client

I have this issue. I have tried everything. ValidateRequest="false".. and decoding and encoding html.. etc. etc.. What I need is a popup box (so im using ModalPopupExtender) to present to a user where people can type in xml settings and click…
user929153
  • 475
  • 2
  • 11
  • 25
25
votes
10 answers

SimpleModal breaks ASP.Net Postbacks

I'm using jQuery and SimpleModal in an ASP.Net project to make some nice dialogs for a web app. Unfortunately, any buttons in a modal dialog can no longer execute their postbacks, which is not really acceptable. There is one source I've found with…
tghw
  • 25,208
  • 13
  • 70
  • 96
24
votes
10 answers

Disable postback at click on a button

I want do disable postback after clicking a . I've tried to do that by assigning onclick="return false", but in the button doesn't work. How can I fix this?
user947344
23
votes
8 answers

Staying on current jQuery tab across post back?

I am using jQuery tabs and an ASP.NET listview to display and edit some information. My problem is that when a user inserts a new record in one of the listview items my jQuery tabs go back to the first tab. Is there a way to keep track of which…
Abe Miessler
  • 82,532
  • 99
  • 305
  • 486
22
votes
3 answers

JSF: initial request and postback request?

Please take a look at this below line of code in JSF Quote from java.sun.com: For an initial request of the page containing this tag, the JavaServer Faces implementation evaluates the…
Thang Pham
  • 38,125
  • 75
  • 201
  • 285
21
votes
6 answers

What methods are available to stop multiple postbacks of a form in ASP.NET MVC?

A common web problem is where a user clicks the submit button of a form multiple times so the server processes the form more than once. This can also happen when a user hits the back button having submitted a form and so it gets processed…
WooWaaBob
  • 3,397
  • 3
  • 23
  • 23
21
votes
4 answers

Maintain Panel Scroll Position On Partial Postback ASP.NET

I have a gridview that putted in ASP.NET Panel. both of panel and Gridview are in an UpdatePanel. there is a column in gridview that Causes Partial PostBacks. i want to Maintain Panel Scroll position on those postbacks. Is there any way? regards.
Shahin
  • 12,543
  • 39
  • 127
  • 205