I've got a UserControl that's used inside of an UpdatePanel.
The UserControl is a fairly simple form that appears via a ModalPopupExtender (which is also part of the UserControl). There are four DropDownLists, as well as some other UI elements.
Three of the four DropDownLists have AutoPostBack="true", with SelectedIndexChanged events ...
Hi i want to add the particular field in dropdownlist by coding
so hows that's possible
...
Hi Guys,
Im tyring to use AJAX to populate a dropdown box based on the selection of another dropdown. I followed a tutorial using jQuery located here - http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-ajax/ and have altered the select box ID names in the select box names in the script.
When a chagne the value o...
How do you create a dropdown menu to sort calendar events in drupal calendar module?
I know many people are struggling with this same issue. Can anyone help???
Thanks in advance!
...
I have a dropdown list in an MVC view. On selection change of dropdown list I want to call specific action method in the controller.
What I have done on view is this :
<%=Html.DropDownList("ddl", ViewData["AvailableList"] as SelectList,
new { onchange = "this.form.action='MyMethod';this.form.su...
This probably very basic so excuse.
Am trying to do a search with values from two drop down lists. These values are not in the database, but will query a field in the database to retrieve a result.
Am able to do if I put the values in the db (two drop down list fields), but user must be able to select on their own.
Thank you
...
Hi
I have a MVC dropdown list (Html.DropDownList) with list of Movies populated. I want to retrieve both Title(value field), Description(Text field) when I perform the form Submit. I can access the Title(value field), but I can't access the description. My code sample is below.
//View Model.......
public class Cinema
{
public s...
I am trying to load options to drop-down list depending on the selection made on other drop-down list. I have written a code which works on almost all major browsers, FF, Opera, Safari but doesn't work in IE7.
Here is my Javascript code:
<script type = "text/javascript">
var txt1 = "<option>state1<\/option><option>state2<\/option><opti...
I have a ASP DropDownList with item added to it. all what I want is to make the selection after the page loaded empty so there should not be selected item.
How can I do that.
...
I have a set of values that are present on the page loading:
eg [1193,1184,2372].
I have a dropdownchecklist which can take a single value like so
$(".ddl").dropdownchecklist().val(1193);
When I rebind the dropdownchecklist this selects the value correctly. However I've tried passing my array containing multiple values to the val() met...
Hi folks,
I'm about to start a new ASP.NET MVC application. In it we have a number of drop downs lists/boxes. I have no problem rending them to the ui etc.
My two questions are:-
Is it possible to bind the selected value of a drop down list to an enumeration? Does anyone else actually do this (if this is possible)
Are there any goo...
I am really confused about ASP.Net MVC (2.0 RC) DropDownList. It doesn't seem to accept my selected item.
Here is my SelectListItem list (it is created inside loop. Selected being boolean)
savingTypesList.Add(new SelectListItem() { Selected = selected, Text = type.Name, Value = "" + type.SavingTypeId });
Creating SelectList itself..
...
Hello everybody,
I am having trouble getting the functionality we want in our Create View in our ASP.NET MVC application.
We have got two DropDownLists in our Create View.
One is a selection of categories and the second should be populated with items based on the id value of the first category selected. (They have a FK relationship)....
Hi,
I am working on an application where we submit details to an external web page that we have no access to make any changes to. The external page is a .htm page. We want to be able to pre-populate the .htm page with the details from our WCF service and proceed to the next stage without user intervention.
The problem is that there is...
Hi, I'm having this problem with a .NET DropDownList control.
PROBLEM: Every time I do a postback, It just defaults to the same first option tag as the one selected. I can't seem to get it so that it is pointing to the actual selected .
Basically, here is what is happening.
I make a DropDownList control in Default.aspx
<asp:DropD...
I'm building a small website using ASP.net/C# and I wanted to know how to implement a simple search feature using a text box and a dropdown.
The datasource is a products table and in the text box I enter the product's name and in the dropdown are the categories. (I have managed to populate the dropdown with the available categories alre...
Hi all,
How can I, using JQuery, check if a value belongs to dropdown list or not?
Thanks in advance.
...
I have 2 tables with unique IDs that can be mapped to each other (one table comes from a database outside of my application but has information about the same entities I'm tracking). I want to provide a UI for linking "my" records with the "other" ones, so I can store the "other" IDs in my table for the matching records. In a nutshell, t...
Hello,
I am creating a dropdown that slides down when hovered over. This is some code that I had. I want to use HoverIntent to accomplish this goal.
.menu_img is the class on the image that is hovered over to start the slide down of the list
.page_nav is the class on the list that slides down when .menu_img is hovered over.
$(docu...
Suppose I am having three dropdownlist controls named dd1, dd2 and dd3. The value of each dropdownlist comes from database. dd3's value depends upon value of dd2 and dd2's value depends on value of dd1. Can anyone tell me how do I call servlet for this problem?
...