PDA

View Full Version : [CLOSED] Razor Example



jesperhp
Apr 27, 2012, 6:55 AM
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.

Daniil
Apr 27, 2012, 9:49 AM
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.