Can i add a hyperlink or button in my UltraListView?
my idea is add a link or a button "View" that when i click the link i open a form.
it's possible???
many thanks
Sub-items cannot be edited so you could assign a FormattedLinkEditor to the UltraListViewSubItemColumn's Editor property, but clicking it would not navigate to a URL. You could assign one to the MainColumn's Editor property and that would respond to clicks. For a button, you could use an EditorWithText on the MainColumn and add an EditorButton to it's ButtonsRight or ButtonsLeft collection.
I don't see assigning a FormattedLinkEditor to the UltraListViewSubItemColumn's Editor property and make it work like as if it's clickable UIElement where I can track the click event and do desirable operation in EventHandler. I don't even see it as Link it just appears as normal text on columnPlease advise or give us working sample to take inspiration from. I'm using Infragistics4.v11.2Kapil
Hi Kapil,
This could be achieved only for the 'MainColumn', since the sub items cannot be edited and therefore you could not get such editors in these columns.
Please try assigning this editor with the button to the 'MainColumn'.
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
Hi Boris,I'm sorry I didn't get back to you earlier. I tried that earlier and somehow it didn't work for me. Regardless, I changed the way I was presenting data in UI so for now I'm fine. But, if you can give me working sample that would be great help in future if I choose to use that!Thanks again for your reply!Kapil
Did you have the chance to look at my ListViewItemLink.zip above? I think that I did what you asked for there. Is not this what you are after, please let me know with some more details or a screenshot, if possible.
Hi Boris,Sorry for being late. You can resolve this ticket for now. I did look at the sample of yours earlier and I think your answer "This could be achieved only for the 'MainColumn', since the sub items cannot be edited and therefore you could not get such editors in these columns." is what I wanted to make sure about since I wanted to have link or Button on SubItems. I was intially misguided by note "Sub-items cannot be edited so you could assign a FormattedLinkEditor to the UltraListViewSubItemColumn's Editor property" in one of the replies above mine.Thanks again,Kapil