Welcome! Log In Create A New Profile

Advanced

Control Template Behaviour

Posted by Prolay Sarkar 
Prolay Sarkar
Control Template Behaviour
January 27, 2009 09:04PM
Hi,

I want to define a control template which can be used across pages and the control should be configurable so that the behavior of the control changes.

Like I have three edit controls A B & C as a control template. and

A - First Name
B - Middle Name
C - Last Name

now how to configure the control so that It starts accepting in this format and its linking to the database also changes.

A - Last Name
B - Middle Name
C - First Name

Hope i explained it right. How can i do that??

Regards,
Prolay
Fabrice Harari
Re: Control Template Behaviour
January 27, 2009 11:40PM
Hi...

1rst solution: NOT use the link from file to field, and instead set and save values by code... Change the label of the fields as needed by code also

2nd solution: in the page init code, change the X position of the fields depending of your needs

best regards

Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: