Telerik Forums
UI for WPF Forum
5 answers
176 views
I'm currently evaluating the GridView control for a project and am trying to determine if it supports a feature I would like to have. I've searched for this and found nothing, but I'm not sure if there's a common name for the feature I'm unaware of.

What I would like is the ability to show the editor template for a cell on a certain trigger, but without the row/cell entering edit mode; it'd be a sort of 'preview edit' mode. Then, when the control gains focus it would enter 'true' edit mode.

This might make more sense in context. Say I have a column displaying dates, and the editor I want to use is a standard .NET DatePicker. To edit this value I would like it to work like this: when I mouse-over a cell in that column, the editor template appears for that cell. Then, I can click into the editor textbox or click on the button that launches the popup; either of these would enter edit mode. This would allow me to edit the value with one fewer click than I'm currently able to.

Is this supported and I'm missing it, or is it possible to write myself, or just completely unsupported? Thanks.
Pavel Pavlov
Telerik team
 answered on 11 Oct 2011
0 answers
109 views
Hi telerik,

I'd like to write code that dynamically binds the Header to different properties on the DataContext depending on a bool.
I've found below code, but 'Header' is not the object to use in code - can you help me?

Thanks,

Anders, Denmark

 

 

 

 

 

Binding myBinding = _isPropertyEditor ? new Binding("DisplayNameEditor") : new Binding("DisplayNamePropertyEditor");

 

myBinding.Source = DataContext;

Header.

 

SetBinding(TextBlock.TextProperty, myBinding);

 

Anders
Top achievements
Rank 1
 asked on 11 Oct 2011
1 answer
135 views

Hi,

I have used the below code to make the parent and child gird (self reference) column with as same.

this.binder = new ColumnWidthBinder(this.RadGridView1);

if (

 

 

dataControl.ParentOfType<RadGridView>() != null)
{
for(int i = 0; i < dataControl.Columns.Count; i++)
{
this.binder.RegisterColumn(dataControl.Columns[i], i);
}
}

all the column widths of parent and child coming correctly. the self reference hierarchy is also find but its like all left aligned. If I want to maintain the width as same and also the child items should indent from the parent (tree view hierarchy), what I have to do?

Any help appreciated?

Thanks,
Ramasamy

 

Dimitrina
Telerik team
 answered on 11 Oct 2011
1 answer
168 views
Hi Telerik team,

I have a requirement in which focus should move to next cell using arrow keys.

When cell is in edit mode, use arrow key to move right. After reaching to the extreme right, focus should move to next cell on further pressing right arrow key.

Please let me know the work around. If possible, a sample would be helpful.

Thanks
Bala
Maya
Telerik team
 answered on 11 Oct 2011
0 answers
71 views
hi Team,

we are using telerik reporting for generating reports and saving the reports in different formats such as ms-word, excel, cvs etc.,
one scenario is failing for us when user saves a file name as filename.x (x be any character). for example when he select a report and exports it as word and in the save dialog box if he gives the name as 'report.1' it is not saving as word format and user unable to open this. please let me know how to handle this. following is the code snippet :

 

private void CbSelectionChanged(object sender, SelectionChangedEventArgs e)
  
{
  
if (e.AddedItems.Count == 1)
  
{
  
var selection = e.Audited[0] as ExtensionInfo;
  
  
if (selection != null )
  
_telerikReportViewerModel.SelectedRenderingExtension = selection;
  
//clear selection
  
((ComboBox) sender).SelectedItem = null;
  
}

 

 

 

 

 

Sharan
Top achievements
Rank 1
 asked on 10 Oct 2011
2 answers
102 views
Hey Guys,

I seem to be having a lot of trouble getting the Persistence Framework to work at all.  No matter whether I try to use IsolatedStorage or a stream, I get the following exception when I try to load the persisted data:

"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"

Has anyone see this before, or know what I might possible be missing?

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 10 Oct 2011
3 answers
131 views
We are databinding the ItemsSource property of the RadPivotMap to a property in our viewmodel of type ObservableCollection<> 
If we set this property to a new value, the propertychanged event is triggered and the pivotmap is updated.
However adding/deleting items to/from the ObservableCollection does not trigger an update of the pivotmap.

This seems like a bug in the pivotmap-control as everything works correctly if we bind another control to the same collection.
Yavor
Telerik team
 answered on 10 Oct 2011
1 answer
66 views
My data is structured such that I have 10 categories that I always want to display on the X axis, regardless of whether there are actually points in the bound collection for each of those 10 categories.  Is it possible to define a collection of categories that I want displayed on the X axis prior to binding to an actual data source?  Then, once the data source is bound, a line can be drawn between the YValues of the points in the categories that are actually present in the chart?

As a simplified example, say I have categories A, B, C, D, and E.  My data has values B=10, D=15, E=12.  I want to display a chart where all 5 categories are listed along the X axis with a line drawn between the B->D->E values.  Is this even possible in a data bound scenario?
Yavor
Telerik team
 answered on 10 Oct 2011
5 answers
299 views
Hi,

With Q2 2011, it is not possible to drag RadDocking panes, when the raddocking is placed inside
a radtabcontrol. See code below. I think that this is a known issue.
When do you expect to solve this issue?
In the meanwhile, is there a workaround?

Thanks,
Thomas



<
Window x:Class="MainWindow"
        Title="MainWindow" Height="350" Width="525">
        <Grid>
        <telerik:RadTabControl >
            <telerik:RadTabItem Header="Item 1">
                <telerik:RadDocking>
                    <telerik:RadSplitContainer>
                        <telerik:RadPaneGroup>
                            <telerik:RadPane Header="1"></telerik:RadPane>
                            
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>
                    <telerik:RadSplitContainer>
                        <telerik:RadPaneGroup>
                        <telerik:RadPane Header="2"></telerik:RadPane>
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>
                </telerik:RadDocking>
            </telerik:RadTabItem>
        </telerik:RadTabControl>
    </Grid>
</Window>
Konstantina
Telerik team
 answered on 10 Oct 2011
10 answers
293 views
Hello,

I have been searching for a way to do this for a couple of days now, does anyone know if there is a way to turn off droping between nodes when doing drag and drop on a radTreeView, in my case there are parent nodes already created and all the nodes that will be dragged in have to go in one of these parent nodes, i cant allow them to place a node between two of the parent nodes.

Thanks
Petar Mladenov
Telerik team
 answered on 10 Oct 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
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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
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?