Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / General / August 2006

Tip: Looking for answers? Try searching our database.

Tables and html

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rik Brooks - 30 Aug 2006 13:10 GMT
I am using an asp table to provide a list of dynamic content for the user.
It's a custom control with some nice features like the ability to collapse a
panel, control the number of items displayed, etc.

Right now it displays links that were inserted into the table cell as

System.Web.UI.WebControls.HyperLink

The link will navigate them to a regular url like www.msdn.com or to one
that I wrote which takes an argument and looks up the html for that page
based upon the agrument (the html is in the database).

So far so good, I just add hyperLinks.

Now my boss wants me to add html content right in the table alongside the
links. Can anybody tell me how to do this?  To be more specific, now I set
the navigateUrl property of my hyperlink and I add that to my cell that I've
added to my row. I didn't find anything like an 'html' or 'innerhtml'
property.

Can I get there from here?
Signature

----------------------------------------
Magic is not in the hands of the magician but in the mind of the audience.

Animadverto est verus

Michael - 30 Aug 2006 15:37 GMT
Rik,

Without code it is hard to be sure that my statement is along the lines of
what you are looking for.  It sounds like you are adding a Hyperlink to the
cells control collection.  If this is the case, you can add a Literal or a
Label to the cells control collection after the Hyperlink and have that
display your HTML content.

Michael
Rik Brooks - 30 Aug 2006 20:34 GMT
Thank you, Michael. That worked perfectly.
Signature

----------------------------------------
Magic is not in the hands of the magician but in the mind of the audience.

Animadverto est verus

> Rik,
>
[quoted text clipped - 5 lines]
>
> Michael

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.