Skip to main content
CSharpUniversity ASP.NET and C# lessons

The search runs entirely in your browser over the published lesson list.

Changing an object through the properties panel

Select a control on a page and the properties panel lists everything that control can be told to do. Setting a value there is the same as writing it in code.

Reading the panel

Properties are grouped, and each row has a name and a value. The name is the property, the value is what you are setting. A short description appears at the bottom when you highlight a row.

Two ways to set the same thing

C#
// the same as setting the value in the panel
messageLabel.Text = "Saved";
messageLabel.Visible = true;

When to prefer code

Use the panel for values that never change. Use code when the value depends on what the visitor did, because code can make a decision and the panel cannot.

With the three main windows understood, you are ready to run the project.

New lessons by email

Leave your address and get a short note whenever a fresh lesson is published. No account needed and you can stop at any time.

Thank you. Your address has been noted in this browser session. Connect a mailing service to deliver the notes for real.