Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links

Archives

Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites

Blogs

Furls

Links

vinCitori

Workaround per Infragistics.WebUI.UltraWebNavigator.UltraWebMenu

Per chi lavora con Infragistics NetAdvantage 2004 Volume 1 e vuole utilizzare Infragistics.WebUI.UltraWebNavigator.UltraWebMenu non solo in maniera drag-and-drop del componente, un workaround per evitare System.NullReferenceException è questo:

sostituire la riga:
   string appDir = Page.Request.ServerVariables["APPL_PHYSICAL_PATH"];
nel metodo:
   public int ReadXmlFile(string, bool, bool)
della classe:
   Infragistics.WebUI.UltraWebNavigator.UltraWebMenu ("UltraMenu.cs")
con:
   string appDir = System.Web.HttpContext.Current.Request.ServerVariables["APPL_PHYSICAL_PATH"];

Print | posted on sabato 24 aprile 2004 19:04 | Filed Under [ Carillon .NET Bugs? ]

Powered by:
Powered By Subtext Powered By ASP.NET