asp.net - how to find the selected link button value in the repeater control -


I have an issue about the link button, on my website I found a product for the sale page, in which one Right side bar is with filter option, while the left-hand bar filtering results shows on my Opinion Sidebar I have used EpiRion with Repeater Control which displays the search criteria from the database. For example, I have 2 search criteria models and pricing, there are three models under model erordian, which I want to receive, when the user clicks on that specific model, the page will run a query in relation to that click and The result should be tied to the bar on the repeater, I know the query to get the result, but I do not know how to get the value of the hyper link button, etc. The buttons will be dynamic can be 3,4 or 10. How do I get the clicked hyperlink value so that I can run a query based on the selected model? Any help or tutorials would be highly appreciated. Autism = "none" Fed Transitions = "True" Transition Duration = "250" Frames Persecond = "40" Required OppaidPan = "Fotal" Support Press Postback = "True" & Gt; & Lt; Panel & gt; & Lt; Asp: AccordionPane id = "AccordionPane1" runat = "server" & gt; & Lt; Header & gt; & Amp; Nbsp; & Amp; Nbsp; & Amp; Nbsp; Make & lt; / Header & gt; & Lt; Content & gt; & Lt; Asp: repeater id = "repeater 1" runat = "server" & gt; & Lt; ItemTemplate & gt; & Lt; Li & gt; & Lt; ASP: LinkButton ID = "LinkButton 2" runat = "server" text = '& lt;% # Eval ("make")% & gt; & Gt; & Lt; / Asp: LinkButton & gt; & Lt; / Li & gt; & Lt; / ItemTemplate & gt; & Lt; / ASP: Repeater & gt; & Lt; / Content & gt; & Lt; / ASP: AccordionPane & gt; & Lt; Asp: AccordionPane id = "AccordionPane2" runat = "server" & gt; & Lt; Header & gt; & Amp; Nbsp; & Amp; Nbsp; & Amp; Nbsp; Price & lt; / Header & gt; & Lt; Content & gt; & Lt; / Content & gt; & Lt; / ASP: AccordionPane & gt; & Lt; / Panel & gt; & Lt; / ASP: Accordion & gt;

Set the link button.

To access it, CommandArgument:

  Secure void lnkButton_Click (Object Sender, EventArgs e) {LinkButton _sender = (LinkButton) Sender; String argument = _sender.CommandArgument; }    

Comments