Telerik Forums
UI for WPF Forum
6 answers
299 views
hii,
I am trying to create an application in which I want to drag an item from a treeview and drop it in radgridview with MVVM. Here I used attached command behaviour. When these drag and drop feature applied in simple code behind way it works properly. In MVVM it doesnot work.

So please give me some solution for this problem with samples.

Thanks.
Alpa.
Alpa
Top achievements
Rank 1
 answered on 03 Jan 2011
2 answers
138 views
Hi
           i have one clarification.we are using telerik rad controls in our project.
My problem about tab index in radcolorpicker control.
our layout design is having 25 fields.They are textbox,combobox,radiobuttons,etc...with only one radcolorpicker.
24th control is radcolorpicker in our project.Here i am setting tab index in  starting 1 to 25 in orderly.

also set radcolorpicker tabindex is 24.

i don't use mouse.working only tab.
if i put values in run time the tab will goes correctly.but finaly completed 25th field then CURSOR AGAIN COMES RADCOLORPICKER CONTROL.
That is my problem.here i want cursor in first field.

pls give me correct solution?
sivakanth
Top achievements
Rank 1
 answered on 31 Dec 2010
2 answers
78 views

Hello,

I am testing the RadControll for wfp with PRISM. I am using the RadPaneGroupRegionAdapter which I came across in this forum and all is working fine in default configuration.

I would like to know how to make any new  RadPanes added to the region ( implemented as a RadPaneGroup) to dock to the left by default.

I am using Telerik 2010 Q3, VS 2010, MSDOTNET 4.0

Any assistance on this matter is much appreciated

Cheers

Chintana
Top achievements
Rank 1
 answered on 31 Dec 2010
1 answer
299 views
Hi,

I have a WPF application with well defined Button style. I would like to use Telerik Button but I would like to use my own Style.

My Style is in the Application Resource and applies to all standar WPF buttons, except for Telerik. By the way My TabDividers also have an Application Resources Style and I presume the same thing will happen with Telerik Tab.

How Can I use my resource Styles it with Telerik controls.

Thanks in advance
Tina Stancheva
Telerik team
 answered on 30 Dec 2010
0 answers
146 views
Hi ,

How I can get the all Child Items of a Parent.

we are able to find the parent RadTreeListViewRow but could not find child row.

we tried below code but it is not working for us. 
  <>var Child = ((currentControl as Telerik.Windows.Controls.TreeListView.TreeListViewRow).ParentRow as Telerik.Windows.Controls.TreeListView.TreeListViewRow).ChildrenOfType<TreeListViewRow>();


Please suggest how to find all child row given a parent.
Sharada
Top achievements
Rank 1
 asked on 30 Dec 2010
4 answers
61 views

Hello

Can I add items to combo box column like in the combo box?

Like this

 

<telerik:RadComboBox >
         <telerik:RadComboBoxItem Content="Item1" />
         <telerik:RadComboBoxItem Content="Item2" />
         <telerik:RadComboBoxItem Content="Item3" />
</telerik:RadComboBox>

 

Best regards

Ehud

Avi Avni
Top achievements
Rank 1
 answered on 30 Dec 2010
3 answers
142 views
Hi

 I am using TreeListView. 
 I am adding columns dynamically at runtime

GridViewDataColumn

 

 

column;

 

 

 

for (int icnt = 1; icnt < ts.Days; icnt++)

 

{

column =

 

new GridViewDataColumn();

 

column.UniqueName =

 

"key" + icnt.ToString();

 

column.IsReadOnly =

 

false;

 

RadTreeListView1.Columns.Add(column);

}


I am populating the cell data in RadTreeListView1_RowLoaded event.

 

var

 

 

row = e.Row as TreeListViewRow;

 

 

 

foreach (GridViewCell cell in row.Cells)

 

{

 

 

if (cell.IsLoaded)

 

{

 

 

DateTime dates;

 

 

 

if (DateTime.TryParse(cell.Column.Header.ToString(), out dates))

 

{

 

 

string filter = "dates = '#" + dates.ToShortDateString().ToString() + "#'";

 

 

 

DataRow[] dr = lobjdt.Select(filter);

 

 

 

if (dr != null && dr.Length > 0)

 

{

cell.Content = dr[0][

 

"hours"].ToString();

 

}

}

}

}

I am facing one problem here.
Data in dynamic columns will populate only when columns are visible , data wont get populate if columns are not
visible.

I guess there is a problem with virtulisation while horizontal scrolling..

Please suggest.

Sharada
Top achievements
Rank 1
 answered on 30 Dec 2010
1 answer
50 views
Formatted Text when pasted onto Grid comes with additional double quotes ("") surrounding it. Why is that so? I tried pasting following data from excel to grid.

237 Customer 4579 70 16-Sep-21
3259 Customer 1614 42 12-Mar-17
9588 Customer 4777 81 08-Oct-37
4099 This
is
a
<Formatted>
Text.
45 08-May-16

It appeared on grid like this:

237 Customer 4579 70 16 Sep 2021
3259 Customer 1614 42 12 Mar 2017
9588 Customer 4777 81 08 Oct 1937
4099 "This
is
a
<Formatted>
Text." 45 08 May 2016
Yavor Georgiev
Telerik team
 answered on 30 Dec 2010
1 answer
113 views
I have a RadGridView with 3 to 15 columns.  Depending on user options and the space available, there will be some scrolling.  The RowDetails however should not allow scrolling.  They should always appear fixed in the window.

My biggest problem is that I have a WrapPanel in these details which decides it has infinite width.  I absolutely need it to wrap.

The second goal would be to make the wrap panel stay in view even when the grid is scrolled although this isn't quite as important.

The RowDetails has a DataTemplate.  The DataTemplate contains a StackPanel oriented vertically, and then contains a WrapPanel and a TextBlock.  Both the WrapPanel and the TextBlock need to wrap.

Is this possible?
Yordanka
Telerik team
 answered on 30 Dec 2010
2 answers
78 views

Hello

Is there option to control the search of the combo box in the combo box column?

This is not property that the column provides.

Best regards

Ehud

 

 

Avi Avni
Top achievements
Rank 1
 answered on 30 Dec 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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?