Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
280 views

Hi,

I have 2 numeric textbox, gridcalculated column and footer column.
Once the value is entered in the numeric textbox (something like onblur), i want to calculate the value for gridcalculated column and footer column. The lblTotalValue should have the total of the "GridCalculatedColumn".
This is the UI which I have:

<telerik:GridTemplateColumn UniqueName="OrderQuantity" HeaderText="Order Quantity" DataField="OrderQuantity">
            <EditItemTemplate>           
                <telerik:RadNumericTextBox ID="txtOrderQuantity" runat="server" >
                </telerik:RadNumericTextBox>                
            </EditItemTemplate>        
        </telerik:GridTemplateColumn>
  
        <telerik:GridTemplateColumn UniqueName="UnitPrice" HeaderText="Unit Price" DataField="UnitPrice">
            <EditItemTemplate>
                <telerik:RadNumericTextBox ID="txtUnitPrice" runat="server" >
                </telerik:RadNumericTextBox>              
            </EditItemTemplate>
            <FooterTemplate>
            <asp:Label ID="lblTotal" Text="Total: " runat="server"></asp:Label>
            <asp:Label ID="lblTotalValue" runat="server"></asp:Label>
            </FooterTemplate>  
        </telerik:GridTemplateColumn>
  
            <telerik:GridCalculatedColumn DataFormatString="{0:C}" DataType="System.Double" HeaderText="Extended Price"
                UniqueName="ExtendedPrice" DataFields="OrderQuantity,UnitPrice" Expression="{0}*{1}"
                Aggregate="Sum" Visible="true">                
            </telerik:GridCalculatedColumn>

How to achieve this?
Thanks
Pavlina
Telerik team
 answered on 24 Mar 2016
1 answer
51 views

Is it possible with the gantt chart control to have a view where its month at the top then below that a column for each individual day?

 

I found this screenshot on the silverlight version:

http://d585tldpucybw.cloudfront.net/sfimages/default-source/productsimages/silverlight/ProductItemFeatures/ganttview_support-for-various-project-data_screenshot.png?sfvrsn=1

 

But cant find a way to do this witht he asp.net ajax version?

 

Thank you

Ivan Danchev
Telerik team
 answered on 24 Mar 2016
1 answer
149 views

Hi
i have a grid and in that Grid i have a column name 'Result' which Show data like 6-5,10-11 etc
i have two way to make that 
1. select Set1 ,Set2   from table1

and then in grid 
 <telerik:GridTemplateColumn >
<ItemTemplate>
 <%# Eval("Set1")+" -"+Eval("Set2") +","+'<sup>'+Eval("Set1")+'</sup>'+" -"+Eval("Set2") %>
</ItemTemplate>
</telerik:GridTemplateColumn >

2. i can return a field named 'result' from my data query store procedure like '(select ISNULL(CAST( Set1 as nvarchar(5)),'') +''+ ISNULL('-'+CAST(Set2 as nvarchar(5))+''+ISNULL('<sup>'+CAST(Set3 as nvarchar(5))+'</sup>','')'')  as result  from table1' which give me 6-5,10-11

and in grid 
<telerik:GridBoundColumn UniqueName="Result" DataField="result" > </telerik:GridBoundColumn>


my Question is which one is better if the total number of set is 15.and number of row in result set more then 100

Konstantin Dikov
Telerik team
 answered on 24 Mar 2016
5 answers
447 views

I upgraded Telerik controls from 2013.2 to 2016.1. There is a page with a combobox of checked items (see code below). With version 2013.2, changing any of the checkboxes with the mouse and clicking outside the combobox causes a postback. With version 2016.1 the postback doesn't happen. If I change a checkbox with the keyboard (space) I can get the postback to occur. Is this a bug, or the way it's supposed to work? Thanks for your help...

<telerik:RadComboBox ID="rcbSites" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" Label="Sites" LabelCssClass="fwBold"        AutoPostBack="true" OnSelectedIndexChanged="rcbSites_SelectedIndexChanged">    </telerik:RadComboBox>

Nencho
Telerik team
 answered on 24 Mar 2016
2 answers
109 views
Hi,
Very strange problem.  I have project which used version 2014.3.1024.35.  I’ve just updated the project to the latest version (2016.1.225.35)
The upgrade seemed to work without error.  However the skins don’t seem to be rendering correctly.  I’m using Metro, but it looks more like MetroTouch.  Has massive padding and huge text.
More importantly it looks nothing like the examples on your website.  The preview is also not accurate.
This is same story for all skins and all controls.
Please tell me this is an error and the skins haven’t changed to this extent?
Thanks.
Veselin Tsvetanov
Telerik team
 answered on 24 Mar 2016
64 answers
2.0K+ views
Hi Telerik Team,

I Have a rad Grid i have a column which is link button it is added Dynamically, When i click the Export to Excel button the Column which is made as Link Button is not being Exported to the Excel Sheet.I am Attaching the Excel Sheet and Rad Grid Images.
 

Thanks,
Chary
Kostadin
Telerik team
 answered on 24 Mar 2016
1 answer
156 views

Hi guys

does the quoted dollar pricing for a new licence need to have vat added for uk residents?

hopefully not, but thanks for clarifying!

Clive

Marin Bratanov
Telerik team
 answered on 24 Mar 2016
1 answer
130 views
I'm looking a way to bind date-time data on client side and to be determined automatically as DateTime value type on x axis. is there any example code?
Stamo Gochev
Telerik team
 answered on 24 Mar 2016
4 answers
126 views

Hi

I have a rangedColumnSeries and an AreaSeries on the same plotarea and I am using databinding to generate the chart.

I want to plot a rangedColumn series for 0,5,10,15 etc on the x-axis and use the AreaSeries to plot a line for y values at 0,1,2,3,4,5 etc so effectively giving a better resolution to the line graph compared to the bar chart while using the same data set. 

I've added an image below of what it would look like.

Is this currently possible?

 

 

Stamo Gochev
Telerik team
 answered on 24 Mar 2016
2 answers
55 views

Hello all,

I have a Grid which has several columns, one of which is a checkbox column. For all the other columns (dropdown, textbox, etc), I want the user to click the Edit icon and edit in EditForms mode. But for the checkbox column, I want to make it easy for the user to just click on multiple checkboxes and save (i.e., use Batch EditMode).

Is such a combination possible? 

Windhoek2010
Top achievements
Rank 1
 answered on 24 Mar 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?