Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
157 views
How can I to do something like:
(ASP.NET MVC)

<Tabs>

 <telerik:RadTab Text="<%= Resources.Labels.GeneralText %>">

 </telerik:RadTab>
...

1) '<%# Resources.Labels.GeneralText %>'>  ---> do not result - no text displayed.
2) I'm not using rsx file


Thanks.

Daniel Plomp
Top achievements
Rank 2
 answered on 28 Jul 2009
6 answers
671 views

Hi

We’re having problems with our GetRadWindow procedure when closing radwindows.

In the below example, we have a main navigation page (denoted by default.aspx), a page that is opened from default.aspx (denoted by window1.aspx) and a page that can be opened from window1.aspx (denoted by window2.aspx).

As a window is closed, we anticipate the activate event will fire of the remaining window, which it appears to if we close window 2 before window 1.  However, if we close window 1 first, window 2 reports that GetRadWindow is not defined in the Activate event.

I'm sure I'm doing something stupid, but I just can’t see what it is. Any help would be much appreciated.

Default.aspx

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="CascadingWindows_Default" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!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></title>  
          
        <script language="JavaScript" src="Jscript.js" type="text/javascript"></script> 
    </head> 
      
    <body> 
        <form id="form1" runat="server">  
            <telerik:RadScriptManager ID="ScriptManager" runat="server"></telerik:RadScriptManager> 
            <telerik:RadWindowManager ID="WindowsManager" runat="server" DestroyOnClose="true" VisibleStatusbar="false"></telerik:RadWindowManager> 
            <input id="Button1" type="button" value="Open Window 1" onclick="WindowOpen('Window1.aspx')"  /> 
        </form> 
    </body> 
</html> 
 


Window1.aspx

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Window1.aspx.vb" Inherits="CascadingWindows_Window1" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!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></title>  
                  
        <script language="JavaScript" src="Jscript.js" type="text/javascript"></script> 
          
    </head> 
    <body> 
        <form id="form1" runat="server">  
            <h1>Window 1</h1> 
            <div> 
                <input id="Button1" type="button" value="Open Window 2" onclick="WindowOpen('Window2.aspx')"  /> 
            </div> 
        </form> 
    </body> 
</html> 

Window2.aspx

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Window2.aspx.vb" Inherits="CascadingWindows_Window2" %> 
 
<!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></title>  
                  
        <script language="JavaScript" src="Jscript.js" type="text/javascript"></script> 
    </head> 
    <body> 
        <form id="form1" runat="server">  
            <h1>Window 2</h1> 
        </form> 
    </body> 
</html> 
 


Jscript.js

function GetRadWindow() {  
    if (window.radWindow) return window.radWindow;  
    else if (window.frameElement != null && window.frameElement.radWindow) return window.frameElement.radWindow;  
    return null;  
}  
 
 
function WindowActivate(sender, eventArgs) {  
    var oRadWindow = GetRadWindow();  
     
    /* More code removed for this example */  
}  
 
 
function WindowOpen(windowUrl) {  
 
    var oRadWindow = GetRadWindow();  
    var oManager = null;  
 
    if (oRadWindow == null) { oManager = GetRadWindowManager(); }  
    else { oManager = oRadWindow.BrowserWindow.GetRadWindowManager(); }  
 
    if (oRadWindow == null) { oWnd = radopen(windowUrl, null); }  
    else { oWnd = oRadWindow.BrowserWindow.radopen(windowUrl, windowUrl);}  
 
    oWnd.add_activate(WindowActivate);  
 
} 

 

Fiko
Telerik team
 answered on 28 Jul 2009
1 answer
177 views
I have a few webparts that have been developed using ascx controls templates. I cannot for the life of me get the editor lite working...


Okay, so i have gone through tutorials, downloaded the 91 meg PD and source samples. all reference an assembly and namespace i do not have. I reflect through the net2.dll and attempt to markup my page and add references to my code "Telerick.WebControls"

the MOSSRadEditor.wsp is deployed so the .net2 dll and sharepointeditor.dll should be been deployed to GAC all sorts of safe controls listed. i even went into the web.config and verified the assemblies were listed.

I hit any page that implements the ascx and EPIC FAIL. with a "cannot load type" error.

So my questions is. If I want to use the RadEditor Lite, add the emoticons like so:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DigiFacesEditProject.ascx.cs" Inherits="DigiFacesProjects.DigiFacesEditProject" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.WebControls" Assembly="RadEditor.Net2, Version=7.3.6.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" %> 
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %> 
<%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %> 
<%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %> 
<%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %> 
<style type="text/css"> 
            * { 
                margin: 0; 
                padding: 0; 
                } 
            body, html { 
                margin: 0; 
                padding: 0; 
                width: 100%; 
                height: 100%; 
            }    
            #main { 
                width: 100%; 
                height: 100%; 
                background-color: #FFFFFF; 
                } 
            h1 { 
                font: 21px Arial, Helvetica, sans-serif; 
                font-weight: bold; 
                color: #000000; 
                } 
            #header { 
                width: 570px; 
                height: 40px; 
                border-bottom: 2px solid silver; 
                margin: 15px 0 0 15px; 
                } 
            #form { 
                margin: 8px 0 15px 15px; 
                } 
            .text_cell { 
                width: 110px; 
                padding-left: 3px; 
                height: 35px; 
                } 
            .label { 
                font: 12px Arial, Helvetica, sans-serif; 
                color: #000000; 
                } 
        </style> 
<script type="text/javascript">      
    function OnClientCommandExecuting(editor, args)      
    {      
        var name = args.get_name();      
        var val = args.get_value();      
        if (name == "Emoticons")      
        {      
            editor.pasteHtml("<img src='" + val + "'>");       
            //Cancel the further execution of the command as such a command does not exist in the editor command list      
            args.set_cancel(true);       
        }      
   }      
</script> 
<table cellpadding="0" cellspacing="0" border="0" id="main"> 
                <tr> 
                    <td class="header" align="left" valign="top"> 
                    <table id="header" cellpadding="0" cellspacing="0" border="0"> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <h1>Project Details</h1> 
                            </td> 
                        </tr> 
                    </table> 
                    </td> 
                </tr> 
                <tr> 
                    <td align="left" valign="top"> 
                    <table id="form" cellpadding="0" cellspacing="0" border="0"> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td class="text_cell" align="left" valign="middle"> 
                                    <asp:Label runat="server" CssClass="label" id="ProjectNameLabel"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="middle"> 
                                    <asp:TextBox CssClass="label" Width="210" runat="server" id="ProjectNameTextBox"></asp:TextBox> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td style="width: 100px; padding-left: 3px;" align="left" valign="middle"> 
                                        <asp:Label CssClass="label" runat="server" Text="Project Type" id="ProjectTypeLabel"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="middle"> 
                                        <asp:RadioButtonList CellSpacing="10" CssClass="label" runat="server" id="ProjectTypeRadioButtonList" RepeatDirection="Horizontal"> 
                                        </asp:RadioButtonList> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td style="width: 100px; padding-left: 3px;" align="left" valign="middle"> 
                                        <asp:Label runat="server" CssClass="label" Text="Project Status" id="ProjectStatusLabel"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="middle"> 
                                        <asp:RadioButtonList CssClass="label" CellSpacing="10" RepeatDirection="Horizontal" runat="server" id="ProjectStatusRadioButtonList"> 
                                        </asp:RadioButtonList> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td class="text_cell" align="left" valign="middle"> 
                                        <asp:Label runat="server" CssClass="label" Text="Start Date" id="StartDateLabel"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="middle"> 
                                        <SharePoint:DateTimeControl DateOnly="true" IsRequiredField="true" ID="StartDatePicker" runat="server"></SharePoint:DateTimeControl> 
                                    </td> 
                                    <td align="left" valign="middle"> 
                                        <asp:Label style="margin: 0 20px 0 20px;" runat="server" Text="End Date" id="EndDateLabel" CssClass="label"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="middle"> 
                                        <SharePoint:DateTimeControl DateOnly="true" IsRequiredField="true" ID="EndDatePicker" runat="server"></SharePoint:DateTimeControl> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td class="text_cell" align="left" valign="middle"> 
                                        <asp:Label CssClass="label" runat="server" Text="User Limit" id="UserLimitLabel"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="middle"> 
                                        <asp:TextBox CssClass="label" runat="server" id="UserLimitTextbox" Width="40"></asp:TextBox> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td class="text_cell" align="left" valign="middle"> 
                                        <asp:Label CssClass="label" runat="server" Text="Project Active For:" id="ProjectActiveForLabel"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="middle"> 
                                        <asp:DropDownList runat="server" id="ProjectActiveForDropDownList" CssClass="label"></asp:DropDownList> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td style="height: 35px; padding-left: 3px;" align="left" valign="middle"> 
                                        <asp:Label CssClass="label" runat="server" Text="Profiles:" id="ProfilesLabel"></asp:Label> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td style="padding-left: 20px;" align="left" valign="top"> 
                                        <asp:RadioButtonList CellSpacing="10" CssClass="label" runat="server" id="PrivateProfilesRadioButtonList"> 
                                        </asp:RadioButtonList> 
                                    </td> 
                                    <td style="padding-left: 20px;" align="left" valign="top"> 
                                        <asp:RadioButtonList CellSpacing="10" CssClass="label" runat="server" id="ProfilesPhotosRadioButtonList"> 
                                        </asp:RadioButtonList> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table style="width: 400px;" cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td style="padding: 10px 0 4px 3px;" align="left" valign="middle"> 
                                        <asp:Label CssClass="label" runat="server" id="OptionalAdditionalFieldsLabel"></asp:Label> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td style="padding-left: 3px; height: 35px;" align="left" valign="middle"> 
                                        <asp:TextBox Width="150" CssClass="label" runat="server" id="field1"></asp:TextBox> 
                                        &nbsp;&nbsp;&nbsp; 
                                        <asp:TextBox Width="150" runat="server" id="field2" CssClass="label"></asp:TextBox> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td style="padding-left: 3px; height: 25px;" align="left" valign="middle"> 
                                        <asp:TextBox Width="150" CssClass="label" runat="server" id="field3"></asp:TextBox> 
                                        &nbsp;&nbsp;&nbsp; 
                                        <asp:TextBox Width="150" CssClass="label" runat="server" id="field4"></asp:TextBox> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td style="padding-left: 3px; height: 35px;" align="left" valign="middle"> 
                                        <asp:TextBox Width="150" CssClass="label" runat="server" id="field5"></asp:TextBox> 
                                        &nbsp;&nbsp;&nbsp; 
                                        <asp:TextBox Width="150" CssClass="label" runat="server" id="field6"></asp:TextBox> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table style="margin: 15px 0 15px 0; width: 400px;" cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td style="width: 110px; padding-left: 3px;" align="left" valign="top"> 
                                        <asp:Label CssClass="label" runat="server" id="PrimaryPMLabel" Text="Primary PM"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="top"> 
                                        <asp:Label CssClass="label" runat="server" Text="This section determines which Project Manager Profile displays on the Project Main Page." id="PrimaryPMDescriptionLabel"></asp:Label> 
                                        <br /> 
                                        <asp:DropDownList CssClass="label" runat="server" id="PrimaryPMDropDownList"></asp:DropDownList> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table style="margin: 0 0 15px 3px;" cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td class="text_cell" style="padding: 10px 0 0 0;" align="left" valign="top"> 
                                        <asp:CheckBox CssClass="label" runat="server" Text=" Photo Library" id="PhotoLibraryCheckBox"></asp:CheckBox> 
                                    </td> 
                                    <td style="width: 330px; padding: 10px 0 0 0;" align="left" valign="top"> 
                                        <asp:Label CssClass="label" runat="server" Text="If selected, a Photo Library allows Participants to upload photos relevant to a Project. Only Project Managers will be able to see and access these photos." id="PhotoLibraryCheckBoxDescriptionLabel"></asp:Label> 
                                        <br /> 
                                        <br /> 
                                        <asp:TextBox CssClass="label" Width="330" Height="30" runat="server" id="UserDefinePhotoInstructions"></asp:TextBox> 
                                    </td> 
                                    <td align="left" valign="top"> 
                                        <asp:RadioButtonList CellSpacing="10" CssClass="label" runat="server" id="PhotoLibraryAccessibleByRadioButtonList"> 
                                            <asp:ListItem Text="Photo Library Accessible to All Participants" Value="Photo Library Accessible to All Participants"></asp:ListItem> 
                                            <asp:ListItem Text="Photo Library to PM's Only" Value="Photo Library to PM's Only"></asp:ListItem> 
                                        </asp:RadioButtonList> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table style="margin-top: 10px;" cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td class="text_cell" align="left" valign="top"> 
                                        <asp:Label CssClass="label" runat="server" Text="Introduction" id="IntroductionLabel"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="top">                                   
                                        <telerik:RadEditor runat="server" ID="RadIntro" OnClientCommandExecuting="OnClientCommandExecuting"> 
                                            <tools> 
                                               <telerik:EditorToolGroup>    
                                                <telerik:EditorTool Name="InsertCustomDate" Text="Insert Custom Date" />  
                                                    <telerik:EditorDropDown Name="Emoticons" Text="Emoticons" ItemsPerRow="3" PopupWidth="90" PopupHeight="90">   
                                                         <telerik:EditorDropDownItem Name ="<img src='./Emoticons/smil1.gif' />" value="./Emoticons/smil1.gif" />  
                                                         <telerik:EditorDropDownItem Name ="<img src='./Emoticons/smil2.gif' />" value="./Emoticons/smil2.gif" />  
                                                         <telerik:EditorDropDownItem Name ="<img src='./Emoticons/smil3.gif' />" value="./Emoticons/smil3.gif" />  
                                                         <telerik:EditorDropDownItem Name ="<img src='./Emoticons/smil4.gif' />" value="./Emoticons/smil4.gif" />  
                                                         <telerik:EditorDropDownItem Name ="<img src='./Emoticons/smil8.gif' />" value="./Emoticons/smil8.gif" />  
                                                         <telerik:EditorDropDownItem Name ="<img src='./Emoticons/smil6.gif' />" value="./Emoticons/smil6.gif" />  
                                                         <telerik:EditorDropDownItem Name ="<img src='./Emoticons/smil7.gif' />" value="./Emoticons/smil7.gif" />  
                                                         <telerik:EditorDropDownItem Name ="<img src='./Emoticons/smil9.gif' />" value="./Emoticons/smil9.gif" />  
                                                         <telerik:EditorDropDownItem Name ="<img src='./Emoticons/smil11.gif' />" value="./Emoticons/smil11.gif" />    
                                                    </telerik:EditorDropDown>  
                                                </telerik:EditorToolGroup>  
                                            </tools> 
                                        </telerik:RadEditor> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table style="margin-top: 25px;" cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td class="text_cell" align="left" valign="top"> 
                                        <asp:Label CssClass="label" runat="server" Text="Goals" id="GoalsLabel"></asp:Label> 
                                    </td> 
                                    <td align="left" valign="top"> 
                                        <SharePoint:InputFormTextBox ID="GoalsRichTextBox" runat="server" RichTextMode="FullHtml"></SharePoint:InputFormTextBox> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                        <tr> 
                            <td align="left" valign="top"> 
                            <table style="margin-top: 25px;" cellpadding="0" cellspacing="0" border="0"> 
                                <tr> 
                                    <td class="text_cell" align="left" valign="top"> 
                                        <asp:Label CssClass="label" runat="server" Text="Participant <br /> Criteria" id="ParticipationCriteriaLabel"></asp:Label> 
                                    </td> 
                  dard                   <td align="left" valign="top"> 
                                        <SharePoint:InputFormTextBox ID="ParticipationCriteriaRichTextBox" runat="server" RichTextMode="FullHtml" ></SharePoint:InputFormTextBox> 
                                    </td> 
                                    <td align="left" valign="bottom"> 
                                        &nbsp;&nbsp;&nbsp; 
                                        <asp:Button runat="server" Text="&nbsp;&nbsp;&nbsp; Cancel &nbsp;&nbsp;&nbsp;" id="CancelButton"  />&nbsp;&nbsp;&nbsp;<asp:Button runat="server" Text="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Save &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" id="SaveButton"></asp:Button> 
                                    </td> 
                                </tr> 
                            </table> 
                            </td> 
                        </tr> 
                    </table> 
                    </td> 
                </tr> 
</table> 

What on earth do i need to do?

If need to tell my boss to buy this so be it. hell ill do it on my own credit card if thats the only way.

I just need it to work if possible.

I desperately need a rich textbox control that allows for emoticons without having to impale myself for a month(i dont have this time) writing one from scratch.

Lini
Telerik team
 answered on 28 Jul 2009
1 answer
155 views
Hi,
 I am new with telerik control. Here is my problem below:
   I designed my site using vS 2008 prof.
   The menu item was designed in webcontrol page (menucontrol.ascx). This control was embeded to masterpage (masterpage.master).
Default.aspx was created from masterpage.master.
   I want to highlight default.aspx page everytime user select on menu bar. I added the code below into my default.aspx.cs in Page_Load:

protected void Page_Load(object sender, EventArgs e)
    {
        string item = Server.UrlDecode(Request["0"]);
        if (!string.IsNullOrEmpty(item))
        {
             RadMenuItem currentItem = RadMenu1.FindItemByText(item);
             if (currentItem != null)
             {
                currentItem.HighlightPath();
             }
        }
    }

The problem is saying that "RadMenu1" does not exist in the current context. It's true, because the RadMenu1 was build inside Menucontrol.ascx page.
     I downloaded free trial

ASP.NET AJAX Q1 SP1 2009


Please help me to solve my issue.
Thanks alot.
Daniel Plomp
Top achievements
Rank 2
 answered on 28 Jul 2009
1 answer
81 views

Hi,

I am having an issue regarding recurringappointments. 

I can create a series, and it displaysrecurring appointments fine.

I am using the page load method to bind the appointmentsto RadScheduler

On reloading the application the Recurring appointmentsare not displayed in the scheduler. But, non Recurring appointments aredisplayed fine in the scheduler.

Can u send any sample code?

Thanks

Sabarihs

Peter
Telerik team
 answered on 28 Jul 2009
1 answer
163 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
141 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
104 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
70 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
615 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
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?