WebFishEye exception

3 replies. Last post: December 23, 2009 10:17 PM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Viktor SzuleMember

I downloaded latest trial version of WebAqua. I added 3 buttons to WebFishEye control.

It is working great, until I want to display the number of buttons.

 

The following line generate error:

MessageBox.Show(buttons.Buttons.Count.ToString());

 

The above line generate the following exception:

 


Message: Unhandled Error in Silverlight 2 Application Object reference not set to an instance of an object.   at project.controlToolBar.setLanguage()
   at project.page.multiLanguageDictionaryLoaded(Object sender, EventArgs e)
   at project.cMultiLanguage.raiseEvent(EventHandler ev)
   at project.cMultiLanguage.clientDownloadStringCompleted(Object sender, DownloadStringCompletedEventArgs e)
   at System.Net.WebClient.OnDownloadStringCompleted(DownloadStringCompletedEventArgs e)
   at System.Net.WebClient.DownloadStringOperationCompleted(Object arg)
Line: 1
Char: 1
Code: 0
URI: http://localhost:1376/Silverlight.js

 

Here is my XAML:

 

            <ISNet_Silverlight_WebAqua:WebFishEye x:Name="buttons" ButtonSize="80" EnableStartupAnimation="False" Cursor="Hand" Height="120" HorizontalAlignment="Left" VerticalAlignment="Bottom" BackgroundMode="ComplexImages" ReflectionGap="-15" Width="Auto" ReflectionSpace="20" TooltipShadow="Yes" SeparatorMode="IncludeReflection" TooltipShadowOpacity="0.5" AutoHide="False" >
                <ISNet_Silverlight_WebAqua:WebFishEye.StackGridBackgroundObject>
                    <Rectangle Fill="#19000000" Stroke="#4C000000" RadiusX="5" RadiusY="5" StrokeThickness="2" />
                </ISNet_Silverlight_WebAqua:WebFishEye.StackGridBackgroundObject>
                <ISNet_Silverlight_WebAqua:WebFishEye.StackTooltipBackgroundObject>
                    <Rectangle RadiusX="3" RadiusY="3" Stroke="#99FFFFFF" Margin="0,0,0,30" Fill="#993D5D93"/>
                </ISNet_Silverlight_WebAqua:WebFishEye.StackTooltipBackgroundObject>
                <ISNet_Silverlight_WebAqua:WebFishEye.TooltipBackgroundObject>
                    <Rectangle Fill="#993F5D93" Stroke="#99FFFFFF" RadiusX="5" RadiusY="5"/>
                </ISNet_Silverlight_WebAqua:WebFishEye.TooltipBackgroundObject>
                <ISNet_Silverlight_WebAqua:WebFishEye.Buttons>
                    <ISNet_Silverlight_WebAqua:WebFishEyeButton x:Name="searchButton" ImageSource="resources/searchMap.png" Text="Search On Map" />
                    <ISNet_Silverlight_WebAqua:WebFishEyeButton x:Name="compassButton" ImageSource="resources/compass.png" Text="Map Direction" />
                    <ISNet_Silverlight_WebAqua:WebFishEyeButton x:Name="settingsButton" ImageSource="resources/toolsIcon.png" Text="Settings" />
                </ISNet_Silverlight_WebAqua:WebFishEye.Buttons>
            </ISNet_Silverlight_WebAqua:WebFishEye>

 

I also get same exception when I want to change the tooltip of buttons.

All times are GMT -5. The time now is 5:32 AM.
Previous Next