Telerik Forums
UI for WPF Forum
9 answers
248 views
Hello,
      I have to click 2 times in the cell holding the checkbox before I am finally able to change the value of the checkbox on the 3rd click.
      My datasource is a dataset. The last two columns of the datatable in the dataset are booleans so they appear as checkboxes on the grid.

I've come up with a partial solution, which I implement in the grids selectionchanged event. I got it down to 2 clicks:

int currCol;
string currColHeaderName;

currCol = ((Telerik.Windows.Controls.GridViewDataColumn)((Telerik.Windows.Controls.GridView.GridViewCellBase)(((Telerik.Windows.Controls.GridView.GridViewDataControl)(gridname)).CurrentCell)).Column).DisplayIndex;

currColHeaderName = ((Telerik.Windows.Controls.GridViewDataColumn)((Telerik.Windows.Controls.GridView.GridViewCellBase)(((Telerik.Windows.Controls.GridView.GridViewDataControl)(gridname)).CurrentCell)).Column).Header.ToString();
            
if ( currColHeaderName == "<Whatever>") 
     target_servers.Columns[currCol].DataControl.BeginEdit();

Note. I compare the header names because if I reorder the columns this code would not work if I were looking at the column position.

Is there a 1 click solution out there?

Thanks

Miguel Peixoto
Top achievements
Rank 1
 answered on 15 Nov 2010
2 answers
97 views
I have a simple GridView
One of the columns is:
<telerikGrid:GridViewDataColumn 
Header="TDM Node" 
UniqueName="L1Type" 
DataMemberBinding="{Binding L1Type, Converter={StaticResource TDMNodeConverter}}"
/>
Which is using a converter to convert from one set of strings to another

The problem or a bug:
After the data is successfully loaded into the GridView
I am trying to GroupBy this column and get an error

The Error is that the TDMNodeConverter can't convert the value.
So what is happening is the DataGrid trying to execute the TDMNodeConverter on already converted data

Is this a bug? Or am I doing something wrong?

Thanks!

Yavor Georgiev
Telerik team
 answered on 15 Nov 2010
4 answers
105 views
Hello telerikTeam,

I have a question about the radneedle value-property namely what is the simplest way to achieve following:

I have a radgauge for RPM my ticks are going from 1-10, it means that the 1 represent 1000 and 10 = 10000. So my problem is when I set value of the needle to 1000 needle shows something wrong.. I want the the needle stays at 1.

Have I to divide the needle by 1000, or is there a better Way to manage this issue ?

Thnx

Daniel
Andrey
Telerik team
 answered on 15 Nov 2010
3 answers
132 views
Hi,

i want to enable the radwrappanel animation. I`ve set the isAnimated= true but for some reasons it doesn`t work
Here is my sample

 

 

 

<ListBox ItemsSource="{Binding Data}">
           <ListBox.ItemsPanel>
               <ItemsPanelTemplate>
                   <telerik:RadWrapPanel IsAnimated="True" Width="500" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"  />
               </ItemsPanelTemplate>
           </ListBox.ItemsPanel>
           <ListBox.ItemTemplate>
               <DataTemplate>
                   <StackPanel Orientation="Vertical">
                       <Image Source="{Binding DataString2}" Height="100"  Width="100"></Image>
                       <TextBlock Text="{Binding DataString3}"></TextBlock>
                   </StackPanel>
               </DataTemplate>
           </ListBox.ItemTemplate>
       </ListBox>

 

Am i missing something?

Thank you,
Mariya

 

George
Telerik team
 answered on 15 Nov 2010
3 answers
178 views
Hi,

Is it possible to prevent bars in the bar chart from overlapping?

Thanks!
Evgenia
Telerik team
 answered on 15 Nov 2010
1 answer
97 views
Hello Telerik Team,

I have a very strange thing happening with my WPF Chart where I can't find a solution for.

Please see the attached image.

The first two points of each series actually have a very different x-value, but are drawn at the same x axis reagion.

This happens with every series, regardless of scrolling, zooming, sampling.

What can I do to get around this?

best regards

Ulrik
Yavor
Telerik team
 answered on 15 Nov 2010
3 answers
100 views
Hi,

I am using a WPF radgridview and the RowValidating event:

 

 

Private Sub RadGridView1_RowValidating(ByVal sender As System.Object, ByVal e As Telerik.Windows.Controls.GridViewRowValidatingEventArgs)

 

e.IsValid =

 

False

 

 

 

End Sub

 


According to the documentation, there is a NewValues property which can be used to access the new values, as well as an OldValues property.  The OldValues property is there but I don't see NewValues.  Also, is there any way to provide an error message for rowvalidating like you can with cellvalidating?

Thanks
Maya
Telerik team
 answered on 15 Nov 2010
2 answers
167 views
I wish to implement a draggable rectangle (similar to the one that you get if you set the MouseDragMode to Select) so that I can use it to select a set of ploygons that lie within it on a different InformationLayer?

What is the best way to approach this, for example am I better off drawing a shape on an information layer?

Any pointers would be most welcome

Thanks
Simon
Simon
Top achievements
Rank 1
 answered on 15 Nov 2010
1 answer
224 views
How can I stop Tab key navigation in the Grid? I have a window that has some Textboxes and a RadGrid. I need when user presses the Tab key, the focus moves between all the controls in the window not inside the RadGrid. In other words, I don't want tab key selects another cell or a row in the RadGrid. When the focus is in the Textbox before the RadGrid Tab key will set the focus to the Grid but then the focus is stuck in there and won't go out unless all the cells in the Grid are traversed. How can I change this?
Maya
Telerik team
 answered on 15 Nov 2010
5 answers
2.1K+ views
Hi!

Is there a simple way to change the mouse-over color for a RadButton?
I have extracted the tamplate and there is a RenderMouseOver attribute. Can I change this in some way to achieve what I want?

Regards,
Lennart
Viktor Tsvetkov
Telerik team
 answered on 15 Nov 2010
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
SplashScreen
Rating
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?