Click here to Skip to main content
15,896,453 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hii ,

I am binding two radiobuttonlist ..

DataHelper.BindCompanyObjectivesRadioButtonList(ref rdoButtonCompanyObjectives,ref rdoStatus);

but rdoStatus_selectedindexchanged event is not gets activated when i try to change the event ..


where is the problem i am not able understand d plz suggest


My drop down gets binded but the vent is not working ..
Posted
Updated 11-Oct-13 5:33am
v2
Comments
Sergey Alexandrovich Kryukov 11-Oct-13 23:00pm    
There is no such event as "rdoStatus_selectedindexchanged". Perhaps this is the method you added as an event handler, but how do we know that? You need to show a short but comprehensive code sample.
—SA
Sergey Alexandrovich Kryukov 14-Oct-13 1:26am    
I removed your reply. Please try again, in a more appropriate way. And no, there is no such event. What you show is a method. Do you even know the difference?
—SA
Torakami 14-Oct-13 1:43am    
<span class="Title">Organisational Status</span>
<asp:RadioButtonList ID="rdoStatus" runat="server" RepeatDirection="Horizontal" AutoPostBack="true" OnSelectedIndexChanged="rdoStatus_SelectedIndexChanged" >
Torakami 14-Oct-13 1:44am    
OnSeectedIndexChanges is what now ???
Sergey Alexandrovich Kryukov 14-Oct-13 1:48am    
This is not an event. This is a method raising the event SelectedIndexChanged, which allows you to do the same thing as handling the event:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listcontrol.onselectedindexchanged.aspx.

And rdoStatus_SelectedIndexChanged is also not an event, but this is a method you use as an event handler...

—SA

1 solution

Hello Dear Friend
You can use Radio List Button Except of Radio Button.If it solved your question then ok , if not tell me again.
Yours Farhad
 
Share this answer
 
Comments
Torakami 11-Oct-13 11:38am    
I didnt get you .. you mean i shouldnt use radio button list ?? whats wrong with this ?/ it should work
Sergey Alexandrovich Kryukov 11-Oct-13 23:02pm    
How can you write such gibberish? OP is already using RadioButtonList. And you are posting it as an "answer". Have some shame!
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900