Hi,
I am trying my hands on asp.net+ajax+httpmodule.
My Form
<form id="LoginForm" runat="server">
<asp:ScriptManager ID="LoginScriptMgr" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="LoginPanel" runat="server">
<ContentTemplate>
<asp:Label ID="lblLoginHeader" Text="Login" runat="server"></asp:Label>
<asp...
Basically, I have created a custom control that uses an UpdatePanel, and as I understand it I need to use a ScriptManagerProxy to make it work ( since there should only be one ScriptManager per page, and is is declared in my .aspx page ).So, how do you use this beastie, is it just a matter of adding:
<asp:ScriptManagerProxy ID="ScriptMa...
1) A while ago I’ve started learning Asp.Net, but then I’ve heard that Ajax is “the new thing”. Since I don’t want to throw away the time I’ve invested into Asp.Net, I’d like to know if it is a common/recommended practice to use both technologies ( Asp.Net and Ajax) when creating websites and web apps in general?
2) If it indeed is a c...
How can I create a tab panel series to be used interactively on a pagebuilder layout?
I am using Ektron CMS400 version 7.66. This code seem to keep my tab from showing on the page:(ucPageBuilder:PageHost ID="ucPageHost1" runat="server" />)
Thanks.
...
A control contains some HTML and some jQuery to handle a fancy tooltip to display when you click an image within a div.
The control is then used on several different pages, sometimes within an updatePanel, sometimes not.
I have the following code to handle loading the jQuery after a partial postback when the control is displayed within...
What is the difference between the $get and $find functions in javascript?
I'm guessing that these functions aren't really javascript-native things, so an additional question would be what are they native to?
Clarification
The web app I've seen this in uses jquery and ASP.NET AJAX. Perhaps that changes the meaning of these functions?
...
i have a multiple textboxes in repeater and i will enter value in those textboxes at runtime. and i want sum of all value entered in those textboxes in one label.i want to do this thing using java script. so can u please help me.
...
I have a checkbox inside a update panel. Based on certain conditions, I set the autopostback property to true and also attach a event handler as below
chkBox.CheckedChanged += new EventHandler(this.ChkBoxChaned_Click);
But when the checkbox is checked/unchecked, autopostback happens but the event handler does not get hit.
any thought...
I am trying to do the following exercise:
http://www.codeproject.com/KB/ajax/ReorderListSaveOrder.aspx
But how do I access the DataKeyField of the reorderlist for each of the list items programatically... so that I can update them one at a time in the DB - with their new sort order?
...
I'm trying to call a page method belonging to a MVC Controller from another site, by means of:
$.ajax({
type: "GET",
url: "http://localhost:54953/Home/ola",
data: "",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function(data) {
con...
I want to allow the user to edit by data by row, so only need content updated by row. I managed to achieve this by using a Repeater with a UpdatePanel in the ItemTemplate.
Using a Div
<asp:ScriptManager ID="ctlScriptManager" runat="server" />
<asp:Repeater ID="ctlMyRepeater" runat="server">
<ItemTemplate>
<div>
...
I've been playing around with different aspects of MVC for some time now, and I've reached a situation where I'm not sure what would be the best way to solve a problem. I'm hoping that the SO community will help me out here :P
I've seen a number of examples of Ajax.BeginForm on the internet, and it seems like a very nifty idea. E.g. you...
Hi, I am looking write a javascript method as such called when a dropdownlist changes value
function GetStuff(sender, destID){
var dest = document.getElementById(destID);
this.PageMethods.GetStuffs(sender, dest, null, null);
}
GetStuffs() is in the Codebehind as follows:
[WebMethod]
public static void GetStuffs(object sender...
Hi,
I have to use a Virtual(on screen) keyboard on a asp:textbox which has a AjaxControlToolkit's
automcomplete attached to it, the virtual keyboard I use is the jQuery keypad plug in: http://keith-wood.name/keypadRef.html , but I have some problems with combining these two:
Typing in the virtual keyboard does not
trigger the Autocom...
I am trying to write a quote generator. For each product, there are a set of options. I want to dynamically add a drop down list for each option, and then have their SelectedIndexChanged events all wired up to update the quote cost.
I am not having any trouble adding the DropDownList controls to my UpdatePanel, but I can't seem to wire...
I have a textbox in a asp.net update control. When I click a button on the webpage, the value of this textbox got modified. And I want to use javascript to get the modified value. The code I use was:
var kmlString = document.getElementById('<%=TextBox1.ClientID%>').getAttribute("value");
It only got the original value of my textbox. I...
Is there any ajax toolkit for asp.net MVC
...
I am finally experimenting and trying to learn MVC after years of asp.net.
I am used to using asp.net AJAX PageMethods where you can pass an object that automagically gets parsed to whatever type the parameter is in that method.
Javascript:
PageMethods.AddPerson({First:"John",Last:"Doe"});
Code-Behind:
[WebMethod]
public static Resu...
Hi,
I've got a and some controls between a ASP.Net UpdatePanel, when I want to update the label the update reflect on the screen but when I change the image buttons they don't. I set each button's visibility to false on OnClick event but then want to set it back to visibility = true.
...
Hi,
I'm a .NET programmer who've just started to learn more about client side scripting, and I was wondering sometimes you use $get('value') and $find('value') and I've discovered that these are just shortcuts for document.getElementById('value') and Sys.Application.findComponent('value'), respectively.
However, I still don't understa...