Results 1 to 11 of 11

Thread: how to use gridview like render = 'inline' property of updatepanel..?

Threaded View

  1. #1

    Thread Starter
    Addicted Member mynameishide's Avatar
    Join Date
    Apr 2010
    Posts
    136

    Question how to use gridview like render = 'inline' property of updatepanel..?

    i use gridview in listview and use listview.GroupItemCount ="3"

    i see that when i not use gridvew then listview proper show item in 3 column

    but when i use gridview then listview not show data in 3 column..

    my code is
    Code:
    <asp:ListView ID="lstviewtest" runat="server" GroupItemCount ="3">
    <LayoutTemplate>
    <asp:Placeholder id="groupPlaceholder" runat="server" /> 
    </LayoutTemplate>
    <GroupTemplate>
    <div>
    <asp:Placeholder id="itemPlaceholder" runat="server" />
    </div>
    </GroupTemplate>
    <ItemTemplate>
    
    <asp:Literal ID="ltrtest" runat="server" Text='<%# eval("name") %>' ></asp:Literal>
    
    <asp:GridView ID="grd1" runat="server" AutoGenerateColumns="true" ></asp:GridView>
    
    </ItemTemplate>
    </asp:ListView>
    Last edited by gep13; May 24th, 2013 at 07:51 AM. Reason: Added code tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width