Telerik Forums
UI for WPF Forum
1 answer
222 views
Is there a way to make some rows readonly and other editable? Even better would be on the individual cell level.

I have the following scenario. I have a list of items that I need to display both horizontally, which is the normal grid behaviour, and vertically.

To accomplish this I have to build a datatable dynamically based on which option is selected. (horizontal or vertical).

When horizontal is selected I do not have a problem because I can set columns to be readonly. However when I display the data vertically I need the top row, with the exception of the first column which now acts as the headers, to be editable and all other rows to be readonly. I have attached screen shots to demonstrate

Thanks,

Billy Jacobs
Maya
Telerik team
 answered on 30 Jul 2010
4 answers
848 views
Hi there

Here is my problem and I hope someone could help me please:
- How can I turn a RadGridView Row with all cells in edit view and validate all entries at once?
The problem with the RadGridView is that we can only turn editable a single cell from a column that is at ReadOnly = false.
If there is a solution, please informe me ;-)
Thx

Windows Vista
WPF
C#

Valerio
Valerio
Top achievements
Rank 1
 answered on 29 Jul 2010
8 answers
269 views
Hi,

I want to check with you what is the right way to programmatically expand and select a node in a tree view which is using virtualization in recycling mode. The tree may be full of nodes and those nodes may not be visible on the screen at that moment.

Can you please provide a sample application which demonstrates how to achive that.

Thank you,
Ruben.
rubenhak
Top achievements
Rank 1
 answered on 29 Jul 2010
2 answers
167 views
Is there anyway to ignore the SelectionChanged event from the GridViewSelectColumn when the grid is loading?
 
When the grid is loading, I make the row selected during the rowloaded event based on a value in the row (to indicate something was "selected" in past use of the grid). I then want to have code in the selectionChanged method that kicks off based on what happens to these rows after the grid is loaded from the user interaction, but i can't seem to figure out how isolate the code to run only during this time and not every time it is selected in the rowloaded event.

Thanks.
Chet Watkins
Top achievements
Rank 1
 answered on 29 Jul 2010
1 answer
92 views
Guys,

not sure if this is something thats possible, but is it possible to make only certain parts of an item "Draggable"... having an area / control that is the drag point of the control... see exampeitem imaeg for the kinda of area i'm talking about on my control..

Hope this makes sense.

Cheers guys
Miroslav
Telerik team
 answered on 29 Jul 2010
18 answers
934 views
hy everybody,

I can not figure out how to change the column header caption of a column which was autogenerated since the radviewgrid's itemsource property is bound to a datatable. My code as listed below does not do the job.

with me.radgridview1
    .columns(3).HeaderText = "Name"
end with

The headertext still shows the fieldname of the datatable.

Any suggestion is highly appreciated.

best regards,

Michael Lutz
BITsoft
Michael
Top achievements
Rank 1
 answered on 29 Jul 2010
3 answers
161 views

I have a problem which only seems to occur when using the Telerik RAD tree views , instead of the standard WPF treeview control

On a basic level, I have an application that loops through an OLAP cube and returns data to the interface treeview.  The treeview then displays the data in a format like below 

 + Measure
  Measure1
Measure2
Measure 3
Measure 4 etc

I want to be able to drag each individual node (e.g Measure 2 or Measure 3) into another treeview. However when dragging the measures, it drags the whole root (Measure) preventing me from separating the nodes.

Any idea how it could be made possible to drag individual nodes instead of the whole root??


The relevant XAML and XAML.cs is shown below

XAML
 <Telerik:RadTreeView x:Name ="treeCube" IsDragDropEnabled ="True" Margin="250,174,41,158" Background="White" Telerik:StyleManager.Theme="Windows7" ToolTip="Drag" AllowDrop="True">       
        </Telerik:RadTreeView>

        <Telerik:RadTreeView x:Name ="treeCubeTwo" IsDragDropEnabled ="True" Margin="0,174,-491,158" Background="White" Telerik:StyleManager.Theme="Windows7" Width="509" HorizontalAlignment="Right">        
        </Telerik:RadTreeView>

XAML.cs

 private void LoadCube_Click(object sender, RoutedEventArgs e)
            {

                // get the cube schema
                Helper helper = new Helper("demo01");
                helper.Catalog = "Adventure Works DW 2008R2";
                helper.Cube = "Adventure Works";

                _cube = helper.GetCubeSchema();

                // create an empty parameter set
                _params = new ParameterSet();

                // populate the left-hand treeview with cube schema

                // measures
                TreeViewItem measuresItem = new TreeViewItem();
                measuresItem.Header = "Measures";

                foreach (Measure measure in _cube.Measures)
                {
                    TreeViewItem measureItem = new TreeViewItem();
                    measureItem.Header = measure.Caption;
                    measuresItem.Items.Add(measureItem);
                }

                treeCube.Items.Add(measuresItem);




Hristo
Telerik team
 answered on 29 Jul 2010
3 answers
85 views
Hi!

Is there an autocomplete textbox component for WPF interface with telerik? 

Thank you!
Rossen Hristov
Telerik team
 answered on 29 Jul 2010
1 answer
89 views
Hi,
I got problem when i installed your latest release and found that when we change a combox value, it changes the combobox selected value on previous rows and set their selected items the same one I have put in new cell. Any idea?
Also when i rev erted my version to previous one, grid is working fine..
Thanks
Milan
Telerik team
 answered on 29 Jul 2010
3 answers
144 views
Hi, 

 I have a form containing table layout control , I would like to print preview the tablelayout panel.
Currently I calculate the position of the controls and place them on the document for printing. But this will result in truncation of the controls which will not fit on the page.

Any samples will be of help. 

Thank you.
Yavor Georgiev
Telerik team
 answered on 29 Jul 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
Slider
Expander
TileList
PersistenceFramework
DataPager
TimeBar
Styling
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?