View Full Version : [CLOSED] Razor and Ext.Net base and partial views

Mar 01, 2012, 11:09 AM
Hi, can you help me with this problem:

I start to create new project in asp.net mvc and using razor with ext.net. In that project I need to have for example 2 ext.net panels. I create that panels in razor. That panels needs to be on each page (view) of the project. Panels I can define in base view. I can do that. Panels must see on evrery page, but content of panels is different on every page. And problem is that when I need to add some ext.net controls to that panels in every partial view (page). I can't get object refernence to panel from base view to add some ext.net controls. Can you please help me how can I do this?


p.s. sorry form my frequently questions for last fiew days but I am new in mvc and razor... :)

Mar 01, 2012, 1:17 PM

There is no Razor partial views support in DP1. Please wait the next release.

Mar 01, 2012, 1:23 PM
Does this mean that I must use old aspx and maste pages?

Mar 01, 2012, 3:34 PM
I would wait a bit the next release if I would really need to use Razor.

Mar 01, 2012, 3:45 PM
Just to ensure that your case will work correctly in the beta release please post your scenario (how do you try to use partial views with Razor)
We will test it with latest code