iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
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: 1Char: 1Code: 0URI: 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.
Hello Viktor,
Please look into the modified xaml and xaml.cs. The error occurred because searchButton object is still null at the first. So, you could not set the text with that way. Also, please also add ItemName attribute into your WebFishEyesButtons because there is no properties name. Hope this helps.
Regards,Handy
Hello,
Please try to use our latest hotfixes. I tested in here and works well.
Hi,
Here is a sample application which generate same exception:
www.hirot.hu/sample.rar
Regards,
Viktor
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname