Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
119 views

I created a project in VS2012 and targeted .Net 4.0. Added a form, added a Rad script manager and a window manager, clicked run and the follow errors show in the output window.

Exception was thrown at line 4, column 9009 in http://localhost:19613/ScriptResource.axd?d=yg86TPrIfM9jRgrel4x6P1iZbfu-fa3cROoywpu6ucwaO_bk85riyrR2epWADAA0rhAc0WVjgMEpbnYB3UowXVEUWZVRH-vLIncozmzJ5gmhlYI70zc75I04bmQRM030PXQQhUKfigr3trqM_3ulqA2&t=658b77c2
0x800a139e - JavaScript runtime error: SyntaxError
Exception was thrown at line 4, column 9238 in http://localhost:19613/ScriptResource.axd?d=yg86TPrIfM9jRgrel4x6P1iZbfu-fa3cROoywpu6ucwaO_bk85riyrR2epWADAA0rhAc0WVjgMEpbnYB3UowXVEUWZVRH-vLIncozmzJ5gmhlYI70zc75I04bmQRM030PXQQhUKfigr3trqM_3ulqA2&t=658b77c2
0x800a139e - JavaScript runtime error: SyntaxError

I then opened the project in VS2010, clicked run and no errors.
Ianko
Telerik team
 answered on 25 Sep 2013
1 answer
102 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
72 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.3K+ 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
98 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
133 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
99 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
108 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
171 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
56 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?