Hi,
I'm attempting to find a way to only merge adjacent cells in specific columns. For example if I have a RadGridView with a few columns and I want to Merge similar values that are adjacent to each other in Column[0] how would I do this?
I understand that the RadGridView.Merge* properties don't cover this specific use case but is there an event I could handle that would let me implement this type of functionality? It would need to be something where I can compare cells within a column and set whether they are merged or not.
Or maybe a method I could override?
I've attached a mockup in Excel of the type of merging that I'm looking to accomplish in RadGridView.
Hi,
I am working on RadTreeListView which comes with default sorting on Control Column. I have a requirement to disable the default on RadTreeListView and enable the custom sorting on RadTreeListView. I had used the CollectionViewSource and also subscribed to OnSorting event handle and able to sort the binded item source. But view is not getting refreshed.
Using Comparer to sort the items in the itemsource and MVVM pattern.
Even thought binded item source is sorted as expected, the UI is not getting refreshed with expected sorted view. The control is getting sorted using the default control sorting mechanism.
Thanks,
Lakshman Siddireddy
Hi
I have a small program that i've written to test a web site. The program automatically logs into the website, changes the date, selects radiobuttons and refreshes the screen. The problem is that I've encountered an autocomplete RadComboBox that I can identify, set focus and change the value. However, it cannot get the event to fire once the "value" has been changed.
I have tried to fire an event with invokemember / setattribute - onchange, mouseup, mousedown, ontextchange, click, onclick, select item, submit etc to to no avail.
How do I get this RadComboBox to recognize a change programatically?
<code>
vb.net 2010
.....
For Each element As HtmlElement In m_document.GetElementsByTagName("input") 'input
If element.Name = RadComboBox Then
Debug.Print("RadComboBoxt found")
element.Focus()
element.InvokeMember("click")
element.SetAttribute("value", "00138SUPP")
.........
</code>
Thanks!!!!!
Hello,
I am using RadDateTimePicker (Version 2016.1.328.45) in my WPF application. The requirement is such that I need to select all text inside the DateTimePicker when the user clicks inside it. For this purpose, I am using the GotFocus event, inside which I am getting the TextBox inside the DateTimePicker by the method FindChildByType<TextBox>() and then calling SelectAll() on this TextBox.
This doesn't work. Any suggestions or workarounds on how to achieve this?
Thanks.
I have a simple RadCartesianChart set up with binding. What I'm seeing is what appears to be yaxis labels, but these labels aren't related to the data itself. I have no idea where these extraneous numbers are coming from.
This is the xaml:
<telerik:RadCartesianChart x:Name="WeibullChart3" HorizontalAlignment="Left" VerticalAlignment="Top">
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:DateTimeContinuousAxis LabelFitMode="Rotate" LabelFormat="yyyy/MM/dd" LabelInterval="2"/>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis ToolTip="Duane Curve" LabelFitMode="Rotate" VerticalContentAlignment="Top" HorizontalContentAlignment="Left" />
</telerik:RadCartesianChart.VerticalAxis>
<!--<telerik:RadCartesianChart.Grid>
<telerik:CartesianChartGrid StripLinesVisibility="None" MajorLinesVisibility="XY" BorderThickness="1,0,1,1">
<telerik:CartesianChartGrid.YStripeBrushes>
<SolidColorBrush Color="Black" />
<SolidColorBrush Color="Black" />
</telerik:CartesianChartGrid.YStripeBrushes>
<telerik:CartesianChartGrid.XStripeBrushes>
<SolidColorBrush Color="Black" />
<SolidColorBrush Color="Black" />
</telerik:CartesianChartGrid.XStripeBrushes>
</telerik:CartesianChartGrid>
</telerik:RadCartesianChart.Grid>-->
<telerik:RadCartesianChart.Grid>
<telerik:CartesianChartGrid MajorLinesVisibility="XY"/>
</telerik:RadCartesianChart.Grid>
<telerik:LineSeries x:Name="Duane1" CategoryBinding="XVal" ValueBinding="YVal" ItemsSource="{Binding Document.WeibullDuanePlot}">
<telerik:LineSeries.PointTemplate>
<DataTemplate>
<Ellipse Width="2" Height="2" Fill="Black" Opacity="0" />
</DataTemplate>
</telerik:LineSeries.PointTemplate>
</telerik:LineSeries>
<telerik:LineSeries x:Name="Duane2" CategoryBinding="XVal" ValueBinding="YVal" ItemsSource="{Binding Document.WeibullAggregatePlot}">
<telerik:LineSeries.PointTemplate>
<DataTemplate>
<Ellipse Width="2" Height="2" Fill="Black" Opacity="0" />
</DataTemplate>
</telerik:LineSeries.PointTemplate>
</telerik:LineSeries>
<telerik:RadCartesianChart.Behaviors>
<telerik:ChartPanAndZoomBehavior ZoomMode="Both" PanMode="Both"/>
<chartView:ChartTooltipBehavior />
</telerik:RadCartesianChart.Behaviors>
</telerik:RadCartesianChart>
<telerik:RadLegend Items="{Binding LegendItems, ElementName=WeibullChart3}" Height="30">
<telerik:RadLegend.ItemsPanel>
<ItemsPanelTemplate>
<telerik:RadWrapPanel Orientation="Horizontal" ItemWidth="120" HorizontalAlignment="Center"/>
</ItemsPanelTemplate>
</telerik:RadLegend.ItemsPanel>
</telerik:RadLegend>
</StackPanel>
</telerik:RadTabItem>
This is the C# code:
(WeibullChart3.HorizontalAxis as DateTimeContinuousAxis).Maximum = maxX;
(WeibullChart3.HorizontalAxis as DateTimeContinuousAxis).Minimum = minX;
(WeibullChart3.HorizontalAxis as DateTimeContinuousAxis).Title = "Date";
(WeibullChart3.VerticalAxis as LinearAxis).Maximum = maxY;
(WeibullChart3.VerticalAxis as LinearAxis).Minimum = minY;
//(WeibullChart3.VerticalAxis as LinearAxis).Title = type.ToString();
Plot_Title3.Text = type.ToString() + " Duane curve";
I have simple xml bound to RadListBox using XmlDataProvider. Xml is simple and it looks like this:
<
Views
><
br
> <
View
Caption
=
"PARTIES"
Path
=
"/Views/PartyView.xaml"
/><
br
> <
View
Caption
=
"CANDIDATES"
Path
=
"/Views/CandidateView.xaml"
/><
br
> <
View
Caption
=
"CANDIDATE POSITIONS"
Path
=
"/Views/CandidatePositionView.xaml"
/><
br
> <
View
Caption
=
"ELECTION"
Path
=
"/Views/ElectionView.xaml"
/><
br
></
Views
>
Provider is set like this:
<
XmlDataProvider
x:Key
=
"xdpViews"
Source
=
"/Menu/Views.xml"
XPath
=
"Views/View"
/>
And RadListBox looks like this:
<
telerik:RadListBox
BorderThickness
=
"0,0,2,0"
x:Name
=
"lbViews"
<br> SelectionChanged="lbViews_SelectionChanged"<
br
> SelectedValuePath="@Path" <
br
> DisplayMemberPath="@Caption"><
br
> <
telerik:RadListBox.ItemsSource
><
br
> <
Binding
Source
=
"{StaticResource xdpViews}"
/><
br
> </
telerik:RadListBox.ItemsSource
><
br
> </
telerik:RadListBox
>
While DisplayMemberPath works as intended and list box display captions, when I select item selected value is always null. Am I missing something or this is the bug in RadListBox control?
hi
I want a geoserver with file *.shp and files *.tiff.
Should i change sometning in *.tiff or *.shp,to display in radmap?
Is it posibble display both layer vector and raster together in radmap?
How can i configure my radmap for display this layer?
How to Connect radmap to wms server?
helllo i set up geoserver i created a few layers in epsg:4326
i can display in web browser.
What i have to do it, for display in radmap?
what option set in geoserver or radmap to display in radmap?
i use WmsTiledProvider, but i dont how set provider,what uri ?
please answer.thank you
I've used the example explaining how to create a windows explorer-like treeview, where a collection of children can contain both directories and files but I think I need a bit of clarification.
I'm in an MVVM scenario and my model classes contain multiple collections representing the different kinds of children they can contain. For example I might have grocery store object with a collection of dairy products, another collection of meats, etc. Is it correct that my view model should merge the collections into a single observable collection of objects (or something less general if possible) and then rely on the DataType={x:Type ....} to chose the right data template?
If that is the case and I wanted to keep my collection sorted, I would have to implement a custom sorter to group the dairy and meats prior to sorting, correct? Also, this should all still work if the children themselves can be containers for multiple types?