Adding StyleManager in VB.NET

I am trying to get a sample running in VB.NET, but I have run into a problem. When I try to add the code into the section of the _Layout page it tells me that the Expression does not produce a value. So my question is: What am I doing wrong here?



@ViewData("Title")




@(Html.Syncfusion().StyleManager().Register(Function(stylesheets)
Return stylesheets.Add(ComponentType.Grid)
End Function).Render())




2 Replies

RR Ranjithkumar R G Syncfusion Team May 9, 2012 03:59 AM UTC

Hi Dennis,

 

Thanks for using Syncfusion products.

 

We are sorry for inconvenience caused. We are unable to reproduce the issue. We have prepared a simple sample and the same can be downloaded from the following links.

 

 www.syncfusion.com/downloads/Support/DirectTrac/92197/Sample1190164600.zip

 

Could you please try the above sample and get back to us whether you are able to reproduce the issue? If not, could you please give more information or by reproducing the issue in the above sample so that we could sort out the issue and provide you with solution. The information provided would be of great help in resolving the issue.

 

Please let us know if you have any concerns.

 

Regards,

Ranjithkumar



RR Ranjithkumar R G Syncfusion Team May 9, 2012 04:30 AM UTC

Hi Dennis,

 

Please ignore our previous sample link. Please refer to the below link for reference.

 

http://www.syncfusion.com/downloads/Support/DirectTrac/92357/MvcApplication4736296658.zip

 

Please let us know if you have any concern.

 

Regards,

Ranjithkumar.


Loader.
Up arrow icon