load a cshtml file (razor) in the iframe
I have in my **Layout** page (Menu + Iframe)
and i want to load a cshtml files in the iframe after the click in the menu.
the goal is not to load the entire **Layout** page 

 I tried this way:

    <ul id="qm0" class="qmmc">
       	<li><a class="qmparent" >FILES</a>
    		<ul class="rgauche">
    	            <li>@Html.ActionLink("USERS","getUsers")</li>   
                    <li><a id="disconnect">Deconnexion</a></li>                              
    	         </ul>
        </li>
    </ul>

but it loads the entire layout page 

I had this idea from another ASP.NET project that uses javascript to load a .aspx page in the iframe after the click on the menu

   

     <ul id="qm0" class="qmmc">
           	<li><a class="qmparent" >FILES</a>
        		<ul class="rgauche">
        	            <li><a id="getuser">USERS</a></li>   
                        <li><a id="disconnect">Deconnexion</a></li>                              
        	         </ul>
            </li>
        </ul>
    
    
                $(function () {
    
                    $('#getuser').click(function () {
                        document.getElementById('myIframe').src = "users.aspx";
                        return false;
                    });
                });

 Any ideas ?
load a cshtml file (razor) in the iframe
===

I have in my **Layout** page (Menu + Iframe)
and i want to load a cshtml files in the iframe after the click in the menu.
the goal is not to load the entire **Layout** page 

 I tried this way:

    <ul id="qm0" class="qmmc">
       	<li><a class="qmparent" >FILES</a>
    		<ul class="rgauche">
    	            <li>@Html.ActionLink("USERS","getUsers")</li>   
                    <li><a id="disconnect">Deconnexion</a></li>                              
    	         </ul>
        </li>
    </ul>

but it loads the entire layout page 

I had this idea from another ASP.NET project that uses javascript to load a .aspx page in the iframe after the click on the menu

   

     <ul id="qm0" class="qmmc">
           	<li><a class="qmparent" >FILES</a>
        		<ul class="rgauche">
        	            <li><a id="getuser">USERS</a></li>   
                        <li><a id="disconnect">Deconnexion</a></li>                              
        	         </ul>
            </li>
        </ul>
    
    
                $(function () {
    
                    $('#getuser').click(function () {
                        document.getElementById('myIframe').src = "users.aspx";
                        return false;
                    });
                });

 Any ideas ?