designer

How to expose child control style properties in a custom composite WebControl.

I am writing a custom composite WebControl and want to expose styles of child controls it encapsulates to the ASP.NET designer. The code I currently have is similar to the skeleton below (which for simplicity only has one child control). With the code below, I can see property "ChildPanelStyle" in the designer, but when I try to modify...

Visual Studio Forms Designer and the size of invisible objects

The form designer in Visual Studio is giving me fits and I'm hoping someone can at least point out what's going on. The latest incarnation involved a tab sheet with some controls on each of the sheets. Sheets #2 and #3 were done and I was working on #1--when suddenly two controls on sheet #2 vanished in the running program. Some hunti...

C++/CLI, Winforms: New form under sub-folder in VS2008

When I create a new form under a sub-folder in VS2008 in a C++/CLI Winforms project, the .h and .cpp are correctly created under the sub-folder. However, when the form is opened in the designer and the title is changed, I get an error message saying that the .resx (AWOL till this particular moment) is already part of the project. One can...

Anyone know of a class that implements ISelectionService and/or IComponentChangeService

In creating my own custom ParentControlDesigner, my public override void Initialize( IComponent component ) processes these interfaces for working with the designer window ISelectionService service = (ISelectionService)this.GetService( typeof( ISelectionService ) ); if ( service != null ) service.SelectionChanged += new EventHan...

WPF Designer Popup Content Display

Happy friday folks, awesome. I am currently writing a small tooltip mimicking control to display inline help in an application. I was going to just use standard tooltips but decided that I potentially wanted interactivity. I have it working no problem. Its quite literally an implementation of ContentControl with a ControlTemplate trigg...

How to make user control partial classes aware of controls declared in the base class?

Do we have to do something special to have ASP.NET partial classes aware of controls that are declared in our user control's base classes? The partial classes keep generating declarations for controls in the base class which mean the controls in the base class get hidden and are null. ...

VS2008 designer automatically update control's property from resource file

I have a situation where some of the control's string property values are automatically replaced with a variable from a resource (.resx) file in the designer file during design time. For example, I have a form that contains a combobox. A snapshot of the code in the designer file may look something like this: this.comboDocument.Name = "...

Is there any tool to visually design html divs ?

As subject, thanks ...

sqlite - Foreign keys in VS2008 Designer

Hello I'm starting over to use strong typed datasets in VS 2008 with sqlite and running into a problem. I have some tables that have foreign keys allready defined in the database. I can see those in the Server-Explorer. Now i create a new strong typed Dataset with the designer and add only one table from that realtion to the dataset....

Looking for Java libraries to create a report editor

I have to develop a specialised report editor in Java. The user will get a number of fields that can be layed out on a page plus some graphical elements. The resulting report design needs to be serialized into already defined database tables. The actual generation of the report onto paper is already done. I need to provide only a graphi...

Crazy VS Designer Errors

Here's a strange one. After renaming a class, one of my forms began giving me errors in the designer, refusing to open. Funny thing is, the form worked just fine when I ran the program. I began reverting my changes to deduce the problem. I have now reverted completely back to the last commit - in which I know the form was working in ...

visual studio 2008 HTML designer group objects and move

using visual studio 2008 Asp.net HTML Designer Howdy, Silly question but im using the HTML desinger in vs2008 to produce a ASP.net webform page, and i cant seem to find a way to select/group multiple controls with the mouse and move them all about the page in one group to keep them all aligned. I can select multiple controls with cntr...

Windows forms control designer, adding 'task menus'

Hey, I would like to know how to add menus similar to this to my custom controls designed in Visual Studio. http://img687.imageshack.us/img687/8702/tasksy.jpg ...

GWT Button eventlistener designer

For example I took html from a designer which is given below. How can i add click event which shows alert from GWT? final Button button = new Button("OK"); I dont allow to add button dynamically from GWT by RootPanel.get("sendButtonContainer").add(button); I am searching the syntax something like: RootPane...

VS2008 loading designermode takes forever

Is there anything that can be done about the Designer mode for a ascx file taking forever to show? I'm currently waiting for like 1 minute and still nothing happened. This is not the first time i see this problem, the ascx file doesn't even have any components to show yet... The web user control is like empty and still it won't load. Wha...

Visual studio winform designer shows design errors as text rather than html

Possible Duplicate: VS2005 Winforms Designer Exception Screen and IE8 All of the sudden, visual studio displays designer errors as plain html text, for example: <DIV id="div1" class="ErrorStyle" width="100%"><span style="font-weight: 600"><br>Object reference not set to an instance of an object. </span><br><a href="" ins...

Rehosting workflow designer in web

I know WF designer has re-hosting capability. Since it's WPF-based, I thought it might be rehostable in web, using silverlight. Does anyone have any experiece regarding this? Or, does anyone know an easy and powerful web-based workflow designer solution for WF? ...

Visual C# Express 2008 Form Designer AutoScroll

This may not be the kind of question one should ask on StackOverflow, but here's a frustration that I've been trying to find a work-around for. When using the form designer, suppose the entire form does not fit in the space allotted to the form designer, and I have a control say, down near the bottom of the form. If I try to re-size th...

sharepoint list relationship question

I have two custom lists in sharepoint with a one to many relationship on a column in both lists. So list A has text column 1 and list B has a lookup column 1' on list A's column 1. I want to display the rows in list A, where column 1 has a match on column 1' and a 2nd column in list B with a specific text string. I have Sharepoint Des...

Weird "Designer1.cs" files created

How does visual studio link files to their corresponding designer.cs files? I have a strange situation that's occurred with both the DataSet designer and also the L2S DBML designer where it's ignoring the DataSet.Designer.cs and has created and used a DataSet.Designer1.cs instead. How can I switch it back? ...