Telerik Forums
UI for WPF Forum
1 answer
133 views
Hi there, 

I am trying to get familiar with this control and how to style it as per requierements

What is the best approach to get the mockup attached?

I mean, what events, properties and methods whould I take advantage from?
If you have any sample code, it would be great as well, but point me in the right direction will be a great starting point

Thanks in advance

Fernando

Kalin
Telerik team
 answered on 11 Sep 2013
1 answer
101 views
Hello, I'm a beginner.
If you don't mind, could you post on EntityFrameWork 5.0 Database First  Simple Project Source?
Please give me a source to understand ScheduleView.
Thank you.








Kalin
Telerik team
 answered on 11 Sep 2013
4 answers
72 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
167 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
543 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
123 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
199 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
124 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
75 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
140 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?