Forum  Commercial Foru...  Commercial Foru...  failed to create component
Previous Previous
 
Next Next
New Post 1/29/2012 1:19 PM
  palli
11824 posts
1st Level Poster




Re: failed to create component 

Hi Shawn,

You are most welcome. Just glad it worked for you and thanks for confirming.

You may want to throw in the Browsable attribute to prevent users from entering a value within the designer, as if they do, your designer will thrown an exception. Same will of course happen, should someone decide to add a code to set that attribute, which the designer will then choke on when loading the form. In order to fully cover all basis, you can add the same check for VWGContext.Current on the setter, as you placed on the getter.

    <System.ComponentModel.DesignerSerializationVisibility(ComponentModel.DesignerSerializationVisibility.Hidden)> _
    <System.ComponentModel.Browsable(False)> _
    Public Property OrgID() As Integer
 

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  failed to create component
Azure banner
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS