コード例 #1
0
ファイル: Wizard.ascx.cs プロジェクト: tvelzy/RadstackMedia
    protected override void OnPreRender(EventArgs e)
    {
        base.OnPreRender(e);

        hdnCurrent.Value = CurrentStepIndex.ToString();
        hdnItems.Value   = Steps.ToString();

        hdnCurrent.ID = "current";
        hdnItems.ID   = "items";
    }
コード例 #2
0
    protected override void OnPreRender(EventArgs e)
    {
        base.OnPreRender(e);

        hdnCurrent.Value        = CurrentStepIndex.ToString();
        hdn1stStepSkipped.Value = SelectionSkipped.ToString();
        hdnIssueID.Value        = IssueId.ToString();

        // Initialize variant slider
        if (pnlActions.Visible)
        {
            InitVariantSlider(IssueId);
        }
    }
コード例 #3
0
    protected override void OnPreRender(EventArgs e)
    {
        base.OnPreRender(e);

        hdnCurrent.Value = CurrentStepIndex.ToString();
        hdnItems.Value   = Steps.ToString();

        hdnCurrent.ID = "current";
        hdnItems.ID   = "items";

        // Ensure the current item acknowledged by Javascript
        if (IsDesign)
        {
            RegisterChangeLayoutItemScript(0);
        }
    }