
<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.
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); |
| } |

| <%@ 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> |
| |
| <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> |
| |
| <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> |
| |
| <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"> |
| |
| <asp:Button runat="server" Text=" Cancel " id="CancelButton" /> <asp:Button runat="server" Text=" Save " id="SaveButton"></asp:Button> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
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