[CLOSED] How to use Xscript in Razor engine

  1. #1

    [CLOSED] How to use Xscript in Razor engine

    Hi ,

    I want to use Xscript in razor view engine. Can you please guide me that what is the correct way of using it ?
    Also I want to know that can we protect Xscript code in such a way that it will not show when user does a view source of page in the browser ?

    Thanks,
    alscg
    Last edited by geoffrey.mcgill; Mar 25, 2013 at 12:12 PM. Reason: [CLOSED]
  2. #2
    Hi @alscg

    Quote Originally Posted by alscg View Post
    I want to use Xscript in razor view engine. Can you please guide me that what is the correct way of using it ?
    There are, seems, no need in a XScript in Razor. Could you clarify an objective of using it?

    Quote Originally Posted by alscg View Post
    Also I want to know that can we protect Xscript code in such a way that it will not show when user does a view source of page in the browser ?
    Unfortunately, no. Anyway, JavaScript will be available for users.

Similar Threads

  1. X.Redirect ASP.NEt Razor Engine
    By alexiism in forum 2.x Help
    Replies: 0
    Last Post: Dec 14, 2012, 5:39 PM
  2. RowSelectionModel Using Razor Engine Help
    By prince-sat in forum 2.x Help
    Replies: 0
    Last Post: Sep 11, 2012, 9:51 PM
  3. Replies: 2
    Last Post: Jan 16, 2012, 9:53 AM
  4. Razor engine support
    By Dominik in forum Feature Requests
    Replies: 1
    Last Post: Jan 16, 2012, 9:53 AM
  5. Razor engine in MVC 3
    By Dominik in forum Open Discussions
    Replies: 7
    Last Post: Jan 16, 2012, 9:46 AM

Posting Permissions