I'd like to warn users when they try to close a browser window if they didn't save the changes they made in the web form.  I'm using ASP.NET 3.5 (with ASP.NET Ajax).  Is there a common solution which I could easily implement?  EDIT: maybe...
I am using the __doPostBack method to refresh the UpdatePanel in javascript. I just want to wait for the update panel to get updated and then execute the subsequent javascript code. How do I wait on an asynchronous method to complete before I proceed...
I'm trying to learn about how AJAX stuff works under the hood.  Say I have an asp.net form with a button on it.  I then have a database with a single column DateTime.  When I click the button on the asp.net form I want to insert a column in the d...
I'm building a shopping cart page that could potentially contain dozens of separate items. Each item has a collapsible panel that contains several form elements that can be used to customize it. Most of the cart is wrapped in an UpdatePanel so th...
So I was just minifying using the AjaxMin.dll in my project on every build/deployment for all js/css files with the default settings.  This turned out to be a bad idea.  One of the third party javascript files that we have has a nice eval statement w...
Here is a hum-dinger of a problem that I have not found an answer for.   I am using the ASP.NET ajax control toolkit controls on a few pages, which by nature want to load script resources via WebResource.axd. This is all well and good for some applic...
I have a js object structured like:  object.property1 = "some string"; object.property2 = "some string"; object.property3.property1 = "some string"; object.property3.property2 = "some string"; object.property3.property...
I know there's an easy answer to this, but this comes in the form of 2 problems.  Problem 1:  In an asp.net page there is a javascript block like this:  <script type="text/javascript">     function doSomethingRandom() {         var...
In code-behind I can do this to select something:  // Select item in first DropDownList myCascadingDropDown_1.SelectedValue = itemValue_1+":::"+itemText_1;  // Select item in second DropDownList myCascadingDropDown_2.SelectedValue = itemValue...
I'm using ASP.NET Ajax. How can I tell the browser to close the current window after the server call finishes (server-side code)?  I managed to do this using the ASP.NET Ajax's ScriptManager method "RegisterDataItem" in the server met...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.