29 Dec 2005
26 Feb 2009
Link to this post
I'm building a custom module and need the url contained in the asp:HyperLink control ID="fullContent1" in the ListPageMaster.ascx template, but CANNOT use the asp:HyperLink control, itself. Can I populate a literal with the "fullContent1" data? I've tried using a literal with an ID="fullContent1", but it's always blank. I've also tried to copy the NavigateUrl propery of the asp:HyperLink control on the OnItemDataBound event, but this, too, is blank. I assume that the NavigateUrl property is empty when OnItemDataBound fires.
How can I get the data associated with the "fullContent1" ID into a Literal? I've formulated a workaround that does the job, but know that I must just be missing something.
Thanks in advance.