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

[Solved] Can someone convert this .Pageable statement to VB/Razor

1 Answer 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rhek
Top achievements
Rank 1
Rhek asked on 26 Jul 2011, 11:38 PM
Hello,

I am having one 'ell of a time converting Razor code in C# to VB.  Can someone please convert this pageable code for me?

  .Pageable(pager => pager.Pagesize(50))


and maybe this one

  .Pageable(paging => paging.Style(GridPagerStyles.NextPreviousAndDropDown).PageSize(30, new[]{ 1,2,3,4,5}))

Thanks!

To Telerik... wishing for some VB/Razor code examples!!

Thanks again!

1 Answer, 1 is accepted

Sort by
0
Rhek
Top achievements
Rank 1
answered on 27 Jul 2011, 01:39 AM
Ok, got this one figured out.
 
C# is:
 .Pageable(pager => pager.Pagesize(50))
 
Visual Basic is:
 
.Pageable(Function(x) x.Pagesize(50))
 
Tags
Grid
Asked by
Rhek
Top achievements
Rank 1
Answers by
Rhek
Top achievements
Rank 1
Share this question
or