Visual Studio :: "Place Code In Separate File" Checkbox Is Missing When Add New Item / Web Form
Mar 5, 2010
I did the following:
(1) File / New / Web Site
(2) Right-clicked on new website name
(3) Selected "Add New Item..."
(4) Selected Web Form
(5) Didn't see any check boxes for selecting either "Place code in separate file", or "Select master page".
The checkboxes are missing. Is this a configuration problem?
View 2 Replies
Similar Messages:
May 1, 2010
I'm missing a the code browser when I create pages that have the code not placed in a seperate file. For pages with .asp.vb files I get the browser correctly.
I think it's called a code browser but just in case it's not I mean the dropdown that shows Page Events, Buttons and other controls that can be selected along with their events.
How do I turn on those dropdowns for pages with code behind that uses <script> tags in the actual .aspx page?
Included (Showing page events just under the tab):
Missing
View 1 Replies
Jan 21, 2010
I can't seem to add any new web form files to my project. The option is missing from my Visual Web Developer Express 2008. I have other options, like adding a new class or Silverlight project, but nothing for web forms or master pages.
View 3 Replies
Jan 2, 2011
This question has probably been answered before, when adding a new web form, I do not see an option that allows you to place code in a seperate file for a project (it does it automatically). But for websites, I see the option. Am I missing some option?
View 1 Replies
Mar 11, 2010
I recently started NOT putting code in separate file. I am using vb. I am having a problem with my database connection. The live code is working just fine....but when I try to debug locally. i get this error. connection to the database from my local visual studio is not working. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" %>
<script runat="server">
Const ConnectionString As String = "Data Source=1234.database.com;Initial Catalog=database_name;Persist Security Info=True;User =user_name;Password=123456"
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Dim MyConn As New Data.SqlClient.SqlConnection(ConnectionString)
Dim cmd As New Data.SqlClient.SqlCommand("Select count (*) from Classifieds where (ClassifiedCatagory = 'Antiques')", MyConn)
cmd.Connection.Open()
Dim count As Integer = cmd.ExecuteScalar() 'this contains the number of records
Label_Antiques.Text = count
cmd.Connection.Close()
View 4 Replies
Mar 17, 2011
I am using gridview. I Added checkboc under itemtemplate.My page works fine. i have set my page according 508 standards. It looks for associated control id for every textbox, check box..etc.
When i check my page by 508 standards its giving form lable is missing for gridview item tamplate checkbox. i tried adding lable inside item tamplate and i set the check box id as Associated control id for the label. eventhough its not going off that error. After setting some text my errors are resolved.
but if add any text item template checkbox alignment is missing. i cann't hidden the lable. If i hidden the label it again show up Form label is missing. how can i add lable without effecting to GV item template checkbox alignment.
View 1 Replies
Feb 8, 2010
I am a 'newbie' to VWD and I am slowly working through the Basic Walkthrough Help files, and learning plenty along the way.However, when I tried to create a new database in the LINQ control walkthrough I found that the option to create a new database is missing, and further investigation has found that many other new item templates are missing.I am using a brand new machine with Windows 7 Ultimate and have enabled IIS and .NET from Control Panel-Programs-Turn Windows Features On-Off. I used the WPI to install all basic elements eg. IIS Components, SQL Server Express.The only 'new item templates' I have when I right-click the App_Data Folder and choose 'new item' are:-ADO.NET Data ServiceAJAX Enabled WCF ServiceDynamic Data FieldSQL Server DatabaseText FileXML FileDoes anyone know where I have gone wrong.
View 4 Replies
Mar 14, 2010
I'm new at ASP.NET. I'm trying to follow the first video tutorial in this link (Web Forms): [URL]. I see the guy using the same IDE as I use. He goes to File > New Project. I do not have the NEW PROJECT item in the FILE tab. Therefore I cannot follow the steps. I do not have the templates either for MVC or Web Forms
Using: .NET framework 3.5
View 4 Replies
Oct 2, 2010
I am using Visual Studio 2008 Professional Edition. I googled for the same, it says u might not have selected crystal reports feature while installation of vs. I am sure that i had selected installtion type = Full/Complete.
So has it anything to do with vs service pack etc. I dont have VS 2008 SP1, but VS 2008. Or wud be better if we can add crystal report component explicitly. (kinda standalone installer for crystal reports and then it will automatically merge with VS.)
View 1 Replies
Jul 9, 2010
By default VS 2010 likes to put CSS in-line, I'm wondering if there is a way to force it to put the CSS into a css file instead?
View 2 Replies
Sep 28, 2010
when i opened my Visual Studio 2010 i noticed that my ajax tab was missing from my toolbox and ajax control kit too.Then i noticed even that when i create new website, there is no web.config in it and it should be.WHAT IS GOIN ON???? :/
View 13 Replies
Mar 24, 2010
In an ASP.NET web application using C#, when we double click on design it will go to code behind page (cs file), but problem here is, when we double click on design its going to script of source file. Why it is happening?
View 1 Replies
Apr 18, 2010
When I open an ASP.NET 3.5 project using VWD2010, I get a prompt error message,"The connection property in the web.config file is missing or incorrect.The connection string from the .dbml file has been used in its place."however, my project works successfully.
View 1 Replies
Nov 28, 2010
how to view source code of dll file in visual studio 2010
View 3 Replies
Jun 9, 2010
what's up with the new 2010 version of VWDExpress? It seems it no longer creates the VB code behind file to go along with the markup pages. Is threre a setting somewhere that I've missed? Or is code behind no longer supported?
View 2 Replies
Oct 14, 2010
I am in the process of adding my custom aspx pages to the LAYOUTS folder(a folder I created) in a WSPbuilder solution in VS08. The problem I am having is when I build the solution it fails because the controls(Load, Textboxes, dropdown lists,etc) in the code behind file for the custom aspx pages say they are not defined. They all have a blue squiggly line and I get over 100 errors.what to do to get the WSP to recognize the code behind pages.
View 3 Replies
Jun 15, 2010
When I click on New Project-> Visual Basic (or C#)-> Web, the only options i get is AjaxControlExtender, AjaxServerControl and ASP.Net Server Control. How do i get the ASP.Net WebApplication option to show up?
View 2 Replies
Mar 12, 2010
my visual studio 2010 has the following problem, can't see the missing characters. Everything is fine, if I do a copy to notepad, it will show up. The intellisense is fine. (I manually removed the characters after copying here). My beta2 started to have the problem a month ago. Now I installed RC, same problem. My windows is XP SP3.
using ystem;
using ystem. ollections. eneric;
using ystem. inq;
using ystem. eb;
using ystem. eb. vc;
namespace vcApplication3. ontrollers
{
public class ccount ontroller : ontroller
{
//
// : /Account/
public Action esult ndex()
{
return iew();
}
}
}
View 2 Replies
May 27, 2010
I am using the ASP Web Application template from Visual Studio for my website. I created an images folder in the directory directly, and not in visual studio. I cannot get visual studio to show this directory. How do you add directories in visual studio or get it to recognize it. I know most of you are thinking of responding with "Why don't you just create the image directory through visual studio".
View 1 Replies
Sep 24, 2010
I'm trying to learn ASP.NET MVC, but have discovered that I don't even have the ASP.NET MVC 2 Web Application template installed. I'm using VS 2010 Ultimate (10.0.30319.1 RTMRel). How do I get this installed so I can begin?
View 6 Replies
Apr 9, 2010
I have a couple files that are missing after a I publish a web application project in VS 2008. I know that the files need to be included in the solution and they are. I have tried excluding them and including them to hopefully reset whatever is missing these files in the first plac but that had no effect.
Ultimately, I need this to work on the command line with msbuild.exe, but I get the same results when I publish through VS.
Knowing that the files are already included in the project, what else do I need to do to get these to files to be copied over in the publish/build?
View 3 Replies
Jun 25, 2010
I can't find my xaml editor in my VS 2008 SP1(Edit: with Silverlight toolkit version 3 something installed)
So if I want to click the "Add" button, where can I find it?
View 3 Replies
Jun 16, 2015
I had installed licensed version of SAP Crystal Report 2013 on my system as well as on Server (I am using VS 2013)After installation, when I opened Visual Studio 2013, I could'nt find 'Crystal Report Viewer' in Visual Studio toolbox while creating a sample project.where I can get the Crystal Report dll to add in my project for VS2012.
View 1 Replies
Jun 9, 2010
I am developing a web application in which I am suddenly facing an issue. I have a webpage which contains many controls, one of the control is JQuery color picker. Now, I am upgrading my system with telerik controls. As part of this process, I replaced textbox(txtcolor) with radcolorpicker with a different id(colorPicker). Suddenly, my code behind file is not throwing any errors like 'unable to find txtColor'. It is running successfully without build errors. But, when I open the page, system is throwing runtime exception(txtColor not found) which is correct.
I tried to change other controls with asp.net controls, still the problem persists. So, I dont think it is anything to do with telerik.
View 1 Replies
Feb 12, 2010
I can't get my .aspx page to recognize control events in it's codebehind.
[Code]....
which is fine, but I don't want to use inline script.
[Code]....
View 6 Replies