Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Is it possible to add Codebehind to a Document Transfrom? View modes: 
User avatar
Member
Member
Jason - 3/28/2011 6:13:44 PM
   
Is it possible to add Codebehind to a Document Transfrom?
I am just wandering is it possible to add a Codebehind file to a Document transform?

I know you can use a user control, but it would be kind of nice as you could then keep it all in Kentico :)

Thanks

Jason

User avatar
Member
Member
dima - 3/29/2011 1:42:33 AM
   
RE:Is it possible to add Codebehind to a Document Transfrom?
you can just write
<script runat='server'>
// some code
</script>


just inside the transformation and implement server logic there if you want.