Portal engine and react js

Yowaraj Chhetri asked on August 24, 2021 08:51

Hi,

I want to have a form developed using react js. Our site is in Kentico 12 Portal engine. Can we leverage on kentico forms with react or webpart with react. Any ideas or example will be highly appreciated.

The data collected from the form is sent over a custom kentico api.

Thank you

Recent Answers


Brian McKeiver answered on August 24, 2021 17:18

Kentico 12 Portal Engine is built with ASP.NET Webforms. That means that the simple out of the box answer is not really. The longer answer is that with enough customization it could be possible. But it would not be straight forward. You could wrap the react js code inside of a custom web part and place it in Kentico, but you would need to handle the form submission action in a special way as Webforms wraps everything in a form already. It would be easier to create the form in the Kentico forms engine if you could. Then you would get the full power and functionality of Kentico's form engine.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.