RadHtmlPlaceholder and Binding SourceUrl

11 posts, 0 answers
  1. michael albaladejo
    michael albaladejo avatar
    5 posts
    Member since:
    Aug 2009

    Posted 07 Aug 2009 Link to this post

    Hello,

    I use Model-View-ViewModel pattern and I want to bind the SourceUrl property of RadHtmlPlaceholder in xaml.
        <telerik:RadHtmlPlaceholder x:Name="radHtmlPdf"
           HorizontalAlignment="Left" 
           SourceUrl="{Binding DocumentUrl}"
           Visibility="{Binding DocumentVisibility}" />

    Unfortunaly, it does not work.I've the error :
    AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 1284 Position: 44]

    The line 1284 is :
    SourceUrl="{Binding DocumentUrl}"

    Instead of I've to use the following code behind :
    this.radHtmlPdf.SourceUrl = new Uri(item.FileUrl);

    Is it normal ?
    The binding doesn't work with SourceUrl ?
  2. Mily
    Mily avatar
    15 posts
    Member since:
    Jul 2009

    Posted 07 Aug 2009 Link to this post

    Michael,

    I don't think this is normal, I have just discovered the same issue binding to SourceUrl throws parse exception AG_E_PARSER_BAD_PROPERTY_VALUE.

    Best Regards,

    Milosz
  3. DevCraft banner
  4. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 12 Aug 2009 Link to this post

    Hi Milosz Skalecki,

    Thank you for reporting this issue. It is already fixed but the change will be reflected in the next internal build (not in SP1).
    We deeply apologize for the cause inconvenience. However if you need the updated assemblies urgently we could make a custom build for you.
    Your Telerik points are updated.


    Greetings,
    Boryana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. BlogReader
    BlogReader avatar
    27 posts
    Member since:
    Apr 2009

    Posted 28 Sep 2009 Link to this post

    Was this fixed? I am using version 2009 SP2 and I still get this error.
  6. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 29 Sep 2009 Link to this post

    Hi BlogReader,

    We don't have a SP2 version of our controls. What is the version of the dlls that you are using.

    The bug should be addressed in the internal builds that are available in your account.

    All the best,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Mily
    Mily avatar
    15 posts
    Member since:
    Jul 2009

    Posted 29 Sep 2009 Link to this post

    Hi Blogreader,

    I got an email from Telerik saying this had been fixed only in internal build and would not be included in the SP1.

    Kind regards

    Milosz
  8. BlogReader
    BlogReader avatar
    27 posts
    Member since:
    Apr 2009

    Posted 29 Sep 2009 Link to this post

    I am using 2009.2.812.1030. I will try with the latest dev version available to us(2009.2.0925)
  9. BlogReader
    BlogReader avatar
    27 posts
    Member since:
    Apr 2009

    Posted 29 Sep 2009 Link to this post

    I confirm that this bug still exists in version 2009.2.925.1030
  10. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 30 Sep 2009 Link to this post

    Hi BlogReader,

    Obviously some misconception happened. The bug was fixed in version "2009.2.812.1020" of Telerik assemblies. Please find attached a sample project proving this.
    We apologize that the issue is not working correctly in the last internal build it will be fixed as soon as possible for some of the next internal builds..

    Sincerely yours,
    Boryana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  11. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 30 Sep 2009 Link to this post

    Hi BlogReader,

    We fixed this issue it will be included in the this week internal build.
    Once again we deeply apologize for the caused inconvenience.

    Greetings,
    Boryana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  12. Mily
    Mily avatar
    15 posts
    Member since:
    Jul 2009

    Posted 17 Oct 2009 Link to this post

    Hi Blogreader,

    It seems Telerik guys have fixed the issue in the latest RadControls SP3 (still beta):

    quote:

    "RadHTMLPlaceHolder

    What’s New:

    • SourceUrl can now be use with binding"

    Kind Regards

    Milosz


Back to Top
DevCraft banner