473,321 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

can u plz help me ...its urgent

18
can anyone plzzz help out to write code in c# that i have kept one radio button and one textboxes and one label button .....once the radiobutton is clicked the textbox and label should get displayed....otherwise it should be in hidden state......
Mar 17 '07 #1
6 1044
try label.visible property
it wil work
Mar 17 '07 #2
nmsreddi
366 256MB
Hello

Make auto postback property of radio button to true and write code in changed

event of the control

if(radiobutton1.checked==true)
{
label1.visible=true;
---
--

}

else
{
label1.visible=false;
}

try it out it works fine
Mar 17 '07 #3
salo
18
i tried this but im not getting the output.....and also once the raddiobutton is clicked its not getting deselected


Hello

Make auto postback property of radio button to true and write code in changed

event of the control

if(radiobutton1.checked==true)
{
label1.visible=true;
---
--

}

else
{
label1.visible=false;
}

try it out it works fine
Mar 19 '07 #4
salo
18
i tried this but im not getting the output.....and also once the raddiobutton is clicked its not getting deselected

plz members help me
Mar 20 '07 #5
plz members help me

U can use Checkbox instead of Radio button? is there any restriction for that?
Mar 20 '07 #6
Hi,
This is the answer..
try this
private void FrmBook_Load(object sender, EventArgs e)
{
rbClick.Visible = true;
rbClick.Check= false;
lbvalue.Enabled = false;
txtValue.Enabled = false;

}
private void rbClick_Click(object sender, EventArgs e)
{
rbClick.Check= true;
lbvalue.Enabled = true;
txtValue.Enabled = true;
lbvalue.Visible = true;
txtValue.Visible = true;
}
These are the things you have to write in the form load method and the event handler rbClick_Click()method...
in the UI there will be one radio button, one label and one textbox.initially both of them will be hidden.once you click on the radio button it will be shown,the enabled property is the key..ok?

Regards,
TeenzoneZ
Mar 20 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Rob | last post by:
I have a form - when you click the submit button, it appends a variable to the URL (e.g. xyz.cgi?inputID=some_dynamic_variable) It also opens a new page. Now, that some_dynamic_variable is...
9
by: Stefan Bauer | last post by:
Hi NG, we've got a very urgent problem... :( We are importing data with the LOAD utility. The input DATE field data is in the format DDMMYYYY (for days) and MMYYYY (for months). The target...
8
by: Mike | last post by:
Hello, I have a few rather urgent questions that I hope someone can help with (I need to figure this out prior to a meeting tomorrow.) First, a bit of background: The company I work for is...
28
by: Tamir Khason | last post by:
Follwing the struct: public struct TpSomeMsgRep { public uint SomeId;
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
7
by: zeyais | last post by:
Here is my HTML: <style> ..leftcolumn{float:left;width:300px;border: 1px solid #ccc} ..rtcolumn{float:left;width:600px;border: 1px solid #ccc} </style> <body> <div class="leftcolumn"...
33
by: dembla | last post by:
Hey Frnds can anyone help me in this i need a program in 'c' PROGRAM to print NxN Matrix 9 1 8 1 2 3 2 7 3 as 4 5 6 6 4 5 7 8 9 in sorted form
8
by: ginnisharma1 | last post by:
Hi All, I am very new to C language and I got really big assignment in my work.I am wondering if anyone can help me.........I need to port compiler from unix to windows and compiler is written...
3
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.