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

disable asp.net calendar postback from the code behind

I am trying to disable the page refresh every time when I click a date in the calendar. The Calendar is created from the code behind since I am using AjaxToolkit Accordion for my project. Here is my code, it is working, but it will refresh the page…
Lucia
  • 47
  • 6
0
votes
1 answer

multiview controls after postback

I'm trying to use a multiview control. I'm first creating some views and add to those some labels in the preinit event. Add those to the multiview in the (!isPostBack) scenario. I want to navigate between Views using 'next' and 'previous' buttons.…
Florin
  • 3
  • 1
  • 3
0
votes
1 answer

How to pass parameter when calling a .ascx control from javascript?

I am using this line to load the .ascx control after running a few javascript statements __doPostBack('<%=Basket1.ClientID %>', null) I do this then i get to the .ascx.cs file i run the code good..but can i pass parameter using the above…
ConfusedCoder
  • 175
  • 1
  • 6
  • 17
0
votes
1 answer

ViewState null on postback

So I have a listbox on my page and some textfields. Through the textfields I can add an item to my listbox (click the button, it adds it to a private List which is then set as a ViewState and the list is databound again). My listbox is also…
Fverswijver
  • 459
  • 1
  • 12
  • 30
0
votes
1 answer

Conditional preventDefault ASP.Net button click

I am trying to block submit only in case a condition is met. If the condition matches it blocks the submit and works fine. But in case the condition not met, it still blocks the submit. Strange part is, it works fine when button is clicked again. I…
Milind Thakkar
  • 980
  • 2
  • 13
  • 20
0
votes
0 answers

Avoid postback in textchanged event without updatepanel c#

How can I avoid postback in textchange event without using updatepanel. When I use the updatepanel the css in my table is not working. I am using Bootstrap tags input in my table. View image without update panel When I use the updatepanel the tag…
crocscoc
  • 1
  • 3
0
votes
0 answers

getting complete data after submit button is clicked

I have a web form where there is one control list box and a data grid view to display data. Everything works fine when I open the app for the first time, the list box is also perfectly loaded and all the data is displayed in the data grid view. But…
nischalinn
  • 1,133
  • 2
  • 12
  • 38
0
votes
1 answer

Is there a way to prevent postback?

As a continuation to as written here : Click on a button pauses other function interval I've realized that clicking on a button / calling a JS function causes a postback, and it might be the reason that it is not possible to do them both…
Nadlir
  • 15
  • 6
0
votes
1 answer

How to disable telerik tooltip using a checkbox?

I have an intranet (office) website in which I am using telerik tooltip to guide users about every link, buttons etc, it is a little help system that allows the new users to know what this link do and what that link do. I was thinking that while it…
Ahmed
  • 645
  • 4
  • 13
  • 24
0
votes
0 answers

How can I handle two form in asp.net

How can I handle novalidate on client side, with having access to behind code
0
votes
2 answers

Why am I getting the error "your request is timed out. please retry the request" once in a while?

Hi I have recently uploaded my site on a deluxe shared hosting account (GD). Once in a while I get a plane page containing only the text "your request is timed out. please retry the request." I'm unable to figure out the cause. I'm using IE8 for…
Varun K
  • 3,593
  • 2
  • 25
  • 26
0
votes
3 answers

Using jQuery to post back to a controller

I'm using jQuery to post back to my controller, but i'm wondering how you pass values as parameters in the ActionResult. For example: I have a jQuery post: $.post("Home\PostExample") but i would like to include a value from a dropdown…
BigBadDom
  • 219
  • 1
  • 8
  • 17
0
votes
1 answer

ASPX Bootstrap tab class accessing problem

I'm using bootstrap nav-tabs and I have a problem: From code-behind, I cannot get the value of attribute 'class' of the [li] tag when it's selected. It's always returned null. Here's my aspx: