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

RadButton exist ?

4 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
lupotana
Top achievements
Rank 1
lupotana asked on 13 May 2009, 04:19 PM
Good morning,

I search a Button that it can display Text and Image
as normal Windows Form Button.

Exist this "button" or "RadButton" in Q1 2009 ?

4 Answers, 1 is accepted

Sort by
0
lupotana
Top achievements
Rank 1
answered on 29 May 2009, 03:57 PM
Exist or not exist this control in Telerik controls collection?
0
Daniel
Telerik team
answered on 29 May 2009, 04:42 PM
Hello lupotana,

There is no RadButton control in our RadControls for ASP.NET AJAX suite.
Instead, you can use our RadFormDecorator control to apply skins to the existing ASP.NET buttons. Please examine the following links for more information:
RadFormDecorator First Look online demo
RadFormDecorator Overview

Regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Skywalker
Top achievements
Rank 1
answered on 25 Aug 2009, 06:47 PM
Hi Daniel,

The RadFormDecorator is an awesome control to style things like buttons.
However, what would still be really nice is a dedicated RadButton control with the following features:

  1. A property indicating that the button should be disabled immediatly after being clicked
  2. A property indicating that the button should remain pressed after being clicked
  3. A dedicated skin for a button to enable things like hover images (or is that already possible using RadFormDecorator?)

Number 1 would be my favourite becasue that would help a lot in forms that users shouldn't submit more than once (in case of billing operations etc.)
Of course there are ways to implement the "submit only once" feature, but there is not a single way (that I know of) to simply set a property enabling this behaviour.


0
Daniel
Telerik team
answered on 28 Aug 2009, 08:58 AM
Hello Sipke,

Thank you for your suggestions.

I will pass them to our developers for future consideration.

You can attain the first requirement easily. Sample snippet is shown below:
<script type="text/javascript"
    function responseEnd(sender, args) 
    { 
        if (args.get_eventTarget().indexOf("TestButton") >= 0) 
            args.get_eventTargetElement().disabled = "true"
    } 
</script> 
 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" ClientEvents-OnResponseEnd="responseEnd"
    <asp:Button ID="TestButton" runat="server" Text="Test" /> 
</telerik:RadAjaxPanel> 

Best regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
lupotana
Top achievements
Rank 1
Answers by
lupotana
Top achievements
Rank 1
Daniel
Telerik team
Skywalker
Top achievements
Rank 1
Share this question
or