[CLOSED] Razor Example

  1. #1

    [CLOSED] Razor Example

    Hi,
    I am working on an example to use Razor I have made a view like this

    <!DOCTYPE html>
    @{
        Layout = "";        
    }
    <html>
    <head>
        <title>Index</title>
    </head>
    <body>
    <h1>Heading</h1>
        @Html.X().ResourceManager()
        @using (Html.BeginForm())
        {
            
            @(Html.X().HtmlEditor()
            .ID("hrml")
            .Width(200)
            .Height(200)
            .Text("Testing"))
            @(Html.X().Label().Text("Testing"))
            <br />
            @(Html.X().Button().Text("Show Contents"))
    
    
        }
    </body>
    </html>
    Text is rendering fine but all Ext components are not rendering on client side, Please help me to figure out problem, I have also used your razor example "http://forums.ext.net/showthread.php?16920", No Error are is displaying at client side.
    Last edited by Daniil; May 02, 2012 at 9:43 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I've launched the page on my side and can see the Ext.NET controls are rendered as expected.

    Did you make respective changes in Web.config and Global.asax? As described in the link you mentioned.

Similar Threads

  1. [CLOSED] [RAZOR] DraggablePanelConfig doesn't have StartDrag in Razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 28, 2012, 2:37 PM
  2. [CLOSED] [Razor] HyperLink Text in Razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 20, 2012, 12:16 PM
  3. [CLOSED] [Razor] Add GridView to GridPanel in razor
    By boris in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: May 09, 2012, 4:23 PM
  4. [CLOSED] [Razor] Setup Auto load panel in razor
    By UnifyEducation in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 27, 2012, 10:54 AM
  5. [CLOSED] MVC Razor and Ext.Net v2 example
    By boris in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 27, 2012, 8:05 AM

Posting Permissions