Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
78 views
I borrowed heavily from the dynamic portal sample http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultcs.aspx  .. I noticed that when a user "deletes" a dock, dock.close() fires, and the dock remains in the dockstate collection  (with Closed=true). 

Is there a best practice or sample for how to remove it from the dockstate collection as well?
Dobromir
Telerik team
 answered on 13 May 2011
1 answer
145 views
Hi

Is there way to enable an horizontal scroll bar on the tree list. I have a tree list with auto generated column.  The columns at the end does not show up if it exceeds certain number. If I reduce the column width manually than I can see those missing columns.

Is there a way where  I can have the screen scroll horizontally automatically.

Thanks
Shabbir
Veli
Telerik team
 answered on 13 May 2011
3 answers
70 views
I have a page with horizontal scrolling.  The page has either one or two frozen columns along with an arbitrary number of other columns.  The page renders fine in FF, IE, and Chrome.  In Opera, however, I have a scrolling problem.  When I scroll, half of the non-frozen columns stay in place.  The other non-frozen columns get bunched up like a sock pushed down to the ankle.  Is this a bug in Opera? Am I doing something wrong?
Pavlina
Telerik team
 answered on 13 May 2011
1 answer
64 views
Hello, 

I'm having a small problem...

In fact, my RadScheduler is parametred like this : 

<telerik:RadScheduler ID="RSPlanning" runat="server"
            DataSourceID="ODSCalendar" Culture="fr-FR"
            DataKeyField="IdCalendar"
            DataEndField="DateFin"
            DataStartField="DateDebut"
            DataSubjectField="Commentaire"
            SelectedView="MonthView"
            ShowViewTabs="False"
            OverflowBehavior="Expand"
            FirstDayOfWeek="Monday" LastDayOfWeek="Saturday"
            MonthView-VisibleAppointmentsPerDay="100"
            StartEditingInAdvancedForm="False"
            CustomAttributeNames="IsValider,IsSaisie,CodeHeure,CodeHeureLibelle,IdAffaire,NumAffaire,LibelleAffaire,Temps,IdUser"
            OnFormCreating="RSPlanning_FormCreating"
            OnNavigationComplete="RSPlanning_NavigationComplete"
            OnTimeSlotCreated="RSPlanning_TimeSlotCreated"
            OnTimeSlotContextMenuItemClicking="RGPlanning_TimeSlotContextMenuItemClicking">
<MonthView VisibleAppointmentsPerDay="100"></MonthView>
            <TimeSlotContextMenus>
                <telerik:RadSchedulerContextMenu ID="RSCMTS" runat="server">
                    <Items>
                        <telerik:RadMenuItem Text="Valider la semaine" ImageUrl="http://static.isi.eud.schneider-electric.com/images/famfamfam/accept.png" />
                        <telerik:RadMenuItem Text="Dévalider la semaine" ImageUrl="http://static.isi.eud.schneider-electric.com/images/famfamfam/cross.png" />
                    </Items>
                </telerik:RadSchedulerContextMenu>
            </TimeSlotContextMenus>
        </telerik:RadScheduler>

And every thing is working well.

But, when RGPlanning_TimeSlotContextMenuItemClicking is fired, I can't ReBind my RadScheduler... Do you have an idea?

In This methode, in fact I change the categorie of each appointment of the week... That's why I would like to Rebind all my Appointements... (To see visualy the changes...)

Thank you to help me


Jean-Yves
Peter
Telerik team
 answered on 13 May 2011
1 answer
75 views
hi

i am getting this type of error when i build the demo of sales dashboard project.
"Trial license for OpenAccess found. To obtain a valid license visit http://www.telerik.com . Enhanced assemblies expire after 1 day, please recompile your project."
please help me out how i can resolve this.
Alexander
Telerik team
 answered on 13 May 2011
3 answers
223 views
Hi all,

I wish to load the ASPX file to the pageview on the client site. Can anybody show me the example?

Thanks.

Regards,
Bryan Tan
Veronica
Telerik team
 answered on 13 May 2011
1 answer
61 views
Hi,

I try to use RadPanelBar into an other RadPanelBar and I have a problem with the level2 RadPanelBar.
This is my code :
<telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%">
            <Items>
                <telerik:RadPanelItem Text="PanelItem1">
                    <ContentTemplate>
                        <telerik:RadPanelBar ID="PanelBar2" runat="server" Width="100%">
                            <Items>
                                <telerik:RadPanelItem Text="Title1">
                                    <HeaderTemplate><table style="width:100%;"><tr><td>Title1</td><td style="text-align:right;"><asp:ImageButton ID="ImgBtnRemoveContact1" runat="server" ImageUrl="~/images/cancel.png" /></td></tr></table></HeaderTemplate>
                                    <ContentTemplate>
                                        1iere ligne
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        10ieme ligne
                                    </ContentTemplate>
                                </telerik:RadPanelItem>
                                <telerik:RadPanelItem Text="Title2">
                                    <HeaderTemplate><table style="width:100%;"><tr><td>Title2</td><td style="text-align:right;"><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/cancel.png" /></td></tr></table></HeaderTemplate>
                                    <ContentTemplate>
                                        1st line
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        <br/>
                                        10th line
                                    </ContentTemplate>
                                </telerik:RadPanelItem>
                            </Items>
                        </telerik:RadPanelBar>
                    </ContentTemplate>
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>

With this code, I can't expand the level 2 RadPanelItem (or it expand but I can't see the content)
Is it possible to solve this ?

Sorry for my poor english.
Vincent
Top achievements
Rank 1
 answered on 13 May 2011
3 answers
261 views
Can someone help me how t set invalid style in server side.  My code as as following.  When validate through client side, textbox style is set to invalid style(CssClass="InvalidTextBox") if validation fails.  Similarlly I want to do the validation in server side just in case client side validation does not go through.  How to set to Invalid style in server side ?

<

 

telerik:RadTextbox ID="Email" runat="server">

 

    <

 

EmptyMessageStyle CssClass="EmptyTextBox" />

 

 

 

 

 

    <EnabledStyle CssClass="EnabledTextBox" />

 

 

 

 

 

    <FocusedStyle CssClass="FocusedTextBox" />

 

 

 

 

 

    <HoveredStyle CssClass="HoveredTextBox" />

 

 

 

 

 

    <InvalidStyle CssClass="InvalidTextBox" />

 

 

 

</telerik:RadTextbox>
<

 

asp:CustomValidator runat="server" EnableClientScript="true" controltovalidate="Email" id="ev" ClientValidationFunction="ClientValidate" OnServerValidate="ServerValidate" />

 


function

 

ClientValidate(sender, args)
{

 

 

     var email = $find("<%= email.ClientID %>");

 

 

        if (! validate(email.get_value())) 
       {

 

            email._invalid =

true;

 

            email.updateCssClass();

            args.IsValid =

false;

 

        }

}


 

protected void ServerValidate(object source, ServerValidateEventArgs args)

 

{

 

    args.IsValid = validate(email.Text);

 

 

    if (!args.IsValid)

 

    {

 

        //how to set invalid style for email RadTextBox ????

 

 

    }
}

 

Tsvetina
Telerik team
 answered on 13 May 2011
4 answers
77 views
I am using the RadScriptManager1, RadAjaxManager1 and  RadAjaxLoadingPanel in order to have the "loading" graphics kick in while oading my web pages .. filling in data in rsponse to user input. This is ties to a button and I get the overlay everyother time.

 

<telerik:RadScriptManager ID="RadScriptManager1" Runat

="server"> 

</telerik:RadScriptManager> 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat

="server"> 

<AjaxSettings >

 

 

<telerik:AjaxSetting AjaxControlID ="Panel2">

 

 

 

<UpdatedControls >

 

 

 

<telerik:AjaxUpdatedControl ControlID="Panel2" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

</UpdatedControls >

 

 

 

</telerik:AjaxSetting >

 

 

 

</AjaxSettings >

 

 

 

</telerik:RadAjaxManager >

 

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px" >

 

 

<img alt="Loading Cycle Count ..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border:0;" />

 

 

</telerik:RadAjaxLoadingPanel>

 

 

Why is this? I am developing under VS 2008 and using the RadControls for ASP.NET AJAX Q1 2011 NET 35

any help ???

Thanks

gollnick

 

 

Maria Ilieva
Telerik team
 answered on 13 May 2011
5 answers
165 views
Dear Telerik,

We're facing a problem in Maximizing a RadWindow on Open from Javascript or with InitialBehaviors="Maximize"
from ASPX.

To reproduce the problem we created a small Default.aspx page like this:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <script type="text/javascript">
            function showWindow() {
                var proWindow = $find('<%= xW.ClientID %>');
                proWindow.set_navigateUrl('http://www.telerik.com');
                proWindow.set_title('My Window Title');
                window.setTimeout(function () {
                    proWindow.show();
                    proWindow.setActive(true);
                }, 0);
                return false;
            }
        </script>
        <div>
            <telerik:RadWindowManager ID="wM"
                runat="server"
                Overlay="true"
                ReloadOnShow="false"
                VisibleStatusbar="false"
                VisibleOnPageLoad="false"
                ShowContentDuringLoad="false" >
                <Windows>
                    <telerik:RadWindow ID="xW" runat="server" 
                        VisibleTitlebar="true" EnableViewState="false" Behaviors="Move,Close,Maximize" ReloadOnShow="true" Modal="true" InitialBehaviors="Maximize" >
                    </telerik:RadWindow>
                </Windows>
            </telerik:RadWindowManager>
            <asp:LinkButton ID="btnShow" Text="Show Maximized Window" runat="server" OnClientClick="return showWindow();" /> 
        </div>
    </form>
</body>
</html>

When you open this page in IE9 and click on the Show Maximized Window Link, you see a page that is not maximized to the full height. But when you open it in Chrome, you see it Maximized.

We're using the latest published version as of today.

Attached please find the 2 Screen Shots under IE9 and Under Chrome.

Thanks, as Always

Salah A. Malaeb
TeknoBuild
Svetlina Anati
Telerik team
 answered on 13 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?