MVC :: VSDOC Intellisense Not Working With Jquery 1.4.1 - VS08sp1 With Hotfix?
Feb 20, 2010
I have seen this on two different machines:
"Error updating JScript Intellisense, see Error List."
Current installations:
Windows 7
Visual Studio 2008 sp1 with VSDOC hotfix
MVC RC2
After doing a fresh install on everything, and starting a new MVC2 project and immediately dragging over jquery-1.4.1.min.js, I get the error.This error also occured on a different similar installation.owever, jquery 1.3.2 works just fine.
View 1 Replies
Similar Messages:
Jan 6, 2010
I think my main problem is actually more to do with master pages that anything else.. Below is a description:
If you use master pages in your website and you have pages in different sub directories then the simplest way to add JQuery references is using <script src='<%# ResolveUrl ("jq.js")%> /> in the master page header??
This means that the .js files are correctly referenced in all pages that use the master. My main problem is that intellisense only seems to work for JQuery when the JQ Script is actually referenced in the header and not by using ResolveUrl('') <script src="/scripts/jq.js" />
I dont want to have to live without intellisense, Surely there is a way to get around this. What am I doing wrong.
View 1 Replies
Jan 24, 2010
I'm just getting started with C++ and I'm having a little trouble with intellisense.
I've created an empty project and added a few variables to the only existing cpp file that I created.When I'm slowly typing out the name of the variable I expected it to show up like in visual basic .NET but it doesn't seem to be.something wrong, or is there a setting somewhere I need to adjust
View 1 Replies
Apr 14, 2010
As I wanted to try out the new VS, I started and began working on a C# web project that I had previously started in VS2008. So far, so good. But then I noticed that Intellisense is not working at all. I have done some searching, but all I could find were some problems with the release candidate version crashing.Does anyone have any insight as to what might be causing this and how to resolve it?
View 3 Replies
Mar 18, 2010
I thought I would try this forum first, but it may be an ASP.NET general question.
I have setup profile in a web.config like the following:
[Code]....
However when I try and reference the profile in a code behind using the "Profile.blah-balh" the intellisense does not pick up the elements I have defined in the web.config.
Intellisense is generally working and does sport the Profile() starting point when typed.
View 1 Replies
Feb 7, 2011
Inside VS 2010 I do not have any intellisense working. I have reinstalled everything and still nothing is coming up for intellisense?
View 2 Replies
Dec 3, 2010
I am using Visual Studio 2008 SP1
I have two master pages: TopLevelMaster and NestedMaster
When my page points to NestedMaster as it's master page, intellisense quits working in the .aspx page.
If I change my page to use TopLevelMaster as it's master page, intellisense works.
No matter what I use as the master I always get a green squiggly underline under the Content control that brings up a tooltip that says "Could not find ContentPlaceHolder1" in the current master page or pages"
TopLevelMaster exists in a different project than NestedMaster and the page.
When I say "intellisense quits working" here is what happens:
If I type something between the Content tags I get no intellisense for asp controls:
<asp:Content ID="Content1" runat="server" etc.., etc..>
Only html controls appear upon typing an open angle bracket here
</asp:Content>
If I instert a div element I can type an opening angle bracket and I see a list of all asp controls. If I choose one and start typing there is no intellisense after that:
<asp:Content ID="Content1" runat="server" etc.., etc..>
<div>
ASP controls appear but no intellisense other than asp:ControlName
</div>
</asp:Content>
Opening one or both master pages in the IDE has no effect.
I deleted Visual Sudio temp files.
View 5 Replies
Sep 28, 2010
I used to have intellisense for Javascript, including JQuery, in Visual Web Developer 2008. However in 2010 it has disappeared. I have tried resetting my settings,
View 3 Replies
Jun 29, 2010
I have a web page using MasterPages built in Visual Studio 2010 Pro. Currently, in the Head of my MasterPage file, I have my reference to my jQuery 1.4.2 file. When I go to a content page referencing the MasterPage I don't get any jQuery intellisense support. (Looks like I just get JS support?) What is more frustrating is the lack of Intellisense in my User Controls (.ascx) - It makes sense though since VS has no idea knowing if my UC will be loaded into a MasterPage referencing the jQuery.
My Scripts folder has one file - jquery-1.4.2.min.js
[Code]....
View 1 Replies
Nov 3, 2010
I made a custom server control library that all of our websites will be using. I have registered the dll in the global web.config of our production and development servers, and everything runs fine in the browser. The only problem I have is Visual Studio/Intellisense not recognizing my control. I get the error message "Unknown server tag...", which in turn throws other validation warnings. Does anyone know how to tell Visual Studio to include dll's registered in this location? Our sites are .net 4.0 and below is an excerpt from the web.config located in %SystemDrive%WindowsMicrosoft.NETFrameworkv4.0.30319Config on the servers.
<pages>
<controls>
<add assembly="[assembly info]" tagPrefix="irnrControls" namespace="IRNR.Controls"/>
</controls>
</pages>
It's not that big of a deal right now as I only have one control in the dll, but I would like to fix this before I add more controls.
Edit: I can't debug the site and it fails when I try to build it. The Output window displays "Unknown server tag".
View 2 Replies
Mar 25, 2010
I've just downloaded SQL Server Management Studio 2008 after using SSMS 2005 for the past years, however the intellisense isn't working in the Query-Builder. I've checked, and Intellisense is enabled. Is there any other reason this could not be working?
View 4 Replies
Nov 11, 2010
I have an MVC 2.0 environment in a S#arp layout, everything works great, and I have Intellisense working in my aspx file (for things like HTML helpers and Model properties) As soon as I add the line:
[Code]....
To my web.config, I lose Intellisense on my aspx files! Does anyone have any idea of why this is happening? Or have any experience with this?
View 1 Replies
Oct 13, 2010
I have a problem I am using a date picker ... jdpicker and I also tried with UI DatePicker and I keep getting this error "..." is not a function even though intellisense detects the function.My code is as simple as using the default options such as
$('#txtDate').jdPicker()
or
$('#txtDate').datePicker()
View 3 Replies
Jun 14, 2010
In my Application i write one javascript function as
Page.ClientScript.RegisterStartupScript(typeof(Page), "myscript", "<script >document.execCommand('SaveAs');</script>");
to save that file.
its working fine in IE but in firefox mozila that save as window is not comming.
which function will work for both IE and FireFox mozila.
View 1 Replies
Feb 8, 2011
I am new to jQuery, i am tring that In my pages contain four checkboxes then if any checkbox is checked then one div is dispaly , in that div some controls is placed. My intension is if checkbox is checked then validation for that particular div contained controls,
View 4 Replies
Mar 10, 2011
I have implemented a lot fo JQuery features into my ASP.Net web application. I am using JQuery, JQueryUI, JQuery Validation and a couple of other plugins. They are all coexisting and working fine. This one page in my app has the JQueryUI tabs, Modal progress pop-up working just fine. This page also has a couple of JQuery AJAX calls to my server side events. That all works fine!
I just added a Jquery date picker to one of the text boxes on the first tab on my data entry form and nothing happens or is displayed when you click on the date textbox. I am going to post the HTML markup for the page and my JQuery code. Please let me know if you see anything glaring? HTML
[Code]....
Script
[Code]....
View 7 Replies
Mar 2, 2011
I have the following jQuery that does find the ASP.NET server control (tested by placing an alert() inside block), but it does not set the height on the next DIV in the DOM using .next(). However if I use straight JS to do the same thing, calling the DIV by ID directly it works fine. What I am trying to do is not use the hardcoded ID of the DIV in case it changes, and rather walk the DOM to dynamically get to the element and set the height. So 1st: the HTML source of what I am trying to manipulate:
<div id="WebViewer" style="height:100%;width:100%;margin-right: 0px">
<input name="WebViewerReportReceipt" type="hidden"/>
<input name="WebViewerViewerType" type="hidden"/>
<DIV id="WebViewer_controlDiv">
<iframe src="295769102_1619997395_16141400_2120403583/CacheItem" style="width:100%;height:100%;"></iframe>
</DIV>
</div>
Next the non-working jQuery that I think should work:
//Using the 'DIV' that is created by the viewer (at runtime), resize it dynamically to fit the window
var myHeight = $(window).height();
if ($('#<%=WebViewer.ClientID %>') != null) {
$('#<%=WebViewer.ClientID %>').next('div').height(myHeight - 10);
}
And lastly the JS that does work, but I would prefer not to access that DIV by a hardcoded ID and use jQuery instead:
var myHeight = $(window).height();
//Using the 'DIV' that is created by the viewer (at runtime), resize it dynamically to fit the window
if (document.getElementById('WebViewer_controlDiv') != null) {
document.getElementById('WebViewer_controlDiv').style.height = myHeight - 10;
}
why walking the DOM in jQuery to get the 'next' div and set its height is not working?
View 3 Replies
Nov 19, 2010
Im using MVC 2 and .NET 4 on my local machine. I can debug my project using the Visual Studio Development Server locally. Everything works great, including the validation using
[Code]....
[Code]....
View 2 Replies
May 12, 2010
I'm try to do validation on a textbox input to validate a phone number.I have an asp.net textbox and checkbox. The default is to validate a US phone number and when I check the checkbox I should change the RegularExpression and error message to validate an international phone using my own RegularExpression.
[code]...
View 1 Replies
Feb 1, 2011
This code is working in firefox but on IE 8 it returns nothing
<script type="text/javascript">
$(document).ready(function(){
var pageUrl = '<%=ResolveUrl("~/test/test.aspx")%>';
// Test
$('#<%=ddlTest.ClientID%>').change(function(){
var trgId = $(this+'input:checked').val();
$.ajax({
type: "POST",........
View 1 Replies
Mar 13, 2011
I write ASP.NET application and I want to use jQuery DataTables.
In Master Page (which is not in root) I include scripts in code behind:
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
ScriptManagerSM.Scripts.Add(new ScriptReference(Page.ResolveUrl("~/js/jquery.min.js")));
ScriptManagerSM.Scripts.Add(new ScriptReference(Page.ResolveUrl("~/js/jquery-ui.min.js")));
ScriptManagerSM.Scripts.Add(new ScriptReference(Page.ResolveUrl("~/js/DataTables/jquery.dataTables.js")));
ScriptManagerSM.Scripts.Add(new ScriptReference(Page.ResolveUrl("~/js/setup.js")));
Page.Header.DataBind();
}
In page I have just pure html:
<table class="table display">
<thead>
<tr>
<th>Header</th>
<th>Header 2</th>
</tr>
</thead>
<tbody>
<tr class="gradeX">
<td>Cell 1</td>
<td>Cell 2</td>
</tr>.......
View 1 Replies
Jul 16, 2010
After hosting my site JQuery is not working, but in my site it's work properly.
I am using the script source in follwing style
[Code]....
View 1 Replies
Mar 26, 2011
i am trying to include some tooltips in my MVC project. but i cant get any jquery effect from it, what i see is just default tooltip. I had follows several examples but still cant get it. currently i am doing like this:
[Code]....
[Code]....
which is exactly same as example from here: [URL]
View 8 Replies
Oct 8, 2010
I use a web method with JSON which controls the Username is available or disable. This code is working well with Mozilla. But it doesn't work with IE.
this is my JSON code:
<script src="../jquery-1.4.1.min.js" type="text/javascript"></script>
<script type = "text/javascript">
$(document).ready(function () {
$("#<%=txtUserName.UniqueID%>").change(function () {
var uname = $("#<%=txtUserName.UniqueID%>");
[code]....
View 8 Replies
Dec 13, 2010
I'm developing a website using asp.net mvc and I have this image that fire an Ajax event when clicked. It works just fine on FF and IE 7 & 8, but on IE 6 it doesn't even call the method on the controller (I did put a breakpoint there and ran it on debug mode to check). I'm on it for a few days now and can't find a solution. Here's my code:
<img src="/Content/Images/img.png" onclick="HideAll(); GetMyVonparDiv(this);
$.ajax({ url: '/<%= Html.ViewContext.RouteData.Values["language"] %>/myvonpar/AddContent/?idContent=<%= ViewData.Model.id_content.ToString() %>&static=<%= ViewData.Model.is_static %>',
[code]...
View 2 Replies