and also in other textboxes it should allow other than special characters
and also i tried to print the text in the textboxes in a label but i got like this
(apple boy cat doll)
but i want like below
apple
boy
cat
doll
please tell me how to do this?
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.
Gomathi PalaniswamyPosted Oct 21, 2010, 4:24 AM
use the below code
try
{
if (txtage.Text != "" && txtage.Enabled)
{
Convert.ToInt32(txtage.Text);
}
}
catch (Exception ex)
{
RadMessageBox.Show("enter valid data");
txtage.Text = "";
}
Sam HobbsPosted Oct 20, 2010, 4:32 PM
Suthish NairPosted Oct 20, 2010, 11:46 AM
or