Click to See Complete Forum and Search --> : how can I use the web Calender in desktop App?
pareshgh
December 9th, 2002, 03:22 PM
In web controls there exists
System.Web.UI.WebControls.Calendar
where one can control cell level properties and colors etc.
but since its derived from webcontrols
is there any way or workaround to convert back to control ?
thanks in advance
Paresh
MartinL
December 10th, 2002, 10:45 AM
Host the internet explorer's window in your application and use the calendar web-control in that window... :)
Or make your dialog where you need to use that calendar control a html dialog... :)
Martin
pareshgh
December 10th, 2002, 12:54 PM
so your point is making and designing the USER CONTROL Which acts as same as calender control like Microsoft calender does ?
do mean that ! correct me if i am wrong
thanks
Paresh Gheewala
MartinL
December 10th, 2002, 02:00 PM
OK, lets allow to explain it...
I didn't mean that you should write completely new control.
It is not possible to "translate" web control to normal windows forms control. Those are totaly different object based on different technology. Event you can directly use web controls in your windows forms application.
I mean, if you really need to use web control (calendar web control) in your application then the easiest way is to provide your application with web browser capabilities. You can use Microsoft Web Browser ActiveX control. Just customize your toolbox and add MS Web Browser control to your form.
Then navigate the control to the page generated by your application. That page can contain any web control.
However, the question is, why do you need to use that web control. There are many calendars allowing you to use them in standard windows forms application. I think, the best way is to find such calendar control and use it...
Martin
pareshgh
December 10th, 2002, 02:08 PM
Hi Martin
thanks,
regarding
>>>
However, the question is, why do you need to use that web control. There are many calendars allowing you to use them in standard windows forms application. I think, the best way is to find such calendar control and use it...
>> I tried a lot on web. but either costs lot money and are license based and the ones which are free (desktop based) don't have capability of Cell/Date render property. infact Month Calender and other calender provided in .NET desktop (form based) don't have capabilities.
if you have sample and web links then plz do share with me .
I would really appreciate that.
thanks
Paresh
pareshgh
May 28th, 2003, 05:00 PM
FYI
http://www.codeguru.com/forum/showthread.php?s=&postid=746030#post746030
check the post.
-Paresh
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.