Search Results

Search found 2 results on 1 pages for 'asprepeater'.

Page 1/1 | 1 

  • (ASP.NET) Problem with a repeater nested in a repeater, how to know when it is a itemCommand?

    - by NoProblemBabe
    I have the following problem: Keeping in mind the following structure: <repeater> <updatepanel> <div> <link id="fatherLink" /> </div> <div> <repeater> <link id="childLink"/> </repeater> <div> </updatepanel> </repeater> right? I am using updatepanel, so, when i click in the fatherlink, i put a click method in the server side, so it populates it's child repeater. no problems in there, but I need that the childLink to perform a action on the server side, like take in account some data and then sending to a given page to do something else. When doing this I happen to notice that there are three situations: 1 - First server call, is not a postback it populates the father repeater (no problems here). 2 - Second server call, when the father link is clicked i populate the child repeater. Something like a "fatherLink_Click" function (no problems here). 3 - Third server call, when the child is clicked: i can't seem to know that it is the child's item command, so i can't stop it from databinding all over again, which kills my itemcommand event... (the problem). What can I do?

    Read the article

  • asp Repeater ItemTemplate - eval whole object

    - by Tomasz Bitowt
    Currently I am using asp:Repeater like this: <asp:Repeater ID="itemsRepeater" runat="server"> <ItemTemplate> <my:Button runat="server" Title='<%# DataBinder.Eval(Container.DataItem, "Title") %>' /> </ItemTemplate> </asp:Repeater> But now, I would like to send whole model to my:Button control like: <asp:Repeater ID="itemsRepeater" runat="server"> <ItemTemplate> <my:TabListButton runat="server" Mode;='<%# this %>' /> </ItemTemplate> </asp:Repeater> Could you tell me how to handle that?

    Read the article

1