This is a migrated thread and some comments may be shown as answers.

[Solved] RadHtmlPlaceholder and Binding SourceUrl

10 Answers 249 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
michael albaladejo
Top achievements
Rank 1
michael albaladejo asked on 07 Aug 2009, 06:52 AM
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 ?

10 Answers, 1 is accepted

Sort by
0
Mily
Top achievements
Rank 1
answered on 07 Aug 2009, 05:28 PM
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
0
Bobi
Telerik team
answered on 12 Aug 2009, 12:12 PM
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.
0
BlogReader
Top achievements
Rank 1
answered on 28 Sep 2009, 05:55 PM
Was this fixed? I am using version 2009 SP2 and I still get this error.
0
Valentin.Stoychev
Telerik team
answered on 29 Sep 2009, 08:58 AM
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.
0
Mily
Top achievements
Rank 1
answered on 29 Sep 2009, 09:02 AM
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
0
BlogReader
Top achievements
Rank 1
answered on 29 Sep 2009, 04:39 PM
I am using 2009.2.812.1030. I will try with the latest dev version available to us(2009.2.0925)
0
BlogReader
Top achievements
Rank 1
answered on 29 Sep 2009, 06:28 PM
I confirm that this bug still exists in version 2009.2.925.1030
0
Bobi
Telerik team
answered on 30 Sep 2009, 12:17 PM
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.
0
Bobi
Telerik team
answered on 30 Sep 2009, 12:59 PM
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.
0
Mily
Top achievements
Rank 1
answered on 17 Oct 2009, 10:08 PM
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


Tags
HTMLPlaceHolder
Asked by
michael albaladejo
Top achievements
Rank 1
Answers by
Mily
Top achievements
Rank 1
Bobi
Telerik team
BlogReader
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Share this question
or