ASP.NET Ajax Toolkit Calendar Extender distorted dates - asp.net

I am using asp.net ajax calendar extender in my web application. It is showing distorted dates / characters when i open the calendar. I tried to search online to anything similar but can't find it. After opening and closing the calendar control many times, dates disappears and not selectable at all.
I am using same calendar extender in another web application on same machine without any issues.
Never faced this issue before. Tried to search online but can't find any solution for this unexpected issue.
Regards

okay i figured this out by updating the Ajax Control Toolkit version to latest available (20.1.0).

Related

Application failed to work in offline explorer

I have an application build using asp.net in sharepoint platform, however the paging and sorting features in gridview failed to function properly in Offline Explorer (Metaproduct) environment, an offline browsing software.
anyone have encounter the same problem?
Thanks
Assuming I have understood your question correctly and you are using something similar to google gears. Paging cannot work offline.
The concept of paging is where data is retrieved from the server 'as required' rather then when the page is loaded - which obviously cannot work if you are offline.
Without seeing any code its hard to provide specific advice but basically you would want to make sure that the page that is being loaded contains all the data necessary for the gridview to display. This would be done by either rendering the gridview straight away with all data or alternatively loading the data into a javascript array.

progressbar for classic asp upload page?

I have a upload page done with classic asp and I want a progressbar.
Could be with jquery, ajax?
Does anyone know where I can find a solution, thanks.
You cannot upload files using AJAX nor report the progress with javascript. There's a jquery upload plugin which supports this functionality and uses Flash behind the scenes to perform the upload and progress report.
Try looking at http://valums.com/ajax-upload/ It doesn't use flash (it is all based on DOM and javascript) and the upload script part can be adapted to any language (classic asp as well).
Old post, but maybe still interesting:
http://www.motobit.com/help/scptutl/upload.asp
Is using a com component, works with classic asp. But this costs a few bucks (so it is commercial) and no, me are not related to this company, just a pleased customer.

Is is possible to use the AsyncFileUpload from the AjaxControlToolkit in a .Net 2.0 project?

The title pretty much says it all. I have a project that for political reasons cannot be moved to a later version of .Net and would love to have a drop-in control for uploading files better than the old FileUpload control.
I'd like to use the AsyncFileUpload control, but it's not in the latest version of the toolkit that is supported in the 2.0 framework.
I've looked at some of the flash based controls, but integrating them would trigger a full regression test of the project I'm on (multiple weeks).
We've lived with the FileUpload control because our files are small, but the error handling when a file gets larger won't be unacceptable much longer.
-- EDIT --
I just found Uploadify. At first I didn't think it would work, but I checked out the forums any way. I found this link http://www.uploadify.com/forum/viewtopic.php?f=7&t=142&p=8620&hilit=asp.net#p8620 It works great. I can do whatever I want to in the upload handler.
I'm adding this as an answer for whoever follows:
I just found Uploadify. At first I didn't think it would work, but I checked out the forums any way. I found this link http://www.uploadify.com/forum/viewtopic.php?f=7&t=142&p=8620&hilit=asp.net#p8620 It works great. I can do whatever I want to in the upload handler.

out of memory issue in asp.net mvc application

I have got one weird issue. I am working on an asp .net mvc application. I have a refresh button that build some data and view models in the controller code, and returns the partial view back. Well this refresh does work good the very first time. But when i try to click my refresh button again, a javascript alert comes saying
"out of memory at line 56"
I checked my task manager to see on whats happening. I have a 3GB memory and when this error alert shows up the used memory is 1.41 GB. Its normal usage as it looks like. But I don't know why it shows the javascript error alert.
This problem happens in my local workstation where I am doing development of this application.
Any thoughts or comments to trouble shoot or solve this issue is appreciated. I ma using IE7.
Any infinite loops in there? Javascript doesn't like those.
Another possibility - is there any Flash on the page? Apparently there have been issues related to that in the past where updating your version of Flash fixes the problem.

ASP.NET event wiring does not work correctly if the page has many controls in IE8 native mode

Well, it looks like IE8 in native mode doesn't like ASP.NET event wiring. I have few heavy pages developed in ASP.NET 2.0. By heavy I mean having lots of server controls and callback controls. The final actions are Apply and Cancel but user sets data of controls through Callback calls.
I have seen that when Apply button is clicked it called standard ASP.NET page event like Page_load, init, etc multiple times. And as a result, functionality is not working as expected. These pages are working perfectly OK when the application is launched in IE7 or IE8(IE7 emulated mode).
Its not possible to attach code because its huge and proprietary. I am wondering if any one of you come across similar issue for ASP.NET app launched from IE8.
Appreciate any pointers.
Thanks,
Dhananjay
I've worked on several ASP.NET 2.0 Web Forms apps in IE8 Native Mode and haven't had any issues.
Those page events are all wired up on the server side, so unless you have some strange javascript running post-backs on the page...the browser shouldn't influence how many times those are getting called.
I'd check any of your custom javascript and make sure there isn't submitting your form back to the server multiple times per submit.

Resources