473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Radiobutton Groupname Property

Hi,

one day I tried to build a WebUserControl with a RadioButton inside. I
added 6 of the WebUserControls to my Page and wondered why I was able
to select each Radiobutton.
I looked at the HTML code and found out, that the Groupname was
modified. It was my Groupname with the WebUserControl.ID infront.
So I searched and found this:
http://support.microsoft.com/default...b;en-us;316495

So I derived my own RadioButton and rewrote the Render function (btw:
today I found this -
http://www.codeproject.com/aspnet/Ho..._RButtons.asp).

Now in days where we have ASP.NET 2.0 I thought this bug should have
been fixed. But it seems it is not. Can anyone pls confirm this?

To reproduce this, do the following:
- Create a Project (ASP.NET c#)
- Add a WebUserControl
- Add a Rediobutton to the WebUserControl
- Set the Groupname Property
- Add the WebUserControl to the Page

Run this and select the Radiobuttons.

thx in advance
Bjoern

Nov 19 '05 #1
0 974

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

Similar topics

3
by: dave | last post by:
I have half a dozen web form radio buttons on a web form. Each of them is set to postback=true. However, if for instance radiobutton1 is already selected and the user selects it again, it performs...
0
by: Alan Samet | last post by:
If you need to get in touch with me, be sure to remove the "newsgroups" from my email address. I've developed a quick-and-dirty workaround for putting System.Web.UI.WebControls.RadioButton...
3
by: visual2005beta_developer | last post by:
I have the following problem (especially with the groupname-attribut of the RadioButton-Control) when developing in Visual Studio 2005 Beta. I load an ascx-control in an aspx-page. This...
8
by: peter hansen | last post by:
.... in VB6 it was possible to import a RadioButton which had a property called GroupName. The GroupName prevented other RadioButtons to be in the group if they didn't had the same GroupName. ...
2
by: Alan Silver | last post by:
Hello, I have a pair of radiobuttons on a form, used to select the type of search someone is to do... <asp:RadioButton ID="rdbLastNDays" Text="Show tips for the last" GroupName="rbgSearch"...
1
by: Vikas Kumar | last post by:
Hi Guys, Can I hav image with radiobuttonlist control instead of text....? Pls help me in this concern...
4
by: Jim in Arizona | last post by:
In html and ASP, I would easily code radio buttons as needed, such as: <input type="radio" name="question1" value="1">1</input>&nbsp; <input type="radio" name="question1"...
2
by: Velislav | last post by:
Hi, I've got 9 RadioButton's in a TableLayoutPanel container They all need to be in the same group, but 2 of them are in FlowLayoutPanel containers within the cells of the TableLayoutPanel,...
5
by: techvaibhav | last post by:
Hello everyone i am stuck in a very annoying problem.Hope you guys help me fix this out. I am displaying questions form a Question database along with its options. Options can be controlled by...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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
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
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,...
0
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...

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.