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 8015581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:17:41+00:00 2026-06-04T20:17:41+00:00

Im doing this Information retrival search engine that search in Doc files for certain

  • 0

Im doing this Information retrival search engine that search in Doc files for certain terms using Lucine.net Every thing is going fine I get the results search results in an asp:listbox control.

I managed to get the name of the file and the path of it as shown in the figuer below:

enter image description here

// Using      
 lst_searchResult.Items.Add(doc.Get("title"));
 lst_searchResult.Items.Add(doc.Get("path"));

I would like to perform more operation on the listbox selected Items such as

  1. ( Download Document ) using a button .
  2. ( Send link Via Email ).

I’m not an expert to be honest with ASP.net , can you please guide me ?

thank you

  • 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-06-04T20:17:43+00:00Added an answer on June 4, 2026 at 8:17 pm

    the asp:listbox is redered as an <select> html control. The appearance of the select control is dertermined by the browser you are using. The only customization option is to set the border/colors/scrollbar of this control.

    If you want a more interactive appearance use the asp:listview control. With that you can control how one row of the list is rendered. So you can add buttons, links, etc.

    In code you define a DataStructure like

    class SearchResult
    {
       public string Title {get; set;}
       public string Path {get; set;}
    }
    

    And then bind a List<SearchResult> to the listview control.

    The markup for the ListView could look something like this:

    <asp:ListView runat="server" ID="ListView1">
      <LayoutTemplate>
        <table>
          <tr runat="server" id="itemPlaceholder" ></tr>
        </table>
      </LayoutTemplate>
      <ItemTemplate>
        <tr>
          <td><a href='<%#Eval("Path") %>'><%#Eval("Title") %></a></td>
        </tr>
      </ItemTemplate>
    </asp:ListView>
    

    This link shows a bunch of examples on how to use the ListView control:

    http://msdn.microsoft.com/en-us/library/bb398790.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im doing this project where i need to download files through a webservice (images,
I'm doing this piping php script that fetch the arriving emails and the parse
I am using the directory class to get this information but unable to assign
This is not that important, but I'm getting conflicting information about this so I
I doing this way: $.each($('img'), function () { this.unbind('onmouseover'); }); This does not work.
how to avoid mysql doing this (by itself or php script) , even if
I'm doing this paper work for university about DataWarehouse, more specifically about OLTP. I
The reason I'm doing this is because I'm trying to set the window in
I am used to doing this in jQuery $('#RememberMe').attr('checked', true); but I can't remember
Currently I'm doing this: # duplicates is a list uniques = list(set(duplicates)) However, uniques

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.