Example #1
0
 protected function btnButton_Click($strFormId, $strControlId, $strParameter)
 {
     $strText = $this->txtInput->Text;
     // Parse the text, this is the class that knows how to act
     // on our rules
     $objParser = new BBCodeParser($strText);
     $result = $objParser->Render();
     $this->lblResultRaw->Text = $result;
     $this->lblResultFormatted->Text = $result;
 }