473,513 Members | 2,358 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RadioButtonListControl

Hi All,

I am having problem with the code below.

<asp:RadioButtonList ID="RadioButtonList1" runat="server"
OnSelectedIndexChanged="RadioButtonList1_SelectedI ndexChanged">

The OnSelectedIndexChanged event doesn't occur when you select a new
item on the radiobuttonlist as you would expect, but it occurs when 'a
new post is made to the server'.

E.G. if I change the selection in the radiobuttonlist, and then hit a
button on my web page then the 'OnSelectedIndexChanged' event occurs
then.

Anyway at the end of the day I want an event that will guarenteed occur
everytime the user selects something different in the radiobuttonlist.

Thanks,

Peter.

Mar 4 '06 #1
1 862
Set its AutoPostBack = True

HTH

"BobLaughland" wrote:
Hi All,

I am having problem with the code below.

<asp:RadioButtonList ID="RadioButtonList1" runat="server"
OnSelectedIndexChanged="RadioButtonList1_SelectedI ndexChanged">

The OnSelectedIndexChanged event doesn't occur when you select a new
item on the radiobuttonlist as you would expect, but it occurs when 'a
new post is made to the server'.

E.G. if I change the selection in the radiobuttonlist, and then hit a
button on my web page then the 'OnSelectedIndexChanged' event occurs
then.

Anyway at the end of the day I want an event that will guarenteed occur
everytime the user selects something different in the radiobuttonlist.

Thanks,

Peter.

Mar 5 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7062
by: haroldsphsu | last post by:
Hi all, Is there a way to get the ClientID of individual items in a RadioButtonList? Thanks, Harold
0
7267
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7553
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7120
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5697
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3247
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
466
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.