.net - Wizard Control Disable Buttons -


how can disable , confirm buttons in 'final' step of wizard control ?

<asp:wizard id="wizard" runat="server"  displaycancelbutton="true" steppreviousbuttontext="back" finishpreviousbuttontext="back" finishcompletebuttontext="confirm" >  <wizardsteps> ..... <asp:wizardstep id="confirmstep" runat="server" title="confirm request" steptype="finish" > <asp:wizardstep> .... </wizardsteps> </asp:wizard>    protected sub wizard_finishbuttonclick(byval sender object, byval e system.web.ui.webcontrols.wizardnavigationeventargs) handles wizard.finishbuttonclick .......  'i want disable confirm , button here after displaying error message. e.cancel = true  end sub 

thanks.

select wizard , convert startnavigationtempltae. , in aspx page

<startnavigationtemplate> <asp:button id="startnextbutton" runat="server" commandname="movenext"  text="next" visible="false" /> </startnavigationtemplate> 

set visibility off start or whatever button want hide


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -