Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
121 views
Hi,

I have a radgrid with gridbound columns and one dropdown column. When in edit mode, if i change the selected item from the dropdown, how can i display its text into another  field in the edit mode.

Which event should i use and how to make that event fire..and also how to display that selected text and selected value onto a different field in edit mode.

Regards

Sujith
Shinu
Top achievements
Rank 2
 answered on 02 Sep 2008
1 answer
319 views
hi,
in my application i used rad combo....
but no css apply for this.....


my code is as below.....

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MulticolumnDropdownlist.aspx.cs"
    Inherits="MulticolumnDropdownlist" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register TagPrefix="radcb" Namespace="Telerik.WebControls" Assembly="RadComboBox.Net2" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
 
   
   
</head>
<body class="BODY">
    <form runat="server" id="mainForm" method="post" style="width: 100%">
        <table>                               
                <tr>
                    <td valign="center" class="text">
                        Supervisor:
                    </td>
                    <td valign="top">
                        <radcb:radcombobox
                            Skin="WindowsXP"
                            id="RadComboBox1"
                            Runat="server"
                            Height="190px"
                            Width="420px"
                            MarkFirstMatch="True"
                            EnableLoadOnDemand="True"
                            HighlightTemplatedItems="True"
                            DropDownWidth="423px"                           
                            ItemRequestTimeout="500" SkinsPath="~/RadControls/ComboBox/Skins">
                            <headertemplate>
                                <table style="width:415px; text-align:left">
                                    <tr>
                                        <td style="width:125px;">
                                            Company Name
                                        </td>
                                        <td style="width:125px;">
                                            City
                                        </td>
                                        <td style="width:125px;">
                                            Title
                                        </td>
                                        <td style="width:40px;" align="right">                                           
                                            <img src="img/help.gif"/>                                                                               
                                        </td>
                                    </tr>
                                </table>                               
                            </headertemplate>
                            <itemtemplate>
                                <table style="width:415px; text-align:left">
                                    <tr>
                                        <td style="width:125px;">                                           
                                            <%# DataBinder.Eval(Container.DataItem, "CompanyName") %>
                                        </td>
                                        <td style="width:125px;">
                                            <%# DataBinder.Eval(Container.DataItem, "City") %>
                                        </td>
                                        <td style="width:125px;">
                                            <%# DataBinder.Eval(Container.DataItem, "ContactTitle") %>
                                        </td>
                                        <td style="width:40px;">
                                        </td>
                                    </tr>
                                </table>
                            </itemtemplate>
                        </radcb:radcombobox>
                    </td>
                    <td>
                        <asp:button Runat="server" ID="Button1" Text="Select" cssclass="button"></asp:button>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:label Runat="server" ID="Label1"></asp:label>
                    </td>
                </tr>
                <tr>
                    <td style="height:100px"></td>
                </tr>               
            </table>
       
 
      
    </form>
</body>
</html>


thanks in advance
Yana
Telerik team
 answered on 02 Sep 2008
1 answer
107 views
hi

How can i load data on demand when i click on Node Text , as in clicking expanding Image ?

Thanks
Veselin Vasilev
Telerik team
 answered on 02 Sep 2008
4 answers
196 views
I have a RadGrid with a GridClientSelectColumn. 
 <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" HeaderStyle-Width="25" /> 

There is also a GridBoundColumn that I would like to access.
<telerik:GridBoundColumn SortExpression="City" HeaderText="City" HeaderButtonType="TextButton" DataField="City" /> 

If I check a couple of the checkboxes in the grid how do I get the ClientSelectColumn and the GridBoundColumn value with JavaScript using OnClientClick?

Help Please!

Thank you!
Mike
Top achievements
Rank 1
 answered on 02 Sep 2008
7 answers
316 views
How can I put ChartSeries1 to be shown in XAxis[0], and ChartSeries2 to be shown in XAxis[1]?
Giuseppe
Telerik team
 answered on 02 Sep 2008
1 answer
117 views
Can FormDecorator skin standard controllers ??? or just RadControllers ??

My dilemma is that i already have a form created with standard text boxes and want to know if i need to replace standard text boxes with RadTextBox so the skin can be applied ??

Thanks
Georgi Tunev
Telerik team
 answered on 02 Sep 2008
4 answers
156 views
Is there a way to insert a node (from the server-side) into a RadTreeView that contains HTML? For example ... how do I insert
SomeText<i>some other text</i> and have it show the "some other text" as italic (basically tell the server NOT to HTML encode the string)?

By default it HTML-encodes the Text property.

Thanks!
Jay
Veselin Vasilev
Telerik team
 answered on 02 Sep 2008
1 answer
120 views
Is there anyway we can change the rad window caption background color ? or event change its font-family and size ?


JOHNG
Georgi Tunev
Telerik team
 answered on 02 Sep 2008
4 answers
140 views
Hi,
How do I set the editors content when updating a row?
I need something like this:
<FormTemplate> 
     <table> 
        <tr> 
            <td>Text:</td> 
            <td> 
                <telerik:RadEditor ID="Text" runat="server" Skin="Gray" > 
                    <Content><%# Bind("Text") %></Content
                </telerik:RadEditor> 
            </td> 
         </tr> 
     </table> 
</FormTemplate> 
<Columns> 
     <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                </telerik:GridEditCommandColumn> 
     <telerik:GridHTMLEditorColumn UniqueName="Text" DataField="Text" HeaderText="Text" Display="false" /> 
</Columns> 

Sebastian
Telerik team
 answered on 02 Sep 2008
0 answers
78 views
Instead of messing with the SQL queries and parameters to sort a result, it would be extremely functional if there was a SortField property for the RadTreeView. For example, if I wanted to sort by the class property "Name", I should be able to do this:

RadTreeView1.DataSource = CreateTestTable();  
RadTreeView1.DataTextField = "Name";  
RadTreeView1.DataValueField = "CategoryID";  
RadTreeView1.DataFieldID = "CategoryID";  
RadTreeView1.DataFieldParentID = "ParentID";  
RadTreeView1.SortField = "Name";  
RadTreeView1.DataBind();  

Notice the line before the DataBind: RadTreeView1.SortField = "Name". This way I can sort dynamically without changing the SQL queries or parameters. What do you think??
bemara57
Top achievements
Rank 1
 asked on 02 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?