We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

tree view custom controls ; vb versions; won''t run- error message

Thread ID:

Created:

Updated:

Platform:

Replies:

98826 Apr 2,2011 07:23 AM Apr 7,2011 05:11 AM General Discussion 1
loading
Tags: General Discussion
Administrator [Syncfusion]
Asked On April 2, 2011 07:23 AM

Me.treeViewAdv1.Nodes(0).Nodes(0).OpenImgIndex = Me.comboBoxAdv1.SelectedIndex (line 264 in designer)


System.ArgumentOutOfRangeException was unhandled
Message="Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"
ParamName="index"
Source="mscorlib"
StackTrace:
at System.Collections.ArrayList.get_Item(Int32 index)
at Syncfusion.Collections.ArrayListExt.get_Item(Int32 index)
at Syncfusion.Windows.Forms.Tools.TreeNodeAdvCollection.get_Item(Int32 index)
at CustomControls_2005.Form1.ComboBoxAdv_SelectedIndexChanged(Object sender, EventArgs e) in C:\Users\ddsharper\AppData\Local\Syncfusion\EssentialStudio\9.1.0.20\Windows\Tools.Windows\Samples\2.0\Tree Package\Custom Controls\vb\Form1.vb:line 264
at Syncfusion.Windows.Forms.Tools.ComboBoxBaseDataBound.OnSelectedIndexChanged(EventArgs e)
at Syncfusion.Windows.Forms.Tools.ComboBoxAdv.OnSelectedIndexChanged(EventArgs e)
at Syncfusion.Windows.Forms.Tools.ComboBoxBaseDataBound.set_SelectedIndex(Int32 value)
at Syncfusion.Windows.Forms.Tools.ComboBoxBaseDataBound.SetPopupText(String value)
at Syncfusion.Windows.Forms.Tools.ComboDropDown.SetText(String newValue, Boolean fireChangeEvent)
at Syncfusion.Windows.Forms.Tools.ComboDropDown.set_Text(String value)
at Syncfusion.Windows.Forms.Tools.ComboBoxBaseDataBound.set_Text(String value)
at CustomControls_2005.Form1.InitializeComponent() in C:\Users\ddsharper\AppData\Local\Syncfusion\EssentialStudio\9.1.0.20\Windows\Tools.Windows\Samples\2.0\Tree Package\Custom Controls\vb\Form1.Designer.vb:line 271
at CustomControls_2005.Form1..ctor() in C:\Users\ddsharper\AppData\Local\Syncfusion\EssentialStudio\9.1.0.20\Windows\Tools.Windows\Samples\2.0\Tree Package\Custom Controls\vb\Form1.vb:line 17
at CustomControls_2005.Program.Main() in C:\Users\ddsharper\AppData\Local\Syncfusion\EssentialStudio\9.1.0.20\Windows\Tools.Windows\Samples\2.0\Tree Package\Custom Controls\vb\Program.vb:line 17
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:



Jeraldes J [Syncfusion]
Replied On April 7, 2011 05:11 AM

Hi DianeWhite,

Thanks for your interest in using Syncfusion Products.

We have modified the sample as per your requirement. We will assure that we will update the sample level fix in our upcoming release.

[Sample Link]

http://www.syncfusion.com/uploads/redirect.aspx?file=WF-TreeViewCoustomControls-98826_6ce194e3.zip&team=development

Please let us know if you have any concern.

Reageds,
J Jeraldes


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;