Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6834055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:03:50+00:00 2026-05-26T23:03:50+00:00

This is more like I would like to know why. The link buttons work

  • 0

This is more like I would like to know why. The link buttons work in Firefox and Chrome but not in IE-8.
EDIT:
Figures it works in IE-7 but not 8

Now if you remove the

<div>
</div>

then all the links work fine. Anyone know why.

AXPX PAGE

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="testPage.aspx.cs" Inherits="MyCompany.WEB.Pages.Secured.testPage" MasterPageFile="~/Layouts/Branding.Master" Theme="Default" %>
<%@ Register Assembly="DBauer.Web.UI.WebControls.DynamicControlsPlaceholder" Namespace="DBauer.Web.UI.WebControls" TagPrefix="DBWC" %>
<%@ Register TagPrefix="MyCompany" TagName="Toolbar" Src="~/Controls/ToolbarViewer.ascx" %>

<asp:Content ID="conToolbar" runat="server" ContentPlaceHolderID="cphToolbar">
<MyCompany:Toolbar ID="incToolbar" runat="server" />
</asp:Content>
<asp:Content ID="conHome" runat="server" ContentPlaceHolderID="cphMain">
<asp:ListView ID="lvProducts" runat="server" OnItemDataBound="lvProducts_ItemDataBound">

     <EmptyDataTemplate>There are no primary UITs</EmptyDataTemplate>
     <LayoutTemplate>
           <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
     </LayoutTemplate>

     <ItemTemplate>
      <asp:UpdatePanel ID="pnlMainUpdate" runat="server" UpdateMode="Conditional"  >
       <ContentTemplate >
         <asp:Repeater ID="rptLineItems" runat="server" OnItemDataBound="rptLineItems_ItemDataBound" >
           <ItemTemplate>
             <asp:Panel runat="server"  ID="pnLineItem" CssClass="Block ClearBoth UITOrderGroup Ledger OrderBorder FloatLeft UITOrderHeight">
             <asp:LinkButton  ID="lnkAddRow" runat="server" CssClass="IconButton Block Add" style="width:20px;" ToolTip="Add Row" CommandName="AddItem" OnCommand="lnkRow_Command" ></asp:LinkButton>
             </asp:Panel>
            </ItemTemplate>
         </asp:Repeater>
        </ContentTemplate>
       </asp:UpdatePanel>

     </ItemTemplate>
</asp:ListView>

<div class="floatRight">
    <asp:button ID="btnSubmit" runat="server" CssClass="DefaultButton floatRight" Text="Order" ToolTip="Click here to Order" Visible="true"></asp:button>
</div>

</asp:Content>

CODE BEHIND

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MyCompany.WEB.Pages.Secured
{
    public partial class testPage : MyCompanyPageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            lvProducts.DataSource = new List<int>() {1,2,4,5,6};
            lvProducts.DataBind();
        }
    protected void lvProducts_ItemDataBound(object sender, ListViewItemEventArgs e)
    {
        var dataItem = (ListViewDataItem)e.Item;
        var rptLineItems = (Repeater)dataItem.FindControl("rptLineItems");
        rptLineItems.DataSource = new List<int> { 1,2,3,4,5 };
        rptLineItems.DataBind();
    }
    protected void lnkRow_Command(object sender, CommandEventArgs commandEventArgs)
    { }
    protected void rptLineItems_ItemDataBound(object sender, RepeaterItemEventArgs e)
    {
    }
}
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:03:51+00:00Added an answer on May 26, 2026 at 11:03 pm

    It turns out that You have to set the Text property for the controls in the list view.

    <ItemTemplate>
             <asp:Panel runat="server"  ID="pnLineItem" CssClass="Block ClearBoth UITOrderGroup Ledger OrderBorder FloatLeft UITOrderHeight">
             <asp:LinkButton  ID="lnkAddRow" runat="server" CssClass="IconButton Block Add" style="width:20px;" ToolTip="Add Row" CommandName="AddItem" OnCommand="lnkRow_Command" Text="" ></asp:LinkButton>
             </asp:Panel>
            </ItemTemplate>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apologies is this is something a more seasoned R user would know, but I
I would like to extract items from this sample html, more specificly, i would
I would like to know if this is possible in java that i want
If this was PHP, I would probably do something like this: function no_more_half_widths($string){ $foo
If I have some xml like this: <mynode> <mysubnode> <mysubsubnode>hello world</mysubsubnode> some more text
This is more like a good practise question. I want to offer different generic
This is more like a question of principle. I made a table with 100%
This is more like a package/import test. We'll start with my base folder at
I have a label on my asp.net page, it looks like this: more info
This is more of a licencing issue than a code question. I really like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.