Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
470 views
        <telerik:RadTreeView runat="server" ID="RadTreeView1" Skin="Outlook"> 
            <Nodes> 
                <telerik:RadTreeNode Text="The Greatest Rock Albums" Expanded="true" CssClass="root-node"> 
                    <Nodes> 
                        <telerik:RadTreeNode Text="Rolling Stones" Expanded="true"> 
                            <NodeTemplate> 
<div class="toggle_container" id="A3d"> 
                        <div class="block">  
                            <table width="100%" align="center" cellpadding="0" cellspacing="0"> 
                                <tr> 
                                    <th align="center" colspan="2"><b><asp:Label runat="server" ID="lblA3Descr" Text="Indirizzo Produttivo" /></b></th> 
                                    <th align="center"><b><asp:Label runat="server" ID="lblA3Bio" Text="Biologica" /></b></th> 
                                    <th align="center"><b><asp:Label runat="server" ID="lblA3Conv" Text="Convenzionale" /></b></th> 
                                </tr> 
                                <tr> 
                                    <td align="left"><asp:Label runat="server" ID="lblTipo1" Text="Cerealicolo" /></td> 
                                    <td align="right"><asp:Label runat="server" ID="lblRISO" Text="Riso" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3RISOBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3RISOCONV" /></td> 
                                </tr> 
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblFRUMDURO" Text="Frum. Duro" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FRUMDUROBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FRUMDUROCONV" /></td> 
                                </tr>  
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblFRUMTENERO" Text="Frum. Tenero" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FRUMTENEROBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FRUMTENEROCONV" /></td> 
                                </tr>  
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblA3MAIS" Text="Mais" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3MAISBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3MAISCONV" /></td> 
                                </tr>  
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblA3ALTRICEREALI" Text="Frum. Duro" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3ALTRICEREALIBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3ALTRICEREALICONV" /></td> 
                                </tr>       
                                <tr> 
                                    <td align="left"><asp:Label runat="server" ID="lblTipo2" Text="Orticolo" /></td> 
                                    <td align="right"><asp:Label runat="server" ID="lblPIENOCAMPO" Text="Pieno Campo" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3PIENOCAMPOBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3PIENOCAMPOCONV" /></td> 
                                </tr> 
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblPROTETTA" Text="Colt. Prottetta" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3PROTETTABIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3PROTETTACONV" /></td> 
                                </tr> 
                                <tr> 
                                    <td align="left" colspan="2"><asp:Label runat="server" ID="lblINDUSTRIALE" Text="Colt. Industriale" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3INDUSTRIALIBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3INDUSTRIALICONV" /></td> 
                                </tr>   
                                <tr> 
                                    <td align="left"><asp:Label runat="server" ID="lblTipo3" Text="Frutticolo" /></td> 
                                    <td align="right"><asp:Label runat="server" ID="lblA3POMACEE" Text="Riso" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3POMACEEBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3POMACEECONV" /></td> 
                                </tr> 
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblA3DRUPACEE" Text="Drupacee" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3DRUPACEEBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3DRUPACEECONV" /></td> 
                                </tr>  
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblA3AGRUMI" Text="Agrumi" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3AGRUMIBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3AGRUMICONV" /></td> 
                                </tr>  
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblA3FUTTASECCA" Text="Frutta Secca" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FRUTTASECCABIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FRUTTASECCACONV" /></td> 
                                </tr>  
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblA3UVATAVOLA" Text="Uva da Tavola" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3UVATAVOLABIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3UVATAVOLACONV" /></td> 
                                </tr> 
                                <tr>                                 
                                    <td colspan="2" align="right"> 
                                        <asp:Label runat="server" ID="lblbA3FRUTTAALTRO" Text="Altro" /> 
                                        <telerik:RadTextBox runat="server" ID="txtA3FRUTTAALTRO_Descr" MaxLength="50" /> 
                                    </td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FRUTTAALTROBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FRUTTAALTROCONV" /></td> 
                                </tr> 
                                <tr> 
                                    <td align="left"><asp:Label runat="server" ID="lblTipo4" Text="Vitivinicolo" /></td> 
                                    <td align="right"><asp:Label runat="server" ID="lblA3VINOTAVOLA" Text="Da Tavola" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3VINOTAVOLABIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3VINOTAVOLACONV" /></td> 
                                </tr>     
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblA3VINODOC" Text="A Denominazione" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3VINODOCBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3VINODOCCONV" /></td> 
                                </tr>   
                                <tr> 
                                    <td align="left"><asp:Label runat="server" ID="lblTipo5" Text="Olivicolo" /></td> 
                                    <td align="right"><asp:Label runat="server" ID="lblA3OLIOMENSA" Text="Da Mensa" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3OLIOMENSABIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3OLIOMENSACONV" /></td> 
                                </tr>     
                                <tr>                                 
                                    <td colspan="2" align="right"><asp:Label runat="server" ID="lblA3OLIOOLIO" Text="Da Olio" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3OLIOOLIOBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3OLIOOLIOCONV" /></td> 
                                </tr> 
                                <tr> 
                                    <td align="left" colspan="2"><asp:Label runat="server" ID="lblA3FORAGGERO" Text="Foraggero" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FORAGGEROBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3FORAGGEROCONV" /></td> 
                                </tr>   
                                <tr> 
                                    <td align="left" colspan="2"><asp:Label runat="server" ID="lblA3VIVSEMENTIERO" Text="Viv-Sementiero" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3VIVSEMENTIEROBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3VIVSEMENTIEROCONV" /></td> 
                                </tr>   
                                <tr> 
                                    <td align="left" colspan="2"> 
                                        <asp:Label runat="server" ID="lblA3ALTRO" Text="Altro" /> 
                                        <telerik:RadTextBox runat="server" ID="txtA3ALTRO_Descr" MaxLength="50" /> 
                                    </td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3ALTROBIO" /></td> 
                                    <td align="center"><asp:CheckBox runat="server" ID="chkA3ALTROCONV" /></td> 
                                </tr>                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                            </table> 
                        </div> 
                    </div>                         
                            </NodeTemplate> 
                </telerik:RadTreeNode> 
            </Nodes> 
        </telerik:RadTreeView> 

hi w/ this treeview how cn i find the control designed inside of this telerik control?

Webster Velasco
Top achievements
Rank 2
 answered on 21 May 2010
1 answer
115 views
<telerik:RadToolTip   
                ID="rttSearchCriteria" 
               runat="server" 
              HideDelay="500" 
              ManualClose="true" 
              Position="MiddleRight" 
              Animation="Resize" 
              RelativeTo="element" 
              ShowCallout="true" 
              ShowDelay="200" 
              ShowEvent="OnClick" 
            EnableEmbeddedSkins="true" 
              TargetControlID="lblSearchCriteria">  
                
              <asp:Label ID="lblSearchString" runat="server"  /> 
              </telerik:RadToolTip> 

There is my tooltip code.  In the code behind I assign a formated string to the label.  The first click of the target control pops up the tool tip, but the styles are not applied.  The second click of it then does correctly display the content and format.  Attached are first and second click images.
Svetlina Anati
Telerik team
 answered on 21 May 2010
10 answers
811 views
Hai I had developed a project few months back....using telerik  rad controls. It was working fine. Now i had to modify my project...so when i opened and tried to run my system i am getting following error..\

" Could not load file or assembly RadComboBox.Net2 or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with or it was delay signed but not fully signed with the correct private key. (Exception from HRESULt:0x80131045)

Can anyone help me with this please.
T. Tsonev
Telerik team
 answered on 21 May 2010
3 answers
211 views
A bit of background: I had created a user control (ascx) that contained a RadPanelBar containing two RadPanelItems each with their own item templates with various other controls. I have everything working just as I like it.

I am now in the process of converting that control into a server control and ran into a problem. I followed an example provided in the documentation that explained how to programmatically add a RadPanelBar with ItemTemplates (Found in the docs here: Controls/RadPanelBar/Templates/Adding Templates at run-time) and I was able to display the panel bar exactly as it describes, but the panels won't expand or collapse.

What am I missing?

Here's my code so far:
[ToolboxData("<{0}:CustNameSidErpDeptProd runat=server></{0}:CustNameSidErpDeptProd>")]  
    public class CustNameSidErpDeptProd : WebControl  
    {
        #region Member Variables  
 
        private readonly RadPanelBar _radPanelBar = new RadPanelBar();  
        private readonly RadPanelItem _rpi = new RadPanelItem("PanelItem1");
        #endregion  
 
        #region Properties
        #endregion  
 
        #region Overrides  
 
        protected override void OnInit(EventArgs e)  
        {  
            _radPanelBar.AllowCollapseAllItems = true;  
            _radPanelBar.ExpandMode = PanelBarExpandMode.SingleExpandedItem;  
            _radPanelBar.EnableViewState = true;  
            _radPanelBar.Width = Unit.Percentage(100);  
            _rpi.ItemTemplate = new TextBoxTemplate();  
            base.OnInit(e);  
        }  
        protected override void OnLoad(EventArgs e)  
        {  
            _radPanelBar.Items.Add(_rpi);  
            _radPanelBar.Items.Add(new RadPanelItem("PanelItem2"));  
            _radPanelBar.DataBind();  
            Controls.Add(_radPanelBar);  
        }
        #endregion  
 
        #region Public Methods
        #endregion  
 
        #region Private Methods
        
        #endregion  
    } 
Nikolay Tsenkov
Telerik team
 answered on 21 May 2010
1 answer
109 views
I successfully implemented the related comboboxes as in your example with region/country/state/city/... where my data was in separate tables - one for each level. The design of the database has changed, and the geographic data is now all in one table with a 2 id fields - one for the data and one for the parent making it a self referencing table, and the highest level has the parent as 0. So for example, Africa has a tid=22649 and parent=0 and then one of it's children is Eastern Africa with a tid=22661 and parent=22649.

There is not a set number of levels for any parent.

Are there any examples of how I can implement this new table layout in a related combobox?

Thanks,
Laura
Kalina
Telerik team
 answered on 21 May 2010
3 answers
637 views
Hello

When I'am trying to add new RadControl to my web page I got this error :
Error Creating Control - RadTabStrip1Failed to create designer 'Telerik.Web.UI.RadTabStrip, Telerik.Web.UI, Version=2010.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4'

or this error :
Error Creating Control - RadComboBox1Could not load file or assembly 'Telerik.Web.UI, Version=2010.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified.

And I added this code to web.config :
<add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2010.1.415.20, Culture=neutral,PublicKeyToken=121fae78165ba3d4" validate="false"/>
        
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2010.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>






Thanks
Peter
Telerik team
 answered on 21 May 2010
4 answers
178 views
This is quite possibly something that's been covered before but there appears to be a discrepancy between the filter row height in Chrome and IE.  For me that means that the bottom of the grid disappears off the page.  I've taken the attached image from one of your filter demos and have put chrome on the left and IE on the right.

Chrome seems to have an extra 1 px padding above the textboxes in the filter and 2 extra px below (3 in total).  Is there some quick fix css that I can use until this is rectified in the proper Telerik stylesheets?

The page I tested on was http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx and the theme was Vista although I use Web20 in my app and a similar thing happens so assume that this is the same for all themes.

Regards,

Jon

Jon
Top achievements
Rank 1
 answered on 21 May 2010
1 answer
129 views
I have a RadGrid inside a RadMultiPage and RadTabStrip.  It's in the 2nd tab, which is not visible on page load.  But when the user first switches to that tab the grid is rendered properly.  If I resize the browser while the grid is visible (it's width is a percent) it resizes properly.  But, if I am in a different tab and resize the browser, when I go back to the tab with the grid it is not rendered properly.  The grid is the full height that it should be but the contents are missing.  But if I resize the browser it will fix itself.

Even if I set the height and width to a fixed value, not a percent, it still does this.

I've seen it do this on a number of other occasions as well but usually I was able to fix it by making adjustments to other parts of the HTML.

I've attached a screen shot of what it looks like.  


Dimo
Telerik team
 answered on 21 May 2010
1 answer
134 views
I am building a large application and while I like to use the Rad Grid for complex data like hierarchies, grouping, editing, etc. I want to minimize the integration of the controls to avoid upgrade issues. I would like to use standard .Net data grids when the data is for view only, but I want the look and feel of the grids to match. What is the easiest approach to using the rad skins with a standard .Net data grid?
Dimo
Telerik team
 answered on 21 May 2010
1 answer
111 views
I notice that when I hover over an .rcSelected element the class gets overridden by rcHover...which means I can't (easily) style a Selected+Hovered event

Is there a property to change that functionality, could it perhaps be a feature request to append instead of replace?
Dimo
Telerik team
 answered on 21 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?