i have 1 textbox tb1 with 2 radiobuttons rb1,rb2
if rb1 checked tb1 accept only numeric with special characetes.
if i enter alphabets how to show error msg.
if rb2 checked it accepts any input data.
how to write code for above requirements..
plz explain with example..