(RadioButtonList1_SelectedIndexChanged) EVENT not firing

  • Thread starter Thread starter KevinRug
  • Start date Start date
K

KevinRug

I have a C# web project with a radioButtonlist control. I have 4
items/values (0,1,2,3).
I am trying to retrieve the value for a database call.

I put a breakpoint in the event RadioButtonList1_SelectedIndexChanged but
when i select various items in the control,
the event is not firing.eg the breakpoint is never activated.

I have tried removing the control and recreating it, as i had this problem
before and that fixed it.
I also removed all associated code, but it still did not work.

then I started a new sln/project and it behaves the same way (ie Not firing
the breakpoint)

Can anyone suggest why the event does not fire and how to fix.
thanks
kevin ruggles
 
Kevin,

Mostly is this because the option "autopostback" is not set to true.

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top