<
telerik:GridViewCheckBoxColumn
DataMemberBinding
=
"{Binding Revoked}"
AutoSelectOnEdit
=
"True"
Header
=
"Revoked"
UniqueName
=
"Revoked"
Width
=
"Auto"
IsReadOnly
=
"False"
FooterTextAlignment
=
"Right"
CellStyle
=
"{StaticResource GridCellStyle}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding RevokedBy}"
Header
=
"Revoked By"
UniqueName
=
"RevokedBy"
Width
=
"Auto"
IsReadOnly
=
"{Binding Revoked}"
FooterTextAlignment
=
"Right"
CellStyle
=
"{StaticResource GridCellStyle}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding RevokedDateTime}"
DataFormatString
=
"dd/MM/yyyy HH:mm:ss"
Header
=
"Revoked Date Time"
UniqueName
=
"RevokedDateTime"
Width
=
"Auto"
IsReadOnly
=
"{Binding Revoked}"
FooterTextAlignment
=
"Right"
CellStyle
=
"{StaticResource GridCellStyle}"
>
<
telerik:GridViewDataColumn.CellEditTemplate
>
<
DataTemplate
>
<
WrapPanel
Grid.Column
=
"1"
Grid.ColumnSpan
=
"2"
Grid.Row
=
"4"
>
<
telerik:RadDateTimePicker
Margin
=
"0 5 5 5"
Width
=
"250"
DisplayFormat
=
"Short"
InputMode
=
"DatePicker"
DateSelectionMode
=
"Day"
DateTimeWatermarkContent
=
"Select Date"
MaxWidth
=
"155"
MinWidth
=
"155"
SelectedDate
=
"{Binding RevokedDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
/>
<
telerik:RadMaskedDateTimeInput
Margin
=
"5"
Culture
=
"en-GB"
EmptyContent
=
"Enter Time"
InputBehavior
=
"Replace"
Mask
=
"HH:mm:ss"
SelectionOnFocus
=
"SelectAll"
TextMode
=
"MaskedText"
Value
=
"{Binding RevokedTime, Mode=TwoWay}"
/>
</
WrapPanel
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellEditTemplate
>
</
telerik:GridViewDataColumn
>
/// <summary>
/// The agreements.
/// </summary>
private
ObservableCollection<NotificationAgreement> agreements;
/// <summary>
/// Gets or sets the agreements.
/// </summary>
public
ObservableCollection<NotificationAgreement> Agreements
{
get
{
return
this
.agreements ?? (
this
.agreements =
new
ObservableCollection<NotificationAgreement>());
}
set
{
this
.agreements = value;
this
.RaisePropertyChanged(() =>
this
.Agreements);
}
}
/// <summary>
/// Gets or sets a value indicating whether revoked.
/// </summary>
public
bool
Revoked
{
get
{
return
this
.revoked;
}
set
{
this
.revoked = value;
this
.RaisePropertyChanged(() =>
this
.Revoked);
}
}
Hi,
I am aware of annotation support of pdf viewer and has gone through this link. But these annotations give us destination that are of type location i.e. the destination has page number and offset.
In pdf writer, when we create a destination and we give a name. And I want to navigate based on the named text.
We are using pdf viewer for viewing help manual and page number will not work as any update in the manual that alters the page no will need update of the code and rebuilding the software. So we need bookmark kind of support where string can be used to navigate instead of page number.
This is an urgent requirement.
Thanks
Ritwick
Hi,
We are using Telerik RadDocking control within our main framework window. The RadDocking contains two RadSplitContainers and each container has a RadPaneGroup with one Rad panel to Display Data. The Application is created using Prism with MEF Container using MVVM design Pattern.
Description:
The left Container is Docked Permanently so that it cannon float/Auto hide/Close. This container is set to a minimum Width and Height. As there is no Maximum Width this container is able to fill in available space in the Main Framework Window (e.g. when the panel in the right container is undocked to float the left container takes all the framework window).
The Right Container is able to Float/Auto Hide/Close. This Container is also set to a minimum Width and Height.
Issue 1:
with the Main framework window on full screen if the right Container is moved to the extreme right to its minimum Width and the main framework window is restored/resized the containers doesn't get resize to the main framework window. This causes the Right docked container and some portion of left docked container to be dragged out of the main framework window and is not visible. To make the right container visible either i need to resize the main framework window to a bigger size or maximise the Main framework window to full screen. The screenshot and an example code snippet is given below.
Is there a way to resize the container according to the main framework windows size? so that both the containers with panel are visible in any scenario whether right docked container is moved to extreme right to its minimum width or left docked container is moved to extreme left to it minimum width.
I have tried the proportional stack panel with relative width set to both containers but it gives the same issue as above.
<
telerik:RadDocking
x:Name
=
"SiteHomeDockingControl"
Grid.Column
=
"0"
Grid.ColumnSpan
=
"3"
Grid.Row
=
"1"
HasDocumentHost
=
"False"
PreviewShowCompass
=
"SiteHomeDockingControl_PreviewShowCompass"
>
<
telerik:RadSplitContainer
telerik:RadDocking.SerializationTag
=
"RadSplitContainerSites"
BorderThickness
=
"0"
MinWidth
=
"305"
MinHeight
=
"305"
telerik:DockingPanel.InitialSize
=
"1000,500"
>
<
telerik:RadPaneGroup
x:Name
=
"RadPaneGroupSites"
telerik:RadDocking.SerializationTag
=
"RadPaneGroupSites"
BorderThickness
=
"0"
>
<
telerik:RadPane
PaneHeaderVisibility
=
"Collapsed"
CanUserClose
=
"False"
CanFloat
=
"False"
CanUserPin
=
"False"
telerik:RadDocking.SerializationTag
=
"RadPaneSites"
>
<
ScrollViewer
HorizontalScrollBarVisibility
=
"Disabled"
VerticalScrollBarVisibility
=
"Auto"
>
<
Grid
VerticalAlignment
=
"Stretch"
HorizontalAlignment
=
"Stretch"
Margin
=
"35,15,15,15"
>
<
TextBlock
Text
=
"Just an example Docked Pane 1."
/>
</
Grid
>
</
ScrollViewer
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
<
telerik:RadSplitContainer
InitialPosition
=
"DockedRight"
telerik:RadDocking.SerializationTag
=
"RadSplitContainerPlantHierarchies"
MinWidth
=
"305"
MinHeight
=
"305"
telerik:DockingPanel.InitialSize
=
"400,500"
>
<
telerik:RadPaneGroup
telerik:RadDocking.SerializationTag
=
"RadPaneGroupPlantHierarchies"
>
<
telerik:RadPane
telerik:RadDocking.SerializationTag
=
"RadPanePlantHierarchies"
Header
=
"Plant Hierarchies"
IsHidden
=
"{Binding DataContext.HidePlantHierarchies, ElementName=SiteHomeDockingControl, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
>
<
Grid
>
<
TextBlock
Text
=
"Just an example Docked Pane 2."
/>
</
Grid
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>