I have the following RadPageView in my WebForms application:
<telerik:RadPageView ID=
"rpvInspsSketch"
runat=
"server"
>
<div class=
"fs-container"
>
<div id=
"lc"
></div>
</div>
<script src=
"../_js_libs/react-0.14.3.js"
></script>
<script src=
"../_js_libs/literallycanvas.js"
></script>
<script type=
"text/javascript"
>
var
lc = LC.init(document.getElementById(
"lc"
), {
imageURLPrefix:
'../_assets/lc-images'
,
toolbarPosition:
'bottom'
,
defaultStrokeWidth: 2,
strokeWidths: [1, 2, 3, 5, 30]
});
</script>
</telerik:RadPageView>
The canvas displays properly, but none of the drawing tools work. If I move the code outside the RadPageView it works as expected.
How can I get this to work inside the RadPageView?
Thanks - Jerald