dropdownlist

how to display items in listbox

hi how to display list of items in list box while choose a particular item in dropdown list. ex: thiru is a developer he done some modules. in dropdown list has a list of developers while choose thiru in this list i want to display a what are all the modules completed by thiru that can be listed in listbox I am using Vis...

How do I styling disabled SELECT (DropDownList) in IE?

I'm writing in ASP.NET (which may be irrelevant in the end). I've already addressed styling the gray on gray default style of disabled/readonly TextBoxes (HTML INPUT), now I'm trying to tackle DropDownLists (HTML SELECT). I've tried these--which work fine for TextBoxes--but none work for dropdowns: .ReadableReadonly, select[disabled],...

tooltip on a dropdown list

Is there anyway of showing a tooltip on the dropdown list? such as when the list is dropped and a person hovers over each option a tooltip or something with details appears. this is for a drop down list with a cascading drop down. this is for asp.net ...

dynamically assigning datasource to a drop down list

i m trying to create a drop down list that takes values on the basis of previous selection from differnt tables in the database. a table of mine has 3 columns : ID , name and 1st entry date i m provide 3 radiobuttons if 1st radiobutton is checked then the dropdown list should show all the IDs present in the table, if 2nd is checked the...

Dropdown box Index issue

I have one dropdownbox(ddlCountry) containing allcountries,If i select USA it will display grid displaying Tax information related to USA.If i edit information in grid and if we change country USA to UK in dropdown box in the ddlCountry(not the dropdownbox coming in the edit window of grid,,no problem for that) it displaying error like ...

Specified argument was out of the range of valid values

I have one dropdownbox(ddlCountryTax) containing allcountries,If i select USA it will display grid displaying Tax information related to USA.If i edit information in grid and if we change country USA to UK in dropdown box in the ddlCountryTax(not the dropdownbox coming in the edit window of grid,,no problem for that) it displaying error ...

iPhone Drop Down Box in a UIWebView

Hi all, i am using a select tag in a UIWebView in my application but facing with some problems. (maybe they are not the problems but i m soo new for iphone programming) when the select box is clicked a UIPickerView opens, is there any way to disable it? when the select box is clicked it gets lost and when i click to its place again it...

Mega dropdown lists

I want to make a megadrop down like the one used in Rails gudes site (http://guides.rubyonrails.org/) or the ones used in BaseCamp.CAn they be done using the Rails form helpers?? ...

Asscociate action to on_change for form.select in Rails???

the following is my dropdown to select chat rooms: <% form_for :chat_room do |form| %> <%= form.select(:title, @chat_rooms.collect! {|x| x.title},{:include_blank =>'select a chat room'}) %> <% end %> My routes are: ActionController::Routing::Routes.draw do |map| map.resource :account, :controller => "users" map...

Need help in dropdownlist control

Hi all, I have ridiculous problem with dropdownlist.Through for loop i have inserted dropdown value for Day,Month and Year. But when i am submitting the form after selecting the Day,Month and Year from Dropdownlist,the list item value is reindexing after each submitting.Ex.For Day 1 to 31,Month 1 to 12, year 1970 to 2009.After Submittin...

Can HTML be embedded inside PHP "if" statement?

I would like to embed HTML inside a PHP if statement, if it's even possible, because I'm thinking the HTML would appear before the PHP if statement is executed. I'm trying to access a table in a database. I created a pulldown menu in HTML that lists all the tables in the database and once I select the table from the pulldown, I hit the...

DropDownList in conjunction with file upload in asp.net mvc

I have a file upload function in my asp.net mvc application that allows users to upload an xslx file containing data that should be persisted to a database. That data can be related to one of many categories. I need to be able to discern which category the data that is coming in is supposed to be related to, so I thought that a drop down...

Dynamic validation based on selected item in dropdownlist

Hi, In my .aspx page, I have a dropdownlist and a textbox. The textbox has to be validated depending on the selection in the dropdownlist. I have only used the validation control on the .aspx page itself (not codebehind). How can I dynamically change the type of validation on the textbox? programatically? ...

Dropdownlist AppendDataboundItems (first item to be blank)

Hi, I have a drop down list inside an update panel that is populated on postback from a sql data source. It has a parameter which is another control. I sometimes need multiple postbacks, but what happens is that each time the update panel refreshes, items are added to the dropdownlist. So the dropdown list ends up having data that is i...

Populating Nested Repeater Drop Downs C# .NET Linq

I have nested repeaters that create a table with each cell consisting of 3 drop downs. I set the selected value of the drop downs by looping through the repeaters and assigning them to the result of a linq statement. The number and characteristic drop downs work fine, but the make drop downs all get set to the last value assigned. Doe...

How to bind to a dropdown list wih no value

Hi all, I have written some code to do a bulk update of a gridview. In the gridview one of my template fields has a drop downlist: <asp:DropDownList ID="DDLCategories" runat="server" DataSourceID="odsCategories" DataTextField="txtCategory" DataValueField="intCategoryID" SelectedValue='<%# Bind("intCategoryID") %>'> <asp:ListIte...

Customizing an AJAX AutoCompleteExtender with a checkbox

I wanted to implement a multi-select AutoCompleteExtender that displays a checkbox on each row. I found some examples that implement checkboxes in dropdown lists, but nothing involving the AutoCompleteExtender. Any ideas? Thanks. ...

In IE6, when I display a modal, a dropdownlist from the parent page is visible on top of the model

In IE6, when I display a modal, a dropdownlist from the parent page is visible on top of the model. i.e. the dropdownlist from the parent page is overlaying above the model popup. In firefox and IE 7 it is fine (the dropdownlist is tucked underneath the model like it is suppose to). Any ideas what it can be? ...

.net dropdownlist align text

I am trying to align the text in my .net dropdownlist to the right. Using CssClass I am able to align text to the right in Firefox. IE doesn't not align text to the right it aligns to the left. I have read that IE 6 doesn't support this. Is this true? I am using IE7 but most of my users will be in IE 6 so, both need to work. <asp...

On Change event for dynamically created Drop dow list VB.NET

Hi, I have a website where the user requires to add and remove Headlines from the main page. The headlines are stored in a database with a column titled 'Display' (true or false) which decides if the headlines appear. I want the user to have the ability to add or remove headlines from the main page, so have created another page which cre...