postback

$.post form with facebox and redirect

Using Facebox with .NET (Web Forms) is painful--this primarily HTML site was designed by someone else. I may have IIS (7.5) issues as well. This Facebox pop-up is in a separate file, login.html, that is called from index.html: $k('a[rel*=example_2]').facebox_1({ loading_image : '/images/loading.gif', close_image : '/images/closela...

postback times are the same no matter what is happening

I found this by accident and feel that it must be a settings issue. I was initially trying to solve a problem with uploading large files. In the process of implementing a solution I was able to get the file uploaded in approximately 2 minutes whereas before it would timeout after a much longer time period. The strange thing is this: the ...

ASP.NET postbacks lose the hash in the URL

On an ASP.NET page with a tabstrip, I'm using the hash code in the URL to keep track of what tab I'm on (using the BBQ jQuery plugin). For example: http://mysite.com/foo/home#tab=budget Unfortunately, I've just realized that there are a couple of places on the page where I'm using an old-fashioned ASP.NET postback to do stuff, and whe...

DotNetNuke, PHP, Simulating a remote postback using curl

I have a page in DNN like: http://nolimitswebdesign.com.dnnmax.com/test/tabid/57/ctl/Edit/mid/374/Default.aspx I need to send a post request to that page using PHP+Curl which modifies the content of text area and saves it (like as if someone modified it manually and clicked the update button on that page). I doubt that with DNN it might...

GridView: Columns.Insert() cause my data to vanish on postback, but Columns.Add() works OK?

I have a GridView that has several dynamic columns (I do not know how many at design time and it could be 0-12 columns, hence need for dynamic columns). I have the columns in the grid and data bound to them - works great. There are other standard, design-time TemplateField columns with TextBox controls in them. These are bound with va...

Curl RETURNTRANSFER data ?timing? problem and multiple identical POSTs

Hello, I am running into a sporadic problem with curl's RETURNTRANSFER option. I am not sure if I have overlooked something in my code that is causing it, or if it is just not well documented and I am unaware of the RETURNTRANSFER workings. I am using curl (via php) to send xml data via POST to an external listener. If successful, the ...

Button clicked twice before postback

Hi, This is really driving me crazy having been on it for hours. I have a url whose query strings are concatenated based on selected items on a form, I need to do a post to this url, but an imagebutton control has to be clicked for the post to occur. I put the PostBackUrl property of the imagebutton inside the event of the image button,...

ASP.NET, Open new window on postback

Requirements: We have a form for users to submit. On submission, form data is used for calculations and generation of reports. On postback, a confirmation message and further options are displayed. We want to display report in a new window/tab. Conditions: We do not want to use JavaScript on postback to open a new window onload as this ...

How to prevent master page postback when update panel asynchronous postback happened

Hello everybody. When an asynchronous postback happened inside update panel, another postback happens also for MasterPage not only update panel embedded page . I want to prevent this MasterPage postback . is this possible ? think like i have a MasterPage and another page which is test.aspx which is content page of MasterPage i have...

How to validate after a certain number of postbacks

Hi I have a peculiar situation at hand in which I need to validate a pair of dates in an ASP.Net web app.This is how my page looks like : I have a "From Date" field which consists a set of three dropdownlists ( for Year , Month and Date) I have a "To Date" field which also consists a set of three dropdownlists ( for Year , Month and Da...

asp.net postback before page fully loaded cause dropdownlist to have the wrong SelectedValue

We were having occasional reports where the value of a set of DropDownBoxs in a GridView would be reset to the first value item in the list. We finally tracked it down to a timing issue where a user would click Save before the page finished rendering/loading the data, and we are able to repro it on the production server but not locall...

Partial postback with Javascript

I couldn't find something similar in SO. In ASP.NET, is there any way that on cue I can cause a partial postback with Javascript in an UpdatePanel? I tried __doPostBack() but it does a full postback. I can trick it with a dummy button and fire click() then handle the partial postback that way, but I want a more graceful way than trick...

ASP.net MVC - Multiple Forms on View, each calling a different action, but need to show the same view again

I have 3 forms on my View. Each of these all post back to a different action. When the action is complete, I call my original Action that led the user to the page originally, but MVC is looking for a view of the postback Action. How can I get MVC to post to an action of a different name of the current view, while still having it reloa...

PHP: on select change, post form to self

Hi folks, It's basically what the title says.. I have a form with a select control that I want to force the form to post back to self on change. $bmsclientlist = $clientobj->getBMSClientList(); echo '<form name="changebmsid" method="post" action="' . $_SERVER['PHP_SELF'] . '"><select name="bmsid">'; foreach($bmsclientlist as $bmscli...

Ignore/disable usercontrol postback if javascript is enabled

Hi, I've searched high and low for some resolution to this problem. Hopefully someone here can explain!! I create a usercontrol that uses .NET web controls, but I want to create a smoother user experience by avoiding full postbacks, so I write some JQUERY to capture click events on the client and in this way do the processing without g...

Repeater renders as <div> on first page load and re-renders as <table> after postback

I'm running into a weird issue. I'm using a repeater to render a list of products. On initial page load, my repeater renders as a <div>. After I postback (via jQuery), it comes back as a <table>. Is there some way I can prevent it from coming back as a <table>? As you can imagine, we run into style and selector issues when it come...

can anyone help me please - validator in modal popup prevent my button from postback

i m using asp.net .net 3.5 with c# and ajax control toolkit i have a very strange problem for some reasons i m forced to use the following solution i have a situation that includs a validation control inside a usercontrol that is loaded on the page using a modalpopup when i click a button from inside a gridview the problem is that t...

How can I debug problems related to (lack of) postback

I have created a custom wizard control that dynamically loads usercontrols as you progress though it. The wizard is behaving as expected in all environments (PC/MAC) and browsers I have tested however a client is reporting that she is unable to complete the wizard. What I know about the issue: It always fails on the same wizard step fo...

Javascript and Postback problem

I have a button when i click it, some text from a textbox is got and written inside a p tag via javascript. I have another button that cause page postback. But after postback, contents which added by javascript are disappearing. Is there a way to solve this problem ? ...

How jQuery spinner for ASP.NET postback (not Ajax) ?

Using VS 2010 here. Basically some of my linkbuttons kick off a long database query, how can I automagically display a spinner when the page is waiting for a postback? Mind you, this isn't an ajax postback, but a normal postback after clicking a server linkbutton. Thanks ...