|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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
|
|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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=1368Thanks
|
|
Rank: Member Groups: Member
Joined: 5/22/2008 Posts: 18
|
thanks for the reply
|
|