Category - HyperLink
06 Mar 2020 06 Mar 2020 0 Comments  8721 Views
Here Mudassar Ahmed Khan has explained with an example, how to open Crystal Report in new Tab (Window) in ASP.Net with C# and VB.Net.

The Crystal Report will be opened as PDF in new Browser Tab (Window) using HyperLink in ASP.Net with C# and VB.Net.
17 Jun 2019 17 Jun 2019 0 Comments  9678 Views
Here Mudassar Ahmed Khan has explained with an example, how to encode QueryString parameter in NavigateUrl of HyperLink inside ASP.Net GridView using C# and VB.Net.

The QueryString parameters will be encoded inside the Eval function using UrlEncode function of the HttpUtility class in ASP.Net.
17 Jun 2019 17 Jun 2019 0 Comments  10407 Views
Here Mudassar Ahmed Khan has explained with an example, how to use HyperLink inside Repeater control in ASP.Net using C# and VB.Net.

This article will illustrate how to bind QueryString Parameters (Single or Multiple) using NavigateUrl property of HyperLink and Eval function inside Repeater control in ASP.Net using C# and VB.Net.
16 May 2019 16 May 2019 0 Comments  15456 Views
Here Mudassar Ahmed Khan has explained with an example, how to remove HyperLink when exporting GridView to Excel in ASP.Net using C# and VB.Net.

When the GridView TemplateField columns contain controls like HyperLink, TextBox, Button, LinkButton, RadioButton or CheckBox controls then such controls need to be replaced with Literal control and then the GridView is exported to Excel file in ASP.Net using C# and VB.Net.
14 May 2019 14 May 2019 0 Comments  15282 Views
Here Mudassar Ahmed Khan has explained with an example, how to redirect (go) back to Previous Page without Refresh using JavaScript.

It is NOT possible to redirect (go) back to Previous Page without refreshing as whenever Page is redirected there will always be a Page reload in browser i.e. old page will be removed and the new Page from Browser History will be loaded in Browser.
14 May 2019 14 May 2019 0 Comments  4832 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Parameters using HyperLink in HTML.

The HTML HyperLink will be assigned an OnClick event handler and when clicked, the value of the TextBox will be set in the HREF attribute of the HTML HyperLink using JavaScript.

When the HTML Anchor Link is clicked, the TextBox value will be passed to the other Page as QueryString parameter using JavaScript.
14 May 2019 14 May 2019 0 Comments  2509 Views
Here Mudassar Ahmed Khan has explained with an example, how to redirect to Previous Page using JavaScript.

The HTML Anchor Link will be assigned an OnClick event handler and when clicked, it will be redirected to the Previous Page using history.back function in JavaScript.
14 May 2019 14 May 2019 0 Comments  28544 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) TextBox value in HREF of Anchor Link in HTML.

The HTML Anchor Link will be assigned an OnClick event handler and when clicked, the value of the TextBox will be set in the HREF attribute of the HTML Anchor Link using JavaScript.

When the HTML Anchor Link is clicked, the TextBox value will be passed to the other Page as QueryString parameter.
27 Dec 2018 27 Dec 2018 0 Comments  31504 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected Row (Cell) value in GridView using jQuery in ASP.Net.

When the Select LinkButton is clicked, the GridView Row is selected and a jQuery Click event handler is triggered.

Inside the jQuery Click event handler, the Cell values of the Selected Row are fetched and displayed using JavaScript Alert Message Box.
23 Jan 2018 23 Jan 2018 0 Comments  17347 Views
Here Mudassar Ahmed Khan has explained with an example, how to create (add) HyperLink Column to WebGrid in ASP.Net MVC Razor.

The HyperLink Column in WebGrid when clicked, will send the details of the WebGrid row to another View.
25 May 2016 25 May 2016 0 Comments  50462 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable HTML Anchor Links (HyperLink) using JavaScript and jQuery.
The HTML disabled attribute does not work for HTML Anchor Tags (HyperLink) and they are still clickable.
12 Jul 2015 12 Jul 2015 0 Comments  47895 Views
Here Mudassar Ahmed Khan has explained with an example, how to use string.Format function with Eval (DataBinder.Eval) function in ASP.Net with C# and VB.Net.
Eval (DataBinder.Eval) function is used to bind data in controls inside GridView, DataList, Repeater, DetailsView, etc. and using string.Format multiple values can be set to a single control.
20 May 2015 20 May 2015 0 Comments  33372 Views
Here Mudassar Ahmed Khan has explained how to make HTML Anchor Links (HyperLink) non-clickable or disabled using JavaScript and jQuery.
The HTML disabled attribute does not work for HTML Anchor Links (HyperLink) and they are still clickable.
22 Jun 2013 22 Jun 2013 10 Comments  199511 Views
Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to bind and pass query string in HyperLink in GridView in ASP.Net
16 Jun 2013 17 Jun 2019 4 Comments  97150 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind QueryString Parameters (Single or Multiple) using NavigateUrl property of HyperLink and Eval function inside GridView in ASP.Net using C# and VB.Net.
29 May 2013 27 Dec 2018 2 Comments  109354 Views
Here Mudassar Ahmed Khan has explained with an example and attached sample code, how to pass or send entire GridView Row and cell Values to another page using HyperLink (LinkButton) in ASP.Net.

The send values are then extracted on the destination page and displayed on it.
21 May 2013 16 May 2019 2 Comments  37805 Views
Here Mudassar Ahmed Khan has explained with an example, how to export TemplateField columns of the ASP.Net GridView control to Excel file in ASP.Net using C# and VB.Net.

When the GridView TemplateField columns contain controls like HyperLink, TextBox, Button, LinkButton, RadioButton or CheckBox controls then such controls need to be replaced with Literal control and then the GridView is exported to Excel file in ASP.Net using C# and VB.Net.
14 Apr 2012 27 Dec 2018 7 Comments  102272 Views
Here Mudassar Ahmed Khan has explained with an example, how to get GridView Row and its RowIndex Client-Side using JavaScript in ASP.Net.

This article will also explain how to find the Cells of selected GridView Row and also reference the controls inside the GridView TemplateField columns using JavaScript in ASP.Net.