Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
79 views
HI All,

I want to hide the All properties button in Insert Link dialogue  and default target to new window in the Insert Link dialogue of radedior.Can you please give me idea how to do this? I can see when I create the is post on the forum I found the Insert Link dialogue doesn't have all properties button.

How can I do this?

I have used below code


  <telerik:radeditor runat="server" ID="RadEditor1" >
   <Tools>
      <telerik:EditorToolGroup>
             <telerik:EditorTool Name="InsertLink" Text="Insert Special Link" Enabled="true" />
      </telerik:EditorToolGroup>
   </Tools>
 
</telerik:radeditor>

When I use the custom dialogue it show the command hasn't implemented. e.g


   <telerik:radeditor runat="server" ID="RadEditor1" >
   <Tools>
      <telerik:EditorToolGroup>
             <telerik:EditorTool Name="InsertSpecialLink" Text="Insert Special Link" Enabled="true" />
      </telerik:EditorToolGroup>
   </Tools>
 
</telerik:radeditor>

<style type="text/css">
.reToolbar.Default .InsertSpecialLink
{
        background-image: url(http://www.telerik.com/DEMOS/ASPNET/RadControls/Editor/Skins/Default/buttons/Custom.gif);
}
</style>
     <script type="text/javascript">
        
         Telerik.Web.UI.Editor.CommandList["InsertSpecialLink"] = function (commandName, editor, args) {
             alert("1");
             var elem = editor.getSelectedElement(); //returns the selected element.

             if (elem.tagName == "A") {
                 editor.selectElement(elem);
                 argument = elem;
             }
             else {
                 //remove links if present from the current selection - because of JS error thrown in IE
                 editor.fire("Unlink");

                 //remove Unlink command from the undo/redo list
                 var commandsManager = editor.get_commandsManager();
                 var commandIndex = commandsManager.getCommandsToUndo().length - 1;
                 commandsManager.removeCommandAt(commandIndex);

                 var content = editor.getSelectionHtml();

                 var link = editor.get_document().createElement("A");

                 link.innerHTML = content;
                 argument = link;
             }

             var myCallbackFunction = function (sender, args) {
                 editor.pasteHtml(String.format("<a href={0} target='{1}' class='{2}'>{3}</a> ", args.href, args.target, args.className, args.name))
             }

             editor.showExternalDialog(
                  'InsertLink.aspx',
                  argument,
                  270,
                  300,
                  myCallbackFunction,
                  null,
                  'Insert Link',
                  true,
                  Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move,
                  false,
                  false);
         };
        
    </script>


  
Ianko
Telerik team
 answered on 25 Sep 2013
5 answers
53 views
Hi,

I have been trying to find the solution for past 4 days, but i couldn't get any solution for this.

I am using Rad Editor version -2009.1.402.20. When i select the font size drop down and select any no., it is setting always to 7.

This behavior is there only in Chrome. 

I tried to attached a sample here but i couldn't. So please find the sample in this sky drive link: http://sdrv.ms/1fdAFrd

Can any one please look into this issue, it would be very helpful for me.Thanks in advance.

Please note that currently we are not ready to upgrade our RAD controls.

Thanks,
Vinay.
Ianko
Telerik team
 answered on 25 Sep 2013
6 answers
1.2K+ views
Is there anyway can make radgrid row height grow free when text size on the row changes?
I have html column bind to the grid, sometime the html text size is better that the row height to get text overlap. Anyway to make the row height free?

LamKhoa
Top achievements
Rank 1
 answered on 25 Sep 2013
3 answers
76 views
I have a Scheduler Web Part configured with a custom list data source and multiple resources. When I drag an existing appointment from one resource column/row to another, nothing happens - the appointment is not updated with the new resource and when I release the mouse the appointment simply snaps back to it's original position on the grid. Dragging within the same resource to a different time works, however.

Is this a bug, a limitation, or is there some configuration bit that I've missed in wiring the list?

Bob

Plamen
Telerik team
 answered on 25 Sep 2013
1 answer
97 views
Hi ,

I developed a website using telerik controls and I tried to open the site in Apple Ipad Chrome, but I can not log in to the system by giving the credentials, but by using safari I can able to log in to the site.
Please give me the solution, it is urgent for us.
Ianko
Telerik team
 answered on 25 Sep 2013
1 answer
71 views
hi, i wanna know how can i display foreign keys in appointments, when I put the the field that belongs to the table that's a foreign key in another table in the appointment template it's shows something like this: Telerik.Web.Ui.Resource
Plamen
Telerik team
 answered on 25 Sep 2013
3 answers
77 views
Hi Friends,

I am able to store scheduler data in a table, I need to write a query where I can get today tasks. But recurrence data are stored in formula (
RRULE: FREQ=WEEKLY; INTERVAL=1; BYDAY=MO, TU, WE, TH, FR  ) it will support by only scheduler control.

My requirement is I want to display today tasks in a table format based on scheduler data. I can't use the scheduler control in that place.

Kindly help me.

Plamen
Telerik team
 answered on 25 Sep 2013
2 answers
138 views
Hi,

I'm looking for a way to hide the year (everywhere) in a RadDatePicker. My intention is to just hide it, so it wil seem to the user that he only has to select a date and month, and that he doesn't has to mind selecting a year. So far I have:
  RadDatePicker1.DateInput.DateFormat = "dd/MM"
RadDatePicker1.Calendar.TitleFormat = "MMMM"
What I believe is left over is the year-selection-part in the month/year popup in RadCalendar.
Besides "RadDatePicker1.Calendar.EnableMonthYearFastnavigation = false", I'd like it if there was some way to just hide the year-selection-part. 
Is there a way for this?

Thanks!
Laurens
Top achievements
Rank 1
 answered on 25 Sep 2013
1 answer
39 views
Hello:

I have a RadGrid with a Template Column that contains a button. When I click it, displays another RadGrid with a radnumeric control in template column (like a DropDownList). I made an example like this link in an empty aspx page, and it worked perfect. The problem is that I want to replicate this in each radgrid who is shown by the button in the first RadGrid. Any suggestions?

PD: I attached an image to have a better idea.

Thanks.
Angel Petrov
Telerik team
 answered on 25 Sep 2013
1 answer
40 views
bfbg
Danail Vasilev
Telerik team
 answered on 25 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?