Jump to content
  • 0

Creating Hyperlinks in GridView



Hello Everyone

I am displaying a table using GridView and all the fields are hyperlinks Except first column.

All are Working fine. when ever i click on the particular hyperlink the corresponding result gets displayed.


Customer Name--|Jhon--|Peter-|Mickel

--- adsdfg----------|---4---|--------|---------

--- Zzvczxvc-------|--------|---7---|--- 5---

--- qwer------------|---5---|--------|--- 5---

Note: The Symbol "-" are put only for alignment.

In the above example Customer name displays Names of all customers,

"Jhon, Peter, Mickel" are sales men.

The Numeric data in the DataGrid shows number of products sold by a particular salesman to a particular customer.

all this hyperlinks are working fine ie whenever i click on particular number it displays all the products sold by a particular salesman to the particular customer.

Now i added one more column "Total" which calculates Row wise sum

as shown below

Customer Name--|Jhon--|Peter-|Mickel|Total

--- adsdfg----------|---4---|--------|---------|---4---

--- Zzvczxvc-------|--------|---7---|--- 5----|--12---

--- qwer------------|---5---|--------|--- 5----|--10--

if i click on the total link i want it should display all the products taken by the customer irrespective of the salesman.

Thanks in Advance

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0


The view seems to be a tabular view rather than a grid view, by the way you can pass three parameters in the query string of the link to the next DataPage which is a predefined criteria Search/Report with the Sales-person-Id having three criteria and the logical operator "OR" between the criteria, this way the results shows all the records where the Sales-Person-Id is equal to either Jhon, Peter or Mickel which ever is passed in the URL.


Bahar M.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...