C# - LLBLGen Pro V2.6 Designer / How To Delete More Than One Entity At The Same Time In The Designer Entities List
May 10, 2010
How do you delete more than one entity at the same time in the designer Entities list. it seems that the designer interface only allows the selection of 1 entity at a time....
I recently encountered an annoying problem, and was wondering how to get around it:
I had three tables in my .edmx designer. Two of the tables, A and B, had a 1:many relationship (A:B). The third table, C, had no relationship defined, because I forgot. I added a new many:many relationship from B:C at the database level. I then right clicked and updated my Entity model, and attempted to compile, encountering a 3034 exception:
Problem in Mapping Fragments starting at lines 177, 192:
Should bar on the HTML designer show the tag name? It sometimes does!
Here's an image of what I referring to.
I thought for sure it must be a bug but considering that I heard that MS was rewriting the editor (designer too?) I am starting to question whether I know how to use it!
Note the "TD" tooltip on the bottom right. Shouldn't this "TD" appear on the bar on the far right where the mouse would be?
I have a question regarding the GridView and the Control Designer of it.
I've made a composite control inherited of the GridView. I would like to make some new created BoundField controls available in the designer of the GridView control? So that I can select the custom BoundField control from the Available fields list.
I have a WebControl that I'm creating and when I'm in the designer...you really can't tell what it is...see Attachment 1 below. See Attachment 2 for what it looks like rendered in the Browser (IE & Firefox). What would cause this. I really can't even throw controls onto the UC looking like this. I have to go into the markup and do the drag and dropping.
I have an Asp.Net Web Application and there are all these designer files. The large app I work on at work doesn't have any designer files and it works fine. How can I get rid of these designer files and have them be auto-generated during the build?
I am trying to deploy a simple ASP.NET 4.0 Web Application on IIS 6.0 on Windows Server 2003.
I've copied all of the files over, including the bin folder and files Play.aspx, Play.aspx.cs and Play.aspx.designer.cs.
I get the following error when I try to access Play.aspx in the browser:
Compiler Error Message: CS0103: The name 'divOutput' does not exist in the current context and then it quotes a line from my Play.aspx.cs file.
Now, divOutput does exist in the Play.aspx.designer.cs file. Why is the ASP.NET compiler on the server not picking this up? (And anyway, I've copied the bin folder, so why is it even trying to compile anything in the first place?)
I cannot figure out how to get my simple container control to properly display in the designer. Here is the basic markup of the custom control: <div> <div>Title</div> <div> <!-- ASP.Net child controls --> </div> </div> Here is how it looks at runtime (title and then the child control is a GridView): Here is the simple code for the basic container control:
namespace Shoe.Controls //[Designer(typeof(ApplicationWindowDesigner))] //[ParseChildren(false)] //[PersistChildren(true)] [ToolboxData("<{0}:ApplicationWindow runat="server"></{0}:ApplicationWindow>")] public class ApplicationWindow : System.Web.UI.WebControls.Panel { #region Designer Properties [Category("Appearance")] [DefaultValue("Application")] [Description("Title that will appear at the top of the Window.")] [Browsable(true)] public string Title get{return (ViewState["ApplicationWindowTitle"] == null)? string.Empty : (string)ViewState["ApplicationWindowTitle"];} set{ViewState["ApplicationWindowTitle"] = value;} [code...] As you see the code above, it is currently based off of the Panel control. However, I have also tried just using WebControl as the base class and then providing my own designer as follows:
namespace Shoe.Controls public class ApplicationWindowDesigner : ContainerControlDesigner //public class ApplicationWindowDesigner : ControlDesigner public override void Initialize(IComponent component) base.Initialize(component); SetViewFlags(ViewFlags.DesignTimeHtmlRequiresLoadComplete, true); [code...]
This is also what it looks like when I use WebControl as the base class for the control and use a designer based off of ContainerControlDesigner (child controld, but my title bar and divs are missing).What am I missing? I've found several examples of ContainerControlDesigner but none of them really add anything to the surrounding control like I am.
I have a asp.net web project in which I am trying to view the Default.designer.vb page. I thought there was a button at the top of the Solution Explorer that would allow you to show the "Designer" files but I don't see it. How can I view these files?
I'm just getting started in ASP.net and am building a site. I made a change to a style sheet to change the color of the links in my menu control on my master page. It looks great in the designer and is just the way I want it. Although, if I view default.aspx in the browser it is back to how it was before I made the change. Can anyone give me some suggestions on places to look to figure out why it isn't right in the browser?
I'm sure this isn't specific to the AjaxControlToolKit, but it is what is causing me issues. I've created a basic user control that essentially wraps a textbox and MaskedEditExtender because it will often be used on different pages. The designer of the control looks fine, but when I include it in a page, I see a box for the MaskedEditExtender, which gets a bit annoying when designing. It looks like this in the designer:
Is there a way to hide this box in the designer, so my control just shows up as a text box?
how to create designer.cs file by using .net code. Basically what i want to do here is that i have a bunch of aspx and ascx files created by previous versions of vs.net that lacks designer files and now i want to create designer files for those. I can generate empty designer files but what i want is that my code should generate the designer file so that i can remove the extra code from cs files.
I need the file "default.aspx.designer.cs" which is not auto generating even for the first time when I am trying to create a ASP.NET web application using C# Everyone says delete the default.aspx.designer.cs code and then click on "convert to web application" but I can neither find the file default.aspx.designer.cs nor the option "convert to web application" How to auto generate a designer.cs file in Visual Studio 2005 using c# ASP.NET web application?
We are evaluating ASP.NET MVC for use now or in the future and one comment was that views are not graphic-designer-friendly.
Are there any plans to substitute Html helper extensions code with something similar to the ASP.NET markup in webforms? I know there are alternative view engines, but I'm just looking for something simple like <%= Html.ActionLink("controller, "action") %> with something like <asp:LinkButton controller="somectrl" action="someactn"/>.
I could probably create controls to wrap helper extensions, but just wondering if it's already in the works.
I'm working on a Web Application in Visual Studio 2008. For some reason the CSS only works properly inside visual studio. I can see the CSS inside the design view of the page. When I view the page on localhost the CSS is not being applied. This is just a very simple sample that I am working with. Only 2 pages, a master page, and a default page.
I have a solution with multiple projects in it that I converted to 2010 (kept the 3.5 framework). When it imported/converted the XSD files, the file structure went from:
The designer file is now missing, that had my constructor in it. Obviously, the project won't compile as it says "Type dd1149 is not defined" Why does it not include it with 2010, is there something I'm missing?
When designing an rdlc report using the VS 2010 report designer, report items such as charts demand a dataset. After designing the report, I add a ReportViewer to a webform, and it demands all of its own datasources. How do I hook up the DataSet I have coupled to the report without duplicating the DAL functionality in the viewer page?
I have a problem in which some nested controls on a page are not updated in the designer file. I have deleted the designer file, selected Convert to Web Application, but still the controls are missing.
I know there is a supposed fix at http://blogs.msdn.com/b/webdevtools/archive/2010/03/05/hotfix-for-issue-with-auto-generated-designer-files-not-adding-controls.aspxI am running VS 2010 Version 10.0.30319.1 RTMRel.