Right, so I have to build a web app in asp.net 2.0 winforms. Id much much much prefer 3.5 MVC. because its cleaner, leaner, more modern and makes more sense to me. I know 3.5 MVC well, and have come from a Rails background, so this webforms stuff looks kinda gross to me :P.
Anyway, I need an AJAX-backed tree control, one that loads the ...
HI have js script which calls my aspx
JS
new Ajax.Updater('display', '/myForm.aspx?lat=' + lat + '&lng=' + lng + '&zoom=' + zoom, { method: 'get' });
myForm.aspx loads the form correctly. However when i submit the form it loads a new page. How do stop the page reload??
myForm.aspx
<form id="form1" runat="server" >
<asp:Scr...
I have an Ajax.Action link hooked up to a post method in my controller class that returns a ContentResult. I'm able to make the request and get the response just fine when looking in a tool like firebug, but I'm having problems trying to actually access or do anything with the response text.
Basically, I have something like this in my ...
hi,
i am really confused here, as i read many places, Update panel makes a full post back, and i have somehow understood that web serivces are much much better for performance, so if i am developing my site should i user web services or normal functions like the following
protected void Page_Load(object sender, EventArgs e)
{
GetD...
Hi, I'm trying to call a Modal Popup, but the TargetControl is in a different UpdatePanel than where the ModalPopupExtender resides.
Here's the code:
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:LinkButton ID="LinkButton1" runat="server">LinkButton</asp:LinkButton>
<...
I'm using ASP.Net AJAX and I created a web service in my application. The service has one method (AddWatchedFolder) and it takes a Name.Space.WatchedFolder as the only parameter. The problem is, ASP.Net AJAX isn't generating a javascript type for Name.Space.WatchedFolder even though I've added the service to a ScriptManager.
I am able t...
If you don't know what the operation aborted error is, here's a Microsoft KB Article about it, http://support.microsoft.com/default.aspx/kb/927917 . There's also tonnes of posts about it but the simple answer for it's occurrence is this; the error only occurs if you try to manipulate a DOM element via JavaScript before the element you ar...
I have a Repeater with an ASP.NET AJAX 1.0 UpdatePanel inside it. There are buttons outside of the UpdatePanel but still in the repeater. When a section inside the UpdatePanel appears (it's a hidden Panel control that appears when user answers a question a certain way), the buttons at the bottom disappear.
Here is an illustration.
[RE...
hi all,
My application's JavaScript is working on Firefox and IE but it is not working in Google Chrome. Is it problem of enable javascript in Google chrome? or I must put any code in javascript for getting XMLHttpRequest Object of Google chrome browser.
...
Hi,
Does jquery support both function pageload() and $().ready() ?
Or is pageload() for ajax.net ?
...
I have some jQuery that loads a partial view and inserts it into the DOM. So far, all good.
But now I've made some changes to the rendered user control to include an Ajax form. However, the submit button for this form doesn't appear to trigger the Ajax call. From what I can tell, it's not doing anything at all. My breakpoints in the con...
Having gone through the pain of converting an ASP.NET website project to a web application project, I am now have trouble deploying this to our live web server under IIS5.
Under my local development machine (running IIS7) the deployment is working fine. I publish the web application project in Visual Studio 2008 to a folder on my local ...
I have a webform that has two UpdatePanels, one with a GridView and the other a FormView (Master / Detail).
When a record is seleceted from the GridView the FormView displays the detail of the record in Edit mode.
One of the asp:TextBox inside the FormView should become a InnovaStudio WYSIWYG editor.
The problem I have is when the Form...
I am using a RadGrid from Telerik with Ajax enabled. Whenever an Ajax call happens, the page responds with 56 KB of JavaScript validators in addition to the new grid data (in addition to 40k of viewstate - argh). Is there any workaround for this?
...
We have several pages in our ASP.net Ajax application which auto refresh the UpdatePanels contents based on a timer event but the problem is that we have a requirement to timeout the web session and the auto refresh is preventing that.
Is there a way to prevent the timer postback event from modifying the web session or any other alterna...
Hi
Looking at the new ASP.NET MVC framework it comes with javascript files for both ASP.NET AJAX and JQuery.
Can someone explain what ASP.NET AJAX gives me that JQuery doesn't?
Do I need to use both and can you give me examples where I would/would not need to use both?
I've used JQuery on plenty of non ASP.NET projects (PHP and proto...
So, my question is, can any of the ASP.NET Ajax controls from the Control Toolkit be used without their server-side controls and without an ASP.NET Ajax ScriptManager.
For reference, I am asking in the context of an ASP.NET MVC application.
Clearly, some of the controls don't make sense in this model because they do postbacks to the s...
Hi, I want to know the size of the callbacks that ASP.NET AJAX are doing. I'm using the ASP.NET Control Toolkit too. How can I do that?
...
Hi,
I am using ASP.net's AJAX framework and I am trying to do some exception logging on the javascript-called webservice.
Looking through the web, I find some people handling them client-side and sending them back to the server. I'd prefer not doing that since it relies on an other server call (if it failed the first time, sending an o...
I have a view that is used for editing stuff, say Orders. Orders have line items that can be added arbitrarily. So a main view and nested partialviews.
Each partial should have an ajax form for tweaking quantities of each line item or whatever.
Thus:
Html.BeginForm()
{%>
Ship to: blah blah blah
<%
...