trying to set default value in the people picker with an update panel. On a test page without an update panel, the code
PeopleEditor1.CommaSeparatedAccounts = "domain\\user.account";
works just fine. As soon as I add an update panel around that people editor the picker's text area gets cleared out and future calls to the above snippet...
I have a PhoneNumber class that stores a normalized string, and I've defined implicit operators for string <-> Phone to simplify treatment of the PhoneNumber as a string. I've also overridden the ToString() method to always return the cleaned version of the number (no hyphens or parentheses or spaces). In any views where I display the nu...
Hi Guys.
Someone have any sample of Comet app .net?
I need one sample how to persist connection of client in server?
...
On a fairly complex page, we're getting some unusual behavior with dropdownlists in IE6. To layout the basic structure, there are 2 update panels on the page each with a gridview presenting a master-details layout. In addition to the grid, each panel houses some dropdownlists for filtering the data in the respective gridview.
Now what...
Hi all,
Is it possible to call usercontrol methods/events using MSAJAX. I wanted to update my usercontrol by calling one of its events when a property from its parent page changes.
Thanks
...
How can I pass parameters to the OnSuccess function of the AjaxOptions class in ASP.NET MVC?
Here's my code but it doesn't work:
<%= Ajax.ActionLink("Delete",
"Delete",
"MyController",
New With {.id = record.ID},
New AjaxOptions With
...
Hi All,
I have a datagrid where each row has information on Employees in a company.
I would like to allow each row the ability to show/hide extra information. My first idea was use the CollapsiblePanelExtender from the AJAX toolkit and have each row like this:
<ajaxtoolkit:collapsiblepanelextender
TargetControlID="panel2">
Ex...
ASP.NET Ajax Library provides some client-side events. For instance:
Sys.Application.add_load(
function(args) {
// handle the end of any asynchronous post-back. Every-time there's
// a server round-trip, this method will be called.
}
);
During the asynchronous post-back I want to retrieve information to the cli...
I saw another post like this: http://stackoverflow.com/questions/1795621/asyncpostbacktrigger-disables-buttons
But I don't really know what to make of it. The accepted answer was poorly typed.
Basically, I have a button with an OnClick function. I also have a UpdatePanel, with is AsyncPostBackTrigger set to that same button.
It seems t...
Hello,
Just would like know how to pass textbox value to a modal popup after clicking a button using ModalPopUpExtender in ASP.NET, I've tried these codes but seems that I have no luck :(
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
Button1.Attributes.Add("onclick", "showModalPopup();...
hi,
Can the calendar control be customsised so that, say you have a system of renting out a holiday home. can the dates that have been booked appear as red and disabled on the ajaxcalendar control?
Cheers -- Jonesy
...
hey Guys,
I wanted to know if there's a way I can bind an Asp.net Ajax event to two different JS functions ?
eg.
var prm = Sys.WebForms.PageRequestManager.getInstance();
if (!prm.get_isInAsyncPostBack())
{
prm.add_initializeRequest(InitializeRequest);
prm.add_initializeRequest(InitializeRequest2);
}
function Inital...
After deploying a ASP.NET WebForms application to a production server some of the ajax calls has stopped working for me. After some debugging I found out that the following statement (in the internal client-method WebForm_DoCallback) was causing the problem:
xmlRequest.open("POST", action, true);
The problem seemed to be that the acti...
hi..........
i have create a two views inside multiview and also put two radio buttons above the multiview. now check changed on radio button according to view is display.
now i want to use update panel in this page because at the time of check changed hall page is load....
how to put update panel on radio button....???
plz help me o...
Usual javascript files can be cached on a client-side if web server sets the expiration. If user has once downloaded it, it will be cached by his browser.
And what about AjaxControlToolkit ToolkitScriptManager? Are combined JS files cached on a client? How can expiration time be managed?
...
Can you put an Asp.Net Ajax page running on Server2 inside an IFrame running on Server 1 and still have the AJax work
...
Hello,
I am working on a complex CMS which I have not written myself, which uses ASP.NET Ajax.
It seems that starting with ASP.NET 3.5 SP 1, the ScriptManager control in the ASP.NET AJAX Framework includes functionality for creating history points in an AJAX-enabled web page.
This creates a string at the end of the URL, used for this i...
I am using an ASP.NET AJAX Masked Edit Extender to format phone numbers
<asp:TextBox ID="tbPhoneNumber" runat="server" />
<ajaxToolkit:MaskedEditExtender TargetControlID="tbPhoneNumber" Mask="(999)999-9999" MaskType="Number"
InputDirection="LeftToRight" ClearMaskOnLostFocus="false" ClearTextOnInvalid="false" runat="server" AutoComplet...
To save some time on discussing my problem you could check the demo below:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/filteringcombo/defaultcs.aspx
I already checked the ListBoxExtender on the Ajax Control Toolkit but it wouldn't give me fine results.
What I want to do is to filter a listbox which is populate...
Hi...
I'm trying to make a progress bar that updates the user on the progress of the AJAX call.
My immediate thinking was that I need an AJAX call to start a thread on the server, allowing the starting AJAX call to finish, and allowing the thread to send updates back to the user.
For the purpose of simplicity, disregard the actual pro...