CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 10/4/2006 8:10:46 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 30 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
fonsdebeer
Asp.Net User
Repeater and Masterpage10/4/2006 8:10:46 PM

0/0

I have build a masterpage, the Content[pageholder have i included in the page where i would like to use a Repeater. But somehome this doesn't word. somebody help me!!


aspx:

<%@ Page MasterPageFile="~/MasterPage.master" %>

<asp:Content ID="m_oContentRenters" ContentPlaceHolderID="PlaceHolderMookBeheer" runat="server">

<asp:Repeater id="m_oRepeaterTest" runat="server">
    <ItemTemplate>
        <%#DataBinder.Eval(Container.DataItem, "TES_Name")%>
    </ItemTemplate>
</asp:Repeater>

</asp:Content>

 

aspx.cs:

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Content : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string sQry = string.Format(@"SELECT * FROM TblTest");
        string connectionString = ConfigurationManager.ConnectionStrings["Test"].ConnectionString;
       
        SqlConnection conDotNet = new SqlConnection(connectionString);
       
        SqlCommand cmd = new SqlCommand(sQry, conDotNet);
        conDotNet.Open();
        SqlDataReader dtrCat = cmd.ExecuteReader();
        m_oRepeaterTest.DataSource = "TEst";
        m_oRepeaterTest.DataBind();
    }
}

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0 Cookbook Authors: Michael A. Kittel, Geoffrey T. Leblond, Pages: 989, Published: 2005
ASP.NET 2.0 Everyday Apps For Dummies Authors: Doug Lowe, Pages: 504, Published: 2006
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Build Your Own ASP.NET 2.0 Web Site Using C# & VB: The Ultimate ASP.NET Begginner's Guide Authors: Cristian Darie, Zak Ruvalcaba, Pages: 689, Published: 2006
Beginning ASP.NET 2.0 Authors: Chris Hart, John Kauffman, Chris Ullman, David Sussman, Pages: 759, Published: 2005
Beginning ASP.NET 2.0 AJAX: Written and Tested with the Final 1.0 Release Version of ASP.NET AJAX for ASP:NET 2.0 Authors: Wallace B. McClure, Paul Glavich, Scott Cate, Steve C. Orr, Craig Shoemaker, Steven A. Smith, Jim Zimmerman, Pages: 344, Published: 2007
Pro ASP. Net 3. 5 Server Controls and AJAX Components Authors: Rob Cameron, Dale Michalk, Pages: 740, Published: 2008
Learning ASP.NET 3.5 Authors: Jesse Liberty, Dan Hurwitz, Brian MacDonald, Pages: 576, Published: 2008
Professional Community Server Authors: Wyatt Preul, Keyvan Nayyeri, Jose Lema, Jim Martin, Pages: 311, Published: 2007
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006

Web:
Button in Repeater - with Master Page - Update Panel doesnt work ... I have a page that uses a Master Page.. I have an Update Panel wrapping a Repeater, and the repeater has a button on each row. ...
how to refresh ( databind ) Repeater in master page from child ... how to refresh ( databind ) Repeater in master page from child page. Last post 12-04-2007 5:50 AM by Jin-Yu Yin - MSFT. 1 replies. ...
TheMSsForum.com >> Asp >> Access to body ID of Master Page - The ... Hook into the ItemDatabound event of the repeater? Any ideas? Tag: Access to body ID of Master Page Tag: 510452 ...
Re: Stuck on Loading Master Page... ... > Page, it shows a message: The Master Page ...
ASP.NET 2.0 MasterPages and FindControl() - Rick Strahl's Web Log I am using a repeater to display a collection list on a content page and am using a master page. As the data is being bound to the repeater I'm attempting ...
Tutorial 3: Master Pages and Site Navigation Figure 11. A Menu Composed from Two Repeaters and Some CSS. This menu is in the master page and bound to the site map defined in Web.sitemap, meaning that ...
The Cerebral Kitchen - Stupid Whidbey Tricks - Using a repeater ... I do this using a Repeater control. My MasterPage already has a SiteMapDataSource (named AdminSitemapDataSource) pointed at the correct sitemap, ...
Data Tutorial #2: Building our Master Page and Site Navigation ... Master Pages is a new feature in ASP.NET 2.0 that enables me to define a ...... Are you trying to bind to the anchor elements within the ...
masterpages vs. CSS or Masterpages with CSS??? help me out please!
That'll give you a plain ol' HTML document, your menu links are on the master page so they can appear on each page ...
CodeProject: ASP.NET Discussion Boards. Free source code and ... Check the aspx page and the properties delcared for the repeater control. ... In my master page ouside of a content place holder I am trying to dynamically ...




Search This Site:










aspcompat=true and master pages

asp.net 2.0 master page error.

masterpage messes up my css

find control from inherited master page

treeview extra noexpand image being rendered

xp style influences button appereance

how to keep state of master page across multiple pages?

login page not applying styles or images on intial launch

menu control problem in ie 7

masterpage in seperate assembly

sitemap url...

child nodes in dynamically created treeview doesn't fire selectednodechanged event.

how can i propogate the state of the treeview control across pages?

are themes going to be depracated?

adding an item to a menu after its already bound to a sitemap file

treeviewcontrol - access .pdf over a unc network share - possible?

menu control with images?

loading theme stylesheets dynamically

is it possible to update the control at server-side ?

using dynamicitemformatstring to add custom icons to the system.web.ui.webcontrols.menu - possible?

treeview, nodes, and autogeneratedatabindings

asp.net master page javascript

moving treeview nodes around in the tree

images not working in a standard treeview

masterpage head rendering...

how to overwrite stylesheettheme on webservices pages???

treeview image

how do you get the wizard sidebar displayed on the right side?

custom controls and url support of ide for browsing pages, images, ...

[2005] some css styles not working when used in a theme

  Privacy | Contact Us
All Times Are GMT