I have update panel that content check box, textbox, 3 DropDownList with CascadingDropDown extender.
When I checked the checked box it should do a AsyncPostBackTrigger and it is working ok but the problem that if I select any thing from DropDownLists then check the box it would clear the DropDownLists after doing AsyncPostBackTrigger f...
I want to have a stopwatch on the site, which displays running time on the label without reloading a page. Is it possible to do this on client side? Should I use Ajax timer or smth else from .net?
Website is in C#.
Some links or demos would be really helpful ! Thanks !
...
I get the following when I click on a custom made webpart in the Web Part Gallery: The control with ID 'UpdatePanel1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. If I use the webpart, ie perform a search, I get a pop-up error: Sys.WebForms.PageRequestManagerServerErrorException: A...
Looking at the MS Ajax libraries, I notice they define object methods like so:
addErrors: function Sys_Mvc_FormContext$addErrors(messages) {
/// <param name="messages" type="Array" elementType="String">
/// </param>
if (!Sys.Mvc._validationUtil.arrayIsNullOrEmpty(messages)) {
Array.addRange(this._errors, messages...
I have this method defined since I will add a link button to each row in a long table. However it does not call the eventHandler. It does cause a asyncPostback but never calls the eventHandler.
public static void InsertLinkButton(string text, string id, EventHandler eventHandler,
UpdatePanel updateSummary, PlaceHolder placeHolde...
I have DropDownList with CascadingDropDown extender.
If I want to retrieve data from the database for update to what I should assign the data...... to the dropdownlist or to CascadingDropDown extender and to what properties exactly I should use?
please advice!!
...
I have a user control that has an update panel inside it. When the form posts back, this event handler is fired:
protected void SubmitButton_Click(object sender, EventArgs e)
{
Page.Validate("ContactUs");
if (Page.IsValid)
{
ScriptManager.RegisterStartupScript(
SubmitButton, SubmitButton.GetType(),
...
Hi
I will explain in details what I want exactly.
let say that I have 2 DropDownList controls with CascadingDropDown extender.
DropDownList 1 called car type with CascadingDropDown 1
DropDownList 2 called color with CascadingDropDown 2
For example I selected sport car from first DropDownList then CascadingDropDown 2 will list control...
Hi,
Im using a web form that contains a button(having id=btnSubmit) dropdownlist(having id='ddlDynamic') and a panel which has a dynamicpopulateextender that makes use of the fllg webservice method
[System.Web.Services.WebMethodAttribute(),
System.Web.Script.Services.ScriptMethodAttribute()]
public static string GetDynamicContent3(st...
how to update a control inside update panel without reloading(postpack) the update panel please give an example code with C# if you could. so the update should happen in client side.
Thank you,
...
Hi,
I need help to use java script with update panel.
I have checkbox, textbox with MaskedEditExtender inside update panel in web content form.
I want to change the mask for MaskedEditExtender when I check the checkbox without doing pastback for the update panel using java script so any one can help me with that.
here is my code:
<...
i am not getting what exactly happens when we use ajax.Page doesn't get refreshed everytime means what? is it related to page_load method or what
...
Hi,
I am looking at implementing the following:-
"I have many panels with Resizable and Drag panel extenders appended. I would like to programmatically add labels into each of them and allow drag drop of labels between the panels. The panels are to be automatically resized upon addition/deletion of labels".
I would like to know if there...
My website is HTTPS and I use a redirect module to change any requests for a HTTP page into an HTTPS page. This works nicely using this...
http://www.codeproject.com/KB/aspnet/WebPageSecurity.aspx
However, the page also gets various script resources as part of the ASP.Net AJAX and Telerik controls e.g.
http://www.mywebsite.co.uk/Scrip...
I have encountered a weird problem that does not exist in Firefox or IE. I have a user control that has a text box and a required field validator. When the user control is hosted in an update panel, the UpdateProgress tag never closes the first time that the UpdateProgress is triggered on the page when the page is viewed in Chrome. Ha...
I have a Webforms, AJAX-enabled web page which, when rendering large amounts of data, is extremely slow to load in IE (we're married to IE - no other browser options). In an attempt to determine the source of the slowness, I viewed the HTML source (about 2.5 MB) and copied all of it (except for the Ajax JavaScript calls) to a blank .htm...
In updatPanel I place btn and when i click on it then wanted to visible false. in asp.net?
...
I know MVC controllers are quite good at serving JSON formatted AJAX requests, but is there any built-in ASP.NET functionality I can use for these type calls from a plain old web forms site?
...
Hi
How do I pass a byte array from javascript to ActiveX control.
My javascript will call WCF server (method) and that method will return a byte array.
After that I need to passs this byte array to the ActiveX control.
Could anybody provide me a solution for this.
...
Hello!
I have ModalPopupExtender that contains a UserControl that basically consists of a GridView and a HiddenField, both on an UpdatePanel. The HiddenField stores the number of the selected row. This way I avoid postbacks when selecting rows.
The ModalPopupExtender contains also some buttons that I want to disable when none of the Gri...