A
ajit goel
Hi everyone;
We have a problem in our compact framework client-server application
for which we would require your valuable suggestions.
Problem:
There are controls in the application user interface that has to be
loaded based on rules / transaction codes else they are not displayed
at all, hence the controls won't be there at design time but they
would have to be created and placed at run time.Hence a elegant and
simple solution has to be designed to meet out the requirements.
Solution:
We are leaning towards getting all valid transaction codes from the
database and loading into memory at the start of the application. When
a form is created for the first time,the form and all the form
controls are created based on the transaction codes.The form is then
saved into a form factory. If that form is required again then it is
loaded from the form factory.
I would appreciate some comments or suggestions to this approach.
Thanks and Kind Regards;
Ajit Goel
We have a problem in our compact framework client-server application
for which we would require your valuable suggestions.
Problem:
There are controls in the application user interface that has to be
loaded based on rules / transaction codes else they are not displayed
at all, hence the controls won't be there at design time but they
would have to be created and placed at run time.Hence a elegant and
simple solution has to be designed to meet out the requirements.
Solution:
We are leaning towards getting all valid transaction codes from the
database and loading into memory at the start of the application. When
a form is created for the first time,the form and all the form
controls are created based on the transaction codes.The form is then
saved into a form factory. If that form is required again then it is
loaded from the form factory.
I would appreciate some comments or suggestions to this approach.
Thanks and Kind Regards;
Ajit Goel