This is a migrated thread and some comments may be shown as answers.

ToolBar Problem with CalendarExtender

6 Answers 172 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Rudá Cunha
Top achievements
Rank 2
Rudá Cunha asked on 06 Sep 2010, 09:44 PM
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?

6 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 08 Sep 2010, 01:20 PM
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
0
Rudá Cunha
Top achievements
Rank 2
answered on 08 Sep 2010, 02:21 PM
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!

0
Accepted
Yana
Telerik team
answered on 09 Sep 2010, 11:35 AM
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
0
Rudá Cunha
Top achievements
Rank 2
answered on 09 Sep 2010, 07:36 PM
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>
0
Rudá Cunha
Top achievements
Rank 2
answered on 11 Sep 2010, 02:10 PM
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!
0
Peter
Telerik team
answered on 14 Sep 2010, 03:38 PM

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
Tags
ToolBar
Asked by
Rudá Cunha
Top achievements
Rank 2
Answers by
Yana
Telerik team
Rudá Cunha
Top achievements
Rank 2
Peter
Telerik team
Share this question
or