Telerik Forums
UI for ASP.NET AJAX Forum
13 answers
187 views
Hello,

I have come across the following javascript code to access a collection of ComboBox objects:

var combos = Telerik.Web.UI.RadComboBox.ComboBoxes;

Is there an equivalent for RadTextBoxes?

Thanks,

Ken Jones
Ken Jones
Top achievements
Rank 1
 answered on 01 Feb 2011
2 answers
278 views
I'm using the radbutton as replacement for radio and checkboxes on a web kiosk application.
I need to do a lot of client side functionallity with them but the documentation is not that good.
I need to be able to get the count of the selected checkboxes, I need to know if there is at least one radiobutton or checkbox selected, I need to be able to uncheck checkboxes if you click an specific one (mutually exclusive), etc.
All this is easily achievable using jQuery and standard radio and checkbox controls.
Could you point me in the right direction on how to achieve this using the radbutton.
I'm using custom toggle by the way.

Thanks,

Pablo Tola.
Pablo Tola
Top achievements
Rank 2
 answered on 01 Feb 2011
3 answers
223 views
Hi,

As the title asks -- is this possible/supported? I have this:

<style type="text/css">
    .style1
    {
        text-align: center;
        background-color: #CEDEF4;
        font-weight:bold;
        color: #224499;
        border-radius: 10px;
    }
    .RoundedStyle
    {
        border-radius: 10px !important;
    }
</style>
</head>

<telerik:RadSplitter ID="RadSplitter1" Runat="server" Skin="Web20"
 Width="100%" BorderSize="2" OnClientLoad="OnSplitterLoaded"
BackColor="White" CssClass="RoundedStyle" >

When I do this nothing happens. I applied the CssClass to children controls of the RadSplitter just fine. 

Any ideas?

Thanks,

Sean

EDIT: Just as another quick question. I changed the width of a sliding zone inside of my splitter. The skin of the splitter is being picked up. But it looks weird because I changed the width of the sliding zone from default. Is there a way to fix this? 
Dobromir
Telerik team
 answered on 01 Feb 2011
1 answer
201 views
Hi,
I want to use ConfirmTemplate for placing my desired buttons (Actually I just want to change the order of Ok and Cancel buttons).
That's a shared templates for some confirms in my page.
Now I want the message shown in the confirm comes dynamically from the radconfirm method, but because of defining template the message is not shown and a static message defined in template is show.
How can I solve my problem?
Georgi Tunev
Telerik team
 answered on 01 Feb 2011
2 answers
88 views
I need to obtain a single selected record from a radGrid control triggered by a user double click event. I'd like to pass the selected record with a column named ID. I believe JavaScript is the best approach to do this since it will avoid post backs which cause the page to flash. Although, I've had no success getting it to work. I'm new to Telerik and could use any help, suggestions and/or examples you may have...

Visual studio 2010
ASP.Net Web Application

Thanks 

Geoff
Geoffrey
Top achievements
Rank 1
 answered on 01 Feb 2011
1 answer
82 views
Is there any where I can set my default language to C or VB for my account, so by default I see the demo's or examples in the selected language?

Georgi Tunev
Telerik team
 answered on 01 Feb 2011
4 answers
405 views
Hello,
   How can I get a drop-down panel like the following that appears in the telerik examples.

    <qsf:ConfiguratorPanel runat="server" ID="ConfigurationPanel1" Title="Configuration" Orientation="Vertical" Expanded="true">
        <strong>Select Panelbar Expand Mode:</strong>
        <hr />
        <asp:RadioButtonList ID="RadioButtonList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged">
            <asp:ListItem Value="MultipleExpandedItems" Selected="True">Multiple Expanded Items</asp:ListItem>
            <asp:ListItem Value="SingleExpandedItem">Single Expanded Item</asp:ListItem>
            <asp:ListItem Value="FullExpandedItem">Full Expanded Item</asp:ListItem>
        </asp:RadioButtonList>
    </qsf:ConfiguratorPanel>
Tajes
Top achievements
Rank 1
 answered on 01 Feb 2011
1 answer
125 views
Hello everybody,

I have a problem : I hava an XML File like this one :
<?xml version="1.0" encoding="utf-8" ?>
<Catalog>
    <Family Name="Family1">
        <SubFamily Name="List1">
            <Product Name="Product1" Packaging="5"></Product>
            <Product Name="Product2" Packaging="5"></Product>
            <Product Name="Product3" Packaging="25" ></Product>
        </SubFamily>
        <SubFamily Name="List2">
            <Product Name="Product1" Packaging="25"></Product>
        </SubFamily>
    </Family>
    <Family Name="Family2">
        <SubFamily Name="List1">
            <Product Name="Product1" Packaging="10"></Product>
            <Product Name="Product2" Packaging="10"></Product>
        </SubFamily>
        <SubFamily Name="List2">
            <Product Name="Product1" Packaging="10"></Product>
        </SubFamily>
    </Family>
</Catalog>

What I want is to obtain a RadGrid constructed with the same hierarchy.

The code I use now is :
<telerik:RadGrid ID="RadGrid1" runat="server" Skin="Web20" OnNeedDataSource="RadGrid1_NeedDataSource" AutoGenerateHierarchy="True" >
    <MasterTableView HierarchyDefaultExpanded="True">
        <Columns>                
        </Columns>       
    </MasterTableView>
</telerik:RadGrid>
public void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
    {
        RadGrid1.DataSource = GetHierarchicalXmlData();
    }
 
    private DataSet XMLDataSet;
    private DataSet GetHierarchicalXmlData()
    {
        XMLDataSet = new DataSet();
        XmlTextReader reader = new XmlTextReader(myfilename); // myfilename is the fullpath for the xml file
        XMLDataSet.ReadXml(reader);
       
        return XMLDataSet;
    }

The problem is that the hierarchy is well respected (see the picture in attached files) BUT RadGrid add "IDs" columns automatically...

1) What can I do to hide these ID Columns that are not presents in my XML File ?
2) Can I add an empty textbox for each Product Row in the end of each line ? How ?

Thanks a lot for your help :) 



Iana Tsolova
Telerik team
 answered on 01 Feb 2011
3 answers
212 views
I'd like to make basic expandable rows in the RadGrid. Say your datasource provides 4 fields. The grid has columns defined for field1 & field2. Then if you expand the row, you see a dropdown area with information from field3 and field4. That was easy enough to do with a NestedViewTemplate and some <%# Eval() %> statements. But I need to do the same thing with client-side binding. Is this possible? I don't want a hierarchical table with another query to drop down, I just want to use fields already provided by that data row. This demo is a good example of the behavior I want, but it has server-side databinding, and it uses an extra query (which is ok if that's what it takes).
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplatedeclarativerelations/defaultcs.aspx
Thanks!
Vasil
Telerik team
 answered on 01 Feb 2011
2 answers
317 views
I would like to disable my RadGrid through JavaScript.  How can I do this?  Server-side, I would call "rgGrid.Enabled = False". 
Ryan
Top achievements
Rank 1
 answered on 01 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?