<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET MVC</title><link>http://forums.asp.net/1146.aspx</link><description>Discussions regarding Model-View-Controller (MVC) support in ASP.NET.  &lt;a href="http://forums.asp.net/1215.aspx"&gt;T4MVC subforum&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700665.aspx</link><pubDate>Wed, 22 Oct 2008 21:33:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700665</guid><dc:creator>koistya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2700665.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2700665</wfw:commentRss><description>&lt;p&gt;Yep, &lt;a href="http://forums.asp.net/members/JeremyS.aspx"&gt;JeremyS&lt;/a&gt; is right. When you turn off ReSharper&amp;#39;s Intellesense it works correctly.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Menu -&amp;gt; ReSharper -&amp;gt; Options -&amp;gt; Intellisense -&amp;gt; General -&amp;gt; (*) Visual Studio&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Just have careated a ticket related to this issue on JetBrains website:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.jetbrains.net/jira/browse/RSRP-84168"&gt;http://www.jetbrains.net/jira/browse/RSRP-84168&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Welcome to vote on it :)&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700632.aspx</link><pubDate>Wed, 22 Oct 2008 21:16:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700632</guid><dc:creator>levib</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2700632.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2700632</wfw:commentRss><description>&lt;p&gt;Ah, my browser must have cached the original image before you updated it.&amp;nbsp; My apologies.&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700625.aspx</link><pubDate>Wed, 22 Oct 2008 21:12:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700625</guid><dc:creator>koistya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2700625.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2700625</wfw:commentRss><description>&lt;p&gt;No, look at my last (second) screenshot, i am using &lt;strong&gt;System.Web.Mvc.ViewPage&amp;lt;...&amp;gt;&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700622.aspx</link><pubDate>Wed, 22 Oct 2008 21:10:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700622</guid><dc:creator>levib</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2700622.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2700622</wfw:commentRss><description>&lt;p&gt;Look very closely at your Inherits attribute.&amp;nbsp; You&amp;#39;re looking for a type called &lt;strong&gt;ViewsWithoutCodeBehind.Views.Home.Index&amp;lt;...&amp;gt;&lt;/strong&gt;, &lt;em&gt;but your sample project contains no such type&lt;/em&gt;.&amp;nbsp; The behavior you likely wanted is that your view inherits directly from the &lt;strong&gt;System.Web.Mvc.ViewPage&amp;lt;...&amp;gt;&lt;/strong&gt; type, which is what the sample @ Page directive I provided to you does.&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700545.aspx</link><pubDate>Wed, 22 Oct 2008 20:43:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700545</guid><dc:creator>JeremyS</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2700545.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2700545</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;koistya:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Maybe it doesn&amp;#39;t work when ReSharper is installed...&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You&amp;#39;re correct - ReSharper doesn&amp;#39;t support the CLR notation for generics.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700527.aspx</link><pubDate>Wed, 22 Oct 2008 20:32:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700527</guid><dc:creator>koistya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2700527.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2700527</wfw:commentRss><description>&lt;p&gt;I have double-checked the declaration. Type name is correct. Maybe it doesn&amp;#39;t work when ReSharper is installed... Website buils without problems, displayed correctly in browser, but Intellisense still doesn&amp;#39;t work one .aspx/.ascx view pages&amp;nbsp;without code-behind files.&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700370.aspx</link><pubDate>Wed, 22 Oct 2008 19:02:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700370</guid><dc:creator>levib</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2700370.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2700370</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;koistya:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;You just have explicitly added Version, Culture and PublicKeyToken to my example though all they are optional as far as I know.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;No, I did not.&amp;nbsp; Your actual type name was incorrect.&amp;nbsp; Use the typeof(ViewData&amp;lt;&amp;gt;).FullName trick I mentioned earlier in this thread and you will produce the actual &lt;strong&gt;correct&lt;/strong&gt; mangled name for the type.&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700360.aspx</link><pubDate>Wed, 22 Oct 2008 19:00:05 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700360</guid><dc:creator>koistya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2700360.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2700360</wfw:commentRss><description>&lt;p&gt;You just have explicitly added Version, Culture and PublicKeyToken to my example though all they are optional as far as I know. Anyway I have also added them and have same issues with Intellisense:&lt;br /&gt;&lt;br /&gt;&lt;img title="ViewsWithoutCodeBehind2.png" style="WIDTH:811px;HEIGHT:222px;" height="222" alt="ViewsWithoutCodeBehind2.png" src="http://navin.biz/files/ViewsWithoutCodeBehind2.png" width="811" /&gt;&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2700313.aspx</link><pubDate>Wed, 22 Oct 2008 18:35:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2700313</guid><dc:creator>levib</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2700313.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2700313</wfw:commentRss><description>&lt;p&gt;Intellisense works just fine; it&amp;#39;s just that&amp;nbsp;your @ Page directive is incorrect.&amp;nbsp; It should read (note the &lt;em&gt;Inherits&lt;/em&gt; attribute):&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;lt;%&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;@&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Page&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;Language&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;C#&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;MasterPageFile&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;~/Views/Shared/Site.Master&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;AutoEventWireup&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;true&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;Inherits&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;System.Web.Mvc.ViewPage`1[[ViewsWithoutCodeBehind.Models.HomeModel, WebSite, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; %&amp;gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2699126.aspx</link><pubDate>Wed, 22 Oct 2008 10:07:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2699126</guid><dc:creator>koistya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2699126.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2699126</wfw:commentRss><description>&lt;p&gt;Here is an example:&lt;/p&gt;
&lt;p&gt;&lt;a class="" title="ViewsWithoutCodeBehind.zip" href="http://navin.biz/files/ViewsWithoutCodeBehind.zip"&gt;ViewsWithoutCodeBehind.zip&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Intellisense doesn&amp;#39;t work without code-behind files and inheriting generic class declared on .aspx page in CLR way.&lt;/p&gt;
&lt;p&gt;&lt;img title="ViewsWithoutCodeBehind" style="WIDTH:944px;HEIGHT:212px;" height="212" alt="ViewsWithoutCodeBehind" src="http://navin.biz/files/ViewsWithoutCodeBehind.png" width="944" /&gt;&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2698317.aspx</link><pubDate>Wed, 22 Oct 2008 00:20:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2698317</guid><dc:creator>levib</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2698317.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2698317</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;koistya:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Looks like removing code-behind file and decalring inheriting class on .aspx/.ascx page itself doesn&amp;#39;t bring any value. Because intellisense doesn&amp;#39;t work in this scenario.&lt;/div&gt;&lt;/BLOCKQUOTE&gt; 
&lt;p&gt;I&amp;#39;m not sure what is meant by that statement.&amp;nbsp; Intellisense works just fine as long as the Inherits attribute is set correctly.&amp;nbsp; The easiest way I&amp;#39;ve found to do this is to use a typeof() to get a Type corresponding to the ViewPage&amp;lt;&amp;gt; you want, then to look at its Name property.&amp;nbsp; Copy + paste this string into your .aspx file.&amp;nbsp; For example:&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Type&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; viewPageType = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;typeof&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;ViewPage&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;IList&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;lt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Class1&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;gt;&amp;gt;);&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; mangledName = viewPageType.FullName;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;In my application, this produces a mangled name of &lt;em&gt;System.Web.Mvc.ViewPage`1[[System.Collections.Generic.IList`1[[MvcApplication5.Models.Class1, MvcApplication5, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]&lt;/em&gt;.&amp;nbsp; So the @ Page directive would look like:&lt;/p&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;lt;%&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;@&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Page&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;Language&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;C#&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;MasterPageFile&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;~/Views/Shared/Site.Master&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;AutoEventWireup&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;true&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;Inherits&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&amp;quot;System.Web.Mvc.ViewPage`1[[System.Collections.Generic.IList`1[[MvcApplication5.Models.Class1, MvcApplication5, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; %&amp;gt;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;This horrendous-looking name is how the CLR identifies types.&amp;nbsp; It is independent of any language used (VB, C#, C++, dynamic languages, etc.).&amp;nbsp; Since the directives are not language-specific (note that the Language attribute is just a string attribute, but it doesn&amp;#39;t change how the directives are parsed), a language-neutral type representation had to be chosen.&amp;nbsp; This is the CLR&amp;#39;s language-neutral representation of generics.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2697773.aspx</link><pubDate>Tue, 21 Oct 2008 18:45:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2697773</guid><dc:creator>koistya</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2697773.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2697773</wfw:commentRss><description>&lt;p&gt;Looks like removing code-behind file and decalring inheriting class on .aspx/.ascx page itself doesn&amp;#39;t bring any value. Because intellisense doesn&amp;#39;t work in this scenario.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s vote for this bug:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104071"&gt;https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104071&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Maybe VS dev team will fix it.&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2058384.aspx</link><pubDate>Thu, 13 Dec 2007 18:08:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2058384</guid><dc:creator>JeremyS</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2058384.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2058384</wfw:commentRss><description>I&amp;#39;m glad it works for you :)

I didn&amp;#39;t actually find any information about this anywhere - I just ran into it when doing some debugging.</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2058362.aspx</link><pubDate>Thu, 13 Dec 2007 17:55:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2058362</guid><dc:creator>ghotiman</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2058362.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2058362</wfw:commentRss><description>&lt;p&gt;Thanks!&amp;nbsp; Where did you find this?&amp;nbsp; It doesn&amp;#39;t say anything about it in the online help for the page directive.&amp;nbsp; I thought that the `1 was a typo, but it&amp;#39;s not...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;After a little more searching I found this: &lt;a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104071&amp;amp;wa=wsignin1.0"&gt;https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=104071&amp;amp;wa=wsignin1.0&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Typed ViewPage Using Generics Without Code Behind</title><link>http://forums.asp.net/thread/2057389.aspx</link><pubDate>Thu, 13 Dec 2007 10:02:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2057389</guid><dc:creator>JeremyS</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2057389.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=2057389</wfw:commentRss><description>&lt;p&gt;You need to use the standard CLR notation for generics. For example, I have an Error Handling View which deals with processing exceptions. The view inherits from ViewPage&amp;lt;Exception&amp;gt; so this is what you&amp;#39;d have in the view:&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;span class="dir"&gt;&amp;lt;%@ Page Language=&amp;quot;C#&amp;quot; Inherits=&amp;quot;System.Web.Mvc.ViewPage`1[[System.Exception, mscorlib]]&amp;quot; %&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp;Hope this is useful.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>