ASP.NET forms with K2

  • 2 April 2008
  • 7 replies
  • 6 views

Badge +1

Hello,

I am very new to K2.  We would like to use ASP.NET forms for the front end, and K2 for the back end.

 1) Do I use a client event?  Then point to the ASP.NET page? 

 2) How do I get input from the page? Custom code?

 3) How do I display information back into the page? 

 4) Are there any examples?

I may have some follow up questions.  Any help is greatly appreciated.  Thanks in advance.
 


7 replies

Badge +5

Based on those questions I would suggest running through the tutorials that come with K2 when you install them or you can download the tutuorials from http://portal.k2workflow.com. Those should answer most of your questions and give you examples.

Badge +5

Here you go:

http://geekangle.wordpress.com/2008/02/20/blackpearl-web-forms-workflow/

 

-Saleh 

 

Badge +1

That helped a lot... thanks!

 

Is it possible to have more than 1 aspx form per activity and move back and forth between them?  For example, if I fill in form 1 of 2 and click "next".  Instead of going to the next activity, is it possible to go to form 2 of 2?  Thanks again.

Badge +5

Yup, what you're looking for is the "Page Flow" feature:

Video: Using the Pageflow feature in the ASPX Controls for [blackpearl] sample

http://k2underground.com/k2/ProjectHome.aspx?ProjectID=12 

 

 

-Regards, 

 SSB

Badge +1

That worked great... thank you.


 Do you know how to send a list of values between aspx and K2?  For examples populating a listbox or sending contents of a listbox back to K2?  Thanks.


 

Badge +3
What exactly is this "Page Flow" feature? What kind of scenarios can we use it? 
Badge +11

Page Flow isn't an OOTB feature of K2, but it is implemented in the 'ASPX Controls for blackpearl' sample in the blackmarket section of this site.  It allows the workflow to control delivering multiple pages to the same user to achive wizard-like functionality.  This is posted as a sample, complete with source code.  The sample may or not fit what you are doing, but you can take the code and customize it.

Reply