A) Since Ajax is based on Javascript and Xml …should I learn Xml and Javascript before trying to learn Ajax?
B) Even if knowing Javascript and Xml is not a must … will I be able to understand and use Ajax more efficiently if I know Javascript and Xml?
...
I have a form which, for the sake of isolating the problem, has about a dozen plain HTML checkboxes (not WebControls), all of which are disabled. They are inside an UpdatePanel.
I have a link which calls
__doPostBack('a-control','my-custom-argument');
Depending on the first argument I supply, the page may do a full postback or a...
In the case that the user doesn't have Javascript activated, in order to draw a form, I begin this way:
<% using (Html.BeginForm("Create", "Language", FormMethod.Post,
new {enctype="multipart/form-data"}))
{ %>
If the user has Javascript activated, the following code is used:
<% using (Ajax.BeginForm("Create", "Language",
new...
Hi guys,
I have a User control (because I use the same in other page, so I thought I should reuse code and not double my work), but in this page I show a list of companies and each one has a company number, I need to pass this company number to that User Control and it has to reload using that passed company number.
How can I accomplis...
Does anyone have any recommendations for either of these validation ASP.Net MVC Validation frameworks?
xVal
MVC Validator Toolkit
...
Hi Guys,
I have a RadioButtonList on my web form. I have tried two different means to set the selected item. I have tried in the markup, and in code, like the Page_Load event. It sets and displays correctly. My problem is that the selected radio button no longer responds to the SelectedIndexChanged event. The other items works as expecte...
I'm familiar with $get() and $find(). But, I've just stumbled across some code I need to work on that calls a function $create(). I can't find anything online or in the code explaining it. The slightly modified call is here:
$create(namespace.aspnetclass, {id: 'foo', groupId: <%= groupId %>},
null, null, $get('divContainer'));
W...
Can I make an ASP.NET AJAX AutoCompleteExtender use an ASP.NET MVC JsonResult rather than an ASMX Webservice?
I've got an ASP.NET AJAX Toolkit AutoCompleteExtender on an ASP.NET MVC View. It uses an JsonResult type function in my MVC Controller.
ASP.NET MVC View:
<form runat="server">
<asp:ScriptManager
ID="ScriptManager1...
So after watching the ResizableControlExtender video tutorial (http://www.asp.net/learn/ajax-videos/video-155.aspx) I want o copy the functionality in a project of my own, but with some changes.
At one stage it describes how you would use the control to resize a panel which contains some text. On resize, some javascript would be execute...
I have a product entry screen where the items in the order are displayed inside a repeater control within an ajax update panel. The repeater simulates a grid where every row is editable at once (so user can tab through the rows, updating many quantities, and then hitting one save button at the bottom).
Right now it works, but is a litt...
I have two AJAX UpdatePanels on my ASP.NET 2.0 web form. When I clic the LinkkButton which is on the UpdatePanel1, UpdatePanel1 and UpdatePanel2 are updating. How can I Update only the first UpdatePanel?
Thanks.
...
Hi!
I use ScriptManager in my ASP.NET page, and want to add a ScriptReference which is a page request like this:
var id = 10;
tsm.CompositeScript.Scripts.Add(new ScriptReference("~/Response.aspx?action=test&id=" + id));
but it raises an error:
'~/Response.aspx?action=test&id=10' is not a valid virtual path.
I should add this scr...
I get an error while adding a partial form to my current form (kind of parent/child).
The partial form is loaded with ajax and there can be none to several partial forms/childs.
I got it working that every partial form gets an ID and I can save etc, but everytime I click on the ActionLink I get:
Microsoft JScript runtime error: 'b' is...
I am now starting to use Telerik's ASP.NET AJAX controls for 2009 Q1 on my 3.5 web application. IN IE7 (in FF it works fine), whenever I hit a particular page, I get a javascript error stating
"'null' is null or not an object"
Looking this issue up, I have found various people saying it is due to an issue with validators and upda...
Hello all,
After playing with the example code for the Telerik RadGrid drag and drop cabilities I'm at a loss at what to do next.
Here's what I'm wanting to do. I have one grid that has many rows populated, this is my source grid. I want to have four empty grids that are going to be used as targets for this populated source grid. Now I...
I have a very simple user control that is meant to show certain text if a property is set to true and this is working fine for full page refreshes. I would like to know how I can update just this user control through AJAX, where should I go from here. I am posting my current source but I am not attached to any of it. My only concerns ...
I have a modalpopupExtender which is opened when edit button is clicked.In that i have a gridview in which if click any row the popup gets hidden and the values are displayed on the page.The problem is that when i keep this code in the update panel the modalpopupextender is not getting hidden after clicking in the gridview.I have a maste...
I have an UpdatePanel with count of elements on it and AnimationExtender:
<asp:UpdatePanel ID="updPan2" UpdateMode="Conditional" runat="server">
<ContentTemplate>
<div>
<table>
<tr>
<td><div id="lblText1" runat="server">Text 1</div></td>
<td><asp:LinkButton ID="lnkButton1" Text="Click" runat="server" OnClic...
Hi,
I have a following requirement.
ASP.net GridView control has following fields.
HeaderTemplate
ID ------ Name---------- Model dropdown[ ALL-Yes ] --------Description.
Item template
label------ label ----------Dropdown ------------------------- Text box
ID and Name field bound to datasource and populated from databas...
Hey all,
how do you pass data to the jqModal? For example, when Button2 is clicked can i pass the button's id or a hidden field and have the controller pick it up?
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript">
$(document).ready(function() {
$('#title').css('b...