473,563 Members | 2,904 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive

I'm getting the error:

'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive

when I try to populate a series of dropdowns... any idea what I could be
doing wrong here?

Thanks.
--

"I hear ma train a comin'
.... hear freedom comin"
Nov 19 '05 #1
2 1924
Post some code
That could help
Paatrick

"Stimp" <re*@spumco.com > wrote in message
news:sl******** ********@carbon .redbrick.dcu.i e...
I'm getting the error:

'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive

when I try to populate a series of dropdowns... any idea what I could be
doing wrong here?

Thanks.
--

"I hear ma train a comin'
... hear freedom comin"

Nov 19 '05 #2
Ok so it's not a commonly-known error?... see I don't know which of the
3000 lines of code to post since SelectedIndex and SelectedValue are
interspersed liberally throughout.

Oh well, I'll hack away at it.

On Mon, 24 Oct 2005 Patrick.O.Ige <pa********@opt usnet.com.au> wrote:
Post some code
That could help
Paatrick

"Stimp" <re*@spumco.com > wrote in message
news:sl******** ********@carbon .redbrick.dcu.i e...
I'm getting the error:

'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive

when I try to populate a series of dropdowns... any idea what I could be
doing wrong here?

Thanks.
--

"I hear ma train a comin'
... hear freedom comin"


--

"I hear ma train a comin'
.... hear freedom comin"
Nov 19 '05 #3

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

Similar topics

5
1862
by: wooks | last post by:
I have defined a schema with an xsd:choice element for 2 mutually exclusive fields. When both are present I get an error which is good, but what is not so good is the error message which says something like "Element content is invalid. Expecting: fieldname, {...." The problem (if it is one) is that the "Expecting: fieldname..." bit is...
1
1439
by: Tony | last post by:
How do I to define a tag wit two attributes that are mutually exclusive? So I want the tag to look like this: <COM:description choice1="blah"> or <COM:description choice2="blahblah"> BUT NOT <COM:description choice1="blah" choice2="blahblah">
0
1780
by: jac | last post by:
Hey, this.CmbDataSource = SoortKwijtingList.Items; // Arraylist this.Cmb.DisplayMember = "Omschrijving"; this.Cmb.ValueMember = "Id"; this.Cmb.SelectedIndex = -1; (short description : I have a grid and an input area with a textfields, combobox and 3 buttons add, update and delete. add : make a new record with
4
9645
by: Emil | last post by:
Can somebody tell me what would be the syntax for having an if statement and setting the selected index of a radiobuttonlist? This is my first project using ASP.net and I use C#. I have a repeater with like a table layout and in the last column I want to have three radio buttons (for each row in repeater). The value of the radio button should...
5
10092
by: Stimp | last post by:
Hi all, I've come back to this problem again and I've identified which part of my code is producing the error: "'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive" I have a dropdown 'Year' and it contains a list of years from 2000 to 2005. This dropdown is populated on page load.
2
3368
by: arun | last post by:
Hi Can any one suggest me how to access the mutually exclusive check box extender in a table of 7 rows by 14 columns. Only one can be selected in each row. Other than checking each one with if condition is there any other way( for example by using their keys or something). Please help me. Arun( arun@greettech.com )
4
8095
by: Dooman | last post by:
Hello, I am getting this error when binding a drop down list box to a dataset: The 'SelectedIndex' and 'SelectedValue' attributes are mutually exclusive I have looked at other posts and they al refer to this error when accessing data in the list box.
1
3218
by: marcbb | last post by:
Hi all, I have a really strange problem working with Dropdownlists in a DataGrid. I'm trying to preselect some values from the DropDownlist for each row in the DataGrid, but it seems that both selectedIndex has the same reference and modifying the first one also automatically modify the second one. For example:
0
1008
by: katmagic | last post by:
I have the selectedindex of a gridview, but no value. How do I set the selectedvalue of a gridview? My scenario: I have 3 gridviews on a page, all of which use the same insert record control. When the user inserts a record, everything works fine because it is getting the selectedvalue of the gridview that is selected. However once a...
0
7665
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7888
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7642
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.