Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4122262
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:27:33+00:00 2026-05-20T23:27:33+00:00

I have an issue regarding link button, On my website i have got a

  • 0

I have an issue regarding link button, On my website i have got a product for sale page, which has a ryt side bar with filter options
while the left side bar shows the filteration results.
On my ryt sidebar i have used accordion with the repeater control which display the searching criteria from database.
For instance I have 2 searching criteria model and price , under model accordion there are three models, what I want to acheive is
when a user clicks on that specific model , the page should run a query with respect to that click and show bind the results on the
repeater of the left side bar, I know the query to get the results but I dunno how to get the value
of that hyper link button, coz these buttons will be dynamic it can be 3,4 or 10. how will i get the clicked hyperlink value
so that I can run the query depending on the model selected.
Any help or tutorial will highly be appreciated.

            AutoSize="None"
            FadeTransitions="true"
            TransitionDuration="250"
            FramesPerSecond="40"
            RequireOpenedPane="false"
            SuppressHeaderPostbacks="true">
        <Panes>
            <asp:AccordionPane ID="AccordionPane1" runat="server" >
            <Header>
           &nbsp;&nbsp;&nbsp;Make
            </Header>
            <Content>

                <asp:Repeater ID="Repeater1" runat="server">
               <ItemTemplate>
         <li>

             <asp:LinkButton ID="LinkButton2" runat="server" Text='<%# Eval("make") %>'></asp:LinkButton>
         </li>
               </ItemTemplate>
                </asp:Repeater>

            </Content>
            </asp:AccordionPane>
            <asp:AccordionPane ID="AccordionPane2" runat="server" >
            <Header>
            &nbsp;&nbsp;&nbsp;Price
            </Header>
            <Content>

            </Content>
            </asp:AccordionPane>
        </Panes>
        </asp:Accordion> 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T23:27:33+00:00Added an answer on May 20, 2026 at 11:27 pm

    Set the CommandArgument of the LinkButton.

    Then to access the CommandArgument:

    protected void lnkButton_Click(object sender, EventArgs e) {
        LinkButton _sender = (LinkButton)sender;
        string argument = _sender.CommandArgument;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an issue regarding an recursive count which works well in SQL server,
Hi I have some issue regarding constructor and destructor. I have list class, which
I have an issue regarding to auto populating a select dropdown from jQuery/JSON data
I have recently run into a particularly sticky issue regarding committing the result of
I have seen a few posts regarding this issue but not one specific to
Please help regarding the following issue. I have enabled the Block popup option in
Hello guys I am working on silverlight and I have issue regarding on database
I have an issue regarding cross thread calls in WPF. foreach (RadioButton r in
I have an issue regarding how to check the reachability of a certain url.
Thanks for reading. I've noticed that if I have a page that has one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.