hi all...

can any one help me plzzzzzz
im very new to .net...

i hav 2 radio buttons rb1 & rb2 in a groupbox
and
2 textbox txt1 & txt2

initially rb1 is checked and txt1 and txt2 are enabeled...
when i select rb2 .... txt2 should get disabled.......

Hi;

Under radio button 2 Event Check Change (Something like that)

add this code

if rb2.checked = true then
txt2.enable=false
elae if rb2.checked=false then
txt1.enable=true
txt.enable=true
end if
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.