Forum  Core :: SDK (Vi...  Bug Reports  Input string was not in a correct format
Previous Previous
 
Next Next
New Post 12/10/2011 4:42 AM
  palli
11838 posts
1st Level Poster




Re: Input string was not in a correct format  

Hi,

You are welcome.

If you add the columns manually to the ListView, which you would do for an unbound ListView and you can also do on a bound one, you can create a custom ColumnHeader to implement the workaround until you get the Release d fix.

What you would need to do is to override the ColumnHeader.FireEvent method, intercept the objEvent.Type = "ChangeColumnWidth" and then make sure the Width property of that event type would be an integer, before calling the base.FireEvent() method. This is basically the fix that was made in Release d and should be fairly easy to implement in case of need.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 12/12/2011 7:45 PM
  hgcheong
3 posts
No Ranking


Re: Input string was not in a correct format  
Modified By hgcheong  on 12/12/2011 11:47:01 PM)

Thanks. Overriding the ColumnHeader.FireEvent definitely solved the issue. I did managed to get it working in the unbound ListView.

 
New Post 12/14/2011 2:50 PM
  palli
11838 posts
1st Level Poster




Re: Input string was not in a correct format  

Hi hgcheong,

You are welcome. Glad it worked for you and thanks for the confirmation.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...  Bug Reports  Input string was not in a correct format
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