I have a webpart with a toolpart class. The toolpart renders fine, but how do I read/"get" the toolpart's value from the webpart class? ie if a button is pressed.
If its a custom ToolPart property you can check this MSDN link that is explaining you how to get toolpart values within a webpart
This link is more relevant to your question
Hope it helps :)