473,320 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

WizardStep and Adding Output Method

I am working with the Wizard class for the first time, it seems like an easy
way to setup a sequential series of steps.

Current I have a render method for a server control I am writing like this:

protected override void Render(HtmlTextWriter output)
{
this.EnsureChildControls();
_stepwizard = new Wizard();
WizardStep firstStep = new WizardStep();
firstStep.ID = "1) Select A List";
_stepwizard.WizardSteps.Add(firstStep);
Controls.Add(_stepwizard);
}

This works fine, I get my first step on the screen which is exciting. It
appears that the only way I can append things within the wizard so that they
appear as steps is through _stepwizard.Controls.Add, which is fine, but what
if you want to put the return of a whole method, or a call to a large string
in it? For example, is it possible to put this as the output of the step?

private void testOutput(HtmlTextWriter output)
{
output.Write("foo!")
}

Because I can normally parse it out in the render method like this:

protected override void RenderWebPart(HtmlTextWriter output)
{
this.testOutput(output);
}

I guess what it comes down to, is it possible to use anything other than
controls delcared within the Wizard Steps as output for the individual wizard
screens.

Thanks for the help!
Mar 20 '07 #1
0 1072

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rolf Kemper | last post by:
Dear All, I need some help on an XLST. I need to create an XML output from some xml document by XSLT. The top element must contain multiple name spaces. I tried this as an example: ...
8
by: Nathan Sokalski | last post by:
I add a JavaScript event handler to some of my Webcontrols using the Attributes.Add() method as follows: Dim jscode as String = "return (event.keyCode>=65&&event.keyCode<=90);"...
0
by: Michel Couche | last post by:
Hello, I would like to programmatically set the visibility of a selectedWizardStep after clicking on a button contained in an other one. I found the following in an article from D. Esposito...
3
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi, How can I move a wizardstep dynamacally form one position to another. eg: change the position of step 1 to be step 4. thanks. -- Regards,
2
by: abhimanyu singh | last post by:
i m facing a serious probs now a days............ its seems easy but for me i found it difficult......... i want to do transformation usig xsl and xml(adding parameter). for IE its working fine...
9
by: Kiamari | last post by:
here's what i have to do: Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a...
1
by: jholg | last post by:
Hi, regarding automatically adding functionality to a class (basically taken from the cookbook recipee) and Python's lexical nested scoping I have a question wrt this code: #-----------------...
0
by: Durango2008 | last post by:
Hello I am currently creating a form that uses WizardStep to go from page to page. I do want to get the data from the wizardstep that is displayed but I cannot figure out how to check which...
0
by: Durango2008 | last post by:
Hello I am currently creating a form that uses WizardStep to go from page to page. I do want to get the data from the wizardstep that is displayed but I cannot figure out how to check which...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.