| | | 
Progenic Family

Group: Old Skool Last Login: Today @ 12:17 PM Posts: 576, Visits: 3,876 |
| Problem... I have some RadioButtons within the Accordion, I want to make it so that when one of the radio buttons is selected then the user is forwarded to another page. Ive achieved this without the Accordion in the past, using the "autopostback=true" option and then calling a sub when a radiobutton is checked: "OnCheckChanged=name_of_sub"
I try this exact same method with Radio Buttons that are within an Accordion and I get the following error: "Object reference not set to an instance of an object." - So I tried to declare/find the radiobutton with the following: "Dim Button1 As RadioButton = Accordion1.FindControl("Button1")"... but still I get the same error.
Has anyone been able to put a radiobutton within an Accordion control? |
| | | | 
Progenic Crew

Group: Administrators Last Login: Yesterday @ 12:27 PM Posts: 2,388, Visits: 37,337 |
| | What the hell is an accordion? Do you need to store the value, if not you could just use javascript. ----------Radio Button?
|
| | | | 
Progenic Family

Group: Old Skool Last Login: Today @ 12:17 PM Posts: 576, Visits: 3,876 |
| | Idea was that they click the radio button and then get redirected to whichever relevant page |
| | | | 
Progenic Crew

Group: Administrators Last Login: Yesterday @ 12:27 PM Posts: 2,388, Visits: 37,337 |
| Ok I don't know javascript but you want the onclick event. Google onclick javascript redirect.
|
| | | | 
Progenic Family

Group: Old Skool Last Login: Today @ 12:17 PM Posts: 576, Visits: 3,876 |
| I fixed it... to be honest im not too sure how I fixed it but i have  - And thanks electra for the nudge in the right direction |
| |
|
|