Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field Security with MM
Message
 
To
23/08/2004 19:25:16
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00935527
Message ID:
00935919
Views:
26
>I understand that the control ID is assigned by a wizard. That means a particular field of a particular table that appear in more than one form, will have different control ID. Is there a way the the control ID of a field by default takes the form of "tablename_fieldname". This would ensure one field in one table can have only one control ID in all the forms that the field appear. In this case, it will be easier for my report engine to call a function by passing the table name and field name.

Even though the ID can be automatically assigned by the wizard, you can use the same ID on multiple UI controls simply by copying and pasting it into the ControlID property of the UI control.

Even though the SecurityPK field in the Security table is a varchar, the MM .NET Security Manager methods accept control IDs of type GUID, so you can't use the table name / field name convention.

That said, we do have plans to create a data dictionary for MM .NET in the future that will allow you to specify a unique ID for a table/field that will be automatically applied to user interface elements for you. This is still a ways away (we're working as fast as we can <s>).

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform