Posted 18 Aug 2012 Link to this post
Posted 20 Aug 2012 Link to this post
<
script
runat
=
"server"
>
protected void btnSearch_Click(object sender, EventArgs e)
{
if (!String.IsNullOrEmpty(RadTextBox1.Text))
lblLabel1.Text = String.Format("You searched for <
strong
>{0}</
>.", RadTextBox1.Text);
else
lblLabel1.Text = "Type in the search box and click on the magnifying glass.";
}
</
div
class
"MySearch"
telerik:RadTextBox
ID
"RadTextBox1"
Skin
""
CssClass
"MyTextBox"
Width
"170px"
/>
asp:Button
"btnSearch"
Text
" "
ToolTip
"Search"
"MyButton"
OnClick
"btnSearch_Click"