Showing posts with label time. Show all posts
Showing posts with label time. Show all posts

Saturday, March 24, 2012

calender Entender

How can get the date with time in a text box using calender Extender

You can get the date from calendar and get the time from DateTime.ShortTime() and concenate them.

Hi bikash,

Go through this Url:http://msdn2.microsoft.com/en-us/library/az4se3k1.aspx

I think u can able to find the solution in this url. Hope this helps.

Thanks & Regards,

Rajak Shaik.


Hi,

Thank you for your post!

Why not go to the official site http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx to check it out?

it show you the sample.

If you have further questions,let me know.

Best Regards,

Calender Control in IE 5.5

I have a Calender control on my site and when people access using IE 5.5 the browser crashes most of the time. When it does not crash it says something about the scripts causing the browser to run slow.

Are the AJAX controls compatable with IE 5.5?

many people have said similar things with ie 5.5

the OFFICIAL list of compatible browsers unfortunately starts at IE 6

http://www.asp.net/ajax/documentation/live/BrowserCompatibilityForASPNETAJAX.aspx

hth,

mcm

Wednesday, March 21, 2012

CalendarExtender Not Working

I haven't read about this anywhere, but the CalendarExtender hasn't been working for me for some time.

I keep getting the following javascript error when i attempt to Pop it up:

Sys.ArgumentNullException:Value cannot be null. Parameter name: classNameI just picked up 14100 off of CodePlex and can confirm the same thing with the development branch.
As far as i can tell this began happening after the 11645 changes
There is a calendarextender?

CalendarExtender makes things slow!

Hello everybody,

I noticed this behavior almost immediately when we used theCalendar Extender for the first time. But I waited to see somebody discussing about it in the forum. It took quite a while...


I have removed all theCalendar Extenders because it slows all the other parts of the ASPX page, for example: when you click on a button to fetch data from the database and load it in a grid, without anyCalendar Extenders its lightening fast... but add aCalendar Extender or 2 and then you can notice it starting to get slow


I have now switched back to the old way, using a Calendar control with aPopupControlExtender to display a pop up calendar, and its fast.
I am using a Master page, themes and my controls are inside anUpdatePanel


I think the usercmarshall26 is also experiencing the same problem which he explains inthis post

(but the Calendar that is displayed using theCalendar Extenderlooks cool!)

Hope somebody can relate to this problem... any suggestions from the experts?

You've got a couple of options...

1) Set<configuration><system.web><compilationdebug="false">in your web.config

2) Set theScriptMode="Release"property on the ScriptManager component

<asp:ScriptManagerID="ScriptManager1"runat="server"ScriptMode="Release"></asp:ScriptManager>

Either way, you should end up with the release version of the javascript coming down to you which is A LOT faster!!


Make sure you've got the 10301 release as well - there were several Calendar perf fixes in that release.

Thank you very much for both of your responses... I tried the latest update and, yes its fast now!

Now it'll be easier to hookup pop-up calendar functionality using the Calendar Extender, without worrying about performance.

I set theScriptMode="Release"in the Script Manager too, asJames_2JS suggested, hope it also contributed to the improvement.

Yes


Can you explain what these changes do?