开发者

Highlighting the current Step in a multi step form page

开发者 https://www.devze.com 2023-01-09 02:01 出处:网络
i am using a simple form page with 4 steps in it i am not using any wizard control for this i want to highlight the current step what i have to do for achieving this functionalit开发者_开发问答y.if (W

i am using a simple form page with 4 steps in it i am not using any wizard control for this i want to highlight the current step what i have to do for achieving this functionalit开发者_开发问答y.


if (WhateverPanel.Visible == true) {
    StepLabel.BackColor = System.Drawing.Color.WhateverYouWant;
}

Or for labels it might be

StepLabel.Styles.BackColor = ...

I have to get to work or I'd check. Regardless, put that in the Page_Load and you should be gravy.

0

精彩评论

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