PDA

View Full Version : Intellisense in visual studio 2008



YankeeImperialistDog
21 Nov 2009, 1:36 PM
I know there are other threads on here, but so far i've not found one that has helped.
this is an MVC.NET project. I don't know if that makes a difference.
ext source is added in the master page as follows:
<link href="/Content/Site.css" rel="stylesheet" type="text/css" />
<link href="/Scripts/ext-js/resources/css/ext-all.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/Scripts/ext-js/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="/Scripts/ext-js/ext-all.js"></script>
<script type="text/javascript" src="/Scripts/ext-js/ext-all-debug.js"></script>

I have a view with a script block.


<script type="text/javascript">
/// <reference path="/Scripts/ext-js/adapter/ext/ext-base.js" />
/// <reference path="/Scripts/ext-js/ext-all.js" />
Ext.onReady(function() {
var movie_form = new Ext.FormPanel({
url: 'movie-form-submit.php',
renderTo: document.body,
frame: true,
title: 'Movie Information Form',
width: 450,
items: [{
xtype: 'textfield',
fieldLabel: 'Title',
name: 'title',
allowBlank: false
}, {
xtype: 'textfield',
fieldLabel: 'Director',
name: 'director',
allowblank: false,
vtype: 'alpha'
}, {
xtype: 'textfield',
fieldLabel: 'Email',
name: 'email',
allowblank: false,
vtype: 'email'
},{
xtype: 'datefield',
fieldLabel: 'Released',
name: 'released',
disabledDays: [0,6]
}, {
xtype: 'textarea',
fieldLabel: 'Notes',
name: 'extraNotes'

}]
});
});
</script>

I've tried every thing i could find on here, but no matter what if i add a commma after an item and start to type vtype, I do not get intellesense for it. JavaScript? sure. i am using the latest version. Are there issues with this?

Thanks
KES