designer

Sharepoint Custom List with custom new forms not able to add to folders.

I have a custom list which has customized edit and new forms which were required by the user. I then tried to add a new item to a folder (folders have the text of the year e.g. 2010) and when I click save on the customized new form it saves correctly but always to the root of the list. I am wondering if there is a fix or a work around ...

C# Designer error

Hello, I'm a newbie to C# so please excuse me if I ask dumb questions... Here is my problem : I have a class "ProtocolTabPage" that inherits from "TabPage". I have a "ControlPanel" that inherits from "Panel". I have a ControlPanel instanced by my ProtocolTabPage. Both my classes are in the namespace "AutoTestProtocols.Interface". I...

"Base class could not be loaded" error in VS2008 designer

Visual Studio is erroring trying to open a simple class with the error "The designer inspected the following classes in the file: InstallerSupport --- The base class 'Microsoft.ManagementConsole.SnapInInstaller' could not be loaded" I've got the assembly referenced and the project builds just fine. I also get errors trying to run instal...

How to restrict a lotus view to the content of some folders ?

I am trying to make a view which selects all unread mails which also belong to a specific list of folders and subfolders. I created a view by coying the existing "view unread" one, but despite my research in the documentation and in google I am at a loss as to how to restrict the content of the view to documents in a list of folders. ...

WPF Designer "Could not create an instance of type"

In my UI XAML I'm essentially inheriting from a class "BaseView" that contains functionality common to several forms, however this is preventing the designer from displaying the form: "Could not create instance of type BaseView". The code will compile and run, but it is frustrating not to be able to see the form in the Designer. Is ther...

JavaFX Designer

At the moment I'm using JavaFX only for fun and learning it. What I find annoying is designing the graphics by coding them and watching the result in a preview window - you know what I mean? Is there something for JavaFX like what Expression Blend is for Silverlight. ...

How does the Winforms Designer instantiate my form?

I'm developing my own WinForms designer. It must be able to load existing custom form types. One of the issues I hit is forms without a default ctor: My code currently instantiates the form before it can load it into the designer, which requires a default ctor. OTOH, VS2008 is able to load such forms. I believe it doesn't actually insta...

How to use constant strings in C# designer.cs code?

How do I reference a constant string in my .designer.cs file? A straight forward answer is to create a private string variable in my .cs file, then edit the designer.cs file to use this variable instead of hardcoding the string. But the designer doesn't like this throws an error. I understand why this can't work, but I'm not sure of w...

QTCreator's integrated form editor won't load custom widget plugins (Designer does)

Trying to use the form editor that is integrated into QTCreator, but even when I place my plugin into QtCreator.app/Contents/MacOS/designer it doesn't show up. The same dylib file does work with the standalone designer app, though. QTCreator version info: QTCreator 1.1.0 (Based on QT Version 4.5.1) Designer version info: Version 4.5.1 ...

UI type editor with dynamic values

I have a UserControl that contains a DataGrid. This form is being inherited many times and I'm finding that most of the time I want to sort the grid when the data source changes. I would like to have two properties in the base class for the default sort column and direction and have these show in the designer. The sort direction is easy ...

When using View Code on a XOML file, designer view is displayed.

In Visual Studio: When you right-click on a xoml file in the solution explorer and select "View Code" it takes you to the designer (design view). Steps to Reproduce create a xoml add something into the code-behind [I used C#] Close the code-behind and designer right-click the xoml from the Solution Explorer Select "View C...

Visual Studio 2005 - OleDbConnection throws "Invalid authorization specification" in Form Designer, how to avoid supplying a username/password?

I have a form with an OleDbConnection object on it. This form fails to load in the Form Designer with the message: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Invalid authorization specification ...

How to handle bug in VS2008

When I try to start a new C# project in VS2008 I immediately get the error: "The designer could not be shown for this file because none of the classes within it can be designed", that is I get this before I even written one line of code. Google doesn't have any helpful solutions to this rather widespread problem but I tried reinstall my...

Cannot display custom controls in VS 2008 Designer -- .NETCF

I'm having problems displaying custom (inherited) controls in my .NETCF windows mobile project in Visual Studio. The control appears on the designer surface as a gray box with the class name written in it. As a test case I have a simple control defined as: public class ucButton2 : Button { } Should be just like a button but it gives...

designer.cs weirdness

I recently checked out a large C# code base that I will be doing some work with, and converted the project(s) from VS2005 to VS2008. On building the solution, I seem to have generated a bunch of designer.cs files that do not belong there. I am now getting class re-declared errors. Note the designer.cs (and the associated resx files) have...

DSL: from DSL rules into C# expressions

Hi, the question is maybe composite, let me expand it: does it exists a designer (stub/framework/meta-designer) to create AND/OR based rules based on .NET object public bool properties? Saved as any DSL/Boo/... output. is it possible to compile the DSL output into C# expressions? Our main problem is the gap between the documentation...

Can a Visual Studio component designer access and modify the project .config file?

Can a component designer access and modify the app.config or web.config file of a project at design time? More specifically, is there some hosting service exposed by VS to do this 'the proper way' ? I know I can locate the .config file myself, open it and have my way with it as I please, but I want this to go through the VS sanctioned wa...

What happened to my TableAdapter's Update and Delete commands?

Hello - I am fighting a recalcitrant VS2008 DataSet designer, it seems. I have been trying to do what seems to be a simple 2-table dataset solution, where one table is simply the textual meaning for an integer value stored in the other table. Basic data design 101. Table1 CharField1 CharField2 IntForeignKeyField1 etc Table2 IntPrima...

how can I add a QMenu and QMenuItems to a window from Qt Designer

Is there any reason why a QMenu cannot be added from the Qt Designer? I find it weird that you can add other widget types but not this. ...

Web developers: Implement the code or design first?

What comes first? After the design has been outlined and approved, should a designer create pages in HTML and then hand them to a developer to add code? Or should a developer build simple pages that work and hand them over to the designer? I've always done the latter, but recently worked with a designer who built an entire site in HTML ...