When I call a ScriptMethod from an ASP.NET button using the OnClientClick property, the ScriptMethod returns 95% of the time (alert box shows), and the page submits.
If I call the method from a HTML input button, the ScriptMethod returns 100% of the time, but of course the page doesn't submit. If I change the type to submit, I'm back to...
This is perhaps related to this question, but I have slightly more information.
I recently updated an ASP.Net application to .NET 3.5 after coding a few new pieces with Linq. Now my pages intermittently stop firing event handlers. I have it narrowed down to pages with Ajax on them, and I assume it's either the ScriptManager or the Aja...
Using Python, I'm trying to read the values on http://utahcritseries.com/RawResults.aspx. I can read the page just fine, but am having difficulty changing the value of the year combo box, to view data from other years. How can I read the data for years other than the default of 2002?
The page appears to be doing an HTTP Post once the ...
I have a TabContainer inside a Multiview. When I bring up a specific editing page that lists records in a Gridview for editing, and then click one of those items... it takes that data from the record selected and populates a form on another View inside the Multiview.
That View contains a Tab Container. My problem is that if I come in on...
I am looking for a way to perform in-place editing on my webforms app. Here is a link for this behaviour using scriptaculous: http://wiki.github.com/madrobby/scriptaculous/ajax-inplaceeditor)
I am using the .Net Ajax toolkit.
Does anyone know how can I do this???
Thanks,
Nicolas.
...
I have main page into which i load a user control with a grid and add/edit link buttons.
If I bind the grid by setting the datasource and calling the datebind() method in the page load event then it sets properly. However, I want to keep the selected row between postbacks, so I wrap the bind code in "if (!Page.IsPostBack) {}" as usual....
Hello,
How do you use a progressbar to show the loading percentage for a page? ...(similar to how they show in flash)
Thanks
...
If you have an ASP.NET UpdatePanel and and ASP.NET Timer that trigers theUpdatePanel to refresh, is it posible, in javascript, to stop/pause the timer?
I want to stop the timer when the users mouse is over the updatepanel!
...
which one should use i have following options available
ASP.NET ajax with its ajax control
toolkit controls
ASP.NET ajax with jQuery
Ajax Pro http://www.ajaxpro.info/
Please suggest which one to use keeping in mind performance and page size.
Please if any one can shed some light on pros and cons of each of the above
Thanks
...
Hello,
How do I use progress bar with percentage for EVERY AJAX request on the page?
I've already asked about loading a whole page with one progress bar here
But,now I want to know if its possible to use a separate progressbars for each AJAX request on the same page?
Any ideas?
Thanks.
...
Hi,
I am using an ASP.NET GridView control with a TemplateColumn which has a TextBox in the ItemTemplate. I am binding the Text of the TextBox with the values from database. The database holds these values with five decimal points, and for the interface I would like to display only two decimals.
The user can make changes to this grid....
I have an Import function for an Excel spreadsheet within an application. It uses the FileUpload control at the moment. I upload the file, then run an operation on that file. I want to inform the user of the operation being done, and the percentage that is done. I figure that I can take the total number of rows I extracted from the Excel...
I have a piece of javascript inside a User Control that I'm trying to load dynamically after an asynchronous postback. The script is actually loading a flash object. I'm trying to load this User Control inside of a placeholder.
The problem is that once I register the script with ScriptManager.RegisterStartupScript, the flash object ...
I'm building an ASP.NET 3.5 application and would like to expose an enum I have in my WebService class without using it as a parameter in once of my WebMethods.
I have a really simple example to illustrate what I want... Let's say I have the following WebService (I'll call it Agent.asmx):
<System.Web.Script.Services.ScriptService()> _...
I'm writing a small noticeboard app and most of it seems to work so far. However I've tried to add an Ajax panel to the notice viewing page, and cannot get it to work.
The site uses a master page with three content regions defined, which in the case of this page are used for a notice filter, a list of notice titles (a datalist that's po...
I have a form that collects a data using ASP.NET MVC. It looks like this:
[AcceptVerbs(HttpVerbs.Post)]
[AutoValidate]
public ActionResult Contact(ContactMessage msg)
{
if(ModelState.IsValid)
{
try
{
this.messengerService.SendMail(msg);
RedirectToAction("Index");
...
I have a werid situation where a modal popup gets hidden automatically when it is opened via javascript (either by doing a .open or by doing a .click on the opening button). Everything is fine when the opening button (ie TargetControl) is used.
To rephrase the question - what keywords should I use to search the ScriptResource.axd or any...
This is rather infuriating. I'm trying to optimize a very large site, and I'm at the step of reducing HTTP Requests. Microsoft is not cooperating. I have the following ScriptResources included. I'll try and grab a top-line for each to distinguish them
// Name: MicrosoftAjax.debug.js 53.5Kb
// Name: MicrosoftAjaxWebFo...
I follow the example in Atlas: Creating a Confirmation Using the ModalPopup Extender to make a postback when the OkButton in a ModalPopup is clicked (it uses the ModalPopupExtender that comes in ASP.NET Ajax Control Toolkit), but as I can see, the Sys.WebForms.PostBackAction() is no longer present in ASP.NET AJAX (the example is for Atla...
Hi,
Ok, I have a masterpage, on that i have a linkbutton, popupcontrolextender, a panel as the popupcontrol and within the panel a login control.
When the linkbutton is fired the popup panel reveals itself with the login control inside, if i try to login, the authenticate method does not fire.
I have tried many different ways of getti...