Bunch's Blog

One day I'll have a catchy subtitle, one day
posts - 87 , comments - 125 , trackbacks - 0

April 2010 Entries

Debugging Windows
After installing VS 2008 on a new PC I noticed that the Autos and Locals windows did not show up when debugging. So I went to the logical place to find them View/Other Windows. No luck they were not there. I use VS every day but like a lot of folks I only need to install it every few years, usually with a new PC. So I forgot where they were. Finding them is easy, just start debugging a project and go to Debug/Windows. The Autos and Locals windows along with the others will be there. And I will probably ......

Posted On Wednesday, April 28, 2010 8:00 AM | Comments (0) |

Accessing Master Page Controls
Sometimes when using Master Pages you need to set a property on a control from the content page. An example might be changing a label’s text to reflect some content (e.g. customer name) being viewed or maybe to change the visibility of a control depending on the rights a user may have in the application. There are different ways to do this but this is the one I like. First on the code behind of the Master Page create the property that needs to be accessed. An example would be: Public Property CustomerNameText() ......

Posted On Thursday, April 8, 2010 2:23 PM | Comments (0) |

Powered by: