Hi,
In my application there 4 dropdowns are there and 5 textboxes are there when user selects the data from the text fields & ddls then user enters on submit button then the data should populate to textarea.Plz share code if.
Thanks.
Loading
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
Pramod Kumar NandagiriRank #6,963 · 252 reputationPosted Feb 21, 2012, 12:24 AM EST
Pramod Kumar NandagiriRank #6,963 · 252 reputationPosted Feb 20, 2012, 6:32 AM EST
any other data or data of those textboxes and ddls any way i understand u r requirement like this..
after all the filelds are entered with values(no filed is empty) then user submits and then textarea is filled by some text
to achieve it put validation controls for for every filed, if not filed is empty then only post back occurs with submit button
and in submit_click event write the code to fill the text area....
Gunti Dilip47 reputationPosted Feb 20, 2012, 9:11 PM EST
Pramod Kumar NandagiriRank #6,963 · 252 reputationPosted Feb 20, 2012, 10:34 PM EST
{
StringBuilder sb=new StringBuilder();
sb.append("Textbox1 data:"+ TextBox1.Text);
sb.append("Textbox2 data:"+ TextBox2.Text);
.
..
sb.append("Textbox1 data:"+ TextBox5.Text);
sb.append("ddlonedata:"+ ddlone.selecteditem.text);
....
..
sb.append("ddl4data:"+ ddl4.selectedintem.text);
textArea1.text=sb.tostring();
}
Gunti Dilip47 reputationPosted Feb 20, 2012, 11:15 PM EST
Gunti Dilip47 reputationPosted Feb 21, 2012, 2:02 AM EST