Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone.
There's a nice helper method that outputs paging markup:
paging.cshtml
@helper RenderPaging() {
doing some magic...
}
How do I call the @RenderPaiging in another macro products.cshtml?
@paging.RenderPaging() should do it. Assuming this helper lives in App_Code the "class name" is just the name of the file.
Andy
Andy,
Super! It works, thanks!
Hi Ivan,
Where did you find the helper you're referring to?
-Amir
Hi Amir.
It has been written by our company and has nothing to do with standard Umbraco components.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Share helpers across several macros
Hi everyone.
There's a nice helper method that outputs paging markup:
paging.cshtml
@helper RenderPaging() {
doing some magic...
}
How do I call the @RenderPaiging in another macro products.cshtml?
@paging.RenderPaging() should do it. Assuming this helper lives in App_Code the "class name" is just the name of the file.
Andy
Andy,
Super! It works, thanks!
Hi Ivan,
Where did you find the helper you're referring to?
-Amir
Hi Amir.
It has been written by our company and has nothing to do with standard Umbraco components.
is working on a reply...