asp.net-ajax

Deploying Asp.Net 2.0 AJAX Extsions in BIN folder

My web server does not have the framework installed and they are telling me to use the DLLs in bin folder.. is there any difference (performance, security etc) between deploying it by server installation and through bin.. ...

JSON Self referencing loop explanation

Hi people. I am doing some work with C#, AJAX and JSON and am getting a Self referencing loop error. I am managing to get around this using the JsonIgnore attribute, but I was wondering if someone can give me a proper explanation as to what is actually happening here. Many thanks. Dave ...

Problem with Ajax update after Delete action on Index view in ASP.MVC

I'm trying to do an Ajax delete in a fairly standard Index few, i.e. I have a generated Index view with one added filter drop-down, of little relevance here. I have changed the free Delete Html.ActionLink on every row to an Ajax.ActionLink, and the delete and ajax update work, but whichever container div I try and update, I always someh...

javascript code in usercontrol loaded in updatepanel

Hi Folks I have an updatepanel which contains a linkbutton(such as lnk1) and a panel(such as panel1) . everytime user clicks the link1 , a certain usercontrol (such as uc1) loaded dynamically in panel1 . In uc1 , I have a modalpopup that fires by a button in uc1 . I want in modalpopup when user clicks background , the modalpopup hide ....

Very long running XmlHttpRequest

I am writing an application which needs "near real-time" updates from a browser app. The other requirement is that it use as little as possible bandwidth (so polling is not an attractive option). My idea is to use an XmlHttpRequest and just let the server wait to respond to that request until there is something to send back. This coul...

What DOCTYPE should I target today?

I'm refactoring a .Net web application that is in <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > Right now the approach is just to aim for the stars and go for the latest doctype just because it's latest, I would like to make a wiser choice and target a specific one and for good reasons. There are similar questions...

Problem with cascading drop down in asp.net

Hello friends, I have two cascading drop downs on my page i.e. ddlInsCompanies and ddlInsAdjusters. Both the DDLs are data bounded using a web method from web service. The Cascading DDLs are working fine and i am able to save data as well. The problem here is that when i try to open up the record, the selected value for ddlInsCompanies...

refresh parent page in ASp.net from PopUP window.

Hi, I am using ASP 3.5, I have a page displaying data in grid.On click of a button, a popup window is displayed using javascript.I have two buttons "OK" and "Cancel" button in the Popup window.I have written code on "OK" button click to insert data into database and the refresh the parent window.To close itself and refresh the parent pag...

How do I enter a plus sign ASP.NET Ajax HTMLEditor

I am using Microsofts ASP.NET Ajax HTML editor found here http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx. When I enter a plus sign '+' into the editor it always gets stripped out and replaced with a space. I even tried using &#43; but that failed to work. Is some way to enter a plus sign into the editor?...

Need help with Asp.net and AJax Control Toolkit

I am currently making a website that uses the Ajax Control Toolkit and when I try to log in to the website I get this error: Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScri...

Issue using HoverMenu Extender

Hi, I am trying to use HoverMenu extender from AJAX toolkit in Visual Studio 2008. But after adding extender while clicking on "Add Dynamic Populate page method" option, it is throwing the below error message. Cannot create page method "GetDynamicContent" because no CodeBehind or CodeFile file was found! Any idea to solve? ...

jQuery Appended iFrame IE Only Throwing MS Ajax Could Not Be Parsed Error

On an Aspx page, I have this markup (setup for a jQuery UI dialog): <div id="modal_showNewlyGeneratedPasscode" class="hide"> </div> I do not have the iFrame inside the because that was giving me all kinds of MS Ajax errors. So, when an updatePanel is triggered, I dynamically put an iFrame in the above : $('#modal_showNewlyGenerat...

Does AJAX 2.0 + still send full postback on requests

Hello, This is a general question really. I had read some where, it may of been an Microsoft whitepaper or blog I am really not sure as I dont have the link right now. Basically, the person was describing that (of which he referred to AJAX.Net 1.0) when using an update panel, although you would expect only the controls and components a...

Drop down List Filter with ASPX , AJAX controls,or JQuery?

I am looking for a filtering mechanism, as the user types in the drop down box I want to filter the list to the list items that match what the user is typing. Is there any premade control for this or does anyone know the best way to achieve this feature? Thanks ...

Ajax TabContainer Question

Question: I added an ajax tabcontainer control to my aspx page, the first tab appears, but not the second or third tabs appear when I click on it? Can anyone help? ...

$.ajax Working in Firefox but not in IE

I have a checkbox server control called chkboxContact. on check iam populating the Jason data into the textbox its working fine in Firefox but not in IE.Please Suggest .Thanks <script type="text/javascript"> function GetInfo() { var checkboxInfo = $('#ctl00_PlaceHolderCenter1_chkboxContact'); var domcheckboxInfo = checkboxIn...

ajax hover menu problem with windows 7

i have a web site with c# i make menu with ajax hover menu extender , the menu ok with windows xp but in windows 7 it doesnt appear ...

Can we make the content in div tags invisible on Page Load

<div class="reusableBlueContent"> <table cellpadding="0" cellspacing="0" style="width: 500px;"> <tr> <td colspan="6" style="height: 24px;"> <h3 style="text-align: left; height: 23px;"> Package Recap</h3> </td> </tr> I have something like this. I want to make "Package Recap" invisible when the pa...

UpdatePanel Problem

I have a UpdatePannel Button and a TextBox.Button is inside the UpdatePannel control and the TextBox is out side the pannel control so i want print some text in the TextBox on the button click which is inside the UpdatePannel control. <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> <asp:UpdatePanel ID="UpdatePanel1" runat="serv...

AJAX Control Toolkit TabPanel on an ASP.NET MVC View gives an HttpException "OutputStream is not available when a custom TextWriter is used."

I have installed the AJAX Control Toolkit following the included instructions and I'm trying to add a TabContainer with a couple of TabPanels to a view in an ASP.NET MVC application. Is this possible? I can get the TabContainer and TabPanel controls to work in a Webforms application but not in MVC. In one of my views I have the followi...