in a web form I'm trying to get intellisense within a script tag BUT within some inline .net code Running vstudio 2008 / c# / .net 3.5 / vista
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WebUserControl1.ascx.cs"
Inherits="adazzle.mediaApp.adazzleMediaAppWeb.controls.WebUserControl1" %>
<%@ Register src="utils/popup.ascx" tagname="popup" tagprefix="uc1" %>
<div>
<%=popup1.ClientID;%>
<script language="javascript" type="text/javascript">
var popId = <%="'" + popup1.ClientID%>';//no inetllisense here
//this wont work either
<%
string popid = popup1.ClientID;
//no intellisense here either - thinks it is javascript
%>
</script>
<uc1:popup ID="popup1" runat="server" />
</div>
I get intellisense in the first angle bracket, but within the script tag intellisense is picking up javascript intellisense - ie not recognising that I am actually doing some inline code. Is there a syntax I can use to get this??