ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Giving explicit Id to controls.
Title:
B
I
{code}
?
How can I assign explicit Ids to Awe().TextBoxFor, Awe().AjaxRadioList???
Save Changes
Cancel
Sam Mosaic
asked at 22 Dec 2019
the name of the textbox will serve as id as well
at 22 Dec 2019
Omu
It means , we cannot assign different Id explicitly to any control??
at 22 Dec 2019
Sam Mosaic
yes, but you can set `.Prefix("abc")` this will set a prefix for the id
at 22 Dec 2019
Omu
Thanks a lot ! you saved my hours.
at 22 Dec 2019
Sam Mosaic
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK