Browse by Tags

Related Posts

  • dropdown list without using cascading

    hi. i want to use a drop down lists in my view. i want first drop down list for company name. and second one for product name for selected company. i dont want to use cascading for that coz in that case when page is refreshed ,value from that dropdown list disappears. is there any alternate way for that...
    Posted to ASP.NET MVC (Forum) by cmakwana on 06-13-2009, 12:00 AM
    Filed under: DropDownList, "ASP.NET MVC", DropDownList selectlist, DropDownList MVC SelectList NULL value ViewData, asp.net mvc cascading drop downs
  • How to refresh a page using button?

    Hi there. I have a page for user to delete records. Here is how I present my controls. I have a drop down list for user to choose the record to view before delete. Upon choosing and click the delete button. The page should refresh to show the latest record. Any idea how can I do that? Using vb language...
    Posted to Web Forms (Forum) by germaine.tay on 05-29-2009, 12:00 AM
    Filed under: button clickton, DropDownList
  • How to populate a DropDownList in a Template Field in a DetailsView based on the selected value of another DropDownList in a different Template Field in the same DetailsView.

    Hello all, I have a DetailsView bound to an ObjectDataSource . The DetailsView has 2 Template Fields . Each template field hast a DropDownList bound to an ObjectDataSource . DropDownList2 depends on DropDownList1. My problem is that when I try to set the SelectParameters using Visual Studio, I select...
    Posted to Data Access and ObjectDataSource Control (Forum) by payini on 05-28-2009, 12:00 AM
    Filed under: objectdatasource, Parameter Source, SelectParameters, Template Fields, Control, DetailsView, DropDownList
  • Need first item in Drop Down to be -Please Select- Formview

    Hi, I am just using the formview and built in Sql Datasource to populate a drop down list. I want the first record to be a select message, so that the onchange event can fire and build out a gridview of records based on a parameter from the drop down. I can do everything but get the blank record in the...
    Posted to Data Presentation Controls (Forum) by Lgilman327 on 05-26-2009, 12:00 AM
    Filed under: databind, DropDownList, FormView
  • Adding DropDownList on CreateUserWizard control

    Hi! I've added a DropDownList containing all user roles: DropDownList rolesList = (DropDownList)CreateUserWizard1.CreateUserStep.ContentTemplateContainer.FindControl( "RolesList" ); String[] roles = Roles.GetAllRoles(); rolesList.DataSource = roles; rolesList.DataBind(); rolesList.Items...
    Posted to Security (Forum) by biljap on 05-21-2009, 12:00 AM
    Filed under: asp.net.c#, dropdownList, add new fields to create user wizard, createuserwizard
  • Populate SQL Select Query depend on DropDown List

    Hi, I am trying to do a seach mechanizm. I have a page that has 3 dropdown controls. Here is what I try to accomplish string Agency = ddlAgency.SelectedValue; string Location = ddlBorough.SelectedValue; string Type = ddlType.SelectedValue; string strSql = "SELECT * FROM Projects"; By these...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by marijuana on 05-04-2009, 12:00 AM
    Filed under: SQL 2005, sqL statements, DropDownList
  • reset dropdownlist

    Hi there, I've got 2 dropdownlists. Both have AppendDataBoundItems="True". On ddl1 I have -Select a hotel- as a list item. On ddl2 i have -select a room- as a list item. I databind ddl1 and on event onselectedindexchanged="DropDownListHotel1_SelectedIndexChanged" i programmatically...
    Posted to Web Forms (Forum) by mongoose_za on 04-29-2009, 12:00 AM
    Filed under: reset, DropDownList
  • Radio button list enabling/disabling drop-down list

    I tried looking to see if this question has been asked before, but didn't find a solution that was helpful. I'm creating a survey. I have a yes/no radio button list, followed by a drop-down list (which is disabled when the form loads, and its RequiredFieldValidator is also disabled). When the...
    Posted to Web Forms (Forum) by perkykoala on 04-18-2009, 12:00 AM
    Filed under: enabled, RadioButtonList, DropDownList
  • Why can't I get this #(*&^ DropDownList to work in my MVC View?

    I'm following through the Nerd Dinner tutorial (with my own unique class...not Dinners), and I've gotten to around page 104 and I've run into a problem that I haven't been able to solve after 2 nights of troubleshooting. My problem is this; when I had the MVC scaffolding build my own...
    Posted to ASP.NET MVC (Forum) by Whozurmommy on 04-16-2009, 12:00 AM
    Filed under: MVC, DropDownList
  • Dropdownlist Multiple Fields using ObjectDataSource

    I have seen numerous examples using a SqlDataSource, but not too many using ObjectDataSource. I have a Dropdownlist that is bound to a ObjectDataSource. The Select method of the ObjectDataSource returns a list of Vehicle Objects. public class Vehicle { public int VehicleId { get ; set ; } public int...
    Posted to Data Access and ObjectDataSource Control (Forum) by ashish879 on 04-15-2009, 12:00 AM
    Filed under: objectdatasource, DropDownList
Page 1 of 43 (430 items) 1 2 3 4 5 Next > ... Last »