Authentic voices. Remarkable stories. AOL On Originals showcase the passions that make the world a more interesting place.
The story of punk rock singer Laura Jane Grace of Against Me! who came out as a woman in 2012, and other members of the trans community whose experiences are woefully underrepresented and misunderstood in the media.
Documentary shorts conceived of and directed by famous actors. Jeff Garlin, Katie Holmes, Alia Shawkat, Judy Greer, and James Purefoy
Park Bench is a new kind of "talking show" straight from the mind of born and bred New Yorker and host, Steve Buscemi.
Digital influencer Justine Ezarik (iJustine) is back. After covering the world of wearable tech last season, iJustine is expanding her coverage this year by profiling the hottest tech trends across the country.
Enter the graceful but competitive world of ballet through the eyes of executive producer, Sarah Jessica Parker. This behind-the-scenes docudrama reveals what it takes to perform on the ultimate stage, the New York City Ballet. Catch NYCB on stage at Lincoln Center.
Nicole Richie brings her unfiltered sense of humor and unique perspective to life in a new series based on her irreverent twitter feed. The show follows the outspoken celebrity as she shares her perspective on style, parenting, relationships and her journey to adulthood.
Explore what it means to be human as we rush head first into the future through the eyes, creativity, and mind of Tiffany Shlain, acclaimed filmmaker and speaker, founder of The Webby Awards, mother, constant pusher of boundaries and one of Newsweek’s “women shaping the 21st Century.”
Gwyneth Paltrow and Tracy Anderson spend time with women who've overcome hardship, injury, and setbacks to triumph in the face of adversity.
Hank Azaria’s touching, humorous, and often enlightening journey from a man who is not even sure he wants to have kids, to a father going through the joys, trials and tribulations of being a dad.
ACTING DISRUPTIVE takes viewers inside the businesses and passion projects of Hollywood’s top celebrities.
Follow Scott Schuman, the Sartorialist, from the streets of NYC to the capitals of Europe on his quest to photograph and document the best in culture and fashion.
Go behind-the-scenes with racing's hottest, young talent, 17-year-old Dylan Kwasniewski, as he aspires to make it in the #1 motorsport in America – NASCAR
Learn how create a Graphical User Interface with Visual Studio Toolbox.
Tags:asp.net,microsoft visual c#,microsoft windows,total training,visual studio 2005,web development
Grab video code:
If you click on the design button at the bottom of the window, you can view the webpage in the designer. Visual Studio 2005 provides the familiar drag and drop concept for building user interfaces. You can use the toolbox on the left hand side to drag components or controls from the toolbox on to your webpage. Now, I am just going to click on the pen symbol here to pen on the toolbox on to my environment desktop so that it does not disappear in a flash. If I close some of the items here, you can see there are various different types of control available to us. We are going to have to look at this in more detail in the next lesson. So, let me just close those back up again. For now, we will use some of the standard controls here. So for example, labels, textboxes, hand buttons. Let us drag some controls on to the webpage, start for the label and drag it on to the webpage. I will put it just there then we will add a textbox and I will put it just there then we will add a button. So, let us just put that there and finally, let us go and move a label and I am going to put that there.
If you are familiar with creating Windows Applications, you might expect to be able to drag and drop the user interface components anywhere you like on the page. But, you cannot do this with asp.net by default. So for example, if I try to move the button to lower in the page account, it does not let me do it. It organizes the controls in a flow layout from left to right and from top to bottom. The reason for this is to avoid browser incompatibilities when it comes to absolute positioning for controls. The standard work around if you do want to control the user interface layout is to put your controls into html tables and this is what we are going to do later on. For now, we will leave it as it is. I will just set some of the properties for our controls. When you select the control, you can use the Properties Window to set properties on that control. So, let us select the label. To view the properties for control, you right click the control and select properties and the Properties Window appears in the bottom left hand corner. You can view the properties alphabetically or by category. In my display currently, they are displayed alphabetically. If I want to view them by category, I can click on this icon here and it will then display the properties according to that category.
So, choose whichever you prefer. Personally speaking, I prefer to view and pop this alphabetically because I can never remember which category to go in so I will just click on the alphabetical viewer. The first property we need to set is the ID property. This is the programmatic variable name for the ID control. So, let us set the ID to a meaningful name such as FullNameLabel. I am also going to set the text property so let me scroll down a little bit lower. The text property is what the label actually displays on the screen. So let us change that to Full Name and a colon at the end and I will press Enter. And, as you can see in the designer, it has changed the label to Full Name. Now, let us set some properties on the textbox. So, let us select the textbox. Come back down to the properties window down here. The only property I am going to set for the textbox is the ID and I am going to set it to FullName TextBox. There we go. Next stop, let us change the properties for the button, so we will set the ID for the button to be Submit Button, press Enter and let us also set the text property button to “Click Me!” and as you can see, that is what gets displayed in the button.
Finally, we have this slash label here. This label is going to display information, dynamically generate it by the website. So, let us the name of the ID to be Result label and what we will also do is change some of the graphical user interface aspects of a label. Let us give it a different color and different font. So, we will set the background color, the back color property. You can choose from one of the colors in the palette or if you prefer, you can click on the web tab and we will go for a background color of