1 write to Owner
System.Web (1)
UI\WebControls\Wizard.cs (1)
2100
Owner
= wizard;
169 references to Owner
System.Web (169)
UI\WebControls\Wizard.cs (169)
2128
if (
Owner
.SideBarEnabled) {
2129
Owner
.SetStepsAndDataBindSideBarList(
Owner
._sideBarList);
2132
if (
Owner
.SideBarTemplate == null) {
2133
foreach (Control item in
Owner
._sideBarList.Items) {
2136
button.MergeStyle(
Owner
._sideBarButtonStyle);
2156
if (
Owner
.ActiveStepIndex >=
Owner
.WizardSteps.Count ||
Owner
.ActiveStepIndex < 0) {
2163
renderType != WizardStepType.Finish ||
Owner
.ActiveStepIndex != 0 ||
Owner
.ActiveStep.StepType != WizardStepType.Auto;
2168
int prevStepIndex =
Owner
.GetPreviousStepIndex(false);
2170
showPrevious =
Owner
.WizardSteps[prevStepIndex].AllowReturn;
2180
if (
Owner
.FinishNavigationTemplate == null) {
2191
if (
Owner
.StepNavigationTemplate != null) {
2198
if (
Owner
.DesignMode) {
2210
ApplyButtonProperties(navContainer.NextButton,
Owner
.StepNextButtonText,
Owner
.StepNextButtonImageUrl);
2212
ApplyButtonProperties(navContainer.PreviousButton,
Owner
.StepPreviousButtonText,
Owner
.StepPreviousButtonImageUrl, previousImageButtonVisible);
2214
ApplyButtonProperties(navContainer.CancelButton,
Owner
.CancelButtonText,
Owner
.CancelButtonImageUrl);
2216
int previousStepIndex =
Owner
.GetPreviousStepIndex(false);
2217
if (previousStepIndex != -1 && !
Owner
.WizardSteps[previousStepIndex].AllowReturn) {
2221
Owner
.SetCancelButtonVisibility(navContainer);
2222
navContainer.ApplyButtonStyle(
Owner
.FinishCompleteButtonStyle,
Owner
.StepPreviousButtonStyle,
Owner
.StepNextButtonStyle,
Owner
.CancelButtonStyle);
2227
if (
Owner
.FinishNavigationTemplate != null) {
2234
if (
Owner
.DesignMode) {
2248
ApplyButtonProperties(finishContainer.FinishButton,
Owner
.FinishCompleteButtonText,
Owner
.FinishCompleteButtonImageUrl);
2250
ApplyButtonProperties(finishContainer.PreviousButton,
Owner
.FinishPreviousButtonText,
Owner
.FinishPreviousButtonImageUrl, previousImageButtonVisible);
2252
ApplyButtonProperties(finishContainer.CancelButton,
Owner
.CancelButtonText,
Owner
.CancelButtonImageUrl);
2254
int previousStepIndex =
Owner
.GetPreviousStepIndex(false);
2255
if (previousStepIndex != -1 && !
Owner
.WizardSteps[previousStepIndex].AllowReturn) {
2259
Owner
.SetCancelButtonVisibility(finishContainer);
2260
finishContainer.ApplyButtonStyle(
Owner
.FinishCompleteButtonStyle,
Owner
.FinishPreviousButtonStyle,
Owner
.StepNextButtonStyle,
Owner
.CancelButtonStyle);
2265
if (
Owner
.StartNavigationTemplate != null) {
2272
if (
Owner
.DesignMode) {
2281
ApplyButtonProperties(startContainer.NextButton,
Owner
.StartNextButtonText,
Owner
.StartNextButtonImageUrl);
2283
ApplyButtonProperties(startContainer.CancelButton,
Owner
.CancelButtonText,
Owner
.CancelButtonImageUrl);
2285
Owner
.SetCancelButtonVisibility(startContainer);
2286
startContainer.ApplyButtonStyle(
Owner
.FinishCompleteButtonStyle,
Owner
.StepPreviousButtonStyle,
Owner
.StartNextButtonStyle,
Owner
.CancelButtonStyle);
2291
WizardStepType type =
Owner
.GetStepType(
Owner
.ActiveStepIndex);
2328
foreach (BaseNavigationTemplateContainer c in
Owner
.CustomNavigationContainers.Values) {
2333
if (
Owner
.ShowCustomNavigationTemplate) {
2334
BaseNavigationTemplateContainer container =
Owner
._customNavigationContainers[
Owner
.ActiveStep];
2346
sideBarList.ItemCommand -= new CommandEventHandler(
Owner
.DataListItemCommand);
2347
sideBarList.ItemDataBound -= new EventHandler<WizardSideBarListControlItemEventArgs>(
Owner
.DataListItemDataBound);
2354
sideBarList.ItemCommand += new CommandEventHandler(
Owner
.DataListItemCommand);
2355
sideBarList.ItemDataBound += new EventHandler<WizardSideBarListControlItemEventArgs>(
Owner
.DataListItemDataBound);
2356
if (
Owner
.DesignMode) {
2362
Owner
.SetStepsAndDataBindSideBarList(sideBarList);
2365
if (!
Owner
.DesignMode) {
2378
Owner
.CustomNavigationContainers.Clear();
2379
Owner
.CreateCustomNavigationTemplates();
2381
foreach (BaseNavigationTemplateContainer c in
Owner
.CustomNavigationContainers.Values) {
2393
ITemplate startNavigationTemplate =
Owner
.StartNavigationTemplate;
2394
_startNavigationTemplateContainer = new StartNavigationTemplateContainer(
Owner
);
2400
_defaultStartNavigationTemplate = NavigationTemplate.GetDefaultStartNavigationTemplate(
Owner
);
2413
ITemplate stepNavigationTemplate =
Owner
.StepNavigationTemplate;
2414
_stepNavigationTemplateContainer = new StepNavigationTemplateContainer(
Owner
);
2419
_defaultStepNavigationTemplate = NavigationTemplate.GetDefaultStepNavigationTemplate(
Owner
);
2431
ITemplate finishNavigationTemplate =
Owner
.FinishNavigationTemplate;
2432
_finishNavigationTemplateContainer = new FinishNavigationTemplateContainer(
Owner
);
2437
_defaultFinishNavigationTemplate = NavigationTemplate.GetDefaultFinishNavigationTemplate(
Owner
);
2470
if (
Owner
.HeaderTemplate != null) {
2478
_headerLiteral.Text =
Owner
.HeaderText;
2479
} else if (!String.IsNullOrEmpty(
Owner
.HeaderText)) {
2483
throw new InvalidOperationException(SR.GetString(SR.Wizard_Header_Placeholder_Must_Be_Specified_For_HeaderText,
Owner
.ID, HeaderPlaceholderId));
2489
_layoutContainer.ControlToRender =
Owner
.MultiView;
2495
Owner
.LayoutTemplate.InstantiateIn(_layoutContainer);
2497
using (new WizardControlCollectionModifier(
Owner
)) {
2498
Owner
.Controls.Add(_layoutContainer);
2510
throw new InvalidOperationException(SR.GetString(SR.Wizard_Navigation_Placeholder_Must_Be_Specified,
Owner
.ID, NavigationPlaceholderId));
2522
if (
Owner
.HeaderTemplate != null) {
2524
throw new InvalidOperationException(SR.GetString(SR.Wizard_Header_Placeholder_Must_Be_Specified_For_HeaderTemplate,
Owner
.ID, HeaderPlaceholderId));
2527
ReplacePlaceholderWithTemplateInstance(layoutContainer, placeholder,
Owner
.HeaderTemplate);
2539
if (!
Owner
.DisplaySideBar) {
2549
throw new InvalidOperationException(SR.GetString(SR.Wizard_Sidebar_Placeholder_Must_Be_Specified,
Owner
.ID, SideBarPlaceholderId));
2552
ITemplate sideBarTemplate =
Owner
.SideBarTemplate ??
Owner
.CreateDefaultSideBarTemplate();
2556
CreateControlHierarchy_CleanUpOldSideBarList(
Owner
.SideBarList);
2557
Owner
._sideBarList = CreateControlHierarchy_SetUpSideBarList(layoutContainer);
2564
throw new InvalidOperationException(SR.GetString(SR.Wizard_Step_Placeholder_Must_Be_Specified,
Owner
.ID, WizardStepPlaceholderId));
2567
ReplacePlaceholderWithControl(layoutContainer, placeholder,
Owner
.MultiView);
2628
if (!
Owner
.DesignMode &&
2629
(
Owner
.ActiveStepIndex < 0 ||
Owner
.ActiveStepIndex >=
Owner
.WizardSteps.Count ||
Owner
.WizardSteps.Count == 0)) {
2633
if (
Owner
.SideBarEnabled &&
Owner
._sideBarStyle != null) {
2635
Owner
._sideBarTableCell.ApplyStyle(
Owner
._sideBarStyle);
2648
Util.CopyBaseAttributesToInnerControl(
Owner
, _renderTable);
2650
if (
Owner
.ControlStyleCreated) {
2651
_renderTable.ApplyStyle(
Owner
.ControlStyle);
2660
if (!
Owner
.DesignMode &&
Owner
.IsMacIE5 &&
2661
(!
Owner
.ControlStyleCreated ||
Owner
.ControlStyle.Height == Unit.Empty)) {
2668
if (!
Owner
.DesignMode && _navigationTableCell != null &&
Owner
.IsMacIE5) {
2681
if (
Owner
._navigationStyle != null) {
2682
if (!
Owner
.DesignMode &&
Owner
.IsMacIE5 &&
Owner
._navigationStyle.Height == Unit.Empty) {
2683
Owner
._navigationStyle.Height = Unit.Pixel(1);
2686
_navigationTableCell.ApplyStyle(
Owner
._navigationStyle);
2690
if (
Owner
.ShowCustomNavigationTemplate) {
2700
if (
Owner
._stepStyle != null) {
2701
if (!
Owner
.DesignMode &&
Owner
.IsMacIE5 &&
Owner
._stepStyle.Height == Unit.Empty) {
2702
Owner
._stepStyle.Height = Unit.Pixel(1);
2705
_stepTableCell.ApplyStyle(
Owner
._stepStyle);
2714
if ((
Owner
.HeaderTemplate == null) && String.IsNullOrEmpty(
Owner
.HeaderText)) {
2717
_headerTableCell.ApplyStyle(
Owner
._headerStyle);
2720
if (
Owner
.HeaderTemplate != null) {
2727
Debug.Assert(
Owner
.HeaderText != null &&
Owner
.HeaderText.Length > 0);
2729
_titleLiteral.Text =
Owner
.HeaderText;
2742
if (
Owner
._sideBarTableCell != null) {
2743
Owner
._sideBarTableCell.Visible =
Owner
.SideBarEnabled &&
Owner
._renderSideBarDataList;
2756
if (
Owner
._sideBarTableCell != null) {
2757
Owner
._sideBarTableCell.Visible = false;
2768
if (
Owner
.DisplaySideBar) {
2800
_stepTableCell.Controls.Add(
Owner
.MultiView);
2802
Owner
.InstantiateStepContentTemplates();
2808
_headerTableCell = new InternalTableCell(
Owner
) {
2812
if (
Owner
.HeaderTemplate != null) {
2813
_headerTableCell.EnableTheming =
Owner
.EnableTheming;
2814
Owner
.HeaderTemplate.InstantiateIn(_headerTableCell);
2826
var mainContentTable = new WizardChildTable(
Owner
) {
2829
using (new WizardControlCollectionModifier(
Owner
)) {
2830
Owner
.Controls.Add(mainContentTable);
2840
Table outerTable = new WizardChildTable(
Owner
) {
2848
TableCell outerLeftCell =
Owner
._sideBarTableCell ?? CreateControlHierarchy_CreateSideBarTableCell();
2851
Owner
._sideBarTableCell = outerLeftCell;
2852
Owner
._renderSideBarDataList = false;
2872
if (!
Owner
.DesignMode &&
Owner
.IsMacIE5) {
2877
using (new WizardControlCollectionModifier(
Owner
)) {
2878
Owner
.Controls.Add(outerTable);
2881
CreateControlHierarchy_CleanUpOldSideBarList(
Owner
.SideBarList);
2882
Owner
._sideBarList = CreateControlHierarchy_SetUpSideBarList(
Owner
._sideBarTableCell);
2890
TableCell outerLeftCell = new AccessibleTableCell(
Owner
) {
2896
ITemplate sideBarTemplate =
Owner
.SideBarTemplate;
2900
sideBarTemplate =
Owner
.CreateDefaultSideBarTemplate();
2902
outerLeftCell.EnableTheming =
Owner
.EnableTheming;