Telerik Forums
UI for WPF Forum
4 answers
140 views
Hi,

before i save a new appointment in my database, i have to check different issues. This i do in the "AppointmentCreated" Event.
If the Input is wrong i have to go back to the AppointmentDialog. The Problem is, that the Appointment is created an the Dialog
is closed. e.Cancel is not known.

How do i let the Dialog stay open?

Thanks
Rene
ITA
Top achievements
Rank 1
 answered on 11 Sep 2013
4 answers
228 views
I have a databound listbox that is bound to a class call Animal.   On another form is several databound listboxes that are different types of animals.  All listboxes use the Animal class.   So what I want to do is when a user grabs an Animal class from the source listbox and drags it over to the form, depending on Animal.Type, only the listbox named the Animal.Type can accept the drop.

I thought maybe I could do this by using DragEnter.  But I can't seem to get the business object out of the data object.  I thought if I could, I could check it, and if it matched the Listbox name, I would enable drop.  If not, I would disable drop on that listbox.  I would do that to all of them.

Is this possible? I have been wrecking my brains and cannot figure out how to get the data out and what property to put it in.  All the examples seem to talk about drag/drop strings.  I have full blown bound objects.

So it is conditionally dropping depending on a property of the object being dragged.
Nick
Telerik team
 answered on 11 Sep 2013
4 answers
608 views
I have a GridViewComboBoxColumn inside a RadGridView. The GridViewComboBoxColumn is bound to a collection of Objects. I need to display different things for the selected option vs the dropdown options. I would like to display one property of the Object in the selection box (object.Name), and another property in the drop down (Object.Description).

I accomplished this in a RadComboxBox before by doing the following:
<telerik:RadComboBox Grid.Row="2" Grid.Column="1" telerik:StyleManager.Theme="Windows8Touch" Margin="5 3 5 0" MaxDropDownHeight="1000"
                     ItemsSource="{Binding MultiCropTypes}" SelectedValue="{Binding SelectedMultiCropTypeId, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=True}"
                     Tag="{Binding MultiCropTypes}" SelectedValuePath="PkMultiCropTypeId">
    <telerik:RadComboBox.SelectionBoxTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding Description, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" TextTrimming="CharacterEllipsis" />
        </DataTemplate>
    </telerik:RadComboBox.SelectionBoxTemplate>
    <telerik:RadComboBox.ItemTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding Name, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" TextWrapping="Wrap" Width="900" Margin="0,0,10,0" />
        </DataTemplate>
    </telerik:RadComboBox.ItemTemplate>
</telerik:RadComboBox>

I can't do this for a GridViewComboBoxColumn because there is no "SelectionBoxTemplate" property.

Is it possible to get the same behavior in a GridViewComboBoxColumn? Any help would be greatly appreciated. Thank you.
Yoan
Telerik team
 answered on 11 Sep 2013
1 answer
201 views
Hi,

i use your OrgChart example which work fine. Now i want to place a button on each node. This button is placed in the
<telerik:RadFluitContentControl.LargeContent> next to the toggle button.

On Click i want to open a database mask for this node. How do i get the selected node in my Click-Event?

Thanks
Best Regards
rene
Petar Mladenov
Telerik team
 answered on 11 Sep 2013
3 answers
261 views
Hello,

Is it possible to use the AggregateFunctions CountFunction with AutoGenerateColumns set to True?  We have a datasource we would like to connect to without defining each columns in xaml or code.  In every example I've always seen the AutoGenerateColumns set to false.  As it stands, if I do the same I will either endup with a "blank" column or duplicate.

Kind regards
Dimitrina
Telerik team
 answered on 11 Sep 2013
1 answer
159 views
Hello, I'm just wondering how you guys achieved this feature in the Annotations Chart demo. It seems like that part of the demo is not in the sample code, so it would be interesting to see your approach for that feature (Picture attached).

Please let me know. Thank you.
Carlo
Top achievements
Rank 1
 answered on 10 Sep 2013
2 answers
108 views
Hello,

I have performance problems with windows 8 theme.
When changing view, my radgridview takes more than  1.5s to appear.
The root cause is not my own code, I don't have this problem with other themes (windows7).

Anyone has had this problem?

Regards,

Laurent
Laurent
Top achievements
Rank 1
 answered on 10 Sep 2013
1 answer
183 views
Hi, I was wondering if there is a sample for the integration of RichTextBox in a DataForm?
I would like to use the RichTextBox as a replacement for a "normal" TextBox in a dataForm.

<telerik:DataFormDataField DataMemberBinding="{Binding Description, Mode=TwoWay}"

Label="Description:"

IsEnabled="True"

IsReadOnly="False"

Description="You can enter any information regarding this server in this field.">

<telerik:DataFormDataField.Content>

<telerik:RadRichTextBox x:Name="rtbDescription" Width="450" Height="200"></telerik:RadRichTextBox>

</telerik:DataFormDataField.Content>

</telerik:DataFormDataField>

I understand I'll have to capture certain events to keep the RichTextBox's document in sync with the bound property, and work with a FormatProvider to import/export the RichTextBox document into/from that property.

However, A sample would be much appreciated.

Thanks a lot

Boby
Telerik team
 answered on 10 Sep 2013
5 answers
503 views
Hi,

i'm looking for a working RadDataForm Validation Example. I use a RadDataForm with a newItemTemplate and some DataFormDataFields.But how can i validate this fields bound to a ObservableCollection?

I like this red border with the little red box beside! No example ist helping me
Thanks for helping me!

BestRegards
rene
Ivan Ivanov
Telerik team
 answered on 10 Sep 2013
0 answers
107 views
Hi,

for my scheduleview i create "GroupHaderResources" out of a database. These resources are employees and each employee is one group.
Grouping and filtering is running fine. if I create an appointment I set the group in my appointment dialog, ok. But is it possible to disable some
groups out of the grouphaderresource on entering the appointment dialog?

Thanks Regards
Rene
ITA
Top achievements
Rank 1
 asked on 10 Sep 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
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
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?