This is a migrated thread and some comments may be shown as answers.

[Solved] TabStripItem.Content in VB.NET

3 Answers 48 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mario Funke
Top achievements
Rank 1
Mario Funke asked on 28 Feb 2010, 07:53 PM
How do I define the content of a tabstrip in VB.Net?

http://demos.telerik.com/aspnet-mvc/tabstrip

.Content(() =>
                   
{%>
                       
<ul>
                           
<li>Pure ASP.NET MVC components</li>
                           
<li>Completely Open Source</li>
                           
<li>Exceptional Performance</li>
                           
<li>Based on jQuery</li>
                           
<li>Search Engine Optimized</li>
                           
<li>Cross-browser support</li>
                       
</ul>
                   
<%});

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 01 Mar 2010, 02:15 PM
Hello Mario,

I am not sure that the required functionality is achievable with VB 9. Could you please try with VB 10?

Kind regards,
Georgi Krustev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Mario Funke
Top achievements
Rank 1
answered on 01 Mar 2010, 02:31 PM
I currently use Visual Studio 2008 SP1 with VB.NET 9. For Visual Studio 2010 in production environments, it is my view to be premature. There must be a solution for VB 9 :-)

Mario
0
Georgi Krustev
Telerik team
answered on 01 Mar 2010, 05:26 PM
Hello Mario,

Unfortunately, the VB Function() should contains only one statement and it should return value. In this case in order to achieve your goal, you should have predefined method. which will write the HTML in the response.
For more information please review the following links:
http://msdn.microsoft.com/en-us/library/bb531253.aspx
http://stackoverflow.com/questions/204801/how-to-declare-lambda-event-handlers-in-vb-net

Nevertheless, navigation components, which has Content(...) method, will have overload. The overload of the Content() method will accepts simple string instead of the Action method.

Regards,
Georgi Krustev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TabStrip
Asked by
Mario Funke
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Mario Funke
Top achievements
Rank 1
Share this question
or