Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > ASP.NET 4.5.1 General Discussion
|
ASP.NET 4.5.1 General Discussion For ASP.NET 4.5.1 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4.5.1 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 1st, 2014, 03:27 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default Selecting parent controls in a Windows form in the VS IDE?

I have written a windows application that has a form containing SplitContainers nested inside yet other SplitContainers nested inside of TabControls nested inside of other TabControls. Compounding the issue: the controls inside the SplitContainer panels are fully docked.

The narrow borders between all these controls makes it nearly impossible to select a SplitContainer directly in the IDE. The only way I've found to get there is to first undock the control in panel1, move it aside so I can select the panel it was docked inside of just to get the SplitContainer name, and then select the SplitContainer from the Properties panel drop down list to access its properties. And then when I'm done I have to redock the Panel1 control.

In comparison, selecting nested controls in a web page is a snap. Simply selecting a nested control lists all containers from it all the way out to the HTML tag in hierarchical order from left to right;

[html] [body] [form] [table] [tr] [td] SELECTED CONTROL

Clicking any of the "buttons" provided selects that container to make changes to it.

Does such a list exist for Windows applications? If so, what is it called and how do I make it visible? None of the Other Windows appears helpful. If an interactive list of nested controls on a Windows form does not exist, is there a hot key that will select the parent container of the curently selected control in the IDE during development?

Last edited by Ron Howerton; October 1st, 2014 at 03:28 PM.. Reason: Changed title
 
Old November 17th, 2014, 04:39 AM
Registered User
 
Join Date: Nov 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I dont know is it right place to post my question but my apologize if not.

Do I need to know C# before I can start working with asp.net. I'm planning to buy some books and I saw Imaar's latest BOOK: Beginning ASP.NET 4.5.1 : in C# and VB so if you can tell me is it good for absolute beginners ? I know basic markup "languages" but not C#, VB and SQL. And if you can give some good books or practices that can be found on the web. Thank you
 
Old November 17th, 2014, 10:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default

Many Visual Studio controls now generate code for you. The SQL Server explorer, for example, will create the necessary objects to manage simple database I/O for you. Bind the results to a data grid and you've created a very simple data entry system. So you can get a little way without knowing a programming language at first, but wizard generated code is typically far too limited for most needs. In any case, if that's all you want to accomplish, SharePoint appears simpler to learn.

IOW, doing anything really useful requires some programming language. But Visual Studio supports more than C# and VB, and projects may even combine languages, so which language is used appears irrelevant once compiled. So while I prefer VB because I learned it first, C# no longer offers any significant advantages as far as I can see? Just be advised that the majority of examples I've found on-line seem to be written in C#. And if you intend to produce web sites, as your reference to markup langauges suggests, you'll also need to be proficient in some scripting language. I have the luxury of developing to a strictly MS audience so I can use VBScript, but you are likely to also need to learn JavaScript.

I have not read Imar's book but his responses to my occasional questions here have always proven helpful. I'd therefore hope his book to be equally valuable? I'm sorry I cannot suggest any beginner sites but I've been programming since before Al Gore invented the internet and rarely visit beginner sites these days. WROX P2P is the only site I've bookmarked.
 
Old November 17th, 2014, 10:40 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default

Many Visual Studio controls now generate code for you. The SQL Server explorer, for example, will create the necessary objects to manage simple database I/O for you. Bind the results to a data grid and you've created a very simple data entry system. So you can get a little way without knowing a programming language at first, but if that's all you want to accomplish SharePoint appears simpler to learn?

Visual Studio supports more than C# and VB, and projects may even combine languages, so which language is used appears irrelevant once compiled. So while I prefer VB because I learned it first, C# no longer offers any significant advantages, AFAIC see? Just be advised that the majority of examples I've found on-line are written in C#, forcing me to occasionally resort to translation sites. And if you intend to produce web sites, as your reference to markup languages suggests, you'll also need to be proficient in some scripting language. I have the luxury of developing to a strictly MS audience so I can use VBScript, but you may also need to learn JavaScript.

I have not read Imar's book but his responses to my occasional questions here have always proven helpful. I'd therefore hope his book to be equally valuable? I'm sorry I cannot suggest any beginner sites but I've been programming since before Al Gore invented the internet and rarely visit such sites these days. WROX P2P is the only site I've bookmarked.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual C++ IDE requiemxx Visual C++ 1 March 29th, 2007 05:12 AM
how can i access controls on parent page from user marvz ASP.NET 2.0 Basics 0 September 5th, 2005 11:18 PM
The perfect IDE Wand3r3r C++ Programming 0 January 18th, 2005 10:57 AM
C++ IDE acuratk C++ Programming 3 December 4th, 2004 03:16 AM
About the IDE Question Loy Iceman VB.NET 2002/2003 Basics 1 July 19th, 2004 09:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.