c# - How do I create a "tabbed" look in a single piece of HTML that I can display in a webbrowser control? -
i have process going create piece of static html associated record. screen load bunch of records have piece of associated static html. while records shown in multi-grid layout, selected record's associated html displayed in web browser control. data growing large screen real estate , i'd show data in logical groups - perhaps tabs - perhaps someother way inside web browser control. there way in html? remember seperate process has preformed associated html , in screen load web browser contro.
sample static html i'm talking about:
<html> <head> <style type="text/css">td{font-family: arial; font-size: 10pt;}</style> </head> <table border="0"><caption>we confirm following fx transaction</caption> <tr><td>customer:</td><td align = right bgcolor = "#00ffff">phone cust</td></tr> <tr><td>instrument id:</td><td align = right bgcolor = "#00ffff">fx</td></tr> <tr><td>trade date:</td><td align = right bgcolor = "#00ffff">09/28/2010</td></tr> <tr><td>value date:</td><td align = right bgcolor = "#00ffff">09/30/2010</td></tr> <tr><td>currency pair:</td><td align = right bgcolor = "#00ffff">eur/usd</td></tr> <tr><td>direction:</td><td align = right bgcolor = "#00ffff">sell</td></tr> <tr><td>ccy id 1:</td><td align = right bgcolor = "#00ffff">eur</td></tr> <tr><td>ccy 1 amount:</td><td align = right bgcolor = "#00ffff">-75,000.00</td></tr> <tr><td>trade price:</td><td align = right bgcolor = "#00ffff">1.2698</td></tr> <tr><td>ccy id 2:</td><td align = right bgcolor = "#00ffff">usd</td></tr> <tr><td>ccy 2 amount:</td><td align = right bgcolor = "#00ffff">95,235.00</table> </html>
it's hard know how you, based on available info. however, should able adding javascript "static html".
this javascript use jquery , 1 of tab-related plugins modify dom after page loads. if isn't possible, can still take @ them ideas.
Comments
Post a Comment