9 Answers, 1 is accepted
0

Shinu
Top achievements
Rank 2
answered on 15 May 2013, 10:18 AM
Hi,
Please check the following code I tried which works fine at my end.
XAML:
C#:
Thanks,
Shinu.
Please check the following code I tried which works fine at my end.
XAML:
<
telerik:RadButton
Name
=
"RadButton1"
Content="Fast Navigate >>" Click='RadButton1_Click' Margin="722,555,44,23">
</
telerik:RadButton
>
C#:
private
void
RadButton1_Click(
object
sender, RoutedEventArgs e)
{
// Specify the desired number of pages.
RadBook1.RightPageIndex += 10;
}
Thanks,
Shinu.
0

Henry
Top achievements
Rank 1
answered on 16 May 2013, 08:34 AM
Thanks shinu.
I tried to add an image button instead but it is generating an error. Finally I tried to add an image inside button tag but i cannot set a source.
Any suggestion?
I tried to add an image button instead but it is generating an error. Finally I tried to add an image inside button tag but i cannot set a source.
Any suggestion?
0

Shinu
Top achievements
Rank 2
answered on 16 May 2013, 10:02 AM
Hi Henry,
I guess the error is due to setting the content more than once. If you need to set a text content and an image, place the Image and TextBlock inside a StackPanel. Please have a look at the following sample code.
XAML:
Thanks,
Shinu
I guess the error is due to setting the content more than once. If you need to set a text content and an image, place the Image and TextBlock inside a StackPanel. Please have a look at the following sample code.
XAML:
<
telerik:RadButton
Name
=
"RadButton1"
Click
=
"RadButton1_Click"
Margin
=
"311,512,310,50"
Background
=
"White"
>
<
StackPanel
>
<
Image
Source
=
"Images/Play.gif"
Width
=
"30"
Height
=
"30"
></
Image
>
<
TextBlock
Text
=
" Play"
></
TextBlock
>
</
StackPanel
>
</
telerik:RadButton
>
Thanks,
Shinu
0

Henry
Top achievements
Rank 1
answered on 21 May 2013, 11:41 AM
Hi Shinu,
Can we use the same code we use for silverlight radcontrols? I asked because both uses xaml nd same coding structure?
Can we use the same code we use for silverlight radcontrols? I asked because both uses xaml nd same coding structure?
0

Shinu
Top achievements
Rank 2
answered on 21 May 2013, 12:23 PM
Hi,
Certain controls such as RadAutoCompleteBox, RadComboBox etc supports code reuse. These controls shares a single codebase with its Silverlight counterpart. This means that you can achieve close to 100% code reuse for the controls logic if you have parallel Silverlight/WPF development. Please check the Telerik WPF documentation of the corresponding telerik documentation to check if it support code reuse.
Thanks,
Shinu.
Certain controls such as RadAutoCompleteBox, RadComboBox etc supports code reuse. These controls shares a single codebase with its Silverlight counterpart. This means that you can achieve close to 100% code reuse for the controls logic if you have parallel Silverlight/WPF development. Please check the Telerik WPF documentation of the corresponding telerik documentation to check if it support code reuse.
Thanks,
Shinu.
0

Henry
Top achievements
Rank 1
answered on 28 May 2013, 06:40 AM
Hi shinu,
How can I add a pdf file and view in radbook. I checked google and got some old links telling that its not possible. So what can I do with this?
How can I add a pdf file and view in radbook. I checked google and got some old links telling that its not possible. So what can I do with this?
0

Shinu
Top achievements
Rank 2
answered on 28 May 2013, 07:19 AM
Hi,
Its possible with the recent versions of RadControls for WPF with the help of RadPDFViewer. Please have a look at the Telerik WPF RadBook demo which demonstrates integrating PDF viewer into RadBook.
Thanks,
Shinu.
Its possible with the recent versions of RadControls for WPF with the help of RadPDFViewer. Please have a look at the Telerik WPF RadBook demo which demonstrates integrating PDF viewer into RadBook.
Thanks,
Shinu.
0

Henry
Top achievements
Rank 1
answered on 04 Jun 2013, 08:40 AM
Thanks Shinu, got things working fine. I have another doubt, whether pdfviewer can open password protected documents? I tried with one such doc, but failed. I just want to confirm this.
0

Shinu
Top achievements
Rank 2
answered on 04 Jun 2013, 11:42 AM
Hi,
RadPDFViewer does not support password-protected documents as well as encrypted documents when a non-standard encryption method is used.
Thanks,
Shinu.
RadPDFViewer does not support password-protected documents as well as encrypted documents when a non-standard encryption method is used.
Thanks,
Shinu.