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

problem with icon on the button

3 Answers 103 Views
Button
This is a migrated thread and some comments may be shown as answers.
Błażej
Top achievements
Rank 1
Błażej asked on 09 Aug 2011, 03:08 PM
Hi,

I have radbutton and icon , like this:

<telerik:RadButton ID="myRadButton" runat="server" Text="" 
        CssClass="RadBtn" onclick="some_function">
         <Icon SecondaryIconCssClass="rbAdd" SecondaryIconRight="4" SecondaryIconTop="4"/>
</telerik:RadButton>

when I click on my radbutton "some_function" is fire, but when I click on the icon which is on  this button my function doesn't work.
Any ideas ?
thanks .

3 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 2
answered on 09 Aug 2011, 08:57 PM
Hello Blazej,

I believe that was an issue with one of the older version of the controls and was fixed. Have you tried using the latest version of the controls and see if that resolves the problem.
0
Błażej
Top achievements
Rank 1
answered on 09 Aug 2011, 10:42 PM
hi,

I was tried and it didn't solve my problem . (i have the latest version of the controls)
0
Slav
Telerik team
answered on 12 Aug 2011, 09:12 AM
Hi Błażej,

Could you please check if there is an HTML element overlapping the icon of the RadButton? If this is the case, you can solve it by making sure that the button has higher CSS z-index than the HTML element. I have attached a sample project, demonstrating the suggested solution. You may compare it with your actual project and check if your setup is similar. I have also added a screen capture, showing the behavior of the control in the particular scenario.

Note that at the current state of affairs I am mostly guessing as to what your setup is. If you are still experiencing difficulties please open a regular support ticket and send in it a sample, runnable project that displays your issue so that we can examine it locally and provide a more to the point answer.

Best wishes,
Slav
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Button
Asked by
Błażej
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 2
Błażej
Top achievements
Rank 1
Slav
Telerik team
Share this question
or