This is a migrated thread and some comments may be shown as answers.

How to use Gauge inside the Grid

1 Answer 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 14 Apr 2013, 09:01 AM
Hi.
I want to display the gauge as one of the column in the RADgrid.

Instead of showing the performance in number, i want to display the guage.
And i want to get the value from datasource.

<telerik:RadLinearGauge runat="server" ID="RadLinearGauge1" Scale-Vertical="false"
                                          Scale-MajorTicks-Visible="false" Scale-Labels-Visible="false" Width="120px" Height="20px">
                                          <Pointer Shape="BarIndicator" Value="60">
                                              <Track Opacity="0.4" />
                                          </Pointer>
                                          <Scale Min="0" Max="100">
                                          </Scale>
                                      </telerik:RadLinearGauge>


Is that possible...?
If yes, pls help me by giving the solution.

thanks
--Alex

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 15 Apr 2013, 04:45 AM
Hi,

One suggestion is that you can use a template column as shown below.
aspx:
<telerik:GridTemplateColumn >
  <ItemTemplate>
     <telerik:RadLinearGauge runat="server" ID="RadLinearGauge1" Scale-Vertical="false" Scale-MajorTicks-Visible="false" Scale-Labels-Visible="false" Width="120px" Height="20px">
       <Pointer Shape="BarIndicator" Value="60"><Track Opacity="0.4" /></Pointer>
       <Scale Min="0" Max="100"></Scale>
     </telerik:RadLinearGauge
  </ItemTemplate>
</telerik:GridTemplateColumn>

Thanks,
Shinu
Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or