开发者

Aligning a asp:Button to to the right of asp:Wizard's Next Button

Coding Platform: ASP.NET C#

Controls Used: asp:Wizard and asp:Button

I have a 开发者_StackOverflow社区asp:Wizard and when it renders it have Previous and Next Buttons

I would like to place a button to the right of Next Button.

Now that button is being rendered below asp:Wizard Control.

Any method to accomplish it?

Update: I am not using StartNavigationTemplate, StepNavigationTemplate and FinishNavigationTemplate


You could extend the Wizard control, but that's probably more effort than it's worth.

If you want to get a similar effect and you're not tied to the Wizard, you can abandon the Wizard control and use a MultiView instead. If you do, you need to control the flow programatically yourself (assign a variable to track the current index, create previous and next buttons, adjust the current index, etc).

It's a little more work, but you get better control. (It's like using a Repeater vs. a GridView. With a Gridview you can only do tables. With a Repeater, you can do tables, but it's a bit more work, or you can do something completely different.)

I like this article for explaining the similarity.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜