使用向导控件的模板

时间:2012-06-15 20:41:34

标签: asp.net

我了解到模板允许我们自定义控件的外观。 我正在练习向导控制并尝试使用模板来控制它的外观。 它有以下可用于自定义的模板:

  • HeaderTemplate中
  • SideBarTemplate
  • StartNavigationTemplate
  • StepNavigationTemplate
  • FinishNavigationTemplate
  • LayoutTemplate模板

但我不知道如何使用它。有人可以分享一个例子来使用它吗?

2 个答案:

答案 0 :(得分:1)

请看看这篇MSDN杂志文章:Dino Esposito撰写的Cutting Edge: The ASP.NET 2.0 Wizard Control

答案 1 :(得分:0)

以下是#THIS WORKS (uses xts 0.9.7): library(xts) DFX <- structure(list(DateTime = structure(list(sec = c(0, 0, 0), min = c(10L, 0L, 5L), hour = c(17L, 18L, 18L), mday = c(24L, 24L, 24L), mon = c(5L, 5L, 5L), year = c(114L, 114L, 114L), wday = c(2L, 2L, 2L), yday = c(174L, 174L, 174L), isdst = c(1L, 1L, 1L), zone = c("EDT", "EDT", "EDT"), gmtoff = c(NA_integer_, NA_integer_, NA_integer_)), .Names = c("sec", "min", "hour", "mday", "mon", "year", "wday", "yday", "isdst", "zone", "gmtoff"), class = c("POSIXlt", "POSIXt")), Open = c(125.03, 125.34, 125.85)), .Names = c("DateTime", "Open"), class = "data.frame", row.names = 558:560) DFX <- as.xts(DFX[, -1], order.by = DFX$DateTime) #THIS DOESN'T WORK (uses xts 0.10.1): install.packages("devtools") require(devtools) install_github("joshuaulrich/xts") library(xts) DFX <- structure(list(DateTime = structure(list(sec = c(0, 0, 0), min = c(10L, 0L, 5L), hour = c(17L, 18L, 18L), mday = c(24L, 24L, 24L), mon = c(5L, 5L, 5L), year = c(114L, 114L, 114L), wday = c(2L, 2L, 2L), yday = c(174L, 174L, 174L), isdst = c(1L, 1L, 1L), zone = c("EDT", "EDT", "EDT"), gmtoff = c(NA_integer_, NA_integer_, NA_integer_)), .Names = c("sec", "min", "hour", "mday", "mon", "year", "wday", "yday", "isdst", "zone", "gmtoff"), class = c("POSIXlt", "POSIXt")), Open = c(125.03, 125.34, 125.85)), .Names = c("DateTime", "Open"), class = "data.frame", row.names = 558:560) DFX <- as.xts(DFX[, -1], order.by = DFX$DateTime) #Error message: #Error in .Call("do_is_ordered", x = x, increasing = as.logical(increasing), : # "do_is_ordered" not available for .Call() for package "xts" 的示例:

SideBarTemplate