VS 2010 Need to display video and maps in same data repeater-VBForums
Results 1 to 2 of 2

Thread: Need to display video and maps in same data repeater

  1. #1

    Thread Starter
    Hyperactive Member kuldevbhasin's Avatar
    Join Date
    Mar 2008
    Location
    Mumbai, India
    Posts
    460

    Need to display video and maps in same data repeater

    hi i have a need for displaying the video uploaded and the location it was uploaded in but the prob. is even after trying a lot i cant show them in same data repeater

    i can use a grid or anything else as recommended by anyone just that i need both the video and location on map in the 2 separate cols.


    attached r the files where i can display both but in separate data repeaters.
    Attached Images Attached Images  
    Attached Files Attached Files
    The only time you run out of chances is when you stop taking them.
    The mind is like a parachute.
    It doesnít work unless itís open.

  2. #2
    Frenzied Member KGComputers's Avatar
    Join Date
    Dec 2005
    Location
    Cebu, PH
    Posts
    1,906

    Re: Need to display video and maps in same data repeater

    You can show both video and map in one repeater control using table as it's template.

    Code:
    <asp:Repeater ID="rptVideoMap" runat="server">
    	<HeaderTemplate>
    		<table>
    			<tr>
    				<th>Video</th>
    				<th>Map Location</th>
    			</tr>
    	</HeaderTemplate>
    	<ItemTemplate>
    			 <tr>
    				<td>
    					//show your video here
    				</td>
    				<td>
    					//show your map here
    				</td>
    			</tr>
    	</ItemTemplate>
    	<FooterTemplate>
    		</table>
    	</FooterTemplate>
    </asp:Repeater>
    CodeBank: VB.NET & C#.NET | ASP.NET
    Programming: C# | VB.NET
    Blogs: Personal |Programming | GitHub
    ___________________________________________________________________________________

    Rating someone's post is a way of saying Thanks...

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width