Document templates

3 posts, 0 answers
  1. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 21 Jan 2011 Link to this post

    Hello,

    I'd like to offer users the possibility to create/consume Templates, similar to Word templates. Is this possible? Can any one give me an starting point?

    Thanks
  2. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 24 Jan 2011 Link to this post

    Hello,

    Any comment ablout this question?
  3. DevCraft banner
  4. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 24 Jan 2011 Link to this post

    Hi Daní,

    We do not support predefined word-like styles currently, but we are planning on including them at some point, hopefully in 2011.Q1.
    I have prepared a sample demo, which shows how you can define and set a style on button click. When there are selected parts of the document, the changes are applied to them. If the selection is empty, the changes are applied to the whole paragraph (like Headings work in MS Word).
    Note that there is a small bug with the Background property of the paragraph and you need to set it, otherwise a NullReferenceException will occur. This will be fixed in the next release.
    If you have other questions, do not hesitate to contact us again.

    Regards,
    Iva
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top