Telerik Forums
UI for WPF Forum
3 answers
206 views
Is it possible to rotate the document in the PDF Viewer window may be by 90 degree?

If not (which I assume) is there any chance that this feature will be implemented in a future release?

kind regards,
Victor
Kammen
Telerik team
 answered on 19 Mar 2013
3 answers
305 views
Hi,

I'm currently searching for a simple solution to display a GridView (or something similar) in several columns:
e.g.

Header1  Header 2|-->Header1 Header 2
R0 C0     R0 C1     |    R3 C0    R3 C1
R1 C0     R1 C1     |    R4 C0    R4 C1
R2 C0     R1 C1     |    R5 C0    R5 C1
|---------------------->|


Any Help is welcome
Regard
Thomas
Pavel Pavlov
Telerik team
 answered on 19 Mar 2013
1 answer
106 views
Hi all

I created a very simple application with two TabItem:
- first TabItem is empty
- second TabItem contains a RadTreeView with RadContextMenu (with one RadMenuItem without command or event)

the first time that I select the second TabItem and right click on RadTreeViewItem the RadContextMenu opens and the RadTreeViewItem is highlighted properly. If I switch from second to first TabItem and return in the second TabItem, right click on RadTreeViewItem the RadContextMenu opens and highlighting of the element disappears, Why, any suggestions?

Thanks
Pavel R. Pavlov
Telerik team
 answered on 19 Mar 2013
1 answer
216 views
Telerik 2012.2.607.40

Scenario:
1. I have an object let's say VitalSign.
     Vital Sign (Object)
        - Name 
        - Value

2. A user may enter 1 to n Vital signs as a single set of entries. This action will create one row. For that row there will be n number of columns based on the number of vital signs the user entered during that discrete operation. If the user performs the action a second time then there will be 2 rows and the number of columns will be Max(Number Of Vital Signs For Discrete Operation). 
Ex Display:
Temp        Heart Rate        Blood Pressure        Pulse
98                  55                        120/80                120   - Discrete Entry 1 (4 Vital Signs)
                      65                        125/90                124   - Discrete Entry 2 ( 3 Vital Signs)
                      62                                                            - Discrete Entry 3 ( 1 Vital Sign)

3. So I dynamically generate a table to create the appropriate columns which contains all columns for any row which has a value. In the example above there is no Blood Sugar value for any discrete entry so this column would not be generated.
4. When I create my columns I create them as objects like this.
vitalSignsTable.Columns.Add(vitalSign, typeof (VitalSign));

4. Next I Bind a RadDataGrid to the dynamically generated DataTable and set the AutoGenerateColumns = true
5. Next I handle the AutoGeneratingColumn event and set the column Template to the template below.

My question is, how do I bind the Text property in the TextBox in my template to a value from the VitalSign object?. If I DO NOT use a template, and instead just create a ToString() for my VitalSign object, I can display the correct values in the Grid, but I need to use the VitalSign's object properties for other reasons.

NOTE: I know I can Bind to ItemArray[Index].Property to bind directly to the object, but to do this, I have to know the correct index before runtime, and since the columns are dynamically determined at runtime, I have no way to know this.

TEMPLATE
<DataTemplate x:Key="PatientVitalSignTemplate" >
<TextBox Text="{Binding ???????????}"  />
</DataTemplate>

Thanks,

Billy Jacobs

Rossen Hristov
Telerik team
 answered on 19 Mar 2013
1 answer
147 views
Hi,

Thanks Telerix team for providing efficient powerful contol.

Tools  : Windows presentation foundation .

1. Is there a feature like dragging  the chart  based on that  datapoints gets updated depending on the drag.

we are expecting below validation like this
1.  Need to restrict the horizontal movement when we are doing drag and drop.
2. Revert the last modified chagnes.


 

Missing User
 answered on 19 Mar 2013
0 answers
114 views
Hello Team,

I m getting extra column in my Grid. How to remove this.
Please Refer the attached screen.

Regards,
Saurabh
saurabh(GV433015)
Top achievements
Rank 1
 asked on 19 Mar 2013
3 answers
207 views
<telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName, UpdateSourceTrigger=Explicit}" Header="FirstName"/>

The above code will correctly send the updated value to the source binding. However the below code will always send an empty string to the source binding. any ideas?

<telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName, UpdateSourceTrigger=Explicit}" Header="FirstName">
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
<TextBox Text="{Binding FirstName}" />
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>
Maya
Telerik team
 answered on 19 Mar 2013
1 answer
105 views
Hi Experts,

I am creating an WPF application using our RadGrid, in that i need to maintain my grid's last row as last row always when sorting too. I dont have any idea to achieve this, but this is important in our application. Please help me anybody...
How to suspend sorting for last row.

Thanks in advance.
Ramesh
velusamyr@hcl.com
Ramesh
Top achievements
Rank 1
 answered on 19 Mar 2013
3 answers
394 views
Hello,
I'm evaluating RadControls for WPF.
My program need many custom shapes like visio stencil.

I want to convert vector images into custom shapes for diagram.

What I did is as follows.

1. Convert sample wmf file into xaml file with MS Expression Design 4
    Export-Format as XAML WPF Canvas

2. I refered CustomShapeExample and inserted xaml code in Generic.xaml by MSED4 for my own custom shape.
<Style TargetType="local:MyFirstShape">
        <Setter Property="BorderThickness" Value="4" />
        <Setter Property="BorderBrush" Value="#6C666666" />
        <Setter Property="Width" Value="350" />
        <Setter Property="Height" Value="300" />
        <Setter Property="HorizontalAlignment" Value="Center" />
        <Setter Property="Margin" Value="0" />


        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:MyFirstShape">
                    <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="Document" Width="190.904" Height="179.643" Clip="F1 M 0,0L 190.904,0L 190.904,179.643L 0,179.643L 0,0">
                        <Canvas x:Name="MC900295085" Width="799.598" Height="599.808" Canvas.Left="0" Canvas.Top="0">
                            <Path x:Name="Path" Width="92.3327" Height="66.4918" Canvas.Left="98.5714" Canvas.Top="98.588" Stretch="Fill" Fill="#ED000000" Data="M 190.904,159.906L 190.232,160.002L ..... 190.904,159.906 Z "/>
...
...
...
                        </Canvas>
                    </Canvas>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

3. Then I could load it's image in a diagram, but it didn't resize.

Question.
We need to make custom shapes with vector image. Could you tell me the best way for this?

Regards,

Pavel R. Pavlov
Telerik team
 answered on 18 Mar 2013
3 answers
189 views
If the ChartPanAndZoomBehavior is changed after the chart has been constructed then the Pan and Zoom bars on the chart are not updated to reflect the new behavior.

For example, the chart is constructed with a pan and zoom behavior set to allow both panning and zooming. Later, based on user interaction, the original pan and zoom behavior is removed and a new pan and zoom behavior that only allows panning is added. The user can no longer use the mouse to draw a rectangle to zoom the chart but the pan and zoom bars still have handles that let the user zoom.

Is there a way to get the pan and zoom bars to update to match the pan and zoom behavior?

Terry
Petar Kirov
Telerik team
 answered on 18 Mar 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?