Telerik Forums
UI for WPF Forum
1 answer
158 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
178 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
81 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
110 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
143 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
74 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
316 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
316 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
8 answers
132 views
Hi all, 

I have found a strange behaviour in the radchart legend and I'd like to know whether it is due to something I am missing or to a bug.

The scenario is pretty simple. I have a Radchart plotting several line series. Each series's parametrization (color, axis ranges, and so on) is stored in a settings class. As the user edits the series settings, the settings class is updated and changes are propagated to the chart (not via binding but using normal procedural code). The problem comes when the user changes the series color. I then use the following piece of code to change the color in the chart series:

obSerie.TelerikSeriesMapping.SeriesDefinition.Appearance.Stroke = new SolidColorBrush(obSerie.SerieColor);

This works great and the chart series changes its color accordingly. However, the small square in the legend associated to that serie does not update itself and keeps the color previous to the change. 

Am I supposed to make any other updates in the control or is this a bug?
Yavor
Telerik team
 answered on 10 Oct 2011
2 answers
284 views
Hi,

Could anyone help me with the Rad Map Control? The problem i am facing is that, when i set zoom level to 5ml (i.e. 12  Zoom Level) under  1024 * 768 Screen Resolution, Rad Map Displays zoom level 2.5 Ml (i.e. 13  Zoom Level). I would like the zoom level to display 5mls even under resolution 1024 * 768.

Thanks in advance.
ishan
Top achievements
Rank 1
 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
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
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
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?