asp.net - Using a HyperlinkColumn with a Label Control or just basic Text -


I have a situation where I currently have a hyperlink column control that I want to convert to a label or plain text How do I get the same column as the hyperlink? Any Idea?

If it is DataGrid then you can handle itemized events and code by adding a new code Control can add. For example:

  & lt; Asp: DataGrade ... Previewed = "On Myadatgrid Itam's Creed" ... / & gt; Private Zero OnMyDataGridItemCreated (Object Sender, DataGridItemEventArgs E) {label textLabel = new label (); TextLabel.Text = "Hello!"; E.Item.Cells [3]. ControlsAdd (TextLabel); // "3" you may need to choose a different column)  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -