Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
87 views

I have the structure in my treeview:

Node1
    childnode 1.1
    childnode 1.2
Node2
    childnode 2.1
    childnode 2.2

How can I know the value of my node1 or node2 if the pisition is in  childnode21

I need the value of parent node bacuse a work this database and I need the value to add a new record.

Thanks Jorge Pineda

ramya
Top achievements
Rank 1
 answered on 08 Oct 2008
1 answer
133 views
I have a detail table inside a master table, and both only include the template column with Eval<> function in each column. I bind the master table, and it will automatically bind data in the detail table. However, I don't want detail table to bind the data until I expand the each single data item in the master table. Is there a way to achieve this?
Vladimir
Top achievements
Rank 1
 answered on 08 Oct 2008
4 answers
170 views
Is it possible to display one context menu (items a, b, c...) when you click on a node and a different context menu (items x, y, z...) when you click over the empty area of the tree (outside of any nodes)?
Thanks!
roger
Top achievements
Rank 1
 answered on 08 Oct 2008
2 answers
83 views
I have a splitter control with width set to 100%. It has a left pane, a splitbar, and a right pane. The right pane has a combobox with an onclientfocus event.

When the page loads, both the left and right panes are completely collapsed. If I remove the 100% width, or set it to a fixed pixel width, it works as expected. Also, if I remove the onclientfocus event from the combobox, it works as expected.

I have duplicated this same problem with the onclientblur event of the combobox, and with the onclientnodeclicked event of the treeview control.

So it seems to be an overall problem when adding a client side event to a telerik control which is nested within a splitter control with width set to 100%.

I am using version 2008.2.826.35 of the Telerik.Web.UI.dll.

Here is a simple code sample:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
  <title>Untitled Page</title> 
</head> 
<body> 
  <form id="form1" runat="server">  
        <asp:scriptmanager id="ASPNET_ScriptManager" runat="server" /> 
        <telerik:radsplitter id="radSplitter1" runat="server" width="100%">  
            <telerik:radpane id="pane1" runat="server">  
 
            </telerik:radpane> 
            <telerik:radsplitbar id="splitbar1" runat="server" collapsemode="Forward" /> 
            <telerik:radpane id="pane2" runat="server">  
                <telerik:radcombobox id="rcb" runat="server" onclientfocus="test">  
                  
                </telerik:radcombobox>    
            </telerik:radpane> 
        </telerik:radsplitter> 
  </form> 
</body> 
</html> 
Cyber High
Top achievements
Rank 1
 answered on 07 Oct 2008
0 answers
154 views
Not a question but a piece of information.  I have noticed that when the height of a group of child items in a RadPanelBar is set to be smaller than the space needed, a scroll-bar appears ... some of the time!   Using the Inox skin, I see a scroll-bar whenever my child items exceed the specified height (as it should); however, with the Web20 skin, it's missing sometimes.  Also, it didn't always appear in the custom skin that I made (which I had based on the Web20 skin).

The answer was to add the following style directive to my CSS file:

.RadPanelBar_mySkinName .rpGroup
{
    overflow-x: hidden;
    overflow-y: auto;
}

This works for custom skins, although I haven't yet been able to override the default skins.  Editions made to the PanelBar.Web20.css file (in ~\Program Files\telerik\RadControls for ASPNET AJAX Q2 2008\Skins\Web20), for example, don't seem to appear in web-pages where the default Web20 skin is used.

Ed
Top achievements
Rank 1
 asked on 07 Oct 2008
1 answer
102 views
Is there a Select event for the nodes? We need to expand the node on click of the "folder icon" and open up a new window on selecting the Node Text.  We are also hiding the + & - icons for the tree using css and attaching an event handler for the click event of the folder icon.  Is there a way to achieve this?


Basically different functionality for click and select.

Thanks
Som
 
Som
Top achievements
Rank 1
 answered on 07 Oct 2008
3 answers
171 views
Hi, All:

I am a beginner to use StackedBar chart.

Please give some code sample on how to populate the two sections of each vertical bar in RadChart.

thanks.

Stanley Huang
Esperanza Ramos
Top achievements
Rank 1
 answered on 07 Oct 2008
6 answers
173 views
When I adding the RADGRID in my project, 
it appears the error: "System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.web.ui, Version = 2007.3.1218.35, Culture = neutral, PublicKeyToken = 121fae78165ba3d4' or which of its dependencies. "

Who knows what can be?
Silderado
Top achievements
Rank 1
 answered on 07 Oct 2008
8 answers
175 views
Hi, when I'm trying to use the file ProductDetails.ascx.cs, as an example, this occurs below the error, which would be?


C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE> "C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\Telerik.Web.Design\2007.3.1218.20__121fae78165ba3d4\Telerik.Web.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\3.5.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Data.DataSetExtensions\3.5.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\ce2a1f20\0031b9d4_f940c801\Telerik.Web.UI.DLL" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\d8c66082\00a6952d_e23fc801\RadCombobox.Net2.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\8a49ac73\007cd58e_ab40c801\RadGrid.Net2.DLL" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\a8de168f\005087a3_181fc901\Delivery.DAL.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\assembly\dl3\9777b92e\0091ae77_7441c801\SessionDataSource.DLL" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing.Design\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll" /R:"C:\Windows\assembly\GAC_MSIL\Telerik.Charting\1.7.0.0__d14f3dcc8e3e8763\Telerik.Charting.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\App_Web_productdetails.ascx.cdcab7d2.lqjqb7xp.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\mnsoj4lh.res" /w:4 /nowarn:1659;1699;1701 /warnaserror-  "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\App_Web_productdetails.ascx.cdcab7d2.lqjqb7xp.0.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\App_Web_productdetails.ascx.cdcab7d2.lqjqb7xp.1.cs" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\teste\4eb58e09\32a36d5c\App_Web_productdetails.ascx.cdcab7d2.lqjqb7xp.2.cs"

Microsoft (R) Visual C# 2008 Compiler version 3.5.21022.8
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

h:\Teste\ProductDetails.ascx.cs(912305,33): error CS0115: 'ASP.productdetails_ascx.FrameworkInitialize()': no suitable method found to override

Silderado
Top achievements
Rank 1
 answered on 07 Oct 2008
1 answer
186 views
This has to be a very simple request, but I just started using your RAD Ajax ASP combo box...

I have a combobox that is bound to a list of States.
- I am setting the DataValueField to an integer that is basically an identity value in the database.
- I am setting the DataTextField to the abbreviations of the State.

When a user fills out the form and saves the data to a database, we are saving the DataTextField , not the value field.  So, we'd save "NC" or "NY" for instance, instead of the integer of 37 or 39 or whatever corresponds to that state. 

BTW:  After the user selects a state, I use the SelectedValue to find a list of Counties that belong to that state.

Here is what I don't know how to do:
- In our app, the user can pull up this data to edit it.  Since they have previously selected a State, I need to select the value of the state that they had chosen, in the Combobox.

Q.  How can I do that?  I fill the combo box with a list of States, but if I set the "SelectedItem.Text" to the state abbreviation that they had chosen, it obviously sets the text of the first item in the combobox to their state. 
But that is wrong.  I want to programmatically select the state that they had selected, in the combox box.

- Since I only have the State abbreviation (the DataTextField) and
not the ID, I can't set the "SelectedValue" (if that would even do what I want).

I guess the question boils down to:  If I have a combo box full of string values, how can I programmatically select an item from the combo box, based on that string value?

Thanks,
Brent
Brent
Top achievements
Rank 1
 answered on 07 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?