Click here to Skip to main content
15,887,027 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: nested repeater Pin
Not Active26-Jul-10 6:52
mentorNot Active26-Jul-10 6:52 
GeneralRe: nested repeater Pin
Dhyanga26-Jul-10 7:02
Dhyanga26-Jul-10 7:02 
GeneralRe: nested repeater Pin
Not Active26-Jul-10 6:51
mentorNot Active26-Jul-10 6:51 
GeneralRe: nested repeater Pin
Dhyanga26-Jul-10 7:06
Dhyanga26-Jul-10 7:06 
GeneralRe: nested repeater Pin
Not Active26-Jul-10 7:14
mentorNot Active26-Jul-10 7:14 
GeneralRe: nested repeater [modified] Pin
Dhyanga26-Jul-10 7:40
Dhyanga26-Jul-10 7:40 
GeneralRe: nested repeater Pin
Not Active26-Jul-10 8:30
mentorNot Active26-Jul-10 8:30 
GeneralRe: nested repeater Pin
Dhyanga26-Jul-10 8:40
Dhyanga26-Jul-10 8:40 
itemDataBound event is like this right:
void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
    RepeaterItem item = e.Item;
    if ((item.ItemType == ListItemType.Item) ||
        (item.ItemType == ListItemType.AlternatingItem))
    {

        Repeater3 = e.Item.FindControl("Repeater3");
        DataRowView drv = (DataRowView)item.DataItem;
        Repeater3.DataSource = drv.CreateChildView("category_item");
        Repeater3.DataBind();
    }
}


but if i do like this, it give error as below:

Repeater3 doesn't exits..

while ascx.cs code is

<asp:Repeater runat="server" id="Repeater1">
    <HeaderTemplate>items<br /><br /></HeaderTemplate>
    <ItemTemplate>
     <b><%# DataBinder.Eval(Container.DataItem, "catagoryname") %></t>
     <br><%# DataBinder.Eval(Container.DataItem, "catagorydescription") %>
    
        <asp:Repeater ID="Repeater3" runat="server">
        
                 <ItemTemplate>
                 <br>Items: <%# DataBinder.Eval(Container.DataItem,"ItemName")%></t></t></t><%# DataBinder.Eval(Container.DataItem, "Amount") %>
                 <br><%# DataBinder.Eval(Container.DataItem, "ItemDescription") %></br>
                  </ItemTemplate>
                 </asp:Repeater>
                 
   
    </ItemTemplate>
          <separatortemplate>
             <br />
             <br />
             <br />
           </separatortemplate>
        </asp:Repeater>

suchita

GeneralRe: nested repeater Pin
Not Active26-Jul-10 8:53
mentorNot Active26-Jul-10 8:53 
GeneralRe: nested repeater [modified] Pin
Dhyanga26-Jul-10 9:14
Dhyanga26-Jul-10 9:14 
GeneralRe: nested repeater Pin
Not Active26-Jul-10 10:31
mentorNot Active26-Jul-10 10:31 
GeneralRe: nested repeater Pin
Dhyanga26-Jul-10 10:35
Dhyanga26-Jul-10 10:35 
JokeRe: nested repeater Pin
Adam R Harris28-Jul-10 9:14
Adam R Harris28-Jul-10 9:14 
QuestionLocalizaing the data populating from database Pin
dev_asp_shreshtha26-Jul-10 5:20
dev_asp_shreshtha26-Jul-10 5:20 
AnswerRe: Localizaing the data populating from database Pin
Yusuf26-Jul-10 6:30
Yusuf26-Jul-10 6:30 
QuestionPost Alert Issue Pin
dev_asp_shreshtha26-Jul-10 5:14
dev_asp_shreshtha26-Jul-10 5:14 
QuestionSystem.Security.Policy.PolicyException: Required permissions cannot be acquired. Pin
antony beula26-Jul-10 4:42
antony beula26-Jul-10 4:42 
AnswerRe: System.Security.Policy.PolicyException: Required permissions cannot be acquired. Pin
Yusuf26-Jul-10 4:50
Yusuf26-Jul-10 4:50 
GeneralRe: System.Security.Policy.PolicyException: Required permissions cannot be acquired. Pin
antony beula26-Jul-10 5:05
antony beula26-Jul-10 5:05 
GeneralRe: System.Security.Policy.PolicyException: Required permissions cannot be acquired. Pin
Yusuf26-Jul-10 5:08
Yusuf26-Jul-10 5:08 
GeneralRe: System.Security.Policy.PolicyException: Required permissions cannot be acquired. [modified] Pin
antony beula26-Jul-10 5:14
antony beula26-Jul-10 5:14 
Questiondisplaying problem Pin
Dhyanga26-Jul-10 4:35
Dhyanga26-Jul-10 4:35 
AnswerRe: displaying problem Pin
Yusuf26-Jul-10 4:48
Yusuf26-Jul-10 4:48 
GeneralRe: displaying problem Pin
Dhyanga26-Jul-10 4:53
Dhyanga26-Jul-10 4:53 
GeneralRe: displaying problem Pin
Martin Jarvis26-Jul-10 6:51
Martin Jarvis26-Jul-10 6:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.