Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
Hi

using    2009 Q1

I get the error   "SplitterItemsCollection must contain SplitterItem objects "  when I try use the RadAjaxManager.
I checked the Forum answers (Lara) and the link given, downloaded the 4 examples (which won't compile in my app, even after changing the given  Directive  to 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

Also Tried an asp:Update Panl but that wont recognise  items   like RadPanelBar and RadMenu in it.

If i move the Ajaxmanager into the Splitter, it compiles/runs no error  but I get no "ajaxifying", or else the LoadingPanel is not firing. (nor do the  

 

<

 

ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />

My Code is beneath  (Markup and CodeBehind), so it will run as is.
THX
Neal



 

<%

@ Page Language="C#" AutoEventWireup="true"

 

 

CodeFile="DRMOperationsMngr.aspx.cs" Title="Ops manager" Inherits="Drm_OPSMainForm" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<%

--<%@ Register Src="Common/Header.ascx" TagName="Header" TagPrefix="uc2" %>

 

<%@ Register Src="Op_FooterTickerTape.ascx" TagName="Op_FooterTickerTape" TagPrefix="uc1" %>

--

 

%>

 

<%

@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0,

 

Culture=neutral, PublicKeyToken=31bf3856ad364e35"

 

 

 

 

Namespace="System.Web.UI" TagPrefix="asp" %>

 

 

<%

@ Register Assembly="Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

 

 

 

 

 

Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

 

 

 

<

 

html xmlns="http://www.w3.org/1999/xhtml" >

 

<

 

head id="Head1" runat="server">

 

 

 

 

 

<title>Contacts</title>

 

 

 

 

 

<link rel="stylesheet" type="text/css" runat="server"

 

 

href="~/App_Themes/SilverLine.css"/>

 

</

 

head>

 

 

<

 

body topmargin=0 leftmargin=0 scroll="no" >

 

 

 

 

 

<form id="form1" runat="server" >

 

 

 

 

 

<asp:ScriptManager ID="ScriptManager1" runat="server">

 

 

 

 

 

</asp:ScriptManager>

 

 

 

 

 

 

 

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

 

 

 

 

 

<script type="text/javascript">

 

 

var currentLoadingPanel = null;

 

 

var currentUpdatedControl = null;

 

 

function RequestStart(sender, args)

 

{

currentLoadingPanel = $find(

"<%= RadAjaxLoadingPanel1.ClientID%>");

 

 

if (args.get_eventTarget() == "<%= RadPanelbar1.UniqueID %>")

 

{

currentUpdatedControl =

"<%= TopContentPanel.ClientID %>";

 

 

//show the loading panel over the updated control

 

 

 

 

currentLoadingPanel.show(currentUpdatedControl);

}

 

if (args.get_eventTarget() == "<%= RadPanelbar1.UniqueID %>")

 

{

currentUpdatedControl =

"<%= TopContentPanel.ClientID %>";

 

 

//show the loading panel over the updated control

 

 

 

 

currentLoadingPanel.show(currentUpdatedControl);

}

}

 

function ResponseEnd()

 

{

 

//hide the loading panel and clean up the global variables

 

 

 

 

 

if (currentLoadingPanel != null)

 

currentLoadingPanel.hide(currentUpdatedControl);

currentUpdatedControl =

null;

 

currentLoadingPanel =

null;

 

}

 

</script>

 

 

 

 

 

</telerik:RadCodeBlock>

 

 

 

 

 

 

 

<script language ="javascript" type ="text/javascript">

 

 

 

 

 

 

function Menu_OnClientItemClicked(sender, eventArgs)

 

{

}

 

function ClosePage()

 

{

 

if (!confirm('Are you sure you want to exit this Page?'))

 

{

window.location.href =

'javascript:void(0)'; //stay here

 

 

 

 

}

 

else

 

{

window.opener = self;

window.navigate(

"../../DRM_Main.aspx");

 

}

}

 

 

</script>

 

 

 

 

 

 

<div id="xx" runat="server" class="FormHdr" align="right"

 

 

style="position:absolute; width:100%; height:30px; top: 0px;">

 

 

 

 

 

<input id="Button2" class="CloseBtn" onclick="ClosePage()"

 

 

type="button" value="X" />

 

 

 

 

 

</div>

 

 

 

 

 

 

<div id="xxx" runat="server" class="FormHdr2"

 

 

style="position:absolute; width:100%; height:30px; left:0px; top:0px; text-align:center; vertical-align:middle" >

 

 

 

<asp:Label ID ="lblHdrBreadcrumb" runat="server" Text = "Operational Plan">

 

 

 

 

 

</asp:Label>

 

 

 

 

 

</div>

 

 

 

 

 

 

 

<div id="Main" style="position:absolute; top:30px; left:0px; width:100%; ">

 

 

 

 

 

 

<telerik:radsplitter id="RadSplitter1" runat="server"

 

 

Height ="900px" width="100%"

 

 

Skin="Telerik"

 

 

liveresize="true"

 

 

orientation="Vertical"

 

 

 

 

 

BorderColor="Transparent"

 

 

 

 

 

BorderSize="1"

 

 

 

 

 

BorderStyle="None" BackColor="Transparent">

 

 

 

 

 

<telerik:radpane

 

 

Height="99%"

 

 

 

 

 

id="navigationPane" runat="server"

 

 

MinHeight="500"

 

 

MinWidth="100" Width="150px"

 

 

BackColor="DimGray">

 

 

 

 

 

 

<asp:Panel ID="Panel1" runat="server">

 

 

 

 

 

<telerik:RadPanelbar ID="RadPanelbar1" runat="server"

 

 

Width="100%" PersistStateInCookie="True" >

 

 

 

 

 

<Items>

 

 

 

 

 

<telerik:RadPanelItem Text="DM" Height="50%" Width="100%"

 

 

Expanded="True" runat="server" CssClass="FrmHdrMnuGrdnt">

 

 

 

 

 

<Items >

 

 

 

 

 

<telerik:RadPanelItem runat="server" Selected="True"

 

 

CssClass="FrmHdrMnuGrdnt" Width="100%">

 

 

 

 

 

<ItemTemplate >

 

 

 

 

 

<telerik:RadMenu ID="Mnu_DmResources" BackColor="transparent"

 

 

 

 

 

runat="server" Flow="Vertical"

 

 

Width="100%"

 

 

OnItemClick="Mnu_DmResources_ItemClick">

 

 

 

 

 

<Items>

 

 

 

 

 

<telerik:RadMenuItem runat="server" BackColor="transparent" ForeColor="Navy"

 

 

 

 

 

Text="RiskAreaMap" Width="100%">

 

 

 

 

 

<GroupSettings ExpandDirection="Down" />

 

 

 

 

 

</telerik:RadMenuItem>

 

 

 

 

<%

-- <telerik:RadMenuItem runat="server" BackColor="transparent" ForeColor="Navy"

 

Text="RolePlayers" Width="100%" >

<GroupSettings ExpandDirection="Down" />

</telerik:RadMenuItem>--

 

%>

 

 

<telerik:RadMenuItem runat="server" BackColor="transparent" ForeColor="Navy"

 

 

 

 

 

Text="CheckLists" Width="100%" >

 

 

 

 

 

<GroupSettings ExpandDirection="Down" />

 

 

 

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" BackColor="transparent" ForeColor="Navy"

 

 

 

 

 

Text="Contacts" Width="100%">

 

 

 

 

 

<GroupSettings ExpandDirection="Down" />

 

 

 

 

 

</telerik:RadMenuItem>

 

 

 

 

 

<telerik:RadMenuItem runat="server" BackColor="transparent" ForeColor="Navy"

 

 

 

 

 

Text="Documents" Width="100%">

 

 

 

 

 

<GroupSettings ExpandDirection="Down" />

 

 

 

 

 

</telerik:RadMenuItem>

 

 

 

 

 

 

<telerik:RadMenuItem runat="server" BackColor="transparent" ForeColor="Navy"

 

 

 

 

 

Text="Logs" Width="100%">

 

 

 

 

 

<GroupSettings ExpandDirection="Down" Width="90px" />

 

 

 

 

 

</telerik:RadMenuItem>

 

 

 

 

 

 

</Items>

 

 

 

 

 

</telerik:RadMenu>

 

 

</ItemTemplate>

 

 

 

 

 

</telerik:RadPanelItem>

 

 

 

 

 

 

</Items>

 

 

 

 

 

</telerik:RadPanelItem>

 

 

 

 

 

 

<telerik:RadPanelItem Text="RolePlayers" Expanded="True"

 

 

Height="50%" runat="server" CssClass="FrmHdrMnuGrdnt">

 

 

 

 

 

<Items>

 

 

 

 

 

<telerik:RadPanelItem runat="server">

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<telerik:RadMenu ID="Mnu_RolePlayers" runat="server"

 

 

Flow="Vertical" Width="99%"

 

 

OnItemClick="Menu3_ItemClick">

 

 

 

 

 

<Items>

 

 

 

 

 

<telerik:RadMenuItem runat="server"

 

 

BackColor="transparent" ForeColor="Navy"

 

 

 

 

 

Text="TaskChecklist" Width="100%">

 

 

 

 

 

<GroupSettings ExpandDirection="Down" Width="90px" />

 

 

 

 

 

</telerik:RadMenuItem>

 

 

 

 

 

<telerik:RadMenuItem runat="server" BackColor="transparent" ForeColor="Navy"

 

 

 

 

 

Text="Contacts" Width="100%">

 

 

 

 

 

<GroupSettings ExpandDirection="Down" Width="90px" />

 

 

 

 

 

</telerik:RadMenuItem>

 

 

 

 

 

<telerik:RadMenuItem runat="server" BackColor="transparent" ForeColor="Navy"

 

 

 

 

 

Text="Documents" Width="100%">

 

 

 

 

 

<GroupSettings ExpandDirection="Down" Width="90px" />

 

 

 

 

 

</telerik:RadMenuItem>

 

 

 

 

 

</Items>

 

 

 

 

 

</telerik:RadMenu>

 

 

</ItemTemplate>

 

 

 

 

 

</telerik:RadPanelItem>

 

 

 

 

 

</Items>

 

 

 

 

 

</telerik:RadPanelItem>

 

 

 

 

 

</Items>

 

 

 

 

 

</telerik:RadPanelbar>

 

 

 

 

 

</asp:Panel>

 

 

 

 

 

 

</telerik:RadPane>

 

 

 

 

 

 

<telerik:radsplitbar

 

 

id="RadSplitbar1" runat="server"

 

 

CollapseMode="Both"

 

 

 

 

 

EnableResize="True"

 

 

EnableTheming="False"

 

 

ResizeStep="1"

 

 

 

 

 

BorderColor="BlanchedAlmond"

 

 

 

 

 

BorderStyle="solid"

 

 

 

 

 

BorderWidth="1px"

 

 

 

 

 

Width="10px">

 

 

 

 

 

</telerik:radsplitbar>

 

 

 

 

 

 

<telerik:radpane id="TopContentPanel" Scrolling="Both"

 

 

runat="server"

 

 

 

 

 

height="99%"

 

 

width="99%"

 

 

 

 

 

MinHeight="250"

 

 

MinWidth="500" >

 

 

 

 

 

</telerik:radpane>

 

 

</telerik:radsplitter>

 

 

 

 

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

 

 

 

<AjaxSettings>

 

 

 

 

 

<telerik:AjaxSetting AjaxControlID="Panel1">

 

 

 

 

 

<UpdatedControls>

 

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="TopContentPanel" />

 

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="RadAjaxLoadingPanel1" />

 

 

 

 

 

</UpdatedControls>

 

 

 

 

 

</telerik:AjaxSetting>

 

 

 

 

 

 

<telerik:AjaxSetting AjaxControlID="Panel1">

 

 

 

 

 

<UpdatedControls>

 

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="TopContentPanel" />

 

 

 

 

<%

--<telerik:AjaxUpdatedControl ControlID="Label1" />--%>

 

 

</UpdatedControls>

 

 

 

 

 

</telerik:AjaxSetting>

 

 

 

 

 

</AjaxSettings>

 

 

 

 

 

<ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />

 

 

 

 

 

</telerik:RadAjaxManager>

 

 

 

 

<telerik:RadAjaxLoadingPanel id="RadAjaxLoadingPanel1" Runat="server" MinDisplayTime="100" Transparency="30">

 

 

 

 

 

<asp:Image id="Image1" runat="server" ImageUrl="~/RadControls/AJAX/Skins/Default/loading1.gif" >

 

 

 

 

 

</asp:Image>

 

 

 

 

 

</telerik:RadAjaxLoadingPanel>

 

 

 

 

</

 

div>

 

</

 

form>

 

</

 

body>

 

</

 

html>


 

using

 

System;

 

 

 

using

 

System.Data;

 

 

 

using

 

System.Configuration;

 

 

 

using

 

System.Web;

 

 

 

using

 

System.Web.Security;

 

 

 

using

 

System.Web.UI;

 

 

 

using

 

System.Web.UI.WebControls;

 

 

 

using

 

System.Web.UI.WebControls.WebParts;

 

 

 

using

 

System.Web.UI.HtmlControls;

 

 

 

using

 

Telerik.Web.UI;

 

 

 

//using DRM;

//using PlannedOperation;

//using PlanLibrary.Services;

 

 

 

 

public partial class Drm_OPSMainForm : System.Web.UI.Page

 

 

 

 

{

 

public string selectedUC

 

{

 

set

 

 

 

 

{

 

if (System.IO.File.Exists(Server.MapPath(value)))

 

{

Session[

"selectedUC"] = value;

 

}

 

else if (value == null)

 

{

Session[

"selectedUC"] = null;

 

}

}

 

get

 

 

 

 

{

 

return Session["selectedUC"] == null ? "Op_FooterTickerTape.ascx" : Session["selectedUC"].ToString();

 

}

}

 

private string FullPath(RadMenuItem item)

 

{

 

if (item.Owner is RadMenuItem)

 

{

 

return string.Format("{0} > {1}", FullPath((RadMenuItem)item.Owner), item.Text);

 

}

 

else

 

 

 

 

{

 

return item.Text;

 

}

}

 

public string destPane

 

{

 

set

 

 

 

 

{

Session[

"DestPane"] = value;

 

}

 

get

 

 

 

 

{

 

return Session["DestPane"] == null ? "TopContentPanel" : Session["DestPane"].ToString();

 

}

}

 

public Int32 selectedOpId

 

{

 

get

 

 

 

 

{

 

return ViewState["SelectedOpId"] == null ? 0 : Int32.Parse(ViewState["SelectedOpId"].ToString());

 

 

//return Session["selectedOpId"] == null ? 0 : Int32.Parse(Session["selectedOpId"].ToString());

 

 

 

 

}

 

set

 

 

 

 

{

ViewState[

"SelectedOpId"] = value;

 

}

}

 

public Int32 selectedOpPlanId

 

{

 

set

 

 

 

 

{

Session[

"SelectedOpPlanId"] = value;

 

}

 

get

 

 

 

 

{

 

return Session["SelectedOpPlanId"] == null ? 0 : Int32.Parse(Session["SelectedOpPlanId"].ToString());

 

}

}

 

protected int OwnerId

 

{

 

get { return int.Parse(Session["OrgId"].ToString()); }

 

}

 

 

protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)

 

{

 

if (e.Argument == "InitialPageLoad")

 

{

 

//simulate longer page load

 

 

 

 

System.Threading.

Thread.Sleep(2000);

 

}

}

 

protected void Page_Load(object sender, EventArgs e)

 

{

 

if (!Page.IsPostBack)

 

{

 

if (Request.Params["OpPlanId"] != null)

 

{

selectedOpPlanId =

int.Parse(Request.Params["OpPlanId"].ToString());

 

}

 

 

if (Request.Params["OpId"] != null)

 

{

selectedOpId =

int.Parse(Request.Params["OpId"].ToString());

 

}

TopContentPanel.ContentUrl =

"~/WebForms/Planning/PlanMap.aspx?PlanId=" + selectedOpPlanId;

 

}

 

//Get Plan/SPlan ops Name for Header Breadcrumb //OpPlanName

 

 

 

 

lblHdrBreadcrumb.Text = Request.Params[

"OpPlanName"].ToString();

 

}

 

protected void Mnu_DmResources_ItemClick(object sender, RadMenuEventArgs e)

 

 

//============================================================================

 

 

 

 

{

 

//DM (Co-ordinators/Management's) resources

 

 

 

 

 

// OwnerId will/must be DM, this (top) Menu then not visible to RolePlayers

 

 

 

 

 

// Maps,...visible to RolePlayers? or only DM

 

 

 

 

 

// if (Session["UserRole"].ToString() == "DM Admin")

 

 

 

 

 

// { //i.e. not RP's

 

 

 

 

 

RadMenuItem ItemClicked = e.Item;

 

 

string Temp = FullPath(ItemClicked);

 

 

switch (FullPath(ItemClicked))

 

{

 

case "RiskAreaMap":

 

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Planning/PlanMap.aspx?PlanId=" + selectedOpPlanId

 

+

"&OwnerId=" + OwnerId;

 

 

break;

 

 

case "Documents":

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Planning/DM_DocDragDrop.aspx?PlanId=" + selectedOpPlanId

 

+

"&OwnerId=" + OwnerId;

 

 

break;

 

 

case "Contacts":

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Planning/ContactsAllocated.aspx?PlanId=" + selectedOpPlanId

 

+

"&OwnerId=" + OwnerId;

 

 

break;

 

 

case "RolePlayers":

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Wizard/RolePlayers.aspx?PlanId=" + selectedOpPlanId

 

+

"&OwnerId=" + OwnerId;

 

 

break;

 

 

case "CheckLists":

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Operations/OpsCheckLists.aspx?PlanId=" + selectedOpPlanId

 

+

"&blnOpsSPlan=" + "false"

 

+

"&OpId=" + selectedOpId

 

+

"&OwnerId=" + OwnerId;

 

 

break;

 

 

default:

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Planning/PlanMap.aspx?PlanId=" + selectedOpPlanId

 

+

"&OwnerId=" + OwnerId;

 

 

break;

 

}

}

 

protected void Menu3_ItemClick(object sender, RadMenuEventArgs e)

 

 

//===================================================================

 

 

 

 

 

// RolePlayers Menu, i.e. RolePlayer specific,...

 

 

 

 

 

// When DM looks at these, sees all RP's for each SubPlan in the Plan

 

 

 

 

 

// grouped then by Rp's per SubPlan(s) of this Plan

 

 

 

 

 

//===================================================================

 

 

 

 

{

 

// *** These are RolePlayer specific, for a RolePlayer , using OwnerId *** //

 

 

 

 

 

// IF DM looking at these, then specific to all RP's per all SubPlans of the Plan

 

 

 

 

 

RadMenuItem ItemClicked = e.Item;

 

 

string Temp = FullPath(ItemClicked);

 

 

 

//SQL's provide also for Ownerid = 0 (as DM, to see all Subplans and all RP's of the Subplan(s)' Data),

 

 

 

 

 

int iOwnerId = 0;

 

 

if (Session["UserRole"].ToString() != "DM Admin")

 

{

iOwnerId = OwnerId;

}

 

switch (FullPath(ItemClicked))

 

{

 

case "Documents":

 

 

//For RP's per SubPlans per this Plan

 

 

 

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Planning/DM_DocDragDrop.aspx?PlanId=" + selectedOpPlanId

 

+

"&blnOpsSPlan=" + "True"

 

+

"&OpId=" + selectedOpId

 

+

"&OwnerId=" + iOwnerId;

 

 

break;

 

 

case "Contacts":

 

 

//For RP's per SubPlans per this Plan

 

 

 

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Operations/SubPlan_Rps_ContactsAllocated.aspx?PlanId=" + selectedOpPlanId

 

+

"&blnOpsSPlan=" + "True"

 

+

"&OpId=" + selectedOpId

 

+

"&OwnerId=" + iOwnerId;

 

 

break;

 

 

case "TaskChecklist":

 

 

//For RP's per SubPlans per this Plan

 

 

 

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Operations/OpsCheckLists.aspx?PlanId=" + selectedOpPlanId

 

+

"&blnOpsSPlan=" + "True"

 

+

"&OpId=" + selectedOpId

 

+

"&OwnerId=" + iOwnerId ;

 

 

break;

 

 

default:

 

TopContentPanel.ContentUrl =

 

"~/WebForms/Operations/OpsCheckLists.aspx?PlanId=" + selectedOpPlanId

 

+

"&blnOpsSPlan=" + "True"

 

 

 

 

+

"&OpId=" + selectedOpId

 

+

"&OwnerId=" + iOwnerId;

 

 

break;

 

}

}

 

}

Iana Tsolova
Telerik team
 answered on 27 Jul 2009
2 answers
60 views
HI there,

I'm having a problem with radEditor in Firefox.  Specifically, when I click on the Hyperlink Manager I get the following error in firebug:

Security error" code: "1000
this._upperAbbrMonths = this...s.dateTimeFormat.AbbreviatedMonthNames);

and it points to this line:

this._upperAbbrMonths = this._toUpperArray(this.dateTimeFormat.AbbreviatedMonthNames);

I can't open the hyperlink manager in IE either.  However both safari and chrome work.

Any help would be much appreciated.

Thanks

DJ



Desa Julian
Top achievements
Rank 1
 answered on 27 Jul 2009
1 answer
128 views
mainpage.aspx
<windowmanager  minimizezone="divx"  restrictedzone="divy" />
<splitter>
<pane top>
  menu
</pane top>
<splitter>
<pane bottom>
   external content (*.aspx, here "divx" and "divy" are defined in a master page)
</pane bottom>
</splitter>

Is it possible to access "divx" and "divy" in external content(*.aspx) in bottom panel, from mainpage.aspx

Georgi Tunev
Telerik team
 answered on 27 Jul 2009
1 answer
75 views
Can you help me please?

Telerik window sample
Why in this sample when you open it, you can click on any part of each window and the window comes to the front.

But if you close both windows, and open them again with the radopen button, that behaviour it's removed, ie, you need to click on the title bar for get to the front, if you click on any other part, the window doesnt recognize it needs to be on the front.

Thanks.
Georgi Tunev
Telerik team
 answered on 27 Jul 2009
2 answers
188 views
Hi,

I've spend my day trying to display a recurring appointment in a radScheduler.

More context:
I Bind my RadScheduler to a IEnumerable like that :
           
scheduler.DataKeyField = "Id"; 
scheduler.DataSubjectField = "Title"; 
scheduler.DataStartField = "Start"; 
scheduler.DataEndField = "End"; 
scheduler.DataRecurrenceField = "RecurrenceRule"; 
scheduler.DataRecurrenceParentKeyField = "MasterItemId"; 
 
scheduler.DataSource = results; 
scheduler.DataBind(); 

results is an IQueryable that represents the appointments to display.

I try to convert a single existing appointment to a recurring one just by specifying the RecurrenceRule on DB like that :
DTSTART:20090724T180000Z 
DTEND:20090724T190000Z 
RRULE:FREQ=DAILY;COUNT=10;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU

to the following appointment:
Subject : Test 
Start : 24/07/2009 18:00:00 
End : 24/07/2009 19:00:00 

My RadScheduler diplays for :
  • DAILY VIEW : nothing
  • WEEKLY VIEW : 3 appointments with same name and start/end on the same day (2009/07/24) width the recurring symbol on the left corner.
  • MONTHLY VIEW : same as in weekly view but it only displays 2 appointments*
*Probably due to my radscheduler display configuration
But it is not displaying the recurring occurences in the RadScheduler.

I don't understand why ? Why the RadScheduler is displaying multiple items of my master appointment in the same day instead of displaying for the next 10 days, an ocurrence per day ?

Please help me to understand.

Thanks
Colibri
Top achievements
Rank 1
 answered on 27 Jul 2009
1 answer
229 views
We are using RadMenu with some content that is static and some content that comes from the database and we have AppendDataBoundItems set to "true".    We also allow users to save custom reports and put the report on the menu. We are able to refresh the dataset we bind to the radmenu but is there a way to refresh the radmenu without a post back?

Thanks,
Larry
Yana
Telerik team
 answered on 27 Jul 2009
1 answer
120 views
Hi,

I have a scenario where I need to share my appointments with other users, by email. To do that I have created a textbox and a asp:Button in my advanced Template. I would like the button to make a normal Ajax postback to let me do something in my servercode, and then show the editwindow again.

It seems that my button has been blocked, so that it cannot make the postback. When I click it nothing happens.
I have a simple serverside onclick on the button.

What can I do to create this effect?

Regards
Rune
Rune
Top achievements
Rank 2
 answered on 27 Jul 2009
2 answers
100 views
Hi, Is there any way to to switch off page  url display on radwindow???                                                                                                           
Svetlina Anati
Telerik team
 answered on 27 Jul 2009
3 answers
183 views

Hi,

I am facing the following scenario using client-side data binding:

1) User "A" gets a list of items and first page is displayed.
2) User "A" clicks next page and navigates to page 2 without any issues.
3) User "B" on another workstation adds a new item.
4) User "A" clicks next page to

<telerik:RadGrid     
    ID="RadGrid"    
    runat="server"    
    AllowPaging="true"    
    PageSize="25"    
    Width="100%"    
    Height="100%"    
    style="border:0px;outline:none"    
    >    
    <MasterTableView TableLayout="Auto" ClientDataKeyNames="Id, Icon, IsPrivate">     
        <Columns>    
            <telerik:GridBoundColumn DataField="Icon" HeaderText="" HtmlEncode="false" HeaderStyle-Width="26px"></telerik:GridBoundColumn>    
            <telerik:GridBoundColumn DataField="Name" HeaderText="Item" HtmlEncode="false" HeaderStyle-Width="100%"></telerik:GridBoundColumn>    
        </Columns>    
    </MasterTableView>    
    <ClientSettings EnableRowHoverStyle="true">     
        <Selecting AllowRowSelect="true" />    
        <Scrolling AllowScroll="true" UseStaticHeaders="true" />    
        <DataBinding Location="Grid.aspx" SelectMethod="Search" FilterParameterType="String" SortParameterType="String" ></DataBinding>     
        <ClientEvents OnDataBinding="RadGrid_DataBinding" OnRowClick="RadGrid_RowClick" OnRowDblClick="RadGrid_RowDblClick" OnDataBound="RadGrid_DataBound" />    
    </ClientSettings>    
    <PagerStyle Mode="Slider" />    
</telerik:RadGrid>    
 

navigate to page 3, but the grid is reset to page 1.

 

I was able to pinpoint this to the fact that "count" changed. I can somehow understand a reason behind this, but in a multiuser environment this becomes really annoying for users.

Also, I noticed that the SelectMethod get called 3 times, one for page 3 and two times for page 0.

 

Is there a way to prevent this behavior.

 

Thanks.


Iana Tsolova
Telerik team
 answered on 27 Jul 2009
1 answer
334 views
Hi,

    I have a problem with hiding of a column which is added at run time. Actually i will be using DataTable as the datasource to the RadGrid. So now I wan to make few columns in the datatable invisible. After when i have given the datatable as datasource to the grid  when i have seen the column count of radgrid it is showing nothing. So i am unable to make a column invisible.
I had use concept of Datatable because all my columns will be retrieved from Database based on user creation.So the column names or column count will be dynamic.

Could you please help me out on this.


Thanks & Regards,
Satya.
Pavlina
Telerik team
 answered on 27 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?