I am kind of new here, you example only show interface but not really link to codebehind (I prefer in vb) to complete the job.
For instance it took me alot of time to find out about .findcontrol and .findcontrol button in template to modify some control at run time.
Now i really need to do some action for each buttons but have not many example for it.
If you can will help a lot.
8 Answers, 1 is accepted
Hello Ifdev02,
When you install RadControls, our online examples projects are automatically installed on your computer and you can not only examine their full source code, but also extend them further in order to meet your requirements.
You can open the demos from here:
Start\Programs\Telerik\RadControls for ASPNET AJAX\Open Sample WebSite In VisualStudio
The actual location on your hard disk is the following one:
C:\Program Files\Telerik\RadControls for ASPNET AJAX \Live Demos
I hope that this information is helpful.
Kind regards,
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
I looked all demo in radtoolbar there is no codebehide action only UI...
Really that what I mean.
I want a small example adding some function like click in the menu. An empty function would be fine.
e.g.
<telerik:RadToolBarSplitButton runat="server" Text="Save Setting" CommandName="saveconfig"
ToolTip="Save chart setting" EnableDefaultButton="False" PostBack="true"
ImageUrl="~/Portals/icons/save1/Gear.png" >
<Buttons>
<telerik:RadToolBarButton runat="server" Text="Save image"
ToolTip="Save image to your PC" ImageUrl="~/Portals/icons/save1/Save.png">
</telerik:RadToolBarButton>
How do i add action to my SaveSetting button in code behide?
Thanks,
You can check this example which shows how to add buttons from server side code.
Regards,
Albert
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
So it has no example action from the buttons in these UIs...
for instance in your example
<asp:Button ID="btnAddDropDown" runat="server" CssClass="qsfButtonBigger" OnClick="btnAddDropDown_Click" Text="Add new DropDown" />
What is action command in your Rad.. e.g. the splitbutton?
It seems like all the actions (onclick etc) are the member of radtoolbar.
So the next thing is how do i know which buttons, submenu, combo in the toolbar is being interacted?
Does anyone can give some example to use onclientbuttonclicked / onclientcheckedstatechanged / onbuttonclick....
You can refer to the following online demos which demonstrate on how to attach client side and server side events to your ToolBar:
Client-side Events
Server-side Events
Thanks
Princy.
Just little more question, after done with these action for the toolbar.
I can use Ajax later to make sure that the whole page will not refresh on every click? I am right on the idea?
Yes, you are right. You can either use a RadAjaxManager or a RadAjaxPanel to ajaxify your RadToolBar so as to avoid postback on button click.
Thanks
Princy.