Welcome Guest Search | Active Topics | Sign In | Register

date picker Options
balu
Posted: Thursday, July 31, 2008 4:26:31 PM
Rank: Member
Groups: Member

Joined: 5/22/2008
Posts: 18
HI

I am using the 6.0.26.2 dll and when I try to add the TitleTemplate in the skins file it is giving runtime error

Code: HTML/ASPX
Line 481:    <DayStyle CssClass="calFont " />
Line 482:    <TitleTemplate>
Line 483:    </TitleTemplate>
Line 484:</eo:DatePicker>
Line 485:


Parser Error Message: The 'TitleTemplate' property of a control type EO.Web.DatePicker cannot be applied through a control skin.


but for the eo:Dialog i can use FooterTemplate in the skins file.

pls help

thanks
eo_support
Posted: Thursday, July 31, 2008 5:31:06 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,200
Hi,

That is normal. TitleTemplate is a ClientTemplate object, not the same as FooterTemplate, which is an ITemplate object. A simple assignment for ITemplate is possible, but a simple assignment for a ClientTemplate is not. Sorry about that!

Thanks
balu
Posted: Friday, August 1, 2008 12:02:27 PM
Rank: Member
Groups: Member

Joined: 5/22/2008
Posts: 18
Hi

part 1 :: DatePicker dose not have a option to navigate beteen years like a attribute ( titlenavbuttons ).
so i can customize the nav buttons in the title like
month
year
month + year


part 2 :: In my project I am using the datepicker in a lot of places and use a skins file to maintain the styles.

I understand that the titletemplate cannot be used and the footertemplate can be used. and I am already using the footer template for dialog. but for the datepicker I am not able to use the footertemplate in the skins file.

help pls

thanks
eo_support
Posted: Friday, August 1, 2008 12:30:02 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,200
Hi,

To your questions:

#1: It does have this:
http://www.essentialobjects.com/Demo/Default.aspx?path=Calendar\_i0\_i6

#2: We believe this question is already answered. Neither TitleTemplate nor FooterTemplate can be used in a skin file for DatePicker. FooterTemplate can be used in a skin file for the Dialog because reasons explained above. Both control have a property called "FooterTemplate" does not mean they are in anyway related. Hope this clears up.

Once again, I ask you to review our support policy:

http://www.essentialobjects.com/Forum/Default.aspx?g=posts&t=1368

Thanks
balu
Posted: Friday, August 1, 2008 12:56:03 PM
Rank: Member
Groups: Member

Joined: 5/22/2008
Posts: 18
thanks
for the reply


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.