Advertisement

04.20.2008 at 01:45PM PDT, ID: 23338120
[x]
Attachment Details

when selecting different radio button option, the page is not updating/refreshing content

Asked by amillyard in Microsoft Visual C#.Net, .NET Framework 2.0, Visual Studio 2008

Tags: c#, asp.net 2.x, visual studio 2008 pro, sql 2005 server, iis 6

For example, there is a radio option as follows:

Application Type : Single   Joint    

When selecting either option, I wanting to update the page so a Panel will appear or disappear according to which radio button is selected.

i.e. if single option -- then the 2nd application panel disappears.

I have gone into the 'events', 'checked changed' section and added the attached scripting...but the panels are appearing or disappearing when pressing the radio button options.

I know the panels do work as when this page is loaded, is pulls current record from db and displays 1 or both panels fine...just seems to be this radio button is not updating the screen propertly.
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
protected void RadioButton_ApplicationTypeJoint_CheckedChanged(object sender, EventArgs e)
        {
            Panel_PersonalDetails_App2.Visible = true;
        }
 
        protected void RadioButton_ApplicationTypeSingle_CheckedChanged(object sender, EventArgs e)
        {
            Panel_PersonalDetails_App2.Visible = false;
        }
[+][-]04.20.2008 at 02:06PM PDT, ID: 21397601

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.20.2008 at 02:07PM PDT, ID: 21397603

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, .NET Framework 2.0, Visual Studio 2008
Tags: c#, asp.net 2.x, visual studio 2008 pro, sql 2005 server, iis 6
Sign Up Now!
Solution Provided By: imateyelectronics
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628