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
0
votes
2 answers

How do you click a calendar and copy the date to a textbox without postback, in asp.net with javascript?

I have a asp.net page that is used for searching rows of data. I want to be able to search a specific date-interval, therefore I have added two calendars (from & to) and a textbox for each one. When a date is selected in the calendar it is…
Erik L
  • 126
  • 4
  • 15
0
votes
1 answer

DropDownList is not posting back

I'm using Visual Studio 2005 and ASP. NET 2.0 with this program. This is written in VB.net Right now, we've got a Gridview that is embedded and databound into another gridview. The 2nd Gridview is hidden by default and expanded by the user. Within…
Joseph
  • 1
0
votes
3 answers

A tale of two DropDownLists (that behave differently despite being configured identically)

Ok, I'm about to go crazy here, because the reversed definition of insanity is doing the same thing and getting different results. For the given ASPX:
PhilChuang
  • 2,556
  • 1
  • 23
  • 29
0
votes
1 answer

prevent postback form anchor click -> when we have onserverclick attribute

my aspx (html) code is like below : this is first button (something that should act like a normal button , i used anchor because of some nice css job) :

SilverLight
  • 19,668
  • 65
  • 192
  • 300
0
votes
1 answer

JScript error __dopostback()

I'm getting a "Microsoft JScript runtime error: Object expected" on this line of code: function ResetPanel() {__dopostback('pnlMaster', '');} Any ideas on what I'm missing? Thanks, Jason
user724198
0
votes
2 answers

Question about programmatically generated controls:"?

public partial class Default2 : System.Web.UI.Page { Dictionary btnsDic = new Dictionary(); protected void Page_Load(object sender, EventArgs e) { if (IsPostBack) { for (int i = 0; i…
Matrix001
  • 1,272
  • 6
  • 30
  • 51
0
votes
1 answer

Question about PostBack

The example looks a bit long. But it is necessary to understand my question. if (IsPostBack) { for (int j = 0; j < PostsDic.Count; j++)//The number is 2. 2 buttons to be created. { Button pgs2 = new…
Dmitry Makovetskiyd
  • 6,942
  • 32
  • 100
  • 160
0
votes
1 answer

Values on PostBack getting lost

I am using MVC3 and classes generetad from EntityFranmework for saving some data into a Database. The controller // Get public ActionResult Create(Guid StudentID) { Semester semester = new Semester(); ViewBag.BranchID = new…
Burim
  • 1
  • 1
0
votes
2 answers

Hitting Enter for Default Button in ASPX Doesn't Work but Mouse Does on IIS 6.2

I have an ASPX based solution that is running under .NET 4.8 and IIS 6.2. We have a login screen. When a user enters their username and password, then hits enter or clicks enter, they should be logged in. The problem we are having is, if a user…
0
votes
1 answer

Response.Redirect to a Clickonce not working if done during postback

Very odd situation here. I'm trying to launch a .application file using Response.Redirect. In the Page_Load event, if I check that it is a postback, it doesn't launch (it does otherwise). If I redirect to another page in postback, it works fine. The…
isorfir
  • 771
  • 2
  • 8
  • 19
0
votes
1 answer

ASP.NET Partial Postback Update Panel Hidden Fields Clearing Problem

I have an UpdatePanel and in my updatepanel_Load I have some code which looks like this: if (!IsPostBack || triggeredRefresh.Value == "1") { create hidden fields and add to list using itemFields.Add(newField); } else if ( triggeredCheck.Value ==…
Jimmy
  • 349
  • 1
  • 9
  • 14
0
votes
1 answer

How to keep the textbox inside of a cell from gridview, in a postback

My problem is the following, when you load the page for the first time you see the textbox inside the cell with the red background, but when there is a postback the textbox inside the cell is lost. load method fill my gridview. the idea is when the…
alberto mora
  • 65
  • 1
  • 8
0
votes
1 answer

JSP syntax to switch between HTML and XML

I would like to have a single JSP page that will do the following: If the method is GET and the querystring is NULL, draw a HTML form with a TEXTAREA and SUBMIT button If the method is GET and the querystring is not NULL or the method is POST,…
craig
  • 25,664
  • 27
  • 119
  • 205
0
votes
1 answer

.Net Core Razor Pages - Refresh fields after post -unobtrusive ajax

I have created a .Net Core Razor Pages Application. There are two input fields and a submit button in a razor page. When I click on the button, the numbers in the input fields needs to be incremented. There is a message ‘Hello World’ which is…
Sabish Sasi
  • 1
  • 1
  • 2
0
votes
2 answers

Force asp.net page postback from server

I have a page that is created entirely dynamically in the code behind (oh joy). On pressing a button on this page, more elements are added to the page - which is fine, however, the refreshed page doesn't appear until the next postback. I would do a…
Manicguitarist
  • 329
  • 1
  • 2
  • 11
1 2 3
99
100