asp.net-ajax

Web Service Call in JavaScript Causing White Screen of Death (WSOD) in Browser

Here's the specs: ASP.NET 3.5 using ASP.NET AJAX AJAX Control Toolkit jQuery 1.3.2 web services IIS6 on Windows Server 2003 SP1 SP1 SQLServer 2005 SP3 Site is SSL Infragistics Web Components 2009 Vol. 2 (using non-Aikido controls), UltraWebGrid and Tree control are main ones used. Here's the problem: I'm getting the White Screen of D...

ASP .NET 4.0 How do I Redirect/Override the default CDN path for ScriptManager when EnableCDN=true

I am using the EnableCdn=true in my ScriptManager so that WebResource.axd and ScriptResource.axd are overridden with static links to JS libraries at the MS CDN service as follows: <asp:ScriptManager ID="ScriptManager1" runat="server" EnableCdn="true" /> How do I override the CDN URLs or service so that I can retrieve the scripts over...

ASP.NET MVC2 and AJAX

I am currently developing a new website utilizing ASP.NET MVC2. Much of what I want to do with the website (from a front-end standpoint) involves AJAX-y-type tasks. Two examples: I want to display forms, and switch between them via a drop-down menu (or through links) without having to go back and hit the server every single time. I wa...

UpdatePanel, Repeater, DataBinding Problem

In a user control, I've got a Repeater inside of an UpdatePanel (which id displayed inside of a ModalPopupExtender. The Repeater is databound using an array list of MyDTO objects. There are two buttons for each Item in the list. Upon binding the ImageURL and CommandArgument are set. This code works fine the first time around but the Com...

Stringbuilder vs SQL FOR XML / XSL Transform

I have an interface that loads a list of documents depending on the tab clicked by a user. I've been retrieving the data through XML from a SQL 2008 database with: SELECT col1, col2 col3 FROM documents WHERE typeId = 4 FOR XML PATH('doc'), ROOT('documents') Then tranforming the XML with an XSLT stylesheet. It all works fine. To imp...

ASP.NET CompositeControl with child controls that are containers

I am building an ASP.NET server control which extends CompositeControl. I need fine grained control over the rendering, so I override Render() and output the child controls myself, interspersed with HTML generation code: writer.AddStyleAttribute("float", "left"); writer.RenderBeginTag(System.Web.UI.HtmlTextWriterTag.Div); writer.Render...

Visual Studio 2010 Professional - Problem Unit-Testing Web Services

Have created a very simple Web Service (asmx) in Visual Studio 2010 Professional, and am trying to use the auto-generated unit test cases. I get something that seems quite familiar on this site: The web site could not be configured correctly; getting ASP.NET process information failed. Requesting http://localhost:81/zfp/VSEnterpriseHe...

How do I get the User Entered Value in AjaxControlToolkit ComboBox when the enter key is pressed?

The Problem: The user entered value is missing in the .Text attribute of the AjaxControlToolkit ComboBox when the enter key pressed. Also the “on change” events events are not called but I am not using postbacks anyway so I do not care. Example: private void BuildFileListDetails(NHibernateDataProvider _providerM) { int resu...

Change panel "visible" property on MasterPage from Child pages

I want to show some panel with a label, both located on a MasterPage, from inside it's child pages.. I already did the coding on the MasterPage: public class MyMaster : MasterPage { public void ShowPanel(string pMessage) { labelInside.Text = pMessage; myPanel.visible = true; } } Then I make the calls...

asp.net mvc2 ajax.actionlink is not working refresh problem

has someone make ajax.actionlink for delete to work properly.After deleting the record successfully at the end it is not refreshing the page properly. the page refresh is my problem. i have defined the updatetarget id and returning view(model) from my controller but it is returning the master page with it. So the thing is that i am ha...

"Rebind" or page_load a usercontrol on a page when a property of the usercontrol is changed in the parent page

Hi all, i have a usercontrol.. and i'd like to set one of it's property's from the parent page and at the same time "reload" the usercontrol so it's updated. formally the usercontrol was picking up a querystring parameter and setting itself up with the querystring parameter.. now i'd like to set this from within the parent page.. open ...

MVC Ajax.ActionLink doesn't find POST method

I have a POST method declared in my controller: [AcceptVerbs(HttpVerbs.Post)] public ActionResult UpdateComments(int id, string comments) { // ... } and an ActionLink in my view: <%= Ajax.ActionLink("update", "UpdateComments", new { id = Model.Id, comments = "test" }, new AjaxOpt...

how to hide or fade ValidatorCalloutExtender in accordians

I am using ValidatorCalloutExtender for different asp controls in 3 different accordian-panes of the accordian. When i get error and i click the other accordian-pane header the error message is showing up on left top corner of the browser. How to hide or fade out this error message? ...

Dynamically updating DIV on hover of link using jquery

Hi, In my project data is display as a table with first column ID as hyperlink. On hover on the first column i need to display all the information as another table(DIV). This should change dynamically(ajax) on the hover of each ID. I am using jQuery and asp.net 3.5 Please suggest. ...

Switching to FormViewMode.Edit is very slow

When i switch an ASP.Net Formview from readonly mode to edit mode it takes more than 6 seconds(from edit to readonly takes a split second). I have no idea whats the reason for it. The EditItemTemplate contains a lot of controls(table,textboxes,dropdownlists) but in fact not more than the ItemTemplate has. Yet i have even commented out th...

Get variables in c# from ajax call

I've got an Ajax call for log in here is the code: //if MOUSE class is clicked $('.mouse').click(function () { //get the form to submit and return a message //how to call the function var name = $('#name').val(); var pwd2 = $('#pwd2').val(); $.ajax({ type:"POST", url: "http://localhost:51870...

AJAX AutoCompletExtender doesn't allow to move ahead of first item with arrow-key

Hi, I am using an AJAX AutoCompleteExtender to display a list of suburbs-postcodes after the user presses 3 keys in the given textbox. The problem is that on the page, I can't move my selection below the first item (with down arrow key/mouse). However with mouse if I click on any item, it gets selected. <asp:TextBox ID="txtPostalSubur...

GetScriptDescriptors not being called on Script Control

Hi, I'm building a script control for asp.net Ajax, and while i can get the GetScriptReferences() function to be called, i cannot get the GetScriptDescriptors(). I've tried deriving from ScriptControl, ScriptControlBase, IScriptControl. I'm registering the control with the pages script manager, but i still cannot get the function to ...

Should i use TabContainer for multiple pages?

I'm considering if it is a good idea to use an ASP.Net TabContainer-Control in the way that every TabPanel contains content of a different page. For example: Next i want to implement in my application is the masterdata management. Normally i would create one aspx page for every masterdata-table (f.e. Customer -> MD_Customer.aspx). Then i...

HttpSessionState Where, How, Advantages?

You see the code below, how I did use the session variable; So the three questions are: Where are they stored? (Server or Client side) Are they unique for each web page visitor? Can I remove it using ajax or simple js code when my job is done with it? or it will be removed automatically..? . sbyte[][] arrImages = svc.getImagesForFi...