ToolBar Problem with CalendarExtender

7 posts, 1 answers
  1. Rudá Cunha
    Rudá Cunha avatar
    50 posts
    Member since:
    Mar 2010

    Posted 06 Sep 2010 Link to this post

    I'm putting my pages in the Toolbar, but it had several pages that have no problems running the hovered when I pass the mouse over the icon nothing happens!

    I was commenting the code to find where was the problem.
    When I place the CalendarExtender or MaskedEditExtender for running the Toolbar.

    Just use this code that happens the problem.

    <asp:TextBox ID="TextBoxDe" runat="server" Width="70px"></asp:TextBox>
    <ajax:CalendarExtender ID="CalendarExtender2" runat="server" FirstDayOfWeek="Sunday"
        Format="dd/MM/yyyy" TargetControlID="TextBoxDe">
    </ajax:CalendarExtender>
    <ajax:MaskedEditExtender ID="MaskedEditExtenderDe" runat="server" AcceptNegative="None"
        ClearMaskOnLostFocus="true" CultureName="pt-BR" DisplayMoney="None" Mask="99/99/9999"
        MaskType="Date" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus"
        OnInvalidCssClass="MaskedEditError" TargetControlID="TextBoxDe">
    </ajax:MaskedEditExtender>
     
     
    <telerik:RadToolBar ID="radBotoes" runat="server">
        <Items>
            <telerik:RadToolBarButton runat="server" Text="Test 1">
            </telerik:RadToolBarButton>
            <telerik:RadToolBarButton runat="server" Text="Test 2">
            </telerik:RadToolBarButton>
        </Items>
    </telerik:RadToolBar>

    How solved this?
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 08 Sep 2010 Link to this post

    Hi Rudá,

    Could you please send us also the used css styles as we're not able to reproduce this issue? Thanks

    Regards,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rudá Cunha
    Rudá Cunha avatar
    50 posts
    Member since:
    Mar 2010

    Posted 08 Sep 2010 Link to this post

    It has no style.
    If you put this code in an aspx page with nothing of the problem!

    ................................................

    I did more testing here and realized that the problem is not in the ToolBar and not in CalendarExtender.

    When I put the ScriptManager the two components work perfectly!
    But when I put the CalendarExtender RadScriptManager ToolBar and stops working when the shooting CalendarExtender RadScriptManager leaving the ToolBar works.

    The problem then is in RadScriptManager!

  5. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 09 Sep 2010 Link to this post

    Hello Rudá,

    I've just tested this with RadScriptManager and still wasn't able to reproduce it. Please find attached a screenshot that shows that it works as expected at our side.

    Greetings,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Rudá Cunha
    Rudá Cunha avatar
    50 posts
    Member since:
    Mar 2010

    Posted 09 Sep 2010 Link to this post

    I'm using:
    Frameworks 4.0
    Ajax 4.1.40412.2


    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Teste.aspx.cs" Inherits="Teste" %>
     
    <!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>
    </head>
    <body>
        <form id="form1" runat="server">
        <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
        </telerik:RadStyleSheetManager>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <div>
        <asp:TextBox ID="TextBoxDe" runat="server" Width="70px"></asp:TextBox>
        <ajax:CalendarExtender ID="CalendarExtender2" runat="server" FirstDayOfWeek="Sunday"
            Format="dd/MM/yyyy" TargetControlID="TextBoxDe">
        </ajax:CalendarExtender>
        <ajax:MaskedEditExtender ID="MaskedEditExtenderDe" runat="server" AcceptNegative="None"
            ClearMaskOnLostFocus="true" CultureName="pt-BR" DisplayMoney="None" Mask="99/99/9999"
            MaskType="Date" MessageValidatorTip="true" OnFocusCssClass="MaskedEditFocus"
            OnInvalidCssClass="MaskedEditError" TargetControlID="TextBoxDe">
        </ajax:MaskedEditExtender>
        <telerik:RadToolBar ID="radBotoes" runat="server">
            <Items>
                <telerik:RadToolBarButton runat="server" Text="Test 1">
                </telerik:RadToolBarButton>
                <telerik:RadToolBarButton runat="server" Text="Test 2">
                </telerik:RadToolBarButton>
            </Items>
        </telerik:RadToolBar>
        </div>
        </form>
    </body>
    </html>
  7. Rudá Cunha
    Rudá Cunha avatar
    50 posts
    Member since:
    Mar 2010

    Posted 11 Sep 2010 Link to this post

    Was using the Q1 2010, after I upgraded to the Q2 2010 SP1, the problem stopped!
    I checked the history and saw he had some problem with the AjaxToolKit that were fixed in RadScriptManager!
  8. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 14 Sep 2010 Link to this post

    We are glad that you were able to solve the problem yourself and apologize that we could not help you right away.

    Don't hesitate to contact us if you have other questions.



    Regards,
    Peter
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017