Telerik Forums
UI for WPF Forum
7 answers
545 views
Hi Telerik,

I've a trouble..

I set Maximum to 999999 and IsInteger = true which means value can't be more than 999,999 or 6 digits. But when I key in 999999 in my control it round-up and show 1,000,000 ( another i.e. key in 999994 , it round down to 999990 )
How to turn off automatic round function ?

this is my XAML
<telerik:GridViewDataColumn ValidatesOnDataErrors="None" Width="250" DataMemberBinding="{Binding MinAmt}" Header="Minimum Amount" 
                        HeaderTextAlignment="Center" TextAlignment="Right">
<telerik:GridViewDataColumn.CellTemplate>
<DataTemplate>
<TextBlock Text="{Binding MinAmt, StringFormat='0,0'}" TextAlignment="Right" 
                    x:Name
="MinAmtTextBlock" Loaded="MinAmtTextBlock_Loaded" />
</DataTemplate>
</telerik:GridViewDataColumn.CellTemplate>
<telerik:GridViewDataColumn.CellEditTemplate>
<DataTemplate>
                  <telerik:RadNumericUpDown  Maximum="999999" UpdateValueEvent="PropertyChanged" 
                                            ShowButtons="False" PreviewKeyDown="MinAmt_PreviewKeyDown"
        Value="{Binding Amount, Mode=TwoWay, UpdateSourceTrigger=Explicit}" 
                                            x:Name="MinAmt" Loaded="MinAmt_Loaded" />
</DataTemplate>
</telerik:GridViewDataColumn.CellEditTemplate>
</telerik:GridViewDataColumn>

please give me some advice
Regard,
SweNz
Pana
Telerik team
 answered on 19 Sep 2011
3 answers
211 views
First something about RadGridView:
When I move the mouse over a RadGridView and I'm using my MouseWheel to scroll this works at once.
It works even when I had focused an other control, let's say a TextBox.

But...
Doing the same with a RadMap, nothing happens. I have to click on the map først, and then I can use the MouseWheel to scroll.
Is there a way to trigger the scrolling without clicking first?
Andrey
Telerik team
 answered on 19 Sep 2011
1 answer
83 views
Hi,

Is it possible to change the text of AppointmentNavigationButtons?
All other labels are ok (in german language), only the "Prev Appointment" button is in english language.


next appointment is ok:


kindly regards.
Stefan


Pana
Telerik team
 answered on 19 Sep 2011
2 answers
126 views
Hi there,

Just a quick question regarding the PersistenceFramework. I haven't used the feature yet but I have a scenario and I would like to know how the Framework will react to it.

Suppose I have TreeView filled dynamically from a database with various nodes and child nodes, say for example categories with sub products. If I save the properties of the treeview as is, and then later reload the treeview but its nodes have changed / been updated with newer products etc, will the persistence framework throw an error when reloaded with older persistence settings?

Thanks for your time and I hope I've explained myself adequately.
Robert
Top achievements
Rank 1
 answered on 17 Sep 2011
3 answers
141 views
The task is to change the layout of elements in the component (like iGoogle dashboard).
To do that, you need to override the TileViewPanel methods. 
The field of that type is not available in the TileView instance, but can be found in the visual tree.

Is there and option of substituting the TileViewPanel instance in the TileView visual tree for a custom class:
class MyTileViewPanel: TileViewPanel
{
// my methods
}
Zarko
Telerik team
 answered on 17 Sep 2011
4 answers
218 views
I tried to develop a touch supported DateTimePicker, however after the calender is launched, no touch is active... how to intercept the touch event on the calender?
Boyan
Telerik team
 answered on 17 Sep 2011
3 answers
254 views
There is no indication of mouse over on selected items; note the Backstage Tab, selected Backstage Items and selected gallery items.  (I'm not sure if that is a "feature" of the theme or not).
The QAT displays below the Ribbon in the same MetroColors.PaletteInstance.BasicColor that is used for mouse over, negating the mouse over visual queue.

Are there Metro Theme guidelines available, and if so where can they be found?

Thanks,
Steve
Petar Mladenov
Telerik team
 answered on 17 Sep 2011
2 answers
766 views
After wrestling with this for a while and doing lots of research I have not been able to find a definitive answer.  I can find a myriad of examples about drag and drop between other controls and the RadGridView but little to no examples about dragging from or between these types of controls.  Searching back it seems that this is a hot topic for the past two years with solutions that temporarily worked or didn't at all.  I'd like to say that I've tried harder for a solution but simply don't know how at this point.  I've usually had wonderful success with the RadDragAndDropManager and all has been simple and easy except in this case.  I just want to be able to drag a row from one RadGridView to another using the standard RadDragAndDropManager methods.

My main issue at this point is that I can't get a row to drag at all.  I've tried applying a style to my GridView's RowStyle and to my column's CellStyle that sets the telerik:RadDragAndDropManager.AllowDrag to true but nothing happens.  Strangely enough if I set telerik:DragDropManager.AllowDrag equal to true I get some dragging ability but it always says I have an invalid drop target by showing the crossed out circle curser.

Below is a simple application that I think should work but doesn't.  I haven't bothered to set the drop properties yet.  Please give me some pointers or an example that I can study to know what to do on this that is relevant to .NET 4.0 and recent releases.  I am currently using the latest internal build as of 9/12/2011.

Thanks,
Adam
<Window
    x:Class="RadGridView_DragAndDropTest.MainWindow"
    x:Name="Window"
    Title="MainWindow"
    Width="640" Height="480">
 
    <Window.Resources>
        <Style TargetType="telerik:GridViewRow">
            <Setter Property="telerik:RadDragAndDropManager.AllowDrag" Value="True"/>
        </Style>
    </Window.Resources>
 
    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.45*"/>
            <ColumnDefinition Width="0.1*"/>
            <ColumnDefinition Width="0.45*"/>
        </Grid.ColumnDefinitions>
        <telerik:RadGridView HorizontalAlignment="Right" Width="280.8" ShowGroupPanel="False" SelectionMode="Extended" AutoGenerateColumns="False" CanUserFreezeColumns="False" CanUserReorderColumns="False" ColumnWidth="*" DataContext="{Binding Source={StaticResource SampleDataSource}}" ItemsSource="{Binding Collection}">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Property1}"/>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
        <telerik:RadGridView Grid.Column="2" d:LayoutOverrides="Width, Height" ShowGroupPanel="False" SelectionMode="Extended" AutoGenerateColumns="False" CanUserFreezeColumns="False" CanUserReorderColumns="False" ColumnWidth="*" DataContext="{Binding Source={StaticResource SampleDataSource1}}" ItemsSource="{Binding Collection}">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Property1}"/>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>

Tsvyatko
Telerik team
 answered on 17 Sep 2011
0 answers
145 views
I want the first Combo box , that appears in the data filter , to have ceratin properties like, it must have a scroll drop down. and have the intellisense property, whrein we can put anything in the text box, with auto complete feature. thesefeatures  are possible when i set the properties of combobox item independently. but how to set it for a combobox which is a component of datafilter. i tried the tutorial , but couldnt do it. can someone tell me how to do it.
Chandan
Top achievements
Rank 1
 asked on 17 Sep 2011
1 answer
121 views
Hi team,

Can you please give one sample example of RadGrid(wpf control) with inline(Excel Like Grid) adding and editing Deleting  and TypedCombo in one column of the Grid.

Untill user presses save button than only want to save the data in DB.

Please send us ASAP
Maya
Telerik team
 answered on 17 Sep 2011
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
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?