autopostback is an attribute set on asp.NET web controls, indicating that interacting with them causes a post action in the browser.
Questions tagged [autopostback]
312 questions
0
votes
1 answer
Autopostback in the same webpage
I have a page (let's say page1) that open the page2 using:
showModalDialog(page2, '', 'dialogWidth:55em; dialogHeight:50em; status:0');
I am facing 2 problem (in this post i am gonna write the first one):
1- i have in page2, several checkboxes that…

user1697156
- 11
- 2
0
votes
2 answers
Can values from dropdownlists in detailsview be updated without autopostback?
I have a details view that is in "insert Mode" so the user just sees blank spaces to enter values. I have two drop down lists and I wanted to have the second ddl change its value by what was selected in the first ddl. I tried setting ddl1 to a…

user1596472
- 155
- 1
- 3
- 17
0
votes
2 answers
How do you grab the control that caused postback, if it is present within a ListView ItemTemplate
I am currently working on a project that involves creating a questionnaire from a list of questions in the database. I am using the ListView control with paging to display each question and it's choice of answers. The choices are RadioButtons with…

Ashwin
- 90
- 2
- 10
0
votes
2 answers
DropDownList Autopostback clears fields, reverts to default
I have two drop down lists inside of two different fields in a detailsview, the first one determines the values of the second one.
When i select a value from the first ddl autopostback erases all data already in the detailsview and reverts the…

user1596472
- 155
- 1
- 3
- 17
0
votes
0 answers
Error encountered during multiple postbacks of an ASP.NET page
I have made an ASP.NET web page which retrieves some data based on a date (selected using a Calendar control), and segment (selected using a dropdownlist). Changing either the date or the segment causes the page to refresh and the data to be…

ankit0311
- 735
- 3
- 10
- 20
0
votes
2 answers
ASP.Net suppress postback for combobox only for OnSelectedIndexChanged
I am using an AJAX ComboBox in my ASP.Net web application and I have an OnItemInserted event that requires a postback to hit the server side logic however this requires that I have AutoPostBack = True. This causes an unwanted effect of…
0
votes
1 answer
Preserving user control on autopostback asp.net
I have two user controls: dsucTopLeft and dsucTopRight in an aspx page. Each of the user controls has a dropdownlist to select values from.
The aspx page has a button "Save".
In the OnClickEvent of the button, I take data from those user controls…

coolscitist
- 3,317
- 8
- 42
- 59
0
votes
1 answer
ASP NET c# disable autopostback after clicking back button in browser
i have a listbox in my asp page, when user clicks any of items, the page is redirected to other page. To do that i used the SelectedIndexChanged event, but it wasnt firing, so i change the autopostback property of listbox to true. Everything is…

Oak
- 1,159
- 3
- 13
- 21
0
votes
1 answer
Timing a gridView Update in C#
So I'm currently working with a C# ASP page in which I have a DropDownList and a GridView. I'm initializing both the GridView and the DropDownList (Along with their connected data sources) in the PageLoad event.
I've got the DropDownList set to…

Falterfire
- 156
- 4
- 9
0
votes
3 answers
Asp.net autopostback
Is there a way to add items to a dropdownlist (or any other control with lists) and when SelectedIndexChange happens, it doesn't keep adding all the items everytime that event happens?
I suppose one way would be to clear the list before the add code…

sd_dracula
- 3,796
- 28
- 87
- 158
0
votes
2 answers
label Autopostback abilty
I have Two Dropdown boxs in my Asp page. Once user changed the value one of a dropdown, it fire the Autopostback and display a new selected value on a label.
label.text =…

devan
- 1,643
- 8
- 37
- 62
0
votes
3 answers
AutoPostBack="true" will do unexpected table invisible in ASP page
I have a Check Box in my asp page. Once I clicked on it, the page display (visible = true) a table id='xx'. This table has two rows. A Dropdown and a Lable.
![]()
devan
0
votes
2 answers
How to update gridview when upon click submit button?I want to add booth detail into database, after user insert booth alias, select booth type and booth duration, next click submit button and the newly added record will appear in the gridview below the old records.
I know there are something missing…
![]()
mcheng
0
votes
1 answer
Make a .net WebForm dynamic without autopostbackHere's my issue, I'm using visual studios 2010 and I'm trying to create a form to fill then send it. This form requires a fileupload and some informations. The problem is that when I want to show/hide some pannel or textbox I can't do it dynamicly…
![]()
WizLiz
0
votes
1 answer
MVC3 DDL Autopostback selection likeI know MVC doesn't have autoposback functionality and that needs to be done using JS/JQuery, and that is when my problems start... don't know how to do it yet.
This is how I populate my ddl:
@Html.DropDownListFor(x => x.CurrentCountry,
…
![]()
kooshka
|