Home > Net >  Consult the great god help, questions about the hidden hyperlink addresses, come in
Consult the great god help, questions about the hidden hyperlink addresses, come in

Time:10-06

I use the webform developed a page, you can refer to below, now there is a problem, when I start button on the mouse on the no. 2. The corresponding lower left page will appear when the url address, if I don't want to this address, hidden away how can I deal with? The four start button in the address is the address of the database field miles to store the gridview binding,
Please help me to achieve, please first!



CodePudding user response:



For the good

CodePudding user response:

Posted a gridview code
 & lt; Asp: the GridView ID="GridView1" runat="server" Width="100%" CellPadding="2" ForeColor="# 333333" 
AutoGenerateColumns="False" AllowPaging="True" PageSize="12" OnRowCancelingEdit="GridView1_RowCancelingEdit OnPageIndexChanging"="GridView1_PageIndexChanging OnRowDataBound"="GridView1_RowDataBound GridLines"="None" EnableModelValidation="True" AllowSorting="True" CellSpacing="1" HorizontalAlign="Right" OnRowEditing="GridView1_RowEditing OnSelectedIndexChanged"="GridView1_SelectedIndexChanged & gt;"




CodePudding user response:

Look at someone, can help

CodePudding user response:

This is the browser display, HyperLinkField will automatically generate & lt; A> Tag, you can switch the button controls, and then jump button events

CodePudding user response:

The
reference 4 floor big watermelon a WuYiJin reply:
is the browser display, HyperLinkField automatically generated & lt; A> Tag, you can switch the button button control, again jump button events


Is the add button girdview button control, right?

CodePudding user response:

This is a browser mechanism, can't help it.

As long as your href something. So the status bar will show the URL address.

Of course there must be a solution to replace.

First: to hide the browser's status bar.

Ha ha just kidding...

Second generation url not href (href="https://bbs.csdn.net/topics/#") to use js to jump.

 

 
$(" a [url] "). Click (function () {
location.href=https://bbs.csdn.net/topics/$(this). Attr (" url ");
});


This method is to use a label to..

As for you how to generate I won't do is discussed here.