on 09-18-2006 8:49 AM
Hi everyone,
I created a Label and an InputField.
The Label is displayed good (not bright).
But when I specify in the LabelFor property the InputField, the text of the label gets bright.
The reason why I want to specify the LabelFor property is that I want to use the Required property of the InputField thus a star is displayed near it.
Thanks.
Hi,
How you specified labelFor property
follow the below procedure.
1. Insert UI element Label-->give the name of the lable in text property
2. Create one value attribute in context
2. Insert Input field >go to proprties select value> bind it to that context element which you created in the above step.
3. Now go to label properties labelFor--> select the inputfield from the dropdown.
I followed the same procedure. I didnt find any difference. That label is displaying normal color.
Regards,
Saraswathi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saraswathi,
It works....
I understand where was the problem.
I defined the inputfield as not enable because I want the user to select values from a window that I display and do not want him to write in the inputfield whatever he wants.
So when the inputfield is not enable, the label is displayed in bright.
Thanks for the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.