I am using Telerik AJAX UI
V2014.1.225.40.
I am a newbie to both Telerik and Visual 2012 but I am
learning fast.
I added a RadToolBar control to my WebPage and a RadPanelBar
on the left-hand side. I noticed that on
the RadPanelBar property list, there is a property called “Visible”. When this is set to false, the PanelBar
disappears. Very cool!
So next, I wanted to see if I could make the PanelBar appear
(RadPanelBar.Visible=true) when the user clicked on a RadToolBar item (a C#
method in my Default.aspx.cs called “RadToolBar1_ButtonClick”). So, I noticed that in the list of properties
for RadToolBar, there is a property called “OnClientButtonClicked”. When I put an “event name” on that property,
Telerik created a JAVA Script HTML function that was empty.
First, what do I put into that empty function.
Second, what do I modify inside my Default.aspx.cs program
that would connect that JAVA Script Function to the method with the code that
sets the Property RadToolBar.Visible to true.
I looked at the examples and could not found one that matched my needs.
How do I do that?
V2014.1.225.40.
I am a newbie to both Telerik and Visual 2012 but I am
learning fast.
I added a RadToolBar control to my WebPage and a RadPanelBar
on the left-hand side. I noticed that on
the RadPanelBar property list, there is a property called “Visible”. When this is set to false, the PanelBar
disappears. Very cool!
So next, I wanted to see if I could make the PanelBar appear
(RadPanelBar.Visible=true) when the user clicked on a RadToolBar item (a C#
method in my Default.aspx.cs called “RadToolBar1_ButtonClick”). So, I noticed that in the list of properties
for RadToolBar, there is a property called “OnClientButtonClicked”. When I put an “event name” on that property,
Telerik created a JAVA Script HTML function that was empty.
First, what do I put into that empty function.
Second, what do I modify inside my Default.aspx.cs program
that would connect that JAVA Script Function to the method with the code that
sets the Property RadToolBar.Visible to true.
I looked at the examples and could not found one that matched my needs.
How do I do that?