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'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...
<body> <table align="center" width="100%" height="100%">     <tr>         <td align="center" id="previousPhoto">             @if (Model.HasPreviousPhoto)             {                 if...
I compress my own JS using YuiCompressor, but is there any reason why MicrosoftAjax.js not minified? Or is there some setting to say run the compressed version of it (if there is a compressed version). Or do I need to decompile it and minify the scri...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.