471,317 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Creating a library of Web User Controls (or something equal)


We are implementing a work flow system. We would like there to be one
site hosting all the different work flows. Each state in the work flow
is to be associated with a web user control (or something equivalent)
that can be loaded dynamically and displayed. The control will provide
events to allow the host web site to observe user interaction and
eventually transition the work flow to the next state.

We are right now doing some preliminary testing and would like to know
if it is possible to create assemblies with web user controls.
However, it seems that web user controls don't like to be created
outside of the webpage that uses them.

We are wondering if there is another way of getting what we want
without using web user controls. We are trying to avoid working
without a designer. We don't want pure HTML or server controls. We
can't stick the user controls directly in host web site because the
same application may be customized and hosted separately for a large
number of organizations with different needs. We also want the ability
to create new states and user controls without restarting the system.
We are trying to keep things flexible.

We have been thinking about storing an assembly name with each state
in a relational database. The host application, provided the state ID,
will load the state and get the assembly name. The assembly will
implement an interface that provides a method returning a user
control. The user control will implement an interface with events for
observation. All this will be achieved using reflection.

We have thought about using a web service to return the user controls.
However, we have no idea how to do this either.

We're looking for ideas and potential solutions. Thanks for any input.

Jun 1 '08 #1
0 1234

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mohandas P.M | last post: by
1 post views Thread by NathanV | last post: by
5 posts views Thread by Gopal Krish | last post: by
2 posts views Thread by sara | last post: by
3 posts views Thread by Ryu | last post: by
4 posts views Thread by DaveOnSEN | last post: by
8 posts views Thread by mark.norgate | last post: by
1 post views Thread by Andy B | last post: by

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.