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

radWizard disable finishButton

6 Answers 741 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Jota
Top achievements
Rank 1
Jota asked on 07 Apr 2015, 11:47 AM

Hi!

I do somes verification on the codeBehind on the event "RadWizard_ActiveStepChanged(object sender, EventArgs e)".

I need to show or not the finishbutton on c#. How i can do?

thanks

6 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 10 Apr 2015, 05:23 AM
Hello,

Hiding the finish button in RadWizard is only supported from the client side. You cna find it with jQuery and hide it as for example in the code below:
var $ = $telerik.$;
$(".rwzFinish").hide();


Regards,
Plamen
Telerik
0
Jota
Top achievements
Rank 1
answered on 10 Apr 2015, 06:47 AM

I found a solution working on codeBehind;

in aspx: 

<telerik:RadWizardStep runat="server" ID="stepFinal" Title="Resum" StepType="Step" >

in c#:

if verification is correct:

 

this.stepFinal.StepType = RadWizardStepType.Finish;

 

Thanks!

this.stepFinal.StepType = RadWizardStepType.Finish;
0
Matthew Bishop
Top achievements
Rank 1
answered on 30 Aug 2015, 01:44 PM

Just make it simple and stupid, use a CSS rule:

.rwzFinish {
    display: none !important;
}

Then its done and dusted and no hassle....
0
Frank
Top achievements
Rank 1
answered on 14 Dec 2015, 04:26 PM

Thanks, Matthew.

It was a pain in the ass finding a solution for this actually simple task.

Telerik...??

0
Plamen
Telerik team
answered on 15 Dec 2015, 06:21 AM
Hi,

Yes indeed unfortunately there is no built in functionality for such issue yet we have exposed all the CSS classes of the control in this article so if some additional styling or jQuery action is needed it is much easier to find the desired element.

Regards,
Plamen
Telerik
0
PETER
Top achievements
Rank 1
answered on 05 Jan 2017, 09:35 PM
Thanks Plamen. In case anyone is looking for how to find the 'Next' button in the wizard, it is :   ".rwzNext"
Tags
Wizard
Asked by
Jota
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Jota
Top achievements
Rank 1
Matthew Bishop
Top achievements
Rank 1
Frank
Top achievements
Rank 1
PETER
Top achievements
Rank 1
Share this question
or