Browse by Tags

Related Posts

  • Dynamically filling an ASP:Table with controls based on database content

    Hi I'm filling an ASP:Table with rows, cells and controls based on info I get from a database. For example : private void AddRowToTable(Table TableName, string LabelText, int IDNumber, SqlDataSource ComboContents) { TableRow tr = new TableRow(); TableCell tc = new TableCell(); Label l = new Label...
    Posted to Web Forms (Forum) by GrimStoner on 10-15-2008, 12:00 AM
    Filed under: Table, controls, DropDownList, dynamic
  • How to use dynamic dropdown with browser back button.

    The problem is that the back button in the browser does not work properly. I set the property smartNavigation = "false" Please, assume I changed dropdownlist1 slectedIndex and clicked the summit button, then, I changed dropdownlist2 selctedindex and clicked the summit button, then, I changed...
    Posted to Web Forms (Forum) by IngridSpringer on 09-27-2008, 12:00 AM
    Filed under: web page, .NET 2.0, ASP .NET 2.0, controls, dropdown, Dropdownlist, user control, browser, How to programmatically bind data to a Dropdownlist?
  • String in a Drop Down List

    I'm trying to use a string in a drop down list ie.. the name "Cooper" and I get this error when I try to view the page. Conversion from string "Cooper" to type 'Decimal' is not valid. My database field is a nvarchar(255) and I have even tried changing it to a text type. What causes it to try and convert...
    Posted to Data Presentation Controls (Forum) by tchager on 04-27-2007, 12:00 AM
    Filed under: Controls, controls list, Data list, DropDownList
  • Cannot acess DropDownList in EditItemTemplate within a DetailsView

    I am trying to access a dropdown list control that is in a detailsview: < asp : TemplateField HeaderText ="Person" SortExpression ="PersonId"> < EditItemTemplate > < asp : DropDownList ID ="DropDownList1" runat ="server" Style ="position: relative" OnDataBound ="DropDownList1_DataBound...
    Posted to Data Presentation Controls (Forum) by jbarrcfl on 11-17-2006, 12:00 AM
    Filed under: Controls, DetailsView, DropDownList, Detailsview dropdown problem, BoundColumn
Page 1 of 1 (4 items)