function
GetRadWindow()
{
return window.radWindow || window.frameElement.radWindow;
}
function
OpenPopup(windowid)
{
var oWnd=$find(windowid);
oWnd.show();
var frame = oWnd.get_contentFrame();
frame.setAttribute(
"allowTransparency","true");
}
Here i am able to get the frame and to allow the transparency.if
(condition here)
{
window1.VisibleOnPageLoad =
true;
}
But i want to get the frame and change its transparency.
so how can i get the frame to change its transparency in c#
Thanks
Sai
How can i put a radRotator into RadSplitter
I try use the code descrit bellow but radRotator i'snt visible into radSplitter > radSlidingPanel. Can you help me please?
<telerik:RadSplitter id="RadsplitterGaleria" runat="server" Width="1000px" Height="550px" Skin="WebBlue" Orientation="Horizontal" BorderSize="0">
<telerik:RadPane id="pnlMenu" runat="server" height="22" scrolling="none">
<telerik:RadSlidingZone id="Radslidingzone" runat="server" height="22" SlideDirection="Bottom">
<telerik:RadSlidingPane id="RadSlidingPane" title="Galeria" runat="server" height="150">Galerias de Fotos
<br />
<!-- --------------------------------------------------------------------------------------------->
<!-- RadRotator para listar dentro do RadSplit as galerias existentes -->
<!-- --------------------------------------------------------------------------------------------->
<div style="width:100%">
<telerik:RadRotator ID="radRotatorGaleria" runat="server" DataSourceID="xmlGaleria" Width="100%" Height="50px" ItemHeight="50px" ItemWidth="145px" FrameDuration="1" ScrollDirection="Left,Right" RotatorType="AutomaticAdvance" Skin="Web20">
<ItemTemplate>
<div>
<img src=<%# XPath("Foto") %> alt='Galeria de Fotos' /><br /><%#XPath("Descricao")%>
</div>
</ItemTemplate>
<ControlButtons LeftButtonID="img_left" RightButtonID="img_right" />
</telerik:RadRotator>
<asp:XmlDataSource ID="xmlGaleria" runat="Server" DataFile="~/controls/GaleriaFotos/xmlGaleria.xml"></asp:XmlDataSource>
</div>
</telerik:RadSlidingPane>
</telerik:RadSlidingZone>
</telerik:RadPane>
<telerik:RadSplitBar id="RadsplitbarGaleria" runat="server"></telerik:RadSplitBar>
<telerik:RadPane id="pnlGaleria" runat="server" Height="440px">
<div id="screen" style="left: 0%; top: 51%">
<div id="grid"></div>
</div>
<div id="title" style="left: 0px; bottom: 90%"></div>
<div id="caption"></div>
<img id="loading" alt="" src="img/loading.jpg" style="visibility: hidden">
</telerik:RadPane>
</telerik:RadSplitter>
I need some help with AJAX using Master Pages and the RadGrid when the EditMode="EditForms".
In my MasterPage.Master I have declared a RadAjaxManager with some AjaxSettings :
...........
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="175px" MinDisplayTime="0" BackColor="ActiveBorder" Width="175px" Transparency="25"></telerik:RadAjaxLoadingPanel>
<asp:contentplaceholder id="Main" runat="server" >
</asp:contentplaceholder>
-------------------------------
In my Page.aspx i have A RadGrid control within a ContentPlaceHolder:
<
asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="Server">
<
telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"ShowStatusBar="true" OnNeedDataSource="RadGrid1_NeedDataSource" AllowMultiRowSelection="true" OnUpdateCommand="RadGrid1_UpdateCommand" AllowAutomaticInserts="false" >
<SortingSettings SortedBackColor="Azure" />
<MasterTableView GridLines="None" EditMode="EditForms" AllowMultiColumnSorting="true" CommandItemDisplay="None" DataKeyNames="Document_ID" AllowFilteringByColumn="true">
<EditFormSettings CaptionFormatString="Document Details" UserControlName="DocumentDetails.ascx" EditFormType="WebUserControl" ><EditColumn UniqueName="EditCommandColumn1"></EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
</
asp:Content>
--------------------------------
in my usercontrol pageDetails.ascx I have another datagrid:
<telerik:RadGrid ID="uxRadGridAllItems" PageSize="5" AllowPaging="True"runat="server" AllowSorting="True" GridLines="None" Width="450px" OnNeedDataSource="uxRadGridAllItems_NeedDataSource" OnItemCommand="uxRadGridAllItems_ItemCommand">
</telerik:RadGrid>
----------------------------------
My objective is to only refresh the "RadGridPageDetails" when it is clicked, however the whole page appears to be posted back everytime.
i have tried adding :
<telerik:AjaxSetting AjaxControlID="Main$RadGridPageDetails">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="Main$RadGridPageDetails" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
to the master page but this appears to be overridden by the main "RadGridpage" AjaxSetting.
So, in summary if the event is triggered on the main grid "RadGridPage", then I would like the RadGridPage control on the Page.aspx to be refreshed, and if the
"RadGridPageDetails" control in the usercontrol is clicked I would like only that grid to be refreshed. How would I go about doing this?
Thanks