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
8
votes
5 answers

jquery needs to rebind events on partial page postback

How can I rebind my events (jquery) when I perform a partial page postback? I am wiring everything up using: $(document).ready(function(){}; After a partial page postback, my events are not firing.
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
8
votes
3 answers

Run jQuery function on PostBack (ASP.NET)

I have a form which is initially hidden via jQuery, and on click of a button two radio buttons appear (also hidden initially via jQuery). On click of one radio button, the user is redirected to another page (this works fine). On click of the other…
Dan
  • 81
  • 1
  • 1
  • 3
8
votes
5 answers

Invalid postback or callback argument. Why?

So I get the exception Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to …
Guillermo Gomez
  • 1,725
  • 4
  • 16
  • 21
8
votes
2 answers

Updatepanel gives full postback instead of asyncpostback

I have run into what seems to be a very famous problem: My updatepanel fires a full postback instead of a async postback. The normal solution is to give all controls you add dynamically an ID, which I have done, but I still get a full postback…
Lars Holdgaard
  • 9,496
  • 26
  • 102
  • 182
8
votes
3 answers

change cursor to busy while page is loading

I understand how to use javascript to change the cursor to busy while the page is making and ajax call. However I have a page that does not use ajax, it uses a postback to reload the page. However the load is rather data intensive and it takes a…
kralco626
  • 8,456
  • 38
  • 112
  • 169
8
votes
3 answers

PHP: on select change, post form to self

It's basically what the title says.. I have a form with a select control that I want to force the form to post back to self on change. $bmsclientlist = $clientobj->getBMSClientList(); echo '
iamjonesy
  • 24,732
  • 40
  • 139
  • 206
8
votes
2 answers

Telerik RadAjaxManager still postbacks

I've the following code in my page:
Kira
  • 608
  • 3
  • 10
  • 22
8
votes
1 answer

ASP.NET/JavaScript - Why Isn't "Return False" Not Preventing Postback?

I feel like i've done this scenario plenty of times, and it usually works, so im obviously missing something. Here's my server-side ASP.NET Button:
RPM1984
  • 72,246
  • 58
  • 225
  • 350
8
votes
6 answers

What is really stored in Session in ASP.NET?

We are trying to decide how to handle object persistence accross postbacks, to avoid getting the data from the database in every request, and I'm leaning towards using Session (it's an intranet application, there won't be thousands of users), but…
juan
  • 80,295
  • 52
  • 162
  • 195
8
votes
3 answers

ASP.NET custom control: when is LoadPostData() called?

I have developed a custom control that extends ListBox. The idea is that the control 'remembers' modifications to its elements which occurred client-side, e.g. as a result of an AJAX request. The way it works is that the control also renders a…
David
  • 15,750
  • 22
  • 90
  • 150
8
votes
4 answers

How can I persist the data from a repeater after postback?

I have a repeater that displays financial data and prices for various stocks. On this page, I also have an "export" button that needs to take the data ~on the screen~ and convert it into a CSV for the user. The problem is, after I databind my list…
Darwin
  • 81
  • 1
  • 3
8
votes
3 answers

GridView doesn't remember state between postbacks

I have a simple ASP page with databound grid (bound to an object source). The grid is within the page of a wizard and has a 'select' checkbox for each row. In one stage of the wizard, I bind the GridView: protected void…
Ryan
  • 3,924
  • 6
  • 46
  • 69
8
votes
8 answers

GridView RowDataBound doesn't fire on postback

On an ASP.NET page, I have a GridView populated with the results of a LINQ query. I'm setting the DataSource in code, then calling DataBind on it. In the GridView's RowDataBound event, I'm selectively hiding links in some GridView fields based on…
Ryan Lundy
  • 204,559
  • 37
  • 180
  • 211
8
votes
4 answers

Setting ASP.NET Button attributes client side and read attribute value server side

How can I retrieve a Button custom attribute after the attribute value has been changed using javascript? Example: Asp file
Ceparu Stefan
  • 327
  • 2
  • 4
  • 13
8
votes
3 answers

Why won't my LinkButton inside a GridView raise its OnClick event?

I have a LinkButton inside a GridView (via an TemplateField). No matter what I try, the LinkButton will not invoke its event handler. I have tried both: A traditional event handler ("OnClick") A OnRowCommand event handler at the GridView…
Deane
  • 8,269
  • 12
  • 58
  • 108