Telerik Forums
UI for WPF Forum
0 answers
106 views
Hi,

I Want to set width of Excel Column according to the maximum value of the column while exporting radGrid. Can you guide me how to solve my problem?

Regards,
Ishan
ishan
Top achievements
Rank 1
 asked on 13 Oct 2011
1 answer
292 views

I am trying to find a WPF chart control that can do what I call strip-charting.

If you know what strip-charting is I apologize now.

 

Let's say I set the x-axis to 100 points. I then add 10 points to the chart and they get displayed. I then add another 10 points and the chart now shows 20 points. I keep adding and adding and then when I get to over 100 points the graph just shows the last 100 points. I then hope I can manually scroll back on the graph to see the data to the left that has scrolled off the graph.

 

Can your chart control do this?

Evgenia
Telerik team
 answered on 13 Oct 2011
2 answers
69 views
Hi
How can i export the treelistview data to excel with all the FilterDescriptor and SortDescriptor applied. I have tried to export with ItemsSource, but it does not mantain the states like sort or filter. It only returns me the full source. Also I need to export all the elements to excel, not like which are expanded only. Please help me

Thanks
Manishkumar
Top achievements
Rank 1
 answered on 13 Oct 2011
5 answers
1.3K+ views
I'm trying to add a combobox column to a RadGridView. My code is below. When I run it, I don't see the combo box.

 

<telerik:RadGridView x:Name="grdData"
                        Grid.Row="5"
                        Grid.Column="1"
                        Grid.ColumnSpan="10"
                        Margin="5"
                        AlternationCount="2"
                        AlternateRowBackground="LightBlue"
                        AutoGenerateColumns="False"
                        RowDetailsVisibilityMode="VisibleWhenSelected"
                        ItemsSource="{Binding GridData}">
  
    <telerik:RadGridView.Columns>
        <telerik:GridViewComboBoxColumn x:Name="cboGrid"
                                        ItemsSource="{Binding GridData}"
                                        Width="75">
  
            <telerik:GridViewComboBoxColumn.ItemTemplate>
                <DataTemplate>
                    <StackPanel Orientation="Horizontal">
                        <TextBlock Text="{Binding Path=PartNo}" Margin="4,0"/>
                        <TextBlock Text="{Binding Path=Descripton}" Margin="4,0"/>
                    </StackPanel>
                </DataTemplate>
            </telerik:GridViewComboBoxColumn.ItemTemplate>
                              
        </telerik:GridViewComboBoxColumn>
  
        <telerik:GridViewDataColumn DataMemberBinding="{Binding PartNo}" Header="Part #"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Quantity}" Header="Quantity"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Descripton}" Header="Descripton"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding Markup}" Header="Markup" TextAlignment="Right"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding LineCost}" Header="Line Cost" TextAlignment="Right"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding CustomerCost}" Header="Customer Cost" TextAlignment="Right"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding LineList}" Header="Line List" TextAlignment="Right"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding ExtendedPrice}" Header="Extended Price" TextAlignment="Right"/>
    </telerik:RadGridView.Columns>
  
</telerik:RadGridView>

Maya
Telerik team
 answered on 13 Oct 2011
1 answer
50 views

I have two problem in  BubbleSeriesDefinition
1. in bubble series chart for AxisX ->  MinValue="40" MaxValue="200" Step="10",
    and i have filled chart area as below:
  
 but, it make distance before and after.

2. minor gap to fill MarkedZone as i have shown in 1st picture.
Evgenia
Telerik team
 answered on 13 Oct 2011
0 answers
118 views
i want to fire wpf grid view row double click event

Html code is:

  <UI:MaestroGridView  x:Name="GrdIncomingIrpts"
                                 ShowGroupPanel="False"
                                 AutoGenerateColumns="False"
                                 FontSize="11">
                <UI:MaestroGridView.Columns>
                    <telerik:GridViewDataColumn  Header="Import Date"
                                                 HeaderTextAlignment="Center"
                                                 DataMemberBinding="{Binding rpt_date}"
                                                 Width="120" />
                    <telerik:GridViewDataColumn  Header="Employer"
                                                 HeaderTextAlignment="Center"
                                                 DataMemberBinding="{Binding empl_full_name}"
                                                 Width="150" />
                    <telerik:GridViewDataColumn  Header="Report"
                                                 HeaderTextAlignment="Center"
                                                 DataMemberBinding="{Binding map_title}"
                                                 Width="*" />
                    <telerik:GridViewDataColumn  Header="Status"
                                                 HeaderTextAlignment="Center"
                                                 DataMemberBinding="{Binding status}"
                                                 Width="120" />
                </UI:MaestroGridView.Columns>
            </UI:MaestroGridView>

binding code is:
    Dim IrptsObj As New IrptsMethods()
            GrdIncomingIrpts.ItemsSource = IrptsObj.fnGetIncomingIrpts()





vikas gupta
Top achievements
Rank 1
 asked on 13 Oct 2011
1 answer
79 views
I am trying to add ranges to a Radial Gauge.  Code snippet:
RangeList oRangeList = new RangeList();
double nextRangeMinimum = 0;
                     
foreach ( QualitativeRange oRange in _ViewModel.BulletGraphRanges )
{
    RadialRange oRadialRange = new RadialRange();
    oRadialRange.Min = nextRangeMinimum;
    oRadialRange.Max = nextRangeMinimum = oRange.Value;
    oRadialRange.BorderBrush = oRange.Brush;
    oRangeList.Add( oRadialRange );
}


The problem is that RangeList has no .Add member.  How do I add ranges to a RangeList?
Thanks.
Dan

Nevermind.  Duh.  It's oRangeList.Items.Add
All better now.

Dan
Andrey
Telerik team
 answered on 13 Oct 2011
1 answer
138 views
Hi,

I have a GridViewComboBoxColumn which is bound to a List of object with DisplayMemberPath and SelectedValueMemberPath set to the Name and ID properties of this object resp.

This combobox allows to enter text and I need it to accept user entered values which are not even present in its ItemSource.

Is it possible by any means?

Thanks,
Arpit
Maya
Telerik team
 answered on 13 Oct 2011
2 answers
150 views

I am trying to mask out negative numbers while using RadMaskedNumericInput.  There was a thread on setting ext:MaskedInputExtensions.minimum="0" and that works great for us.  We have about 50 RadMaskedNumericInput instances, so I added the following to our style resource xaml for RadMaskedNumericInput:

 

    <Setter Property="ext:MaskedInputExtensions.Minimum" Value="0" />
I am now getting the following exception:
        {"'Set property 'System.Windows.Setter.Property' threw an exception.' Line number '1423' and line position '10'."}
        {"Value cannot be null.\r\nParameter name: property"}

Can this property be in the style resource XAML?  If so, how should that be specified?  Any advise would be appreciated.

Thanks,
-Milt

 

Milt
Top achievements
Rank 1
 answered on 12 Oct 2011
1 answer
134 views
I'm adding MapPinPoint objects to the map but every time map tries to focus the newly added pinpoint and therefore pans the map.
I don't want this behavior so how we can prevent it from automatically panning to the newly added location?
Andrey
Telerik team
 answered on 12 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?