on 08-29-2009 6:32 PM
Hi all,
Here I have a requirement:
on my UI, there is an inputfield which receives user's input. But the data type can't be known at design time.
But I need to bind a context attribute to the inputfield first at design time, which data type should I use( the inputfield can recevie
data of any type ) ?
and how to convert the this data type into different data type( can be any type )?
Hello Aaron,
There can be a workaround for your requirement.
you can assign a char data type to that field since Char can accept all characters, numbers, special symbols.
But, you need to do validations later on the see if it is a number or all alphabets and accordingly you can assign that field to any data type by doing little bit of manipulations.
Hope this helps.
Regards,
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.