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
4
votes
3 answers
Validation Message still show up when an autopostback dropdownlist fires
I have a required field validator to validate a dropdownlist. this dropdownlist is an autopostback one, and it's causevalidation property is set to be false.
the issue is, when I select the default item, the validation message shows, but the still…

fengd
- 7,551
- 3
- 41
- 44
4
votes
2 answers
Restore a drop down selected item after postback
I'm trying to refresh page when an item of the drop down list is selected.
DropDownList never gets last selected item, it always restores the one which is saved in ViewState. ViewState doesn't want to remember new stuff, it always keeps one and the…
user2182397
3
votes
0 answers
Stop disappearing ModalPopup panel (shown by ModalPopupExtender ) on changing text of a textbox (TextChanged event fired by AutoPostback)
I have a html table inside of a panel control.
It will be shown by a ModalPopupExtender by clicking on a LinkButton.
inside of the panel, there is a textbox which its "AutoPostBack" property is Ture and when user enters a value in it, TextChanged…

odiseh
- 25,407
- 33
- 108
- 151
3
votes
2 answers
jQuery Autocomplete losing text on AutoPostBack
I have a jQuery Autocomplete field on an ASP.Net Webform and everything has been working great until now. I also have a DropDownList that I have a need to fire onSelectedIndexChanged with AutoPostBack.
When I changed my code to do the AutoPostBack,…

Moose
- 5,354
- 3
- 33
- 46
3
votes
8 answers
DropdownList autoposback after client confirmation
I have a dropdownlist with the autopostback set to true. I want the
user to confirm if they really want to change the value,
which on post back fires a server side event (selectedindexchanged).
I have tried adding an onchange attribute "return…

Aamir
- 791
- 3
- 15
- 28
3
votes
2 answers
How can I refresh a dropdownlist during an event of another dropdownlist without refreshing whole web page?
I am developing my first asp.net website, my requirement is to refresh DropDownListB at SelectedIndexChanged event of DropDownListA, I have set AutoPostBack="True" for DropDownListA. Now the problem is whole web page gets refreshed, its…

love Computer science
- 1,824
- 4
- 20
- 39
3
votes
1 answer
Focus on TextBox is triggering PageLoad using C# .net
I have a function that set focus to the next field via JS on the form when press enter:
function pressEnter(obj, e) {
var key = e.keyCode ? e.keyCode : e.which;
if (key === 13) {
var total = document.forms[0].elements.length;
…

Varois
- 131
- 3
- 16
3
votes
2 answers
ASP.NET w/ VB.NET - MultiSelect on ListBox Or CheckBoxList w/ AutoPostback enabled
Background: I have a winForm app that registers a user in the database based on the user input provided in the form, auto-generates a random password and username for the user, and e-mails the user a link to take an application based on the…

Brian McCarthy
- 4,658
- 16
- 49
- 66
3
votes
4 answers
ASP.NET DropDownList AutoPostback Not Working - What Am I Missing?
I am attempting to get a DropDownList to AutoPostBack via an UpdatePanel when the selected item is changed. I'm going a little stir-crazy as to why this isn't working.
Does anyone have any quick ideas?
ASPX page:

Ben Aston
- 53,718
- 65
- 205
- 331
3
votes
1 answer
Dropdown OnSelectedIndexChanged not firing
The OnSelectedIndexChanged event is not firing for my dropdown box. All forums I have looked at told me to add the AutoPostBack="true", but that didn't change the results.
HTML:
…

Jim
- 3,425
- 9
- 32
- 49
3
votes
2 answers
Are the ASP.net __EVENTTARGET and __EVENTARGUMENT susceptible to SQL injection?
A security review was done against one of our ASP.net applications and returned in the test results was a SQL Injection Exposures considered to be a high risk item.
The test that was performed passed a SQL statement as the value of the…

Schleichermann
- 1,126
- 3
- 15
- 26
3
votes
3 answers
How to resolve " a control with id X could not be located or a different control is assigned to the same ID after post back" in asp.net?
Please help me to rectify this error.
An error has occurred because a control with id 'ctl81' could not be
located or a different control is assigned to the same ID after post
back. If the ID is not assigned, explicitly set the ID property of
…

Kiranramchandran
- 2,094
- 16
- 30
3
votes
1 answer
Chart Visual Studio disappears after postback
i develop a website with VS2010.I have added a chart from toolbox that displays a line after a button is clicked.But while the chart appears fine the time i press the button, after a PostBack (for example i change the content of a textbox) the chart…

Josh
- 53
- 1
- 7
2
votes
0 answers
Autopost back timing out - Only in opera
I don't really know where to start with this one and posting code is hard because there are a few routines that are involved. Basically, I generate a bunch of radio buttons at runtime and add them to a placeholder on my form with…

webnoob
- 15,747
- 13
- 83
- 165
2
votes
5 answers
HTML form with single text field + preventing postback in Internet Explorer
I have noticed a rather strange behaviour in IE.
I have a HTML form with a single input text field and a submit button
On Submit click I need to execute a client side JavaScript function that does the necessary.
Now when I want to prevent the…

SudheerKovalam
- 628
- 2
- 7
- 13