I am actually successfully running a production website with ASP.NET MVC under Mono in a Ubuntu LTS Linux. This server is located somewhere in the cloud and it rocks!
Today, I have tried to make it all work with ASP.NET MVC 2 Preview 2, which can be found here: ASP.NET MVC 2 Preview 2
I have downloaded the source code because I wanted ...
This code causes a strange bug in ie8. It comes from MicrosoftAjaxAdoNet.js in link text
function Sys$Data$_AdoNetBatchWriter$startChangeSet() {
this._changesetBoundary = "changeset_" + this._createBoundary();
this._changesetEntries = [];
}
Before calling this function, this._changesetEntries is always null. I e...
Hi everyone. Im building a small form using ComboBoxes with lots of items, and it seems after exactly 510 items added, the ComboBox stops working, and the combo button is hidden.
Is there any maximum number of items that can be added? Or this might be other problem?
Thanks in advance
...
im getting this error when i click my radio button, what is the solution for this------
invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate f...
Why AjaxControlToolkit contains controls like DropShadow that are not related to Ajax really? Such controls just make use of JavaScript and does not send or receive any data to/from server?
...
I know that I can use following piece of code to refresh a div:
<%=Ajax.ActionLink( "Update", "Administration", new AjaxOptions { UpdateTargetId = "grid", LoadingElementId = "grid-wait" } ) %>
But this creates a link; user will have to click on it to get the view refreshed.
How can I make it automatic, i.e., like say if I want the gr...
I am getting method error 12029 in my web application which is fetching the data from the database, this error occurs when the connection to our database server cannot be established or when the page is not able to retrieve the data from the DB
Actual scenario in which this error usually occurs is:
I have got a cascading dropdown list ...
I have a popup extender linked to a panel as illustrated by the markup below:
<asp:Button runat="server" ID="buttonViewQuestionPopupController" style="display:none" />
<ajaxToolkit:ModalPopupExtender
runat="server"
ID="popupViewQuestion"
PopupControlID="panelViewQuestion"
TargetControlID="buttonViewQuestionPopupCo...
What is the role of AjaxControlToolkit.dll.refresh file ?
...
Hi Group,
I would like to trigger a PostBack when the asp:LinkButton "addToCartButton" is clicked (see code below).
I have declared a PostBack Trigger with the asp:UpdatePanel "updPnlProductsList" (see code below).
<asp:Panel ID="pnlProductsList" runat="server" Visible="false">
<asp:UpdatePanel ID="updPnlProductsList" runat="server" U...
I am running the ASP .NET AJAX Toolkit 3.5.
I have setup a panel with a collapsablePanelExtender and it works in Firefox 3.5 but not in IE7! In IE7 all the "collapsed" panels never shrink - activating the button does nothing.
My code:
<asp:ImageButton ID="btnA" runat="server" ImageUrl="~/Image/expand.gif" />
<asp:Panel ID="pnlA" run...
I'm trying to select a particular set of div elements and change their height properties to auto. The jquery code I use to do that at the moment is:
$("div#TreeView1 td > div").css("height","auto");
Unfortunately I have to use the MS javascript lib (despite my protests). How can I do something similar using Microsoft's ASP.net AJAX?
...
Situation-->
there are two ajax controls used....
The first one
acts as a prompter, that is, the person types say a letter l in the textbox, and the options starting with l are diplayed for the user to click and select.
The second ajax control
also acts a prompter, that is, when you type a letter l in the second textbox, it dis...
I have a User Control, named MyUpdateControl, that fires a startup script - its HTML is simply:
<div id="updatableArea"></div>
The startup script is added in the User Control's OnLoad():
string doUpdateScript = String.Format(
"DoUpdate('{0}')",
someValue);
this.Parent.Page.ClientScript.RegisterStartupScript(typeof(Page), "DoU...
Hello guys,
I've got a CheckBoxList, which is populated via .DataSource, getting some items from the database. Each one if this items got it's ID according to the ID on its database record.
What I need is, when the user clicks item with ID 34, it shows him a panel/popup...
I already have everything, the popup and all. Just don't know ...
I would like to cause a post back that occurs only once by inserting some AJAX into the page after a specific event occurs.
Currently I have:
string script = "<script language='Javascript'>" +
"__doPostBack('GetSpreadsheet', '');" +
"</script>";
Page.ClientScript.Regi...
I have a problem when updating the source of an ASP ListBox in an AJAX update panel. When I set the source of the ListBox to a large dataset, I would assume it would take a small amount of time to render due to the number of items. However, when the DataSource is switched at run-time to a smaller set of items, it takes just as long to ...
OK, this is my situation;
I have a MasterPage. On the left hand side is a UserControl for navigation. In this UserControl I have another UserControl which shows details for the current "active" selection.
What I want to do;
When a user selects, say, a Customer in the main content area I want to populate pertinent details in the Activ...
I have been trying to add a toggle button using the ToggleButtonExtender and the MutuallyExclusiveCheckboxExtender. However, I cannot add an additional client side event handler for the click event of the Extender created button. I tried to add a BehaviorId that I access in the onLoad of the Javascript via the $find('') function. However...
I dont think i quite get the Ajax functions in mvc, because i get this wierd problem.
I got the following code which makes my ajax call, it is placed in a partial view with a productList:
<% using(Ajax.BeginForm("AddToBasket", "Basket",
new { productID = item.Id },
...