on 08-25-2010 9:02 PM
Hi,
I am generating different view element in WD application dynamically. How to handle special characters other than '-/ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789' for the attribute name dynamically?
Thank you, in advance.
Trupti
Going with the obvious response - don't use them?
if you're using dynamic code, there is no reason (other than debug support) to give your created elements any meaningful name.
Just generate a GUID for each new element and use that.
If you need to be able to later search for and update the element a simple lookup table of GUID to reference string should work reasonably well.
Cheers,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.