This is a migrated thread and some comments may be shown as answers.

Ribbon bar in asp.net with c#

3 Answers 449 Views
Getting started with ASP.NET
This is a migrated thread and some comments may be shown as answers.
MLM
Top achievements
Rank 1
MLM asked on 23 Apr 2007, 12:17 PM
Hi,

  Can anyone pls Tell me how to implement the the open and saving files in asp.net in ribbon bar where the design for ribbon bar given in
http://demos1x.telerik.com/aspnet/Controls/Examples/Integration/RibbonBar/DefaultCS.aspx?product=controls

I want coding for open,save , new options in the menu for asp.net c# . If we click "new" , it will create a new document. And which editor is best(textarea, or textbox or something)  for doing the opearations copy,paste,cut,save,open just like windows form radribbon bar.

Thanks in advance

3 Answers, 1 is accepted

Sort by
0
surfer
Top achievements
Rank 1
answered on 23 Apr 2007, 12:27 PM
The best editor is of course offered by telerik as well - rad Editor which is possibly the best HTML editor for the ASP.NET market.

You can find online example here:
http://www.telerik.com/demos/aspnet/Editor/Examples/Overview/DefaultCS.aspx

So basically, you just need to hook the ItemClick server-side event handler of the rad Menu instance in the ribbon bar example and based on the item clicked, show an rad Editor instance

This is demonstrated in the following online example (Server Events)
http://www.telerik.com/demos/aspnet/Menu/Examples/Programming/ServerEvents/DefaultCS.aspx

(full C# / VB.NET source code in the code tabs below the examople)

You might also want to check out the following Code Library example:
http://www.telerik.com/community/code-library/submission/b311D-tekdk.aspx

where Richard Mason has pushed the bar even further and created RibbonBar extensions and sample projects based on telerik products. Plenty of information and sample project is available at the link above.
0
Paul
Telerik team
answered on 23 Apr 2007, 12:30 PM
Hi MLM,

I suggest you take a look at our Code Library project Office 2007 Ribbon UI for details on the matter.

As already stated in another ticket you have open, your request is beyond our support services as it is not related to our products. I am sorry but we cannot help you with your request.

What you can try is search Google for a way to set a simple button to operate the Cut command (for example). Once you find the needed code snippet, just import it in the ribbon.

Greetings,
Paul
the telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Syed M Ali Shah
Top achievements
Rank 1
answered on 16 Aug 2009, 04:40 AM
Hi,

Regarding Ribbon Control.

I have added it to my project, but when i run project the selected tab that is displayed is the one given in SelectedIndex attribute. Now wehn i change the tab and click any button on that tab, the tab position is reset to the first one. Can you please help with this one
?
Tags
Getting started with ASP.NET
Asked by
MLM
Top achievements
Rank 1
Answers by
surfer
Top achievements
Rank 1
Paul
Telerik team
Syed M Ali Shah
Top achievements
Rank 1
Share this question
or