Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
159 views
Is it possible to use the templating features of the RadListBox when binding data programmatically?  Or, is it possible to build templates in a programmatic way so as to handle things all in the code behind?

Lastly, it seems as it the documentation for this control is not quite complete, is this just because it is so new?
Genady Sergeev
Telerik team
 answered on 28 Jul 2009
1 answer
140 views

Filter the Schedules

1. I am using sample Telerk Database.
2. I have used combo box and RadScheduler in update panel
3. In the Page load event, binding data to RadSceduler and also get the Users data in combo.
4. How can i show the schedules based on selected user name from the combo ?
5. I want to display the schedule(s) only the selected users from the combo.

Thanks
Sabarish
Peter
Telerik team
 answered on 28 Jul 2009
1 answer
100 views
Hi and thanks for your help in advance.

I've currently got a RadGrid bound to an EntityDataSource and I'm trying to do the following it works fine for edits but the moment I try and do an insert I get the following message 'Telerik.Web.UI.GridInsertionObject' does not contain a property with the name 'StartDate'.

<EditItemTemplate> 
    <telerik:RadDatePicker ID="StartDate" runat="server" SelectedDate='<%# Bind("StartDate") %>' /> 
    <asp:RequiredFieldValidator ID="DataRequired" runat="server" ControlToValidate="StartDate" 
        ErrorMessage="Required" /> 
</EditItemTemplate> 

I've noticed most of the examples seem to avoid using a RadDatePicker inside a grid and I'm starting to think I've discovered why...
Princy
Top achievements
Rank 2
 answered on 28 Jul 2009
2 answers
69 views
Hi There,

I am using RadControl 5.5.2.0 with asp.net 2.0

I have placed the control on a page and I want to get contents of control to textarea on client side.
Here is my code, but it is not bringing any changes made by user to the content.

<%@ Register TagPrefix="rade" Namespace="Telerik.WebControls" Assembly="RadEditor" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Admin_Default2" %>
<!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">
    <script>
    function Radeditor1_ClientSubmit(sender, args)
    {
        var editor = sender;
        //var theSelectionObject = editor.getSelection();
        document.getElementById('txt').value=document.getElementById('<%=Radeditor1.ClientID %>').innerHTML//editor.innerHTML;
        return false;
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
<rade:radeditor id="Radeditor1"  ShowSubmitCancelButtons=true Editable=true OnClientSubmit="Radeditor1_ClientSubmit"  runat="server" ConfigFile="~/RadControls/Editor/ConfigFile.xml"></rade:radeditor>
<textarea id=txt runat=server />
    </form>
</body>
</html>

Deepak Agrawal
Top achievements
Rank 1
 answered on 28 Jul 2009
6 answers
602 views
Hi,

Can anyone tell me that how can we access the input box in RAD Date picker control?

I explored some url and found that get_textBox() method will get us the text box, but it doesn't worked for me! Could any one have working solution for this?

Thanks in advance
Viswa
Viswanathan
Top achievements
Rank 1
 answered on 28 Jul 2009
2 answers
196 views
Hi

How can I change the background color of the built-in edit form that appears when the
automatic Edit link button is clicked?

I want to distingish the edit form more clearly when it appears within the grid items,
but I can't find a property for this whole area.

Thanks

Clive

PS. Q2 2009
Clive Hoggar
Top achievements
Rank 1
 answered on 28 Jul 2009
1 answer
129 views
Hi

I have changed the apppointment template to have a DIV inside which is hidden but contains more information about the appointment. The is also a button in the appointment template which when clicked will display the DIV. The problem is that the DIV will only show in the appointment area.

No matter what CSS settings I give the DIV it will not display anywhere else nor will it change its size.

How can I get the DIV  to appear in the middle of the screen for instance?

I don't want to use the RadToolTip because this doesn't work for me.

Thanks
Jon
Alex Gyoshev
Telerik team
 answered on 28 Jul 2009
1 answer
103 views
When I use a RadGrid in a Content Page enclosed in a Master Page, it appears that the RadGrid header section is off center.  It looks fine on the left side, but on the right side, the header pushes over the border line.  How can I fix that?
Yavor
Telerik team
 answered on 28 Jul 2009
1 answer
140 views
 <telerik:RadGrid ID="rg" runat="server">  
<MasterTableView DataKeyNames="ID">  
                <Columns>  
                    <telerik:GridBoundColumn DataField="TaskCode" HeaderText="Task Code" UniqueName="Task_Code" />  
                    <telerik:GridDateTimeColumn DataField="TargetDate" HeaderText="Target Date" UniqueName="TargetDate"  
                        DataFormatString="{0:d-MMM-yyyy}" HtmlEncode="false" />  
<telerik:GridEditCommandColumn ButtonType="ImageButton" EditImageUrl="../Images/edit.jpg" />
</Column>
<EditFormSettings>  
    
                    <PopUpSettings Width="530px" Height="315px" />  
                    <FormTemplate>  
                        <table border="0" cellspacing="4" cellpadding="4" width="100%">  
                            <tr>  
                                <td>  
                                    Code :  
                                </td>  
                                <td>  
                                     
                                     <telerik:RadComboBox ID="rcbCode" runat="server">  
                                        <Items>  
                                            <telerik:RadComboBoxItem Text="Select" Value="Select" />  
                                            <telerik:RadComboBoxItem Text="C" Value="1" />  
                                            <telerik:RadComboBoxItem Text="H" Value="2" />  
                                        </Items>  
                                    </telerik:RadComboBox>  
                                </td>  
                            </tr>  
                            <tr>  
                                <td>  
                                    Date:  
                                </td>  
                                <td class="pBot10">  
                                    <telerik:RadDatePicker ID="rdpDate" runat="server" SelectedDate='<%# Eval("Date") %>' 
                                    </telerik:RadDatePicker>  
                                </td>  
                            </tr>  
</table>  
                    </FormTemplate>  
                </EditFormSettings>  
            </MasterTableView>  
</telerik:RadGrid>  


I am having a gird with Edit Popup Template. In that popup I am having a RadComboBox.

While clicking Edit how to select a value in RadComboBox?

Regards,
Jones






Shinu
Top achievements
Rank 2
 answered on 28 Jul 2009
1 answer
53 views
I have one RadGrid, which have two Combo. I want to select value of second combo on basis of first combo's OnClientSelectedIndexChanged. 
Veselin Vasilev
Telerik team
 answered on 28 Jul 2009
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?