Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > General Discussions > ContentPlaceHolder Lambda (VB.NET)
Telerik MVC Extensions are no longer supported (see this page for reference). In case you have inquiries about Kendo UI Complete for ASP.NET MVC, post them in the pertinent Kendo UI forums.

Not answered ContentPlaceHolder Lambda (VB.NET)

Feed from this thread
  • Lee avatar

    Posted on Jun 1, 2012 (permalink)

    Hi, I started to build a splitter based master page which works great when it passes a string into the Pane.Content builder method. But I cant see how to implement the following in order to render a ContentPlaceHolder within the pane.

    So my question is really just about general VB.NET lambda usage, how to I go about converting the following C#  code to VB.NET...
    panes.Add()
                   .Content(() =>
                   {%>
                       <asp:ContentPlaceHolder ID="MainContent" runat="server" />                      
                   <%})

    I have tried various things such as...
    panes.Add()
                   .Content(Function (o)
                   %>
                       <asp:ContentPlaceHolder ID="MainContent" runat="server" />                     
                   <%)

    But now I am a bit stuck.

    Any help would be appreciated.
    Thanks,

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > General Discussions > ContentPlaceHolder Lambda (VB.NET)