Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
149 views
I'm transitioning from using Microsoft's GridView to using Telerik's RadGrid.  With the former, to achieve vertical scrolling I just had a parent DIV with the correct properties set to achieve it.  The approach worked fine except that the header also scrolled, which I didn't like.

So now I'm trying to use the supposedly simpler, "automated" functionality that RadGrid offers but am running into countless problems.  Here's some sample layout code:
<telerik:RadGrid ID="radGridSummary" runat="server" AutoGenerateColumns="false" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1" Width="587px"
                 CellPadding="0" GridLines="Both" Font-Size="11px" OnItemDataBound="radGridSummary_ItemDataBound" OnItemCommand="radGridSummary_ItemCommand">
  <HeaderStyle Font-Bold="true" ForeColor="#031d5b" VerticalAlign="Middle" Height="20" CssClass="pointerOnly headerGridRB" />
  <ItemStyle CssClass="radGridItem" />
  <AlternatingItemStyle CssClass="radGridAltItem" />
  <ClientSettings EnablePostBackOnRowClick="true" EnableRowHoverStyle="true" Scrolling-UseStaticHeaders="true" Scrolling-AllowScroll="true" Scrolling-ScrollHeight="200px" />
Note the last 3 properties of "ClientSettings" to turn on the vertical scrolling.  In a separate posting I pointed out that this messed up the horizontal alignment of the grid items in relation to the text in the header.  I'm still awaiting a solution to that.

Now I've discovered that when the available space of the grid isn't fully populated that an ugly white space appears.  This is clearly unacceptable.  How do I get rid of or hide that white space?

Robert
Pavlina
Telerik team
 answered on 22 Mar 2013
7 answers
349 views
Hi

I'm letting a class inherit the treeview and populates it from a database, thus not having any control on the page where  the  treeview control is going to be displayed. My problem is  how to get any tooltip to be shown on mouseover since I cannot add the tooltip control to the ascx or aspx that use my control.  The tooltip for each node comes from a column in the database that is used to generate the content for the tree. Any ideas?

/Pelle Holmgren
Boyan Dimitrov
Telerik team
 answered on 22 Mar 2013
5 answers
813 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
103 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
226 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
768 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
58 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
57 views
0 answers
84 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
73 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?