CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 6/22/2007 9:29:06 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 250 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
shriniv78@gmail
Asp.Net User
ArgumentOutOfRangeException: '' has a SelectedIndex which is invalid because it does not exist in the list of items.6/22/2007 9:29:06 PM

0

Guys,

I am facing the following issue. I don't know if any one has found any solutions for the problem. It is not exactly the same.

I have a form view, and in my dropdownlist I bind a value that is not in the collection. I am databinding using an objectdatasource.

Microsoft has also recognized that as a bug.

Rebinding a DropDownList with a SelectedValue AFTER a PostBack (when the dataObject is empty) causes errors
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=103744

Please advise,

Shrini

stelianx
Asp.Net User
Re: ArgumentOutOfRangeException: '' has a SelectedIndex which is invalid because it does not exist in the list of items.6/23/2007 1:59:01 AM

0

AppendDataBoundItems is True or False?


Yours,
Popa D. Stelian
MCP/MCAD/MCSD
ROMANIA
shriniv78@gmail
Asp.Net User
Re: ArgumentOutOfRangeException: '' has a SelectedIndex which is invalid because it does not exist in the list of items.6/23/2007 6:38:58 PM

0

It is already set to true, but being it is a simple drop down it is not appending.

Please advise,

shrini

Hong-Gang Chen
Asp.Net User
Re: ArgumentOutOfRangeException: '' has a SelectedIndex which is invalid because it does not exist in the list of items.6/28/2007 2:13:29 AM

0

Hi shrini,

Could you paste your code here?  And would you please give us a more detailed description about your problems? I am afraid I cannot 100% understood your problem.

Waiting for your feedback,

Hong Gang


Sincerely,
Hong Gang Chen
Microsoft Online Community Support
Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
System.ArgumentOutOfRangeException: 'DropDownList' has a ... Talk about System.ArgumentOutOfRangeException: 'DropDownList' has a SelectedValue which is invalid because it does not exist in the list of ...
'DropDownList' has a SelectedValue which is invalid because it ... 'DropDownList' has a SelectedValue which is invalid because it does not exist in the list of items. As it is possible for the user to change ...
System.ArgumentOutOfRangeException: 'delcode' has a SelectedValue ... ArgumentOutOfRangeException: 'delcode' has a SelectedValue which is invalid because it does not exist in the list of items. ...
'dd_countries' has a SelectedValue which is invalid because it ... [ArgumentOutOfRangeException: 'dd_countries' has a SelectedValue which is invalid because it does not exist in the list of items. ...
SelectedValue which is invalid because it does not exist in the ... ArgumentOutOfRangeException: 'ddlTypeofpres' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value ...

ArgumentOutOfRangeException: '' has a SelectedIndex which is ... ArgumentOutOfRangeException: '' has a SelectedIndex which is invalid because it does not exist in the list of items., > ROOT > NEWSGROUP ...
Unable to add Messaging namespace - ng.asp-net-forum ... ArgumentOutOfRangeException: '' has a SelectedIndex which is ... Message="' ASSIGNED TO' has a SelectedValue which is invalid because it does not exist in ...
Help: How to open a modal window after logged in - ng.asp-net ... ... ng.asp-net-forum ... need help ยท argumentoutofrangeexception: '' has a selectedindex which is invalid because it does not exist in the list of items. ...












surce formating problem

debugging javascript in a compiled asp page

problems usings remote iis option

how to generate resource files?

ide crashes after publishing

please help me!

visual sourcesafe 6.0 hangs when opening project in vs2005

unwanted white space around asp images

debugger: unable to start ie

moss development on 64 bit server

access amazon webswervice by windows application

trouble with system.transactions

problem in documentstream property of webbrowser control

wizard & fileupload control problem

add an activex control to webform

creating a dll from a .net 1.1 project

help file preferred collection

web deployment projects - fusion mismatch error with strong named references

slowness to see new controls

svn applied for version control of my web application,but no tag overlay in ide.help!

where is the web service's project file?

extending sqldatasource - where's the toolbox icon?

help!! i missing all controls on webpage.

selecting controls with a click and drag rectangle in visual developer studio 2005

asp to visual studio 2005

radio buttons redirect

vs .net 2005 doesn't detect error and update code, debug!!!

error in web.config after building in asp.net 2.0 final

does vs2005 unit test framework fire test method start and end events?

404 error -

   
  Privacy | Contact Us
All Times Are GMT