Hello, I have questions.
1. How can I type Arabic numbers in RadRichTextBox? The numbers are always English although the key board is in Arabic mode.
2. How can I write a code to add a bullet with the character which is appended in the first attachment?
3. Actually I have to have a kind of bullet which has a vertical line for entire bullet-paragraph and has the first-appended character for each bullet (as it can be figured in second attachment? How can I do this and set the color of the vertical line and bullet?
Thanks
Hi,
I have one of the property type Collection,by default collectioneditor template is applying but I want to change EditorStyle to none instead of modal.When I try to do this
[Telerik.Windows.Controls.Data.PropertyGrid.Editor(typeof(Telerik.Windows.Controls.Data.PropertyGrid.CollectionEditor),Telerik.Windows.Controls.Data.PropertyGrid.EditorStyle.None)]
public ObjectCollection Properties { get { if (m_PropertiesSet == false) { m_Properties.AddRange(Properties); } return m_Properties; } }
The Collection window is coming as empty.How to achieve this,i just want to change the editor style.?
Regards,
Nagasree.
Hello everyone
I got a radgridView with an autogeneratingColumn to false
<telerik:RadGridView Margin="8,10,8,32.96" ShowGroupPanel="False" CanUserReorderColumns="False" CanUserDeleteRows="False" CanUserInsertRows="False" CanUserResizeRows="False" CanUserSortColumns="False" CanUserFreezeColumns="False" CanUserResizeColumns="False" RowIndicatorVisibility="Visible" ItemsSource="{Binding Files}" SelectedItem="{Binding SelectedFile}" AutoGeneratingColumn="GridViewDataControlOnAutoGeneratingColumn" IsFilteringAllowed="True" PreparingCellForEdit="GridViewDataControl_OnPreparingCellForEdit" />This radGidview show some line with some column Checkbox (not fix column count, depend on data), see attached file. My goal is when user double click header row, all row checkbox will be checked, and the best of the best would be I could put a row checkbox in the header row but I don't think it's possible.
I also tried to put some command line like a button column but I can't get the right selected row when button is first clicked.
See below for the autogenerating column event :
Private Sub GridViewDataControlOnAutoGeneratingColumn(sender As Object, e As GridViewAutoGeneratingColumnEventArgs) Dim dataColumn = TryCast(e.Column, GridViewDataColumn) If (dataColumn Is Nothing) Then Return If (e.Column.UniqueName = "FileName") Then e.Column.Header = "File Name" e.Column.DisplayIndex = 0 e.Column.Width = 200 ElseIf (e.Column.UniqueName = "AssignedTag") Then Dim column = New GridViewComboBoxColumn() column.DataMemberBinding = CType(e.Column, GridViewDataColumn).DataMemberBinding column.ItemsSource = CType(Me.DataContext, FileViewModel).AcceptedTags column.Header = "Assigned Tag" column.DisplayIndex = 1 column.Width = 200 column.IsFilterable = False e.Column = column Else Dim checkBoxColumn = New GridViewCheckBoxColumn() checkBoxColumn.DataMemberBinding = dataColumn.DataMemberBinding checkBoxColumn.Header = dataColumn.Header checkBoxColumn.UniqueName = dataColumn.UniqueName checkBoxColumn.EditTriggers = GridViewEditTriggers.CellClick checkBoxColumn.AutoSelectOnEdit = True checkBoxColumn.Width = 50 checkBoxColumn.HeaderTextAlignment = TextAlignment.Center checkBoxColumn.TextAlignment = TextAlignment.Center Dim sty As New Style(GetType(GridViewCell)) sty.Setters.Add(New Setter With {.Property = GridViewCell.HorizontalContentAlignmentProperty, .Value = HorizontalAlignment.Center}) checkBoxColumn.CellStyle = sty e.Column = checkBoxColumn End If Dim binding = New Binding("IsInEditMode") binding.Converter = Me._invertedBooleanConverter e.Column.SetBinding(Telerik.Windows.Controls.GridViewColumn.IsReadOnlyProperty, binding) End SubSo how Can I got a double click on header row or insert a checkbox into header row ?
thansk
Regards
I am implementing "edit HTML" functionality by creating a RadDocument and loading a HTML file. Once I modify the RadDocument and try to export/save with below code snippet; the newly HTML has improper rendering. By improper rendering, I mean, some additional content gets added than what appears in the RadDocument.
//---------------------------Code snippet of Importing-------------------------------------
document = fromFormatProvider.Import(readStream); ===========> Load the *HTM provider readStream to RadDocument
//-----------------------------------------------------------------------------------------------------
// -----------------------------Code snippet of Exporting-------------------------------------
IDocumentFormatProvider fromFormatProvider = new HtmlFormatProvider();
using (FileStream writeStream = new FileStream(emailtemplateinfo.Path, FileMode.OpenOrCreate))
{
document.EnsureDocumentMeasuredAndArranged();
fromFormatProvider.Export(document, writeStream); ======================> Export the newly modified RadDocument to HTM provider
}
Hello,
I'm using a RadGridView. In columns, I set data items with simple string values, but the encoding doesn't working : I'm french, and I'm using accents :)
For example :
- I want that the grid displays "DO Cité" ---> You can see the result in attached file.
___
So, I didn't find how I can apply encoding for my RadGridView (or my Window).
Thank you for your help !
Valentin.
Hello everyone,
I'm looking for a chart (x-y Axis) which has the following abilities:
1. can display series of different types (line , area ..)
2. drag and drop ability of point in line series
3. drag and drop ability of section in line series
4. give a different style ( color, thickness) to each section in the line series.
Is there a chart containing all these abilities? maybe some example of this chart.
Thanks for your help,
Roman

Hi!
My export is good but I have a model xls file and I would like to begin my export starting from my ligne 7 of my model file.
Also I would like to know if I can recover some information with my radGridView.
I have a problem with my first line is move automatically, it's not the good position, what can I do ?
Thanks for answering
Hello,
I have this problem. I have a class named Holds with 2 properties: OriginOrTargetId(type int) and OriginOrTargetName(type string).
I have a Combobox in my xaml file that display the OriginOrTargetName of this object. And I have a Grid with two columns (one of them display the holds, so I have the HoldId (corresponds to the OriginOrTargetId) also on this object).
I need that when I select a value OriginOrTargetName displayed in the combo I need to filter in the grid the correct hold through the OriginOrTargetId.
I also need that at the opening of the page all the holds in the Grid are visible (and it's ok if nothing is selected in the combo or also there is a a default value like "please Select..."). How can I do this? I have an exception of filtering on the OriginOrTargetId and I'm not able to display all the holds when nothing is selected in the combo. Here is my code:
In the XAML I declare:
<Grid Grid.Row="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
...some code to define columns...
<ComboBox Grid.Column="1" Name="NamesDDL" ItemsSource="{Binding YardHolds}"
SelectedItem="{Binding SelectedYardHold, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
IsEnabled="True"
IsEditable="True" >
<ComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<TextBlock Text="{Binding HoldName}"/>
<TextBlock Text="{Binding HoldId}" Visibility="Hidden"/> //I don't know if it is necessary
</StackPanel>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</Grid>
In my VIEWMODEL class I have done this:
public CompositeFilterDescriptor FilterDescriptor { get; set; }
public FilterDescriptor HoldFilterDescriptor { get; set; }
public ObservableCollection<TerminalHold> YardHolds { get; set; }
public TerminalHold SelectedYardHold { get; set; }
FilterDescriptor = new CompositeFilterDescriptor
{
LogicalOperator = FilterCompositionLogicalOperator.And
};
HoldFilterDescriptor = new FilterDescriptor("OriginOrTargetId", FilterOperator.IsEqualTo, null);
FilterDescriptor.FilterDescriptors.Add(HoldFilterDescriptor);
private void OnSelectedYardHoldChanged()
{
if (SelectedYardHold == null || SelectedYardHold.Id < 1)
HoldFilterDescriptor.Value = "";
else
HoldFilterDescriptor.Value = SelectedYardHold.HoldId;
}
What am I wrong? I have search everywhere and for now I'm not able to found a solution!
Thank you
hi dear all,
i am using raddiagram to create a flowchart. normally, the user must select a shape to see shape's connectors and start connection manupulation from one of the connectors and create connection to other shape.
BUT:
i need to a connection manupulation to be started when a user go over the shape and click and hold and continiue to create connection by moving the hold mouse button to the other shape. also i need the connections to be started from the shape , not connector. in other words, i need the user to not to start connection manupulation by selectiong the shape connector. i mean the connection to be started automatically when the user click and hold left click on a non-selected shape and whithout selecting any connectors of the shape(i prefer the shapes to not have any connectors or atleast they would be hidden).
best regards.