or
<
asp:Content
ID
=
"LandingHeader"
runat
=
"server"
ContentPlaceHolderID
=
"MainHeaderContent"
>
<
telerik:RadStyleSheetManager
ID
=
"RadStyleSheetManager1"
runat
=
"server"
>
</
telerik:RadStyleSheetManager
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
<
Scripts
>
<%--Needed for JavaScript IntelliSense in VS2010--%>
<%--For VS2008 replace RadScriptManager with ScriptManager--%>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
/>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQueryInclude.js"
/>
</
Scripts
>
</
telerik:RadScriptManager
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
</
telerik:RadAjaxManager
>
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
Width
=
"825"
Height
=
"725"
KeepInScreenBounds
=
"True"
Behaviors
=
"Close"
Animation
=
"FlyIn"
Modal
=
"True"
EnableEmbeddedSkins
=
"True"
EnableEmbeddedBaseStylesheet
=
"True"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"PopUp"
runat
=
"server"
NavigateUrl
=
"PopUpMockUp.aspx"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
<
script
type
=
"text/javascript"
>
// RadWindow
function ShowExisting1()
{
window.radopen(null, "PopUp");
}
//RadRotator
// function OnClientLoad(sender, eventArgs)
// {
// sender.set_scrollDuration(500);
//
// sender.start();
// }
function OnClientLoad(rotator, args)
{
if (!rotator.autoIntervalID)
{
rotator.autoIntervalID = window.setInterval(function ()
{
rotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
}, rotator.get_frameDuration());
}
}
function OnClientMouseOver(rotator)
{
rotator.stop();
}
function OnClientMouseOut(rotator)
{
rotator.start();
}
</
script
>
<
div
style
=
" margin-left: 475px;"
>
<
telerik:RadRotator
RotatorType
=
"FromCode"
ID
=
"RadRotator1"
runat
=
"server"
Width
=
"590"
ItemWidth
=
"590"
ScrollDirection
=
"Left, Right"
SlideShowAnimation-Type
=
"Fade"
Height
=
"300"
ItemHeight
=
"275"
FrameDuration
=
"4000"
OnClientMouseOver
=
"OnClientMouseOver"
OnClientMouseOut
=
"OnClientMouseOut"
ScrollDuration
=
"1000"
SkinID
=
"WebBlue"
BorderStyle
=
"None"
OnClientLoad
=
"OnClientLoad"
PauseOnMouseOver
=
"False"
SlideShowAnimation-Duration
=
"500"
>
<
ItemTemplate
>
<
asp:Image
ID
=
"Image1"
Width
=
"590"
Height
=
"275"
runat
=
"server"
ImageUrl='<%# Container.DataItem %>' AlternateText="<%# VirtualPathUtility.GetFileName(Container.DataItem.ToString()) %>" />
</
ItemTemplate
>
</
telerik:RadRotator
>
</
div
>
</
asp:Content
>
<script type="text/javascript"> |
function OnClientAppointmentEditing(sender, eventArgs) { |
//cancel showing inline edit form - it will be redirected to Appointment/Edit |
eventArgs.set_cancel(true); |
} |
function OnClientAppointmentDoubleClick(sender, eventArgs) { |
var apt = eventArgs.get_appointment(); |
var appType = apt.get_attributes().getAttribute("appointmentType"); |
if (appType == "Appointment") |
document.location = '<%= HttpContext.Current.CreateUrl("/Appointment/Edit/") %>' + apt._id; |
if (appType == "Email") |
document.location = '<%= HttpContext.Current.CreateUrl("/Email/Edit/") %>' + apt._id; |
if (appType == "Call") |
document.location = '<%= HttpContext.Current.CreateUrl("/Call/Edit/") %>' + apt._id; |
if (appType == "Task") |
document.location = '<%= HttpContext.Current.CreateUrl("/Task/Edit/") %>' + apt._id; |
} |
function OnClientTimeSlotClick(sender, eventArgs) { |
//Redirect to appointment create |
document.location = '<%= HttpContext.Current.CreateUrl("/Appointment/Create?") %>StartTime=' + eventArgs.get_time().format('dd/MM/yyyy H:mm'); |
} |
function OnClientAppointmentDataBound(sender, eventArgs) { |
var apt = eventArgs.get_appointment(); |
var allowEditValue = apt.get_attributes().getAttribute("allowEdit"); |
var assignedTo = apt.get_attributes().getAttribute("assignedTo"); |
var description = apt.get_attributes().getAttribute("description"); |
var appType = apt.get_attributes().getAttribute("appointmentType"); |
var appTypeLocalized = apt.get_attributes().getAttribute("appointmentTypeLocalized"); |
var cssClass = ''; |
if (appType != undefined) { |
cssClass = 'AppointmentType_' + appType + ' '; |
} |
if (allowEditValue == "false") { |
apt.set_allowEdit(false); |
cssClasscssClass = cssClass + 'AppEditDisabled'; |
} |
var tooltip = apt.get_subject(); |
tooltip = appTypeLocalized + ': ' + tooltip + (assignedTo != undefined ? ' (' + assignedTo + ') ' : ''); |
if (description != undefined) { |
tooltip += description; |
} |
apt.set_toolTip(tooltip); |
apt.set_cssClass(cssClass); |
} |
</script> |
<telerik:RadCodeBlock runat="server" ID="InitialScriptCodeBlock1"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableScriptLocalization="true" |
EnableScriptGlobalization="true" /> |
<telerik:RadAjaxManager ID="RadAjaxManager2" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"> |
<ClientEvents /> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="Panel1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1" Skin="Office2007" |
BackImageUrl="~/Content/Images/loadingAnimation.gif" BackgroundPosition="Center" /> |
<telerik:RadAjaxPanel ID="Panel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"> |
<telerik:RadScheduler runat="server" ID="RadScheduler1" AllowDelete="false" AllowEdit="true" RowHeight="12px" |
AllowInsert="false" MinutesPerRow="15" StartEditingInAdvancedForm="false" StartInsertingInAdvancedForm="false" |
OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick" OnClientTimeSlotClick="OnClientTimeSlotClick" |
OnClientAppointmentDeleting="OnClientAppointmentDeleting" OnClientAppointmentDataBound="OnClientAppointmentDataBound" |
Height="900px" OnClientAppointmentEditing="OnClientAppointmentEditing" OnClientAppointmentContextMenuItemClicked="appointmentContextMenuItemClicked" |
SelectedView="WeekView" DayHeaderDateFormat="dddd, dd MMMM yyyy" HoursPanelTimeFormat="HH:mm"> |
<AppointmentContextMenus> |
<%--The appointment context menu interaction is handled on the client--%> |
<%--See the JavaScript code above--%> |
<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu"> |
<Items> |
<telerik:RadMenuItem Text="Export iCalendar" Value="GenerateVCal" ImageUrl="~/Content/Images/Icons/iCalendar16.png" /> |
<telerik:RadMenuItem IsSeparator="True" /> |
<telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="~/Content/Images/DataEditing/Delete.gif" |
Enabled="True" /> |
</Items> |
</telerik:RadSchedulerContextMenu> |
</AppointmentContextMenus> |
<TimelineView GroupBy="Calendar" GroupingDirection="Vertical" /> |
<AdvancedForm Enabled="false" EnableResourceEditing="false" /> |
<WebServiceSettings Path="~/Models/SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" /> |
</telerik:RadScheduler> |
</telerik:RadAjaxPanel> |
</telerik:RadCodeBlock> |
<
telerik:RadToolTip
ID
=
"VideoToolTip"
runat
=
"server"
TargetControlID
=
"TutorialTrigger"
RelativeTo
=
"BrowserWindow"
Position
=
"Center"
Modal
=
"true"
RenderInPageRoot
=
"true"
EnableShadow
=
"false"
Skin
=
"Windows7"
Animation
=
"Resize"
AutoCloseDelay
=
"0"
HideEvent
=
"ManualClose"
ShowDelay
=
"300"
ManualClose
=
"true"
ManualCloseButtonText
=
"Close"
OnClientHide
=
"OnClientHiding"
>
<
div
style
=
"padding: 10px;"
>
<
iframe
width
=
"853"
height
=
"480"
src
=
"http://www.youtube.com/embed/xxxxxxxx"
frameborder
=
"0"
allowfullscreen></
iframe
>
</
div
>
</
telerik:RadToolTip
>
<
telerik:RadTabStrip
runat
=
"server"
ID
=
"RadTabStrip1"
MultiPageID
=
"RadMultiPage1"
ScrollChildren
=
"true"
ScrollButtonsPosition
=
"Right"
PerTabScrolling
=
"true"
SelectedIndex
=
"0"
>
<
Tabs
>
<
telerik:RadTab
Value
=
"tsSearch"
Text
=
"Search"
ScrollChildren
=
"true"
ScrollButtonsPosition
=
"Right"
PerTabScrolling
=
"true"
>
<
Tabs
>
<
telerik:RadTab
Value
=
"tsSearchBasic"
Text
=
"Quick"
PageViewID
=
"pvSearchBasic"
/>
<
telerik:RadTab
Value
=
"tsSearchAdvanced"
Text
=
"Advanced"
PageViewID
=
"pvSearchAdvanced"
/>
</
Tabs
>
</
telerik:RadTab
>
<
telerik:RadTab
Value
=
"tsDetails"
Text
=
"Details"
ScrollChildren
=
"true"
ScrollButtonsPosition
=
"Right"
PerTabScrolling
=
"true"
>
<
Tabs
>
<
telerik:RadTab
Value
=
"tsBusiness"
Text
=
"Business"
PageViewID
=
"pvBusiness"
/>
<
telerik:RadTab
Value
=
"tsPersonal"
Text
=
"Personal (Phone/Email)"
PageViewID
=
"pvPersonal"
/>
<
telerik:RadTab
Value
=
"tsPostal"
Text
=
"Personal (Address)"
PageViewID
=
"pvPostal"
/>
</
Tabs
>
</
telerik:RadTab
>
</
Tabs
>
</
telerik:RadTabStrip
>
startTab = tabStrip.findTabByValue(
"tsSearchBasic"
);
if
(startTab !=
null
)
{
startTab.select();
startTab.scrollIntoView();
}
Hello,
I need to get width and height of telerik RadPane inside RadSplitter after I change it in a browser and on next load set that changed width and height to radpane.
I tried events like onClientResized and so on but events worked on page load and after that nothing happens if I move borderline.
Please help me. Also it'll good if you give me example code too.
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
- <
Tree
>
<
Node
Text
=
"TAREAS REPETITIVAS: botón reminder para quienes no entregan adjunto"
ID
=
"1311"
Expanded
=
"True"
ImageUrl
=
"~/Images/check.png"
IsFather
=
"True"
/>
<
Node
Text
=
"TAREAS REPETITIVAS: Diferenciar archivos x usuario (en carpetas?)"
ID
=
"1312"
Expanded
=
"True"
ImageUrl
=
"~/Images/check.png"
IsFather
=
"True"
/>
<
Node
Text
=
"MENSAJES PRIVADOS: convertirlo a cloud?"
ID
=
"1318"
Expanded
=
"True"
ImageUrl
=
"~/Images/check.png"
IsFather
=
"True"
/>
</
Tree
>