Hi awesome peeps! I wanted to know if there are any good docs that I can use to learn more about razor coding. I was thinking of using a partial view to handle result of form submission. The result will be dependent on the selection of the form selection by user. Would that be a good way to handle this?
I have this form, the user will select class to register for and based on selection, I will be showing different items on the next page of registration. So I was thinking of use a partial view to show different results on a page. (Using an If statement on selection) Would this be a good approach? Or is there a better way... I'm open to suggestions? :)
Good Razor coding example
Hi awesome peeps! I wanted to know if there are any good docs that I can use to learn more about razor coding. I was thinking of using a partial view to handle result of form submission. The result will be dependent on the selection of the form selection by user. Would that be a good way to handle this?
I have this form, the user will select class to register for and based on selection, I will be showing different items on the next page of registration. So I was thinking of use a partial view to show different results on a page. (Using an If statement on selection) Would this be a good approach? Or is there a better way... I'm open to suggestions? :)
Screen:
Hi Antoinette
There are tons of Razor tutorials, but if we need to work with Umbraco I would recommend reading these:
https://github.com/umbraco/UmbracoDocs/blob/master/Reference/Templating/Mvc/index.md
https://github.com/kgiszewski/LearnUmbraco7
Thanks,
Alex
Thank you Alex!
Antoinette, you are welcome!!!
Have a nice day!
Hi Antoinette, there also this page from microsoft:
https://www.asp.net/web-pages/overview/getting-started/introducing-razor-syntax-c
I have found it also useful, because theres an overview over some methods and operators for later reference.
/Peter
Thank you Peter.
is working on a reply...