I’m sorry about your problem. I didn’t test it with MVC 3 but if you could
provide me with the code and markup of a sample page not working I
will have a look and see if I can help.
If you prefer you can send me an example at: il_matte@yahoo.it
I too am trying this using ASP.NET MVC 3 and the Razor syntax. I am copying this exactly as it you wrote it and it is displaying the panel at the top of the html, e.g.:
thank you very much for your help.
I still don’t work either with with ASP.NET MVC 3 or with Razor
so I was not helpful to Max.
Thank you for the cross-reference too.
Very nice and also very detailed! Thanks for sharing 🙂
Thank you very much for your feedback!
Great piece of coding. Unable to get the following to workwith MVC 3!
@using (Html.BeginPanel(“This is my first Panel”))
{
Content of my first panel.
}
The content of the is appearing at the bottom of the page, not in the panel.
Any idea’s?
Hello Max,
I’m sorry about your problem. I didn’t test it with MVC 3 but if you could
provide me with the code and markup of a sample page not working I
will have a look and see if I can help.
If you prefer you can send me an example at:
il_matte@yahoo.it
I too am trying this using ASP.NET MVC 3 and the Razor syntax. I am copying this exactly as it you wrote it and it is displaying the panel at the top of the html, e.g.:
Any ideas? Thanks.
This is how to do it using ASP.NET MVC 3 Razor : http://stackoverflow.com/questions/5649191/razor-base-type-templated-razor-delegates-with-the-using-keyword/5652289#5652289
Hello Rafel,
thank you very much for your help.
I still don’t work either with with ASP.NET MVC 3 or with Razor
so I was not helpful to Max.
Thank you for the cross-reference too.
Matteo
Hi, worked very well for me, thk u very much!
“MvcPanel BeginPanelFor(this HtmlHelper html, Expression<Func> expression)”
Thanks for that, it is what I was looking for (generic extension for HtmlHelper)
Cheers,
Paul.
[…] If you want to know more about it you can check these articles: https://ilmatte.wordpress.com/2010/11/16/asp-net-mvc-panel-htmlhelper-extension-methods-with-using-sy… […]
[…] If you want to know more about it you can check these articles: https://ilmatte.wordpress.com/2010/11/16/asp-net-mvc-panel-htmlhelper-extension-methods-with-using-sy… […]
First time visiting your website, I love your web site!
[…] FYI: Using the old ASPX engine, here’s how to do it. […]