i want to generate controls like textbox,checkbox dynamically,based on control type in database using if condition in code in mvc. can any one help me how to achieve that
for example,if(control type==cb){textboxgeneration code}
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Mohammed Deeb HammoudehRank #1,485 · 1.1K reputationPosted Dec 14, 2016, 10:32 PM EST