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

  • Home
  • SEARCH
  • 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 6245017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:25:55+00:00 2026-05-24T12:25:55+00:00

<asp:ListView ID=lvWallPosts runat=server onitemcommand=lvWallPosts_ItemCommand InsertItemPosition=LastItem> <LayoutTemplate> <table cellpadding=2 runat=server id=tblWallPosts style=width:460px> <tr runat=server id=itemPlaceholder>

  • 0
 <asp:ListView ID="lvWallPosts" runat="server" 
        onitemcommand="lvWallPosts_ItemCommand" InsertItemPosition="LastItem">
    <LayoutTemplate>
                <table cellpadding="2" runat="server" id="tblWallPosts" 
                    style="width:460px">
                  <tr runat="server" id="itemPlaceholder">
                  </tr>
                </table>
            </LayoutTemplate>
            <InsertItemTemplate>
            <asp:TextBox ID="txtMessage" runat="server"></asp:TextBox>          
            </InsertItemTemplate>
            <ItemTemplate>

                 <tr id="Tr2" style="height:72px" runat="server">
                   <td valign="top" class="EmployeeInfo">
                   <p>
                     <div class="wallmark"><asp:Image ID="imgFile" runat="server" CssClass="friendsImage" ImageUrl='<%# "HttpImageHandler.jpg?username=" +  DataBinder.Eval(Container.DataItem,"ByUsername").ToString() %>' />
                     <asp:Label ID="lblFrom" runat="server" Text='<%#Eval("ByUsername") %>' Font-Size="0.9em" Font-Underline="false" /><br />
                     <asp:Label ID="lblMessage" runat="server" Text='<%#Eval("Message") %>' Font-Size="0.9em" Font-Underline="false"/></div>
                     <asp:LinkButton CssClass="shareText" runat="server" ID="lblComment" CommandArgument='<%# Eval("Id") %>' CommandName="Insert" Font-Size="0.9em" Font-Underline="false">Comment</asp:LinkButton>
                     <asp:LinkButton CssClass="shareText" runat="server" ID="lbShare" CommandArgument='<%# Eval("Id") %>' CommandName="Share" Font-Size="0.9em" Font-Underline="false">Share</asp:LinkButton>   
                   </td>
                 </tr>
            </ItemTemplate>

    </asp:ListView>

I cant see the txtMessage control when I click on linkbutton comment.

  • 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-24T12:25:57+00:00Added an answer on May 24, 2026 at 12:25 pm

    try setting the linkbutton’s commandname to “InitInsert” instead of “Insert”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<asp:TabPanel ID=AbsentTabPanel runat=server HeaderText=Excused Absences> <ContentTemplate> <asp:ListView ID=AbsentListView runat=server InsertItemPosition=LastItem DataSourceID=AbsentSqlDataSource DataKeyNames=> <InsertItemTemplate> <tr>
Markup: <asp:ListView ID=lvGallery runat=server DataSourceID=SqlDataSource1> <LayoutTemplate> <table runat=server id=tableGallery> <tr runat=server id=itemPlaceHolder></tr> </table> </LayoutTemplate>
The Following Image button works like a charm <asp:ListView ID=ListView1 runat=server> <layouttemplate> <asp:PlaceHolder id=itemPlaceholder
I have a listview that is setup like so: <asp:ListView ID=lv_First runat=server> <LayoutTemplate> <div
I have something like that: <asp:ListView ID=lvList runat=server> <LayoutTemplate> <select id=select_list> <option value=-1> select
I have the next code: <asp:ListView ID=LV1 runat=server DataSourceID=LinqDataSource> <ItemTemplate> <asp:Image ID=Image1 Width=100px Height=100px
i'm in a asp.net listview, in the itemtemplate. <asp:ListView runat=server ClientIDMode=Predictable ClientIDRowSuffix=Texttranslations_keyID=lvwTextitems> This is
hi I am using a list view for showing selection marks. <asp:listview id=lvanswerlist runat=server>
My Imagebutton exists within a ListView object and an UpdatePanel <asp:UpdatePanel ID=UpdatePanel1 runat=server> <ContentTemplate>
Possible Duplicate: Rendering bytes from sql server to an image control? <asp:ListView ID=lvGallery runat=server

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.