visual studio 2012 working on two forms side by side - asp.net

I have two aspx.cs forms that I'm trying to work on. My goal would be to have two aspx.cs forms open, allowing me to basically copy off one into the other - having both of them open at the same time. Is something like that possible? or do I need to have two screens, even in that case, how would I be able to do that.
I know it's possible for me to take one of the forms and just drag it to the side so it's seperate from all the other forms. I'm workign in TFS (btw)

Try going to Window on the menu and select New Vertical Tab Group. This will open up an additional tab group that you can move tabs in and out of within the same Visual Studio instance.

Related

How to "embed" one window inside another

I have inherited a Qt-based app that handles the master/detail relationship by presenting the detail screens as separate windows. The main window includes a list, and when you tap on a row a separate detail window is opened up.
In the code base, the detail windows are handled by a QML file and a matching .cpp file (the main window also has its own .cpp file). The problem I am facing is that a new client wants me to modify this application for them, except that they want everything to occur within a single window. They want the list to be shown on the left side, and then when a user taps a row, the detail screen is to be shown on the right side of the window in its own panel (but not in a separate window).
For various reasons I can't easily refactor this application. A quicker solution for me would be to continue to present the detail screen in its own window, but to make it a borderless window and position this borderless window over top of the main window (on the right) so that it appears to be a panel within the main window.
Is something like this possible with Qt? I have written Windows apps in the past that hooked into the Windows API to do something like, but I don't know whether this is even possible in a native Mac OS app, so I don't know whether Qt can handle it in some way automaticaly.
One thing you could try is to create a widget based "main" window and then use QWidget::createWindowContainer() to wrap the QtQuick windows for positioning them with QtWidget means, e.g. layouts.

Start new instance of a project using a button in form

I have a solution that contains 32 projects, one of which is a Windows form and the others are console applications. In the Windows form I have a combo box that its items are the names of the console application projects with a button.
Now, my problem is that how can I start the console application, which name is selected in the combo box by pushing the button, in a new instance? (if it is possible).
In your button click event, add the following lines, assuming cmbConsoleApps contains the file names of the console applications.
System.Diagnostics.Process.Start(cmbConsoleApps.Text);
More information about executing applications:
https://msdn.microsoft.com/en-us/library/h6ak8zt5(v=vs.110).aspx

Dynamic grid using wpf devexpress

I m having situation whhere i need to add text box in grid control cell just like we add button in the cell but the text box should open a small window when click .User should be able to fill enteries in that window.
This is possible in extjs but can anyone please tell how to achieve this with devexpress controls.Please find the screenshot of the same.
DevExpress provides a workaround for WPF platform: PopupContainerEdit for WPF, whats the status?
This solution is valid for WinForms platform only
DevExpress has the PopupContainerEdit editor that supports in-place mode. This editor is very handy to implement the functionality you described.
To make it work properly in in-place mode, handle these two events:
PopupContainerEdit.QueryResultValue Event
RepositoryItemPopupContainerEdit.QueryDisplayText Event
The result value will be passed to the cell where the editor is located. It is a bad practice to modify data manually after closing the pop-up window.

How to drag and drop column values in a table/grid?

I have an existing Silverlight application that allows one to click on a column cell and drag to the left or right in the row. When this is done the value from the original cell is copied into the "dragged over" cells (there could be more than one). At the same time, a message is sent to the server to trigger a database update.
I now need to port this application to ASP.Net and make it tablet friendly. I have searched high and low and looked at the various grid providers and through jquery plugins but have not been able to find something that already does this. Any ideas on existing solutions or how to get started otherwise?
Thanks!

How to add date picker control to my toolbox?

I am using visual studio 2005 and I have added Datepicker dll in my bin folder of sample project.And By doing right click on solution Explorer Add:references,choosed the that dll.But I want display that control in my toolbar.Does I need to create tab for it.Or it automatically get created.or need to go to toolbox then right click anywhere in the toolbox area click choose item and then select server control dll from there and it should appear in toolbox.Suppose if I done this for my sample project.But when next time I am using other project using vs 2005,that control can be seen in toolbar.I know we have to add reference into project for dll but for control need to create tab once again?
You will have to open up a new instance of visual studio right click your toolbox, select Add tab, then you right click the newly added tab and select Choose items, browse to the dll and add the dll, this should add the date picker for all projects, at least it worked for me

Resources