Last post Dec 19, 2007 11:14 AM by micjones
Aug 03, 2006 05:40 PM|micjones|LINK
Some of my database tables have long, descriptive names like "RateScheduleType". I added spaces in the title attributes of the sitemap file for readability, however, the menu items are truncated. For example, what should read "Rate Schedule Types" reads
"Rate Schedule Ty...", and instead of "New Rate Schedule Type", the submenu reads "New Rate Schedul...". I've been messing with the stylesheets to no avail. Any help would be appreciated. Thanks.
Aug 06, 2006 03:05 PM|phuff|LINK
Mike, the truncation is done in the CSS Adapter (CssAdapters.dll). You can not use the CssAdapter by changing the CssAdapters.browser file to not use the CssAdapters file.
Hope this helps...
Dec 12, 2007 06:40 PM|micjones|LINK
I see this is an old chestnut for me. Can I change the CssAdapters.dll to change the length at which truncation begins? Thanks.
Dec 13, 2007 02:13 PM|micjones|LINK
I found a tutorial on CSS Friendly Adapters at:
http://www.asp.net/CSSAdapters/Default.aspx. I'll go through that and see what I can do. But, in the meantime, if you know of a "surgical" method I can use to solve this immediate problem, it will be deeply appreciated. Thanks.
Dec 19, 2007 11:14 AM|micjones|LINK
I solved the problem by creating a new CssAdapters class ala
http://blogs.tamtam.nl/frank/ using CSS Friendly Adapters. After removing the CssAdapters.dll from my Blinq-generated app, and registering the new one, I had to change adapterType="Microsoft.Web.Blinq.CssAdapters.MenuAdapter" to adapterType="CssFriendly.MenuAdapter"
in my CSSAdapters.browser file in the App_Browsers folder. I lost the hovering feature of my menu control, but I can live without that.