Telerik Forums
UI for WPF Forum
1 answer
128 views
Hi Telerik Support,

Good Day ;)

I am working on the following requirements:

  1. Requirement #1: Implement a RadGridView which allows Cell Editing
  2. Requirement #2: All Inputs are numeric. We currently have implemented a CellValidating event to check for numeric input.
  3. Requirement #3: There are some special key that can allow some numeric value to be inserted. For example if we input "L" into the editing cell, we expect the value will be replaced with a number 1234567.

We tried to implement the Requirement #3 by adding some logic in CellValidating Event to intercept for "L" and change the e.Cell.Value accordingly. But it seems to be not working.

What would you recommend to implement the Requirement #3?

Thanks
Ric Yik
Ivan Ivanov
Telerik team
 answered on 19 Aug 2011
1 answer
247 views
Hi

Couple of points I wanted to give my opinion on.

I'm not sure if this was is supposed to happen, but in your example, if you have the crop tool on and then you hit save, the saved image will take the image inside crop rectangle and not the original full image. This most happens when the crop tools turns off it applies the crop before it saves.

In my opinion, the crop tool should have an apply button. Instead of the user having to hit the crop button again (or hitting another button to apply the crop), the user would hit "apply crop" which would apply it. Hitting the crop button would simply turn off/on the tool.

This would get around the fact it saves the cropped image.

Thanks..great product ps.

-Matt
Mike
Telerik team
 answered on 19 Aug 2011
3 answers
63 views

Hi,

 

I was wondering if it is possible to have custom header in WPF RdaGridView where a header of 3 column would have a header parent similar to the group header idea.  This only for personation purposes and doesn’t affect column functionality. Each column is bound to a field in the view-model.  Here is illustration of the header we would like to have.

-------------------------------------------------------------------------------------

                |              |              |              Group Header      |             |

                |              |              |-----------------------------------|             |

 Col1       | Col2     | Col3     | col4    | Col5    | Col6        | Col7    |

                |              |              |              |              |              |              |

-------------------------------------------------------------------------------------

                |              |              |              |              |              |              |             

                |              |              |              |              |              |              |             

                |              |              |              |              |              |              |             

                |              |              |              |              |              |              |             

                |              |              |              |              |              |              |             


Any idea?

 

Maya
Telerik team
 answered on 19 Aug 2011
1 answer
347 views
Hello,

I want to use RadProgressBar in my code with the option IsIndeterminate=True.

This is the code:

 

 

this.progressBar.Visibility = System.Windows.Visibility.Visible;
//Do Some thing that blocks UI thread           
this.progressBar.Visibility = System.Windows.Visibility.Hidden;

Once I run this I dont see the progress bar.

Is there something I need to do?

Should I put the progress bar call in a worker thread?

Can you please help me with some sample?

Thanks & regards,
Santhosh B

 

Petar Mladenov
Telerik team
 answered on 19 Aug 2011
3 answers
196 views
We have implemented the RadMenu in a new application and when we click on a menu item it correctly fires off an event which launches a C++ MFC application and exits the click event.  The MFC application launches without issue, but it is visible behind the menu which is still visible.  If we click on the MFC app the Menu disappears. 

Why would the menu not be closing here?  Any ideas?
George
Telerik team
 answered on 19 Aug 2011
1 answer
165 views

We use the RadChart in a DataTemplate.
We would like to show the hand-cursor when moving over the chart.

<Controls1:RadChart Cursor ="Hand" mapinfo:MapLayer.Location="{Binding Location}"  Visibility="{Binding Hide, Converter={StaticResource BoolToCollapsedConverter}}" Width="32" Height="32" Background="Transparent" BorderBrush="Transparent" Name="pin" Content="{Binding GebyrChart}" >

But… the hand shows only when the mouse points to the border/side area of the chart. When moving to the middle, over the (pie) chart  the cursor changes to the default arrow.

We have a PopUpMenu popping up on right-click. This does not work when the mouse is in the center of the chart.

Ves
Telerik team
 answered on 19 Aug 2011
2 answers
239 views
Hi If I have this scenario:

<telerik:RadToggleButton Content="Switch View" Width="90" Grid.Row="0" HorizontalAlignment="Left" IsChecked="{Binding Path=AlternitiveViewActive }" Checked="ToggleButton_Checked"  Unchecked="RadToggleButton_Unchecked" />
             
            <Grid Grid.Row="1" Name="gridUnTabbed">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition Width="Auto"/>
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <telerik:RadTabControl Grid.Column="0">
                    <telerik:RadTabItem Header="Exception" >
                        <ScrollViewer>
                            <TextBox Name="txtException2" TextWrapping="WrapWithOverflow" />
                        </ScrollViewer>
                    </telerik:RadTabItem>
                </telerik:RadTabControl>
 
                <GridSplitter Grid.Column="1" Name="tabSplitter" Width="4" ResizeBehavior="PreviousAndNext" Background="Gray" HorizontalAlignment="Stretch" />
 
                <telerik:RadTabControl Grid.Column="2">
                    <telerik:RadTabItem Header="StackTrace">
                        <ScrollViewer>
                            <TextBox Name="txtStackTrace2" TextWrapping="WrapWithOverflow" />
                        </ScrollViewer>
                    </telerik:RadTabItem>
                </telerik:RadTabControl>
            </Grid>

Can I let the PersistenceFramework remember how the splitter was located ?  And can I use it to remember window size, ToggleButton checked / unchecked status and so on ?

I did some experiments with the telerik:PersistenceManager.StorageIs then saved the status via IsolatedStorageProvider isoProvider but the splitter location remained the same... Any ideas ?

Best regards
kristján
Kristjan Einarsson
Top achievements
Rank 1
 answered on 18 Aug 2011
5 answers
531 views
Hi.
I'm trying to use BusyIndicator. I want to start it when the button login is pressed, so I've setted the property IsBusy to false when the windows startup and then to true when the button is pressed.
I'm working with the pattern MVVM so I've binded the property IsBusy with a property in the viewmodel initially setted to false and then to true when the button is pressed.

The problem is that the BusyIndicator is on the top of the window also if its property IsBusy is setted top false.

What I've to do?

Thanks and regards
Andrea Ferrari
Ivo
Telerik team
 answered on 18 Aug 2011
5 answers
184 views
We decided to use the Vista style since it is the closest to what we wanted.
The only thing we need to change is the selection/hover color in all controls...
Where do I start ? I did not find clear info on how to do this...
Thanks !

Vanya Pavlova
Telerik team
 answered on 18 Aug 2011
1 answer
135 views
How can I dynamically make sure the datetime format represents something close to what the users local machine format is for the date and the time ruler. This has to be able to support international date formats.

Also, I am not sure how this plays into the fact that I have a GroupHeaderTemplateSelector specifiied which also appears to have some kind of formatting involved.
<common:MetrixScheduleViewGroupHeaderSelector.HorizontalDayViewDateTemplate>
            <DataTemplate>
                <TextBlock Margin="4" Text="{Binding Name, StringFormat=dd dddd}"/>
            </DataTemplate>
        </common:MetrixScheduleViewGroupHeaderSelector.HorizontalDayViewDateTemplate>

Ivo
Telerik team
 answered on 18 Aug 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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?