Browse by Tags

Related Posts

  • Populating multiple dropdownlists from a single database field.

    Hi, For this project I'm using .Net 1.1 and VB. I'm trying to create ddl's for the 'date of birth'. That is, one ddl for month, one for day, and one for year. I want to combine those values and update a single 'dob' field of the table (currently in MS Access). Also, I need...
    Posted to Web Forms (Forum) by Swackhammer1 on 09-07-2006, 12:00 AM
    Filed under: ASP.NET 1.x, ASP.NET, form, DropDownList
  • Re: Dropdown list with duplicates

    I needed to remove duplicate years from a DropDownList and so I created the following class in C#: public class Ddl { public Ddl() { } public static void RemoveDuplicateItems( DropDownList ddl) { for ( int i = 0; i < ddl.Items.Count; i++) { ddl.SelectedIndex = i; string year = ddl.SelectedItem.ToString...
    Posted to Web Forms (Forum) by KD34XBR960 on 09-14-2006, 12:00 AM
    Filed under: c#, DropDownList
  • Populating a Dropdown List on Page Load

    I'd like to populate a dropdown list on page load, on a web form. Like this: <!-- make this automatically inset this year, and next year --> <% Dim thisYear Dim nextYear Date.Today.Year.ToString(thisYear) nextYear = thisYear + 1 %> <asp:DropDownList ID="DateYear" runat="server">...
    Posted to Web Forms (Forum) by roseability on 09-27-2006, 12:00 AM
    Filed under: form, DropDownList, ASP.NET 2.0
  • DropDownList DataBinding in GridView with Insert Row

    Hi! Using the tutorial at http://blogs.msdn.com/mattdotson/articles/490868.aspx, I managed to create a GridView with Insert Rows. However, if I place a DropDownList in an Insert Row, instead of a TextBox, I get the following error message: Databinding methods such as Eval(), XPath(), and Bind() can only...
    Posted to Data Presentation Controls (Forum) by velum on 10-09-2006, 12:00 AM
    Filed under: DataBinding GridView Insert, DropDownList
  • populate a DropDownList in a TemplateColumn of a GridView

    Hi, really really hoping someone can help with this , by modifying the my code to return values to my GridView's templated column containg a dropdownlist. I am trying to present a list of questions each of which can have different Answer types. For example some questions can be answered with Yes...
    Posted to Data Presentation Controls (Forum) by aidoco on 10-13-2006, 12:00 AM
    Filed under: GridView, DropDownList
  • Customizing FormulatorNet Values

    Has anyone worked with FormulatorNet? Its a pretty nice packaged Web Form Builder with Admin Front End. I haven't had any problems skinning it, but when it comes to setting default values I'm not doing so great. I am trying to customize its DropDownList for Countries to set value to USA. Right...
    Posted to Free For All (Forum) by Mudhawk on 10-17-2006, 12:00 AM
    Filed under: ASP.NET, DropDownList, email form
  • How to display multi-column in ASP Dropdown List?

    I am migrating a Java program into ASP .NET environment. One of the problems we encouter is displaying data (such as Neme, Title, Dept) in multiple columns in a dropdown list. I know there are ways by which you can do this in Windows form; however, I don't know if this is at all possible in ASP Web...
    Posted to Web Forms (Forum) by sg2000 on 10-18-2006, 12:00 AM
    Filed under: ASP.NET, DropDownList, DataBind DataBinding, ASP.NET 2.0, asp.NET 2.0 C#
  • Bubble Event for Accessing SelectedIndexchanged in FormView Insert Template

    I have a FormView "FormView1" which contains a drop down list "dropdownlist1" in the insert template. I need to be able to get the value when the selected index is changed in the drop down list. I understand this is done using bubble events. How do I do this in c#? Cheers, Roger.
    Posted to Data Presentation Controls (Forum) by mcnallyr on 10-19-2006, 12:00 AM
    Filed under: FormView, DropDownList, asp.net 2.0
  • DropDownlist1.databinding(); is not working.

    Hi guys... DropDownlist1.databinding(); is not working. I mean to say it is not working as like Gridview1.databind() or formview1.databind(); My DropDownList1 is connected with Database(I have used select distinct ). What I was expecting when I will use DropDownlist1.databinding();, It will give me current...
    Posted to Data Presentation Controls (Forum) by BhaveshPatel on 10-19-2006, 12:00 AM
    Filed under: DropDownList
  • How can I add instructional text to my DropDownList?

    I want to add instructional text to my DropDownList, with out making the text as one of the index in the list, i.e. “please click here” or “please select your subject”, is this possible? I am using VS 2005 and Visual basic Language Could you please advice.
    Posted to Web Forms (Forum) by faezeh on 10-19-2006, 12:00 AM
    Filed under: DropDownList, DropDownList FindByValue
Page 1 of 24 (240 items) 1 2 3 4 5 Next > ... Last ยป