Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
797 views
Hi,

I have a RadGrid with InPlace EditMode...
Initially the RadGrid is Empty and When I create a new record, it creates a new line with 3 fields ( in 3 columns all on the same line).
I need to add client side Javascript to trigger a calculation... example : total price = qty x unit price...
I store all 3 of those fields in the DB...

This is just an small example of what I'm trying to achieve... basically, I need to have onKeyUp on the fields qty and unit price, and auto calculate total price...

How can I achieve this?
<telerik:GridNumericColumn HeaderText="Qty" DataField="Qty"
                UniqueName="Qty" >
                <ItemStyle Width="40px" />
            </telerik:GridNumericColumn>
            <telerik:GridNumericColumn HeaderText="UnitPrice" DataField="UnitPrice UniqueName="UnitPrice"
                DecimalDigits="2" >
                <ItemStyle Width="40px" />
            </telerik:GridNumericColumn>
            <telerik:GridNumericColumn HeaderText="TotalPrice" DataField="TotalPrice" UniqueName="TotalPrice"
                DecimalDigits="2" ReadOnly="true">
                <ItemStyle Width="40px" />
            </telerik:GridNumericColumn>


Shinu
Top achievements
Rank 2
 answered on 22 Mar 2013
1 answer
101 views
Hi


        when i filter the radgrid using rad combobox its filtering
        but problem is in the after getting filter in the radcombobox the value binded in two time

        for ur clarrification i just attached two diiferent files pls refer it and give the solution




Regards
P.Mugil
Shinu
Top achievements
Rank 2
 answered on 22 Mar 2013
1 answer
216 views
Hi

Just started with Telerik Radcontrols and my issue is I am not able to set skin for my controls. The default skin is only working and when i am setting other skin its showing an error like it is unidentified. I am using radcontrols Q2 2012 version. I dont know whether I am missing something.

Please help. ThankYou,
Saravanan.
Princy
Top achievements
Rank 2
 answered on 22 Mar 2013
9 answers
744 views

see my code below for the GridTemplateColumn

<telerik:GridTemplateColumn HeaderText="Edit" UniqueName="Edit" HeaderStyle-Width="20px" FilterControlWidth="20px">  
   <ItemTemplate> 
        <asp:LinkButton runat="server" CommandName="Edit" CommandArgument='<%# Eval("Id") %>' Visible='<%# Eval("CanEdit") %>' ID="ibEdit" Text="Edit" /> 
   </ItemTemplate> 
   <EditItemTemplate> 
         <asp:LinkButton runat="server" ID="lbUpdate" CommandName="Update" CommandArgument='<%# Eval("Id") %>' Text="Update" OnClientClick="return ConfirmUpdate()"  /> 
         <asp:LinkButton runat="server" ID="lbCancel" Text="Cancel" CommandName="Cancel" /> 
   </EditItemTemplate> 
</telerik:GridTemplateColumn> 

At runtime when i clicked on "Edit" for a grid item the default Update and Cancel buttons appearred together with my linkbuttons.... Is it possible to hide the default Update and Cancel buttons?
thanks in advance
Shinu
Top achievements
Rank 2
 answered on 22 Mar 2013
1 answer
55 views
Hi,

How can I get to know whether thr Telerik dll I am having is a licensed one or trial version?

Thanks,
Karl.
Princy
Top achievements
Rank 2
 answered on 22 Mar 2013
0 answers
55 views
0 answers
81 views
**** Update ****

Never mind, another sad case of user error. I had not noticed that I was on the DataBound event and not the ItemDataBound event.

Works as expected now.
..............................................................................

I have a PanelBar which is bound to a SQL datasource.

Based on database content I would like to set the ImageUrl for certain top-level nodes.

I am familiar with this process with TreeView, where I can access "e.node.imageurl"

I don't see any "node" options for PanelBar items, and maybe I need to do a CType or similar operation that I have done for toolbar items.

Prefer VB example, thanks.

Tomica
Top achievements
Rank 2
 asked on 21 Mar 2013
0 answers
72 views
I have a RadGrid with EditForm popups.

The EditForm contains a RadTabStrip.

Within the tab strip's main tab, I have a RadCombo box inside a RadAjaxPanel.

What I would like to do is on certain index changes, is load an ASCX into a second tab panel.

On other changes I would like to remove it.

Any demos like that?

I may have found it.  http://demos.telerik.com/aspnet-ajax/ajax/examples/common/loadingusercontrols/defaultcs.aspx
But I'm having problems I'll post elsewhere.  Thanks.
Boris
Top achievements
Rank 1
 asked on 21 Mar 2013
1 answer
131 views
I have a 3-tier RadTreeView and I've managed to use javascript to cascade an "onNodeClick" to the children but it's missing the grandchildren.  Can someone please help?

function onNodeClick(sender, args)

              {

                   var node = args.get_node();

                  if (node.get_value() == 0)

                       {

                        var childNodes = node.get_nodes();

                        for (var i = 0; i < childNodes.get_count(); i++)

                        {

                             var childNode = childNodes.getNode(i);

                             childNode.select();

                        }

                        }

              }

Kevin
Top achievements
Rank 2
 answered on 21 Mar 2013
1 answer
133 views
I'm currently using Radupload control in my asp.net application, and it works. However, I was wondering of it was possible to do the following:
  1. Display just the select button for displaying the file system without the textbox
  2. After picking a file, return the file selected to the server immediately without clicking a  submit button.

Are these possible?

Thanks.
Kevin
Top achievements
Rank 2
 answered on 21 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?