Have several type of data bound to RadGridView.ItemsSourceProperty, and target cell is in a Not ReadOnly column, how to make cell ReadOnly when DataItem is specified type?
The effect I want is make a column Editable except some cell with specified data type bound to that row, prevent these cell enter EditMode.
I have tried CellStyleSelector, but didn't find IsReadOnly DependencyProperty in GridViewCell.
Also tried using same Template in CellTemplateSelector for CellEditTemplateSelector, but these is no such CellEditStyleSelector, so the cell looks different when enter edit mode.
Thanks.
Using RadGridView in as a Hierarchical grid is it possible to bind the initial parent level and then load any other levels on demand as they are being opened by the user? If so, does anyone have sample code on how to make this work? I do not see much in the way of documentation for this in the RadGridView WPF documentation.
With some larger customer datasets our screen is slow at loading all of the data at one time.
Thanks...
Hi:
How can I Merge Multiple xaml files with different styles and retain their respective styles?
And generate a directory automatically?
I had a xaml document Contains the following contents:
<t:TableRow>
<t:TableCell ColumnSpan="1" PreferredWidth="Fixed,284.066680908203" RowSpan="1">
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="21" />
<t:Span Text="the master Name: John" />
<t:ReadOnlyRangeEnd AnnotationID="21" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="22" />
<t:Span ForeColor="#FFFFFFFF" Text="c4c030c8-c0d1-4fa3-8d06-92e34ee25072" />
<t:ReadOnlyRangeEnd AnnotationID="22" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="23" />
<t:Span Text="Sign:" />
<t:ReadOnlyRangeEnd AnnotationID="23" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="25" />
<t:Span Text="IdNo:" />
<t:ReadOnlyRangeEnd AnnotationID="25" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="26" />
<t:Span Text="Date:" />
<t:ReadOnlyRangeEnd AnnotationID="26" />
<t:ReadOnlyRangeStart AnnotationID="27" />
<t:Span Text=" " UnderlineDecoration="Line" />
<t:ReadOnlyRangeEnd AnnotationID="27" />
<t:ReadOnlyRangeStart AnnotationID="28" />
<t:Span Text="year" />
<t:ReadOnlyRangeEnd AnnotationID="28" />
<t:ReadOnlyRangeStart AnnotationID="29" />
<t:Span Text=" " UnderlineDecoration="Line" />
<t:ReadOnlyRangeEnd AnnotationID="29" />
<t:ReadOnlyRangeStart AnnotationID="30" />
<t:Span Text="month" />
<t:ReadOnlyRangeEnd AnnotationID="30" />
<t:ReadOnlyRangeStart AnnotationID="31" />
<t:Span Text=" " UnderlineDecoration="Line" />
<t:ReadOnlyRangeEnd AnnotationID="31" />
<t:ReadOnlyRangeStart AnnotationID="32" />
<t:Span Text="day" />
<t:ReadOnlyRangeEnd AnnotationID="32" />
</t:Paragraph>
<t:Paragraph />
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="33" />
<t:Span Text="the slave Name: slave" />
<t:ReadOnlyRangeEnd AnnotationID="33" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="34" />
<t:Span ForeColor="#FFFFFFFF" Text="076b7ada-a564-454a-9933-3ca6f856876f" />
<t:ReadOnlyRangeEnd AnnotationID="34" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="35" />
<t:Span Text="Sign:" />
<t:ReadOnlyRangeEnd AnnotationID="35" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="37" />
<t:Span Text="IdNo:" />
<t:ReadOnlyRangeEnd AnnotationID="37" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:ReadOnlyRangeStart AnnotationID="38" />
<t:Span Text="Date:" />
<t:ReadOnlyRangeEnd AnnotationID="38" />
<t:ReadOnlyRangeStart AnnotationID="39" />
<t:Span Text=" " UnderlineDecoration="Line" />
<t:ReadOnlyRangeEnd AnnotationID="39" />
<t:ReadOnlyRangeStart AnnotationID="40" />
<t:Span Text="year" />
<t:ReadOnlyRangeEnd AnnotationID="40" />
<t:ReadOnlyRangeStart AnnotationID="41" />
<t:Span Text=" " UnderlineDecoration="Line" />
<t:ReadOnlyRangeEnd AnnotationID="41" />
<t:ReadOnlyRangeStart AnnotationID="42" />
<t:Span Text="month" />
<t:ReadOnlyRangeEnd AnnotationID="42" />
<t:ReadOnlyRangeStart AnnotationID="43" />
<t:Span Text=" " UnderlineDecoration="Line" />
<t:ReadOnlyRangeEnd AnnotationID="43" />
<t:ReadOnlyRangeStart AnnotationID="44" />
<t:Span Text="day" />
<t:ReadOnlyRangeEnd AnnotationID="44" />
</t:Paragraph>
</t:TableCell>
<t:TableCell ColumnSpan="1" PreferredWidth="Fixed,284.066680908203" RowSpan="1">
<t:Paragraph StyleName="a">
<t:Span Text="legal Name:" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:Span Text="Sign:" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:Span Text="IdNo:" />
</t:Paragraph>
<t:Paragraph StyleName="a">
<t:Span Text="Date: " />
<t:Span Text=" " UnderlineDecoration="Line" />
<t:Span Text="year" />
<t:Span Text=" " UnderlineDecoration="Line" />
<t:Span Text="month" />
<t:Span Text=" " UnderlineDecoration="Line" />
<t:Span Text="day" />
</t:Paragraph>
<t:Paragraph FontSize="18.6666660308838" StyleName="a">
<t:Paragraph.ParagraphSymbolPropertiesStyle>
<s:SpanProperties FontSize="18.6666660308838" FontWeight="Bold" />
</t:Paragraph.ParagraphSymbolPropertiesStyle>
</t:Paragraph>
</t:TableCell>
</t:TableRow>
</t:Table>
what i knew is the string "the master Name:" how can I get the next span with the text "c4c030c8-c0d1-4fa3-8d06-92e34ee25072" (the text is I want to get)
<
telerik:VisualizationLayer
x:Name
=
"informationLayer"
ItemsSource
=
"{Binding MapItems}"
ClusteringEnabled
=
"True"
ClusterItemTemplate
=
"{StaticResource ClusterTemplate}"
/>
when I re-create my item source like
MapItems =
new
ObservableCollection<MapItem>(list);
Clustering disappear
Curiously; after the last update thad i did, the icon that I configured in the contentImage isn't shown. It has relation with the update or maybe I am configuring something in an erroneous way.
Thank you so much
My code:
Telerik.WinControls.UI.RadDesktopAlert deskp = new Telerik.WinControls.UI.RadDesktopAlert();
deskp.ContentImage = Properties.Resources.alert_danger;
deskp.ThemeName = "TelerikMetroBlue";
deskp.AutoCloseDelay = 6;
deskp.Opacity = (float)1.0;
deskp.PopupAnimationFrames = 20;
deskp.PopupAnimationDirection = (Telerik.WinControls.UI.RadDirection)Enum.Parse(typeof(Telerik.WinControls.UI.RadDirection), "Up");
deskp.FadeAnimationFrames = 20;
deskp.ShowPinButton = false;
deskp.ShowOptionsButton = false;
deskp.CaptionText = "<html><b><span style=\"font-size:14;color:#44224D;\">" + title + "</span></b></html>";
deskp.FixedSize = new System.Drawing.Size(450, 120);
deskp.ContentText = "<html><span style=\"font-size:12;\">" + msg + "</span></html>";
deskp.Show();
Hi Team,
I am trying to set minheight and maxheight for row while using text wrapping in radgridview.
Please let me know any way to handle rowheight.
Thanks,
Amit Kulha