Current filter:
                                You should refresh the page.
                                Support Center

                                How to create and configure a HyperLink column at runtime

                                0

                                This example demonstrates how to create a grid column of the type GridViewDataHyperLinkColumn programmatically. Columns are created on the first Page_Init event. Then, the grid automatically recreates columns from the view state on a callback or post back.

                                You must  log in  or  register  to leave comments
                                Select file
                                • Default.aspx
                                • Default.aspx.cs
                                Select language
                                • C#
                                • VB.NET
                                Select version
                                • v2013 vol 1.4 - v2013 vol 2.8
                                • v2008 vol 1.1 - v2012 vol 2.16
                                <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="HyperlinkColumn._Default" %>
                                
                                <%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.2, Version=8.2.3.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
                                    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
                                
                                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
                                
                                <html xmlns="http://www.w3.org/1999/xhtml" >
                                <head runat="server">
                                    <title>Untitled Page</title>
                                </head>
                                <body>
                                    <form id="form1" runat="server">
                                    <div>
                                        <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server">
                                        </dxwgv:ASPxGridView>
                                    </div>
                                    </form>
                                </body>
                                </html>

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners