Telerik Forums
UI for WPF Forum
2 answers
92 views

Dear Developers,

 

Thank you very much for this library.

Although, could anyone tell if it is possible to preserve row details when exporting and having a button to toggle their visibility like it looks inside RadGridView?

Preview: https://i.imgur.com/xjXpTgL.png

 

For example, there is an option to add details using HTML exporting and appending to string like here https://docs.telerik.com/devtools/silverlight/controls/radgridview/events/export-events#exporting is shown, but this will make these details visible by default.

Is it possible to hide them by default and have something like a checkbox or button to show/hide these details in exported for each row?

 

Best regards

uvuvuv
Top achievements
Rank 1
 answered on 13 Feb 2020
2 answers
3.0K+ views

Hi,

I am using <telerik:GridViewDataColumn in which I have a DataTemplate. In this Datatemplate,I have my popup. I have written the below code in file say for example Sample.xaml. In the eventhandler 'PreviewTextInput' written in file Sample.xaml.cs, I need to set the 'BeadPlexNameInvalidPopup.IsOpen' property to true. Is there any way to access the popup in file Sample.xaml.cs?

Any small help would be appreciated!

 

    <telerik:GridViewDataColumn x:Name="GridviewColumn" Header="{x:Static res:Resources.BeadPlexName}"
                                    DataMemberBinding="{Binding Name}"
                                    Width="*"
                                    EditTriggers="CellClick">
                                    <telerik:GridViewDataColumn.CellEditTemplate>
                                     <DataTemplate>
                                        <Grid x:Name="Grid1">
                                            <TextBox x:Name="BeadPlexNameTextBox" Text="{Binding Name, UpdateSourceTrigger=PropertyChanged}" MaxLength="70"
                                             PreviewTextInput="BeadPlexName_OnPreviewTextInput">
                                            </TextBox>
                                                <Popup Name="BeadPlexNameInvalidPopup" >
                                                    <ContentControl Template="{StaticResource InvalidCharPopupTemplate}" >
                                                    </ContentControl>
                                                </Popup>
                                            </Grid>
                                     </DataTemplate>
                                    </telerik:GridViewDataColumn.CellEditTemplate>
                                </telerik:GridViewDataColumn>

Dhanya
Top achievements
Rank 1
 answered on 13 Feb 2020
3 answers
782 views
Hello,

I need to validate numericUD value when typing, so i have the following code:
<telerik:RadNumericUpDown HorizontalAlignment="Center"
                        Value="{Binding Path=AdditionalCosts,Mode=TwoWay,
                 UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"
                        IsEditable="True" AutoReverse="False" Minimum="0"
                  SmallChange="1" LargeChange="5" ValueFormat="Numeric" IsInteger="True" />

But it doesn't call setter when i type (only when i click up/down arrows). What should i do to allow numericUD call setter of AdditionalCosts property when i type?

Thanks.
Dilyan Traykov
Telerik team
 answered on 12 Feb 2020
1 answer
90 views

     I am programatically moving the scroll bar on my chart as data comes in but I want it to stop if a user takes control of the scroll bar on the horizontal axis.

Is there a simple way to do this?

Right now I am keying off of the rangechanged event to see if my minimum is less than the previous minimum but this only works for scrolling backwords and I cannot do this for forwards since the event is fired when I need to shift it programatically also. 

Dinko | Tech Support Engineer
Telerik team
 answered on 11 Feb 2020
5 answers
395 views

Hello,

With this provider, the mini map is no more displayed.

That's certainly because you have introduced the StandardModeUserAgent property and this property is not copied to the mini map...

Petar Mladenov
Telerik team
 answered on 11 Feb 2020
10 answers
367 views

I want to use Telerik implicit styles because this seems to be the favorite technique to use with Telerik controls. 

So I use the Telerik noxaml dll's in my project.

I have made a separate class library in which I have included the Telerik resources (the theme resource files). These resources are merged at startup (in the Application class) using code like

 

Current.Resources.MergedDictionaries.Clear();
Application.Current.Resources.MergedDictionaries.Add(new ResourceDictionary
{
    Source = new Uri("/libraryDll;component/Themes/System.Windows.xaml", UriKind.Relative)
});

 

When running the application all works fine and the radwindow is displayed and styled correctly.

However, at design time I don't see anything. This is (of course) because at design time the xaml resources are not available (loaded).

 

How do I fix this problem so I can see the telerik controls at design time? If you can't see the controls you can't design a window can you?

 

Regards,
Peter

 

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Feb 2020
3 answers
218 views

After changing the axis maximum here I want to have the step size change so I can see a label for 130.  How can I accomplish this? 

 

<telerik:RadCartesianChart    ClipToBounds="False"  Margin="20">
    <telerik:RadCartesianChart.HorizontalAxis  >
        <telerik:LinearAxis  Maximum="130" LastLabelVisibility="Visible" >
        </telerik:LinearAxis>
    </telerik:RadCartesianChart.HorizontalAxis>
    <telerik:RadCartesianChart.VerticalAxis >
        <telerik:LinearAxis />
    </telerik:RadCartesianChart.VerticalAxis>
    <telerik:RadCartesianChart.Series>
        <telerik:ScatterAreaSeries >
            <telerik:ScatterAreaSeries.DataPoints>
                <telerik:ScatterDataPoint XValue="30" YValue="1"/>
                <telerik:ScatterDataPoint XValue="130" YValue="1"/>
            </telerik:ScatterAreaSeries.DataPoints>
        </telerik:ScatterAreaSeries>
    </telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
Dinko | Tech Support Engineer
Telerik team
 answered on 10 Feb 2020
1 answer
196 views

I have placed a text box control and I have to write validation rule for it.

But the problem is I have bound a collection to the grid view and I have declared only two columns 

one for binding Name

other for value [data template changes depending on property] so I have  overridden selecttemplate method . Based on the item input I have choosen the datatemplate.

Now if write a validation rule for text box ,it applies for all the text boxes in grid.The rule should be individual for each textbox

Can you help me resolving the issue.

Martin Ivanov
Telerik team
 answered on 10 Feb 2020
2 answers
184 views
Can we get an example of ColumnSyncBehavior?  It would be really great if we could sync columns between gridviews.  I was going to write something like this, but if it's already supported by telerik I'd prefer to use that.
Walter
Top achievements
Rank 1
Iron
 answered on 07 Feb 2020
5 answers
375 views
Dear support,

When I click "Add", fill-in data and then "OK", the data has successfully put in the collection but "Add" button is still disabled.
I have to click "Edit" follow by "Cancel" so that the "Add" button become enabled again.
What's wrong?

Meaw
declan
Top achievements
Rank 1
 answered on 07 Feb 2020
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?