postback

ASP.NET Keep fileupload after postback

Hi, I'm writing an intranet ASP.NET page using VB.NET. I've run into a particularly nasty problem dealing with handling file uploads. I'll do my best to explain the problem, and perhaps someone can help. My problem is almost a duplicate of this one, or this one, except (other than the filename) I don't care about sending the file to th...

Using a Timer post back, which controller to use that doesn't post back to server?

Being new to ASP.NET I have run into trouble building my own Whack-a-mole program. I think my problem comes from using Buttons, which by themselves send post backs to the server, making the software unusable. The looks are in place, making new buttons show up in the grid, in different places by random. However, when a button is pushed – ...

how to achieve/mimic asp .net button postback behaviour using a normal html button, image or anything clickable?

Hi all! Here i m once again here to seek your help :) Now i have a problem where an asp .net button/image button is not doing the postback! The problem at hand is in this page: http://www.datespeed.net/ Here i have a gray themes panel. Where there is a themes dropdown and an asp .net image button called apply. Now the dropdown is doi...

Child user control Button as AsyncPostbackTrigger for update panel on parent control.

I would like to have a button in my child control be an asyncpostback trigger for an update panel in my main/parent control. Any simple solutions? And is this bad practice? If so why? Thank you. ...

ASP.NET No postback on asp:ImageButton

Hello, I have an ASP page with an asp:DropDownList (with AutoPostBack="true") so that when the user changes it, it reload the appropriate data. Under that control i have a list of UserControls, that includes a tinymce editor (tied to an asp:TextBox) and an asp:ImageButton to save the data. When clicking on the ImageButton, the applica...

iFrame Postback

I have an aspx page containing two update panels as well as an iFrame. On $(document).ready of aspx page within the iFrame i call a javascript function on the parent to update my update panels via a partial page postback. This all works until i perform a postback within the iFrame. I then recieve a dirty-dot-net error... Invalid postbac...

ASP.NET textboxes hold their text property after post back

on the msdn we have this http://msdn.microsoft.com/en-us/library/ms972976.aspx. Generally the life of a web site looks like this: Initialization->LoadViewState->LoadPostBackData->Load->RaisePostBackEvent->SaveViewState->Render I have a placeholder on my aspx side it looks like this: <asp:PlaceHolder ID="ph1" runat="server"> <asp:Butt...

Is there a difference between an F5 browser refresh and postback??(asp.NET)

I am dynamically creating dragrids in different rows of an existing datagrid in asp.NET My generated datagrids have a column which is TemplateColumn (a CheckBox Column). In my parent datagrid, I have a template column with checkboxes. when I check or uncheck the value of the check box, the check_change method is called (autopostback is...

After canceling window.onbeforeunload alert ImageButtons don't postback

I have a FormView with some basic Cancel/Update/Insert/Edit ImageButtons, and I have a ListView inside the FormView. I need to warn the user whenever he inserts new items in the ListView and doesn't save the changes. So I have a flag (an hidden input) that I fill with "1" whenever I add/remove a new item in the ListView, I have a handl...

Javascript onclick _dopostback in MVC not posting back

Hi I'm using ASP.NET MVC to try to postback after confirmation using javascript, this is the button: <input type="submit" id ="RemoveStatus" value="Remove Status" name="button" onclick="return CheckRemove();"/> This is my javascript in my CheckRemove() js function: var button1 = document.getElementById("RemoveStatus"); if (conf...

AsyncPostBackTrigger not working in my application

I am experiencing an interesting issue. We are running a website using masterpage and in one of the pages, I need to create an update panel that will display group SSID on completion. So, in one of the content placesholders, I put this in: <asp:ScriptManager ID="scManagerConfirm" runat="server" /> <asp:Timer ID="tmrStatus" OnTick="tmr...

postback on click for type ahead drop down

I have a type a head drop down list that I created. Clearly I had to turn the AutoPostBack to false because otherwise it would post back as the user was typing. But I want to poast back when use has made his selection. I don't wanna use a submit button or anything like that. Long story, just trust me it's not the solution for my situati...

How to reset radio buttons selections on postback?

This is a Drupal Forms question. I am working on a UI that dynamically creates rows of 3 radio buttons based on a selected date. The problem I am having is that if I make some selections of the radio buttons and choose another date to get another set of radio buttons, the radios that were in the first list maintain their selected status...

Aborting a thread in ASP.NET

protected System.Threading.Thread m_searchthread = null; Question: I've implemented a search algorithm, which a user can start from an ASP.NET website. When the user clicks on Button "Start", this code is executed: m_searchthread = new System.Threading.Thread(new System.Threading.ThreadStart(Search)); m_searchthread.IsBackground = tr...

Spot the place that submits the form in ASP .NET

Hi, I have a form on ASP .NET page, with button onclick event attached to doPostBack function. However when I click that button form gets submitted twice. Server side debugger enters Page_Load twice, Fiddler records two aspx requests etc, there are no 302 redirects etc, it's pretty straightforward page. When I set breakpoint in __doPos...

Fullcalendar: back to selected date after postback

Hello! This question about jquery plugin fullcalendar. How I can return to selected date after postback?.. For example, i have week agenda as default view. Assume I choose next week (custom week) and create the event in it. After postback I return to default week, but I want get custom week. How can be resolved this issue?.. Please he...

jQuery and LinkButtons, or Regular Buttons and CSS

I've got a small login control on my master page. On the login control, I'm using a LinkButton for the Submit button because I like the way it looks. However, I'm also using jQuery to capture when the 'enter' key is pressed in any of the login control text boxes. It's difficult to trigger the click event of a link button with jQuery in ...

Listview inside UserControl raises full postback

I have UserControl and within that control i have asp:ListView. Inside the ListView i have a asp:LinkButton. When i click on the LinkButton the control raises full postback, no matter if the UserControl is inside UpdatePanel or is not. UserControl: <asp:ListView ID="lvImages" runat="server" OnItemCommand="lvImages_ItemCommand"> <I...

Form fields not retained on postback

I'm developing a website using EPiServer. I have a form which submits to itself. On submit, I check if there are any fields missing. If yes, then error message is shown. The problem is that my fields are reset when submitted. I could check this using jQuery, but I'm not. I'm cheking this from code behind. I've tried setting EnableView...

ASP.NET - Using CheckBoxes in a Repeater.

I'm a tad confused. I have a Repeater which populates a list of Checkbox controls and Label controls. But it doesn't seem like the checked state of the checkboxes is remembered in ViewState until AFTER the first postback. Scenario: I have 5 items in my custom checkbox list. I select the first 3 and submit the form. The first 3 are ...