I found a post indicating that rendering can be improved by modifying
browserCaps, but not the dynamic functionality.
A search finds many third party menu controls. Most of which utilize their
own xml file source.
Can anyone recommend a menu control that works with roles and will bind to a
sitemapdatasource?
Thanks,
--
AG
Email: discussATadhdataDOTcom
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it:
http://gregorybeamer.spaces.live.com/
*************************************************
| Think outside the box!
|
*************************************************
"AG" <NOSPAM...@newsgroup.nospam> wrote in message
news:e9AeyyVq...@TK2MSFTNGP03.phx.gbl...
> Using ASP.NET 3.5
> I have been using a standard menu control bound to a sitemapdatasource
> using a web.sitemap file.
> The menus work fine in IE and Firefox, but in Safari, they render horribly
> and dynamic menus don't work at all.
1) Create a new class as follows:
public class CBaseMasterEvents : Page
{
public CBaseMasterEvents()
{
PreInit += new EventHandler(CBaseMaster_PreInit);
}
private void CBaseMaster_PreInit(object sender, EventArgs e)
{
if (Request.Browser.Browser.Contains("Safari"))
{
ClientTarget = "uplevel";
}
}
}
2) Modify the aspx pages' partial class so that they inherit from
CBaseMasterEvents instead of System.Web.UI.Page
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
--
AG
Email: discussATadhdataDOTcom
"Mark Rae [MVP]" <ma...@markNOSPAMrae.net> wrote in message
news:ewSGM5Vq...@TK2MSFTNGP02.phx.gbl...