The following Server-Side code works:
[OperationContract]
public IEnumerable<object> GetBooks() {
var people = new List<object>
{
new Book{ Author="Richard Preston", Title="The Hot Zone"},
new Book{ Author="Jim Norton", Title="I Hate Your Guts"}
...
Aside from enhanced user experience, do Ajax calls provide any significant performance benefit?
...
I need to implement a grid in asp.net that behaves almost exactly like MS Excel.
- can navigate around with arrow keys
- you can edit the cell that currently has focus by simply typing
- supports checkboxes, dropdownlists, etc
One crucial requirement is....I need to be able to somehow, after update of any cell within a row, pass that up...
Im trying to change images on click similar to what SO does with the vote arrows and checkmark.
Im thinking either to :
1- Have each image be an Ajax.ActionLink and return a different image when clicked.
2- Have the images be the background of a Hyperlink and use Ajax.ActionLink to replace the css class to get a new image.
3- Use JQ...
hi,
i am looking for a basic example that shows how i could call a webservice with the client side javascript that comes with the ASP.NET Ajax Toolkit.
i already found some example that shows how you do it with ASP.NET WebForms but i am using ASP.NET MVC so no fancy ScriptManager for me :(
does somebody know a insightful blog posting ...
I've got a submit button using Microsoft's ConfirmButton extender to ask "Are you sure?". However it fires regardless of whether or not the page passes client-side validation.
<asp:TextBox ID="TextBox1" runat="server" />
<asp:RequiredFieldValidator ID="RequiredFieldValidatorTextBox1"
runat="server"
ControlToValidate="TextBox1"
...
Hi there,
I have a GridView inside an UpdatePanel that is populated when a search is performed on the page. When it is populated or the page changed, it performs a fade animation. There are other operations that I want to perform that update the UpdatePanel, but I don't want these to perform these fade animations. The closest I have fou...
I just got my first Unit Test project working, and immediately ran into some problems. One of the nice details about the Unit Testing concept that were pointed out to me was that I won't have to mock up http-contexts or such in order to test my application.
However, I have made use of the Request.IsMvcAjaxRequest() check in my controlle...
I'm trying to create a bookmarklet that will start off an AJAX call to an aspx page I've written.
The code tests out perfectly when I place the javascript in a static html page, but when I try and call it off from a bookmarklet, the code will just hang at the xmlHttp.open("GET", url, true) part.
The code of the bookmarklet is basicall...
I am setting the datasource of my radGrid to a dataset (that I have stored in session).
I have enabled AllowAutomaticUpdates and EnableViewState, implemented NeedDataSource, set DatakeyNames, etc. (see code below)
However, when I press the Edit button and make a change and press the Update link, the record does not update and leave Edi...
Hi,
I am using the asp.net ajax libray, and i'm trying to get an animation extender to trigger from a timer. Basicly i'm going to use the timer to lookup some info, and if the relevent info is found use an animation extender to tell the user about it.
I can get the animation to trigger using a normal button, and the timer is working bu...
I have an Ajax actionlink that requests a string in the controller method. I want to insert that string into an attribute of a hyperlink. HOw do I specify the attribute field of the target id element?
<img id="CHANGE-MY-SRC" src=ViewData["src"] >
<%=Ajax.ActionLink("Change IMG Source","actionChange",new AjaxOptions()
UpdateTar...
I am calling a web Method from javascript. The web method returns an array of customers from the northwind database. The example I am working from is here: Calling Web Services with ASP.NET AJAX
I dont know how to write this javascript method: CreateCustomersTable
This would create the html table to display the data being returned. Any...
I have a user control that has multiple update panels
On Page Load, I load a child user control dynamically onto the PlaceHolder (I do this everytime and don't check for postback)
I want to be able to maintain the state of the changes that a user makes in the Child user control. (The ch...
I am having an issue when my asp.net AJAX Update Panel updates it renders the contents at the top of my table rather than in the place it belongs below is my code:
<tr>
<td>
</td>
<td>
<asp:CheckBox ID="ddCheckbox" runat="server" Text="Checkbox"
AutoPostBack="true" OnCheckedChanged="ddCheckboxChanged" />
</t...
Under what circumstances would you use MicrosoftAjax over jQuery in an ASP.NET MVC application?
According to Scott Cate in this podcast Object Oriented AJAX with Scott Cate MicrosoftAjax is good for sending and retrieving data to and from the server. And jQuery is good for manipulating your data via the DOM once it arrives at the client...
I have two Ajax Toolkit calendar extenders. One of them is a start date and the other is the corresponding end date. What I would like to happen is when a date is selected in the Start calendar the End calendar will jump to that date. This sounds pretty simple but I have been having a hard time getting it to happen.
Someone put me ...
I'm starting to learn ASP.Net MVC (the release candidate), and I'm having a little trouble. I might just be being picky, but I thought I'd ask.
I want to use the built-in (extended) ASP.Net Ajax methods to make a call to my controller, called "GetNames," that returns a JsonResult object. I've seen examples that use the $.getJSON() jQuer...
Hi all.
I have a "Yes" linkbutton that trigger a popup (ModalPopUpExtender)
The popup contain a web user control that allow the user to do some data entry if they click on "Yes" linkbutton.
The Yes linkbutton is inside a asp panel with another linkbutton called "No" that is hidden and will become visible when the user click on the tex...
Now that RC1 is out I need to decide once and for all whether to use MS Ajax libraries or just jQuery for AJAX requests. The application is a new application. Essentially the way I'll decide is whether or not i get any significant benefit from the Microsoft libraries that I wouldn't get from jQuery. I already HAVE jQuery loading and I am...