Telerik Forums
UI for WPF Forum
3 answers
377 views
Sample column:

<telerik:GridViewDataColumn DataMemberBinding="{Binding Path=SelLang}">
    <telerik:GridViewColumn.CellTemplate>
        <DataTemplate>
            <ComboBox SelectedValue="{Binding Path=SelLang}"
                      ItemsSource="{Binding Langs}" 
                      SelectedValuePath="LanguageCode" 
                      DisplayMemberPath="LanguageName" />
        </DataTemplate>
    </telerik:GridViewColumn.CellTemplate>
</telerik:GridViewDataColumn>

Clicking any other column selects the row (we have the indicator turned on to easily see this), however, clicking and selecting items in this combobox doesn't activate the row. Which property or other trick did I miss?

Thanks,
 Chris
CindyLu
Top achievements
Rank 1
 answered on 21 Mar 2013
1 answer
240 views
See documentation


IsReadOnlyBinding="{Binding IsActive}"

If I set it to true as in "read-only" it is actually not read only, but setting it to false makes it read only...

Am I missing something?



edit: actually it's working correctly, but the documentation is misleading.
Yoan
Telerik team
 answered on 21 Mar 2013
0 answers
110 views
Hi Experts,

I am creatring an WPF app using RadGridView control. In that i need to use ComboBox with somevalues (1,2,3,4,5-constant values in the dropdown list) also i want to display  value of "Size" property by default that is bound in the Grid's itemsource collection.

When i select any value in the combobox that should be updated in the cell and also in the underlying collection's "Size" property.

Defalut value of the column is from the Grid's ItemSource property "Size".
The drop down list have some values and selecting that value should update in the cell and also in the underlying collection property.

Please help me anybody.

Thanks in advance.
Regards,
Ramesh
velusamyr@hcl.com
Ramesh
Top achievements
Rank 1
 asked on 21 Mar 2013
1 answer
97 views
Is it possible to either set a specific size on the appointment column widths, or to set the number of visible columns when using multiple resources in a day

We have a need to see all appointments for 10+ resources at the same time without scrolling, however, the only thing I have been able to change has been the header size, not the actual appointment column width
Shawn Shaddock
Top achievements
Rank 1
 answered on 21 Mar 2013
2 answers
111 views
Hi Experts,

I am creating an WPF application, in that i am adding new records from code behind. When the record is loading in grid, i need to check the cell value of a column and based on that cell value , i will make the next cell as ReadOnly/Editable.

Ex:

When record loading,

If the 2nd column's cell value is <4 then i have to make 3rd column cell as ReadOnly cell.

I have attached an image for your refrence, from that you can see based "CheckWeight" column the "Size" column will be as ReadOnly or Editable with Dropdown list.

Please help me anybody by giving ideas like, how to check cell values while record is loading and make other cells as readonly cell

Thanks in advance.
Ramesh
velusamyr@hcl.com
Ramesh
Top achievements
Rank 1
 answered on 21 Mar 2013
0 answers
106 views

I have the following problem,

I get a list of employees from my DB, each employees has:

Employee
{
                String Name{get; set;}
                String  IList<Work> assignments {get; set;}
}

And each Work has:

Work
{
                String Work_name{set; get;}
                DateTime date{set; get;}
}

Now I need to show a grid between to preselected dates day by day

Like

Employee       |    01/01/2001  |   02/01/2001       | 03/01/2001     â€¦..

EmployeeA     |      WORKA     |     NO WORK      |  WORKC       ….

EmployeB       |      Other W     |     OtherW          |  No WORK  ….
.
.
.

And the user must can change the work name dynamically

I must crate the view manually so can you help  me how to do it.

Thanks and sorry for the bad English.

Francisco
Top achievements
Rank 1
 asked on 21 Mar 2013
2 answers
244 views
I'm probably just missing this somewhere.

I would like ScheduleView to stay within a range of dates, not allow the user to view dates before a given date or after a given date, I.E. not allow a week view to go before 3/10/2013 or after 3/24/2013.

What would be the easiest way to accomplish this?

Thanks!
Yana
Telerik team
 answered on 21 Mar 2013
2 answers
1.0K+ views
Is there a visual difference between the two GroupRenderModes?

When I alternate between these settings, I don't see any visual difference in how Grouping is presented so I'm wondering if it is even working in my grid.

Maybe it's only an internal difference in performance?

Some images in the documentation would be really helpful there.
ClausDC
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 21 Mar 2013
1 answer
175 views
Hi!

I need some support to create a treeview, that is bound to a dataset and hierarchically displays the content in the following way:

Customer 1

     Orders (<- Group node)

         Order 1

     Shipping Notes (<- Group node)

         Shipping Note 1

         Shipping Note 2

     Invoices (<- Group node)

         Invoice 1

     Order 2

     Order 3


In the underlying relational structure are the four datatables "customer", "orders", "shipping notes" and "invoices" with parent-child relationships between "customer" - "orders", "orders" - "shipping notes" and "orders" - "invoices". The dataset structure corresponds to the database structure, so I'm not able to change it.

I tried to extend the basic grouping example from Valentin Stoychev using a CollectionViewSource, but i was not able to combine them.

Can you give me a hint how get it to work?

Thanks!
Petar Mladenov
Telerik team
 answered on 21 Mar 2013
3 answers
398 views
Hi Experts,

I have tried your AutoCompleteBox with the following code, but it is not working. I could not get any suggesstions and the dropdown list is not showing any suggesstion list. Simply the control works like a TextBox only. Please help me, what is my wrong.

<Window x:Class="Interactivity_Behavior_Demo.MainWindow"
        xmlns:local="clr-namespace:Interactivity_Behavior_Demo.Behavior"
        Title="Test Demo"
        Width="525"
        Height="350">
  
      
        <Telerik:RadAutoCompleteBox Name="autocomp" Loaded="autocomp_Loaded_1" Height="30" Width="120"/>
         
</Window
  
public MainWindow()
        {
            InitializeComponent();
            _Source = new ObservableCollection<string>() { "hello", "abc", "123" };
            autocomp.ItemsSource = Source;
        }
    
private void autocomp_Loaded_1(object sender, RoutedEventArgs e) 
        
            autocomp.IsDropDownOpen = true; 
            autocomp.AutoCompleteMode = Telerik.Windows.Controls.Primitives.AutoCompleteMode.Suggest; 
            autocomp.TextSearchMode = Telerik.Windows.Controls.TextSearchMode.StartsWith; 
        }
Vladi
Telerik team
 answered on 21 Mar 2013
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?