IT Community - Software Programming, Web Development and Technical Support

How to avoid duplicate the values added in dropdownlist onselectedindexchaged event

This is a discussion on How to avoid duplicate the values added in dropdownlist onselectedindexchaged event within the ASP and ASP.NET Programming forums, part of the Web Development category; HI all How to avoid duplicate the values added in dropdownlist onselectedindexchaged event? Thnx Kirthika...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-07-2007, 07:56 AM
KiruthikaSambandam KiruthikaSambandam is offline
D-Web Analyst
 
Join Date: Aug 2007
Posts: 332
KiruthikaSambandam is on a distinguished road
Default How to avoid duplicate the values added in dropdownlist onselectedindexchaged event

HI all

How to avoid duplicate the values added in dropdownlist onselectedindexchaged event?

Thnx
Kirthika
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-07-2007, 11:31 PM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
vadivelanvaidyanathan is on a distinguished road
Default Re: How to avoid duplicate the values added in dropdownlist onselectedindexchaged eve

You want to show unique values in the dropdown list or its having issues with the SelectedIndexChanged event? Shall you explain your question in detail?

-V.Vadivelan
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-08-2007, 07:45 AM
KiruthikaSambandam KiruthikaSambandam is offline
D-Web Analyst
 
Join Date: Aug 2007
Posts: 332
KiruthikaSambandam is on a distinguished road
Default Re: How to avoid duplicate the values added in dropdownlist onselectedindexchaged eve

I have Group of values in a dropdownlist, i just add these values using dropdownlist.item.add function in page load event, and i set the auto postback to true for the dropdown list, on selected index changed i call the function named GetValueFromDropdown, after the function called i seen the dropdown contain duplicates of the original items.



thnx
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate Content vadivelanvaidyanathan Search Engine Optimization 11 02-27-2008 11:10 AM
how to bind values of onedropdownlist to another dropdownlist in another page? poornima ASP and ASP.NET Programming 0 02-03-2008 09:07 PM
event.clientX and event.clientY is working in IE but not work in firefox? senraj HTML, CSS and Javascript Coding Techniques 2 08-08-2007 05:27 AM
How to establish a COM event sink with return values in the .NET Framework by using V kingmaker ASP and ASP.NET Programming 0 07-24-2007 12:06 AM
When designing a database table, how do you avoid missing column values for non-prima Arun Database Support 2 07-18-2007 10:43 PM


All times are GMT -7. The time now is 03:17 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0