Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
164 views
Hi,

We are having some problems with RadScheduler when we use the Culture "pt-BR" and when we translate the words to portuguese.

1) When we translate the Header (Day, Week, Month) it stops working.
2) On the recursive appointment with monthly repetition, there is a "The" that is not translated.
3) When we use Culture = "pt-BR", on recursive appointment with Annual repetition, the combo with months is translated, but when we try to save the appointment, there is a js error.
4) There is a way to modify the layout of AdvancedEditInsert, AdvancedEditUpdate page??

When it´s going to be released a new version / fix of RadScheduler??

Thanks,
Caio.
Peter
Telerik team
 answered on 15 Nov 2007
9 answers
577 views
Hi,

Perhaps I'm missing something but I can't seem to get my radsplitter to work with a updatepanel. In this example each time I click on the button that's in a upadatepanel (LeftPane) the ContentPane with reloads with the specified contenturl. Here is the code;
Server Side:
protected void UpdateButton_Click(object sender, EventArgs e)
        {
            DateTimeLabel1.Text = DateTime.Now.ToString();
            DateTimeLabel2.Text = DateTime.Now.ToString();
        }

Client Side:
<telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="100%" Orientation="Horizontal" LiveResize="false" VisibleDuringInit="true" Skin="Vista">
    <telerik:RadPane ID="TopPane" runat="server" Height="145px" Scrolling="None" BorderWidth="0px">
        <uc2:RibbonBar ID="ribbonBar" runat="server" />
    </telerik:RadPane>
    <telerik:RadPane ID="Radpane6" runat="server" BorderWidth="0px" Scrolling="None">  
        <telerik:RadSplitter ID="NestedSplitter" runat="server" Height="100%" Width="100%" LiveResize="true" Skin="Vista" VisibleDuringInit="true">
            <telerik:RadPane ID="LeftPane" runat="server" CssClass="NavigationContentPanel" Width="220px" MinWidth="100" MaxWidth="400" Scrolling="Both" BorderWidth="0px">       
                <telerik:RadSplitter id="NestedLeftSplitter" runat="server" width="100%" height="100%" orientation="Horizontal" resizewithparentpane="false">
                    <telerik:RadPane id="LeftPanePanel" Height="23%" Scrolling="None" runat="server">
                        <uc1:LeftNavigation ID="LeftNavigation1" runat="server" />
                    </telerik:RadPane>
                    <telerik:RadSplitbar id="Radsplitbar4" runat="server" collapsemode="Forward" />
                    <telerik:radpane id="LeftPaneTree" Height="77%" runat="server">
                        <asp:UpdatePanel runat="server" id="UpdatePanel" updatemode="Conditional">
                        <Triggers>
                            <asp:AsyncPostBackTrigger controlid="UpdateButton2" eventname="Click" />
                        </Triggers>
                        <ContentTemplate>
                            <asp:Label runat="server" id="DateTimeLabel1" />
                            <asp:Button runat="server" id="UpdateButton1" onclick="UpdateButton_Click" text="Update" />              
                        </ContentTemplate>
                        </asp:UpdatePanel>
                        <asp:UpdatePanel runat="server" id="UpdatePanel1" updatemode="Conditional">          
                        <ContentTemplate>
                        <asp:Label runat="server" id="DateTimeLabel2" />
                        <asp:Button runat="server" UseSubmitBehavior="False" id="UpdateButton2" onclick="UpdateButton_Click" text="Update" />
                        </ContentTemplate>
                        </asp:UpdatePanel>
                    </telerik:radpane>

                </telerik:RadSplitter>
            </telerik:RadPane>  
            <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" />  
            <telerik:RadPane ID="ContentPane" runat="server" ContentUrl="Home.aspx" CssClass="mainContentPanel" BorderWidth="0px" Scrolling="Both">              
            </telerik:RadPane>  
            <telerik:RadPane ID="EndPane" runat="server" Width="24px" BorderWidth="0px" Scrolling="None" Locked="true">
                <uc3:SlidingPanel ID="SlidingPanel1" runat="server" />
            </telerik:RadPane>
        </telerik:RadSplitter>
    </telerik:RadPane>
    <telerik:RadPane ID="FooterPane" runat="server" Height="21px" Scrolling="None" BorderWidth="0px" Locked="true">
      
    </telerik:RadPane>
</telerik:RadSplitter>
Tsvetie
Telerik team
 answered on 15 Nov 2007
5 answers
192 views
We have a bug here whenever the Appointment is not an all-day event, scheduler shows multiple-occurences on some days in the recurrence range. Is there a fix for this?
I have even confirmed by creating a recurring Task from MonthView and having a duration, after is creates it shows multiple occurences for certain days no reason whatsoever.
Any help in this issue is highly appreciated.

Thanks,
Peter
Telerik team
 answered on 15 Nov 2007
1 answer
105 views
Hi,

I have a RadScheduler control with a insert and edit templates.

The templates have a RadioButtonList, with 3 hardcoded ListItems.
I am looking to get the value of the selected list item during the AppointmentInsert event handler.

Can this be done?

Thanks,
Tim
Peter
Telerik team
 answered on 15 Nov 2007
3 answers
292 views
I'm using RadEditor and Ajax, and recently added an UpdatePanelAnimationExtender to display a "Saving..." message when the user hits a save button.  This works just fine in IE 6 and 7, but in Firefox RadEditor shows up on load without any contents (these are being written to RE in pagebehind) and without the user's having the ability to click in RadEditor to edit.  The code is as below.  Any help would be much appreciated.

Laurie

ASPX file:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="testit.aspx.cs" Inherits="testit" Title="Untitled Page"
    EnableEventValidation="false" ValidateRequest="false" %>

<%@ Register Assembly="RadEditor.Net2" Namespace="Telerik.WebControls" TagPrefix="radE" %>
<html>
<head>
    <script type="text/javascript" language="javascript">
   
    function onUpdating(){
        // get the update progress div
        //alert("onupdating");
        var updateProgressDiv = $get('updateProgressDiv');
        // make it visible
        updateProgressDiv.style.display = '';

        //    set the progress element to this position
        Sys.UI.DomElement.setLocation (updateProgressDiv, 200, 200);       

    }

    function onUpdated() {
        // get the update progress div
        //alert("onupdated");
        var updateProgressDiv = $get('updateProgressDiv');
        // make it invisible
        updateProgressDiv.style.display = 'none';
        Sys.UI.DomElement.setLocation (updateProgressDiv, -300, -300);       
    }
   
    </script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
    <radE:RadEditor ID="RadEditor1" runat="server">
    </radE:RadEditor>
</ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="btnNumReferences" EventName="Click" /></Triggers>
    </asp:UpdatePanel>   
            <ajaxToolkit:UpdatePanelAnimationExtender ID="upaeSaving" runat="server" TargetControlID="UpdatePanel1">
            <Animations>
                <OnUpdating>
                    <Parallel duration="0">
                        <%-- place the update progress div over the gridview control --%>
                        <ScriptAction Script="onUpdating();" /> 
                        <%-- fade-out the GridView --%>
                        <%-- FadeOut minimumOpacity=".5" /--%>
                     </Parallel>
                </OnUpdating>
                <OnUpdated>
                    <Parallel duration="0">
                        <%-- fade back in the GridView --%>
                        <%-- FadeIn minimumOpacity=".5" /--%>
                        <%--find the update progress div and place it over the gridview control--%>
                        <ScriptAction Script="onUpdated();" />
                    </Parallel>
                </OnUpdated>
            </Animations>
        </ajaxToolkit:UpdatePanelAnimationExtender>

    <asp:Button ID="btnNumReferences" runat="server" Text="Update Text" OnClick="btnNumReferences_Click" />
</form>
                <div id="updateProgressDiv" style="display: none;">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/images/Saving.gif" />
                </div>

</body></html>

Code File:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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;

public partial class testit : System.Web.UI.Page
{
    protected void Page_Init(object sender, EventArgs e)
    {
        RadEditor1.Html = "First Time Through";
    }
    protected void Page_Load(object sender, EventArgs e)
    {
    }
    protected void btnNumReferences_Click(object sender, EventArgs e)
    {
        RadEditor1.Html = "Second Time Through";
    }
}

Rumen
Telerik team
 answered on 15 Nov 2007
1 answer
105 views
1) the Vista skin that comes with the package seems to cause the very top line of the title bar to disappear. Changing the following in the CSS fixes the issue:

div.radwindow_Vista table td.titlebar
{
    background: transparent url('Window/TitleBar.gif') repeat-x left top;
}

The bolded part was "bottom". Changing it to "top" fixes it.

2) center() does not center the window to the current viewing area. On a long page, if you scroll down a bit and then click on a link (which happens to be near the top of the viewing area after scrolling) to open the rad window, even after executing the oWin.center(); function the window still does not center vertically. It is stuck to the center position of the page when the page is first loaded (before scrolling). This doesn't happen with the previous prom version.
Martin
Telerik team
 answered on 15 Nov 2007
4 answers
119 views
times all jacked up when loading the scheduler for first time

this seems to happen when i go to the page with the scheduler for the first time...unless i hit the today button..

if the time is say 11:14

the day view will show

6:14
7:14
8:14
9:14
etc....
click on today will have it reset correctly to
6:00
7:00
8:00
9:00
etc

Joshua Gates
Top achievements
Rank 1
 answered on 14 Nov 2007
4 answers
136 views
Hello,

I tried several ways, but i do not managed to get the height of a docked slidingpane, at the client side.

i.e. the slidingpane.offSetHeight doesn't work when i try to get the height by that way.
Beside that... at client side when i use get_Docked, to see if the slidingpane is docked, he always return true?
 
What i want to do is to see if the slidingzone is docked, and then get the height of the docked slidingpane.
if (pane.Docked)
{
    var paneheight = pane.height;
}
Maybe i'am missing something, but how can i do this?

Thanks

Tsvetie
Telerik team
 answered on 14 Nov 2007
1 answer
187 views
I am using WSS 3.0 and RadMenu 2.0. I have gotten the RadMenu control installed and working with WSS 3.0 displaying the site map across the top of the page.

What I am looking to do is have a hierarchical menu displayed at the top of the master page. This menu should be dynamically created based on a users permissions to menu items defined in a SQL Server table. That table will contain the ID, ParentID, Name, and URL for each menu item, as well as a column containing a CSV list of users who can access each menu item.

What I need to be able to do is execute a stored procedure, passing in that users user name. That procedure will dynamically return a list of menu items specific to that user.

Has anyone ever successfully accomplished that before? What is the best way to approach this within SharePoint? Any help would be greatly appreciated.

Thanks,
Eric
Peter
Telerik team
 answered on 14 Nov 2007
2 answers
161 views
i've recently been converting a site with the older Rad Dock over to the Prometheus Rad Dock and im having a problem with an ajax autocomplete extender appearing correctly.  it used to work fine with the old panels but now when the popup selection appears it doesnt hover over the docked panel but tries to extend it instead making the scroll bars appear around the panel.  any ideas how to correct this?
Paul
Top achievements
Rank 1
 answered on 14 Nov 2007
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?