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

    i have a radwindow with custom skin. the javascript written to open is:

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.
I want to change this in c#
for a condition i have to open the rad window dynamically so in page load i have written like this :

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

Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 22 Sep 2008
7 answers
287 views
I have a grid is set to normally start out with the filter row appearing. I have several image buttons that execute various server codebhind event handlers to do various things to the grid, including one that is used to toggle whether the filter row is visible or not.

This all worked with RadGrid for ASP.Net.

I have now upgraded to RadGrid for ASP.Net AJAX.  After fixing a few expected things as part of the upgrade, most thigns are working fine.  This includes toggling whether the filter row is displayed, sorting, column resizing, etc.

However, if I hide the filter row, and then drag a column to reorder the columns, the filter row suddenly is displayed again.  If I then hitt my toggle button twice to re-display (already showing) and then hide the filter row again, it does hide again and I am back to where I was.  Is there something different in the settings used to show/hide the filter row from code-behind with radGrid for ASP.Net AJAX that I have to do to prevent reordering of columns from displaying the filter row after I had hidden it?

Thanks,

-Ed
Sebastian
Telerik team
 answered on 22 Sep 2008
3 answers
226 views
I'm new to Telerik web controls, and I pretty much followed the exact example from this page, substituting my own data source in for the one provided (although I'm not using the SessionDataSource). Each time I hit the edit button on my page, the page posts back and returns no data (do I really need an OnNeedDataSource handler?) and of course, the loading image does not appear either. I could post my code, but all I've really done is swap out the SessionDataSource from the example and replaced it with a simple instance of a DataTable on the Page_Load(). Does anyone have any idea of what I might be doing wrong? If not, are there any super-simple examples of how to get an AJAX popup edit form to work? Thanks!
Steve Y
Top achievements
Rank 2
 answered on 22 Sep 2008
1 answer
366 views
Hi ,

I am using RadAjax panel in my application.I embed the id in the RadAjaxManager control.But when I click on the button the page is getting refreshed.In the button properties onclientclick event I called a javascript function.Please provide a solution for this issue the page should not get refreshed when I click on the button.

Thanks,
Krishna Kumar.A
Kevin Babcock
Top achievements
Rank 1
 answered on 22 Sep 2008
1 answer
120 views
Hello,

I have a question regarding building an application with the Telerik controls.  I've been using the copy web wizard within VS2008 to copy my application to a server for testing, and that works fine; it automatically includes the Telerik.Web.UI.dll with no problems.

However, my company's processes dictacte that the final build for deployment to our production servers must be done by a Change Management team on separate, dedicated build servers.  I've created a web setup project in VS2008, but it won't run on the build server since I haven't installed the full version of the Telerik controls on that machine.  How would you recommend installing the controls to that server?  I'd prefer not to do the full install since this machine is not used for anything but builds.  I thought about just running the "DLL and Scripts Only" option but I am not sure that would get everything.  What would you suggest?

Thanks-- Amanda
Kevin Babcock
Top achievements
Rank 1
 answered on 22 Sep 2008
1 answer
63 views
Hi All

I am using RadSchedular.
I am showing activity in schedular.

I want to open new window to edit the activity.
ie. when click on activity of particular date

Thanks
Sebastian
Telerik team
 answered on 22 Sep 2008
2 answers
128 views

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>

Paulo
Top achievements
Rank 1
 answered on 22 Sep 2008
1 answer
123 views

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

Sebastian
Telerik team
 answered on 22 Sep 2008
1 answer
91 views
Looking over the demo's I really like how the Example Source Code & Description

area shows the color coded code in the various tabs. Any chance you can post how that is done?


Thnx...Steve
Kevin Babcock
Top achievements
Rank 1
 answered on 22 Sep 2008
1 answer
115 views
Hi all,

Is it possible to use the RADMenu control to just generate an accessible menu and then style the ul/li elements manually?

We want it to work without any javascripts or RADMenu CSS being loaded and we want the menu to be expanded by default - not when the mouse is over the item.

The reason for this is that we want an accessible navigation in SharePoint, and have had issues with the CSS friendly control adapters to ASP.NET.

Thanks,
Chris
T. Tsonev
Telerik team
 answered on 22 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?