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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:19:32+00:00 2026-06-04T23:19:32+00:00

Am displaying list of available documents in the data grid which are retrieved from

  • 0

Am displaying list of available documents in the data grid which are retrieved from the database. Once we click on a specific one then it will retrieve PDF document from the server and display it in the browser.

Currently, if I click a document from the list in the datagrid then it will display the PDF file in a new browser. Here is the code for that :

ds.Tables(0).Rows(i).Item("DOC") = "<font color=blue onmouseover=""this.style.cursor='hand';"" title=""Click for PDF"" " + _
             "onclick=""location.replace('index.aspx?Name=" & link & "')"">" & docNum & "</font>"

However, now once I click the document then it should trigger a new VB Function by forwarding the document number as the parameter to that function.

I don’t know, how to trigger VB Function once we click on a specific document from the data grid. It’s not click onClick event for a button because it shows list of available documents.Am working in VB.Net 1.1 so it doesn’t have option to use Command Name, Row Command.

  • 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-04T23:19:33+00:00Added an answer on June 4, 2026 at 11:19 pm

    It has been a long time since I have done asp.net 1.1 but this documentation says you should still have Command Name:

    http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.datagrid.itemcommand(v=vs.71)

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

Sidebar

Related Questions

I am displaying list of data which is coming from web service in list
Every once in a while I'm confronted with displaying a list of available languages,
I am displaying list of cities from the database ,each as a link.I want
I'm having a little problem displaying data from a database... I have two database
I have an ASP.NET web form on which I'm displaying a list of database
I am displaying a list of customer records from SQL Server using L2S where
I'm displaying a list of products as read off of the RSS feed from
I have a UITableView where I am displaying a list of data. I would
I am displaying a list of data in the following manner; Surname Forename Email
I have two lists. First one is a list of Tasks pulled from an

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.