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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Pramod Kumar NandagiriPosted Feb 21, 2012, 5:24 AM
Gunti DilipPosted Feb 21, 2012, 7:02 AM
Gunti DilipPosted Feb 21, 2012, 4:15 AM
Pramod Kumar NandagiriPosted Feb 21, 2012, 3:34 AM
{
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 DilipPosted Feb 21, 2012, 2:11 AM
Pramod Kumar NandagiriPosted Feb 20, 2012, 11:32 AM
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....