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

I want to toggle RibbonBarToggleButton in client side. I tried  togglebutton.Toggled = true; But there is no effect. I tried server side code, its working fine. How can I solve this.
NB: I am using Telerik  2013.1.220.40


Thank you
abhi
Kate
Telerik team
 answered on 21 Oct 2013
14 answers
563 views
How may I change CheckBox to RadioButton in RadGrid from code behind? Due to the application needs, we didn't use smarttag or markup in .aspx page, but declare RadGrid from Page_Load instead. Is there a attribute of RadGrid that I can define to change CheckBox to RadioButton?

p.s. my version is 2012.2.912.40 

thank you,
Jim
Kostadin
Telerik team
 answered on 21 Oct 2013
1 answer
70 views
Hi,
how to hide the expand image for those rows that donot have any child rows in it. I dont want the user to simply expand a row if there are no rows in the child. How to do this.

Thanks,
Joslyn.
Princy
Top achievements
Rank 2
 answered on 21 Oct 2013
1 answer
122 views
Hi,
I'm working with rad-editor control during the process of development, i came an issue while browsing my production website using safari web browser. In that browser rad editor is not working properly for BOLD - ITALIC - REAL FONT SIZE. 
The Indent and Font size are not working appropriately as similar to other browser(Google Chrome - IE ).

Please assist in this issue.

Thanks & Regards
Phaneendra
Ianko
Telerik team
 answered on 21 Oct 2013
1 answer
565 views
Hello, I will attempt to articulate my problem as best I can. Let me start off by saying I and my co-workers thoroughly enjoy your products.

I have a RadGrid with a variety of columns, which currently have asp tool tips that I am trying to convert to using Telerik's rad ToolTip control. Two of the columns in particular are grid template columns that have link button and image controls inside of the ItemTemplate tags respectively.
Like this:
<telerik:GridTemplateColumn ItemStyle-HorizontalAlign="Center" AllowFiltering="false" UniqueName="UniqueImageName">
   <ItemTemplate>
      <asp:Image ID="imgSomeimageName" runat="server" />
    </ItemTemplate>
</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn ItemStyle-HorizontalAlign="Center" AllowFiltering="false" >
   <ItemTemplate>
      <asp:LinkButton ID="lbtnSomebutton" runat="server" CommandArgument='<%# Eval("ObjectID") %>'      
      OnCommand="lbtnSomebutton_Command" Enabled='<%# Eval("SomeThingEnabled")       
      %>'meta:resourcekey="lbtnSomebutton">                       
         <asp:Image ID="imgSomeButtonIcon" runat="server" ImageUrl="~/Images/SomeButtonIcon.gif" Visible='<%#    
         Eval("SomethingHasValue") %>'  />
      </asp:LinkButton>
     </ItemTemplate>
</telerik:GridTemplateColumn>

I have tried adding tool tips to the grid and to these two items specifically via two methods, which both have yielded unexpected results.

First by simply adding the Rad ToolTip Manager control and setting the AutoToolTipify property to true.
Like this:
<telerik:RadToolTipManager runat="server" RelativeTo="Element" Position="Center"
    ID="radToolTipMgr1" HideEvent="LeaveTargetAndToolTip" AutoTooltipify="true" Width="375px" OffsetY="-1"      
    OnAjaxUpdate="OnAjaxUpdate">
</telerik:RadToolTipManager>

When this method is used however it seems any tool tips specific to certain rows and columns are lost and only the tool tips specified for the radgrid  as a whole are displayed. In other words if I have something like RadGrid1.ToolTip = "HelloWorld" in the .resx file, then only the phrase "Hello World" appears on mouse over for every control in the grid, even if something else is specified. And it even seems to override the pager, header and footer tool tips as well, as no tool tips will appear at all for the pager, header and footer controls.

The other method, with which I am have equally dubious success, utilizes one of your examples where your instructions recommend placing a Rad ToolTip, rather than a rad ToolTipManager, directly inside the ItemTemplate tags, setting the TargetControlID and IsClientID properties for each. 

Like this:
<telerik:GridTemplateColumn ItemStyle-HorizontalAlign="Center" AllowFiltering="false" UniqueName="MyImage">
     <ItemTemplate>
          <asp:Image ID="imgMyImage" runat="server" />
          <telerik:RadToolTip TargetControlID="imgMyImage" IsClientID="true" runat="server"></telerik:RadToolTip>
     </ItemTemplate>
</telerik:GridTemplateColumn>

Or this:
<telerik:GridTemplateColumn ItemStyle-HorizontalAlign="Center" AllowFiltering="false" >
      <ItemTemplate>
           <asp:LinkButton ID="lbtnSomeButton" runat="server" CommandArgument='<%# Eval("ObjectID") %>'   
           OnCommand="lbtnSomeButton_Command" Enabled='<%# Eval("SomethingEnabled") %>'  
           meta:resourcekey="lbtnSomeButton">                       
               <asp:Image ID="imgSomeIcon" runat="server" ImageUrl="~/Images/SomeIcon.gif" Visible='<%#     
               Eval("SomethingHasValue") %>'  />
           </asp:LinkButton>
          <telerik:RadToolTip ID="RadToolTip1" TargetControlID="imgSomeIcon" IsClientID="true" runat="server">    
          </telerik:RadToolTip>
          <telerik:RadToolTip ID="RadToolTip2" TargetControlID="lbtnSomeButton" IsClientID="true" runat="server">
          </telerik:RadToolTip>
      </ItemTemplate>
</telerik:GridTemplateColumn>
(Note: I did not actually have both tool tips active at the same time as it appear above, but it is shown for demonstration purposes , to note each approach).

However with this approach, while the rest of the radGrid is 'ToolTipified' the image and link button control tooltips do NOT display. No tooltip shows at all. As you can see I have tried specifying both the link button itself and the image control as the TargetControlID to no avail.

How can I create a rad ToolTip for the image and/or linkbutton controls nested inside of the the ItemTemplate tags?

On a related note I have also noticed that when the RadToolTip control does successfully appear the asp tool tips are still appearing on mouse over. Is there a way to display only the rad toolTips?

Thank you in advance.

-Justin

Marin Bratanov
Telerik team
 answered on 21 Oct 2013
1 answer
108 views
Hi.
Webkit browser (i.e. Chrome, Safari) show abnormal behaviour when a image button is clicked.  During reload the clicked button shows a empty (text)button larger than the image button, which makes this abnormality more apparent.  Furthermore it takes 2-3 sec for a toolbar with 15 buttons to load. 
How can I fix this (v. 2013.2.917.35) ?
IE and Firefox work fine.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
 <body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
         <div>
            <asp:Image ID="Image1" runat="server" ImageUrl="~/ToolbarProblem.png" />
            <p><strong>Try it below</strong></p>
            <telerik:RadToolBar ID="RadToolBar1" runat="server" Width="100px" >
                <Items>
                    <telerik:RadToolBarButton runat="server" Value="Day"
                        ToolTip="Green"
                        NavigateUrl = "Default.aspx"
                        ImageUrl="~/p_green.gif"
                        ClickedImageUrl="~/p_yellow.gif"
                        DisabledImageUrl="~/p_gray.gif"
                        >
                    </telerik:RadToolBarButton>
                    <telerik:RadToolBarButton runat="server" Value="Week"
                        ToolTip="Red"
                        NavigateUrl = "Default.aspx"
                        ImageUrl="~/p_red.gif"
                        ClickedImageUrl="~/p_yellow.gif"
                        DisabledImageUrl="~/p_gray.gif"
                        >
                    </telerik:RadToolBarButton>
                </Items>
            </telerik:RadToolBar>
        </div>
    </form>
</body>

 

Kate
Telerik team
 answered on 21 Oct 2013
1 answer
142 views
I am using a radslider with values 1 to 5 with1 step. I want to know whether I can give a tooltip for each step values.

Any suggestions/input?
Merin
Princy
Top achievements
Rank 2
 answered on 21 Oct 2013
1 answer
98 views
Hi all,
I have two RibbonBarComboBox in my RibbonBar. OnClientComboBoxSelectedIndexChanged event,I want to identify which combobox raised client side event. Please provide me a solution.

Thank you
Abhi

Shinu
Top achievements
Rank 2
 answered on 21 Oct 2013
1 answer
139 views
Hi,

We are using getElementPosition() method of RadTimePicker client side api. However with latest version (2013.3.926.45 and 2013.3.1015.45) we get an error saying the method does not exist for the object object. Is this method replaced with different method?

Regards,
Kiran
Vasil
Telerik team
 answered on 21 Oct 2013
3 answers
109 views

Hi,

 

I have a problem with the RadScheduler display. The period displayed in the header (in week view) is false in business hours when ShowAllDayRow="False"…


<telerik:RadScheduler runat="server" ID="schPlanning" DataKeyField="ID" DataSubjectField="SujetEvenement" DataDescriptionField="DescriptionEvenement" DataStartField="Debut" DataEndField="Fin" Height="630px" SelectedView="WeekView" ShowAllDayRow="True"></telerik:RadScheduler>

I join the 3 examples:

- ShowAllDayRow="False" and Business Hours => NOT WORKS

- ShowAllDayRow="False" and 24 Hours => WORKS

- ShowAllDayRow="True" and Business Hours => WORKS

 

If somebody have the same problem? Or a solution?

 

Jérémy

Bozhidar
Telerik team
 answered on 21 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?