Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
99 views

Dear Sir,
i want to hide or disable context menu OnClientAppointmentContextMenu event my code is following but it is not working.

 

function

 

OnClientAppointmentContextMenuClick(sender, eventArgs) {

 

 

 

 

 

 

 

var menu = $find("<%= SchedulerAppointmentContextMenu.ClientID %>");

 

 

 

 

 

menu.visibility =

"hidden";

 

 

 

 

 

}

Please help me.
Thank You.
Chandan.

Chandan Kumar
Top achievements
Rank 1
 answered on 02 Jun 2010
3 answers
132 views
I am creating a custom DNN module and want to use the Rad Editor.

Almost everything work but when I click on the button to add a link I get an error "Microsoft JScript runtime error: Object doesn't support this property or method"

The line shown in the debugger is

var _8=_6.__lookupSetter__("checked");
Rumen
Telerik team
 answered on 02 Jun 2010
2 answers
79 views

Hi,
I am trying to set the hight of a textbox control in the grid but it seems that its being limited and I cannot find what is limiting it.  This limit seems to be there in edit mode as well.  Below is the Column I am trying to set.
 

 

 

 

<telerik:GridTemplateColumn DataField="Notes" HeaderText="Notes"   
SortExpression="Notes" UniqueName="Notes">   
<EditItemTemplate>   
<asp:TextBox ID="NotesTextBox" runat="server" Text='<%# Bind("Notes") %>' TextMode="MultiLine" Width="500px" hight="600px"></asp:TextBox>   
</EditItemTemplate>   
<ItemTemplate>   
<asp:TextBox ID="NotesTextBox" runat="server" Text='<%# Eval("Notes") %>' TextMode="MultiLine" Width="500px" hight="100px" ReadOnly="true">  
</asp:TextBox>    
</ItemTemplate>   
</telerik:GridTemplateColumn> 
 

 

 

 

Mark Andrew
Top achievements
Rank 1
 answered on 02 Jun 2010
4 answers
291 views
Dear Telerik support,

I'm looking to control rad rotator showed items from code, however, I need to use the fade animation type. using such type of animation requires setting the rotator type to slide show, and doing that leads to a series of strange behavior if user used the animation direction controls "custom controls and JavaScript code" as well as frames numbers "a set of click-able buttons that shows the relevant frame". I would appreciate any suggestions or help.

Regards,
Fiko
Telerik team
 answered on 02 Jun 2010
1 answer
112 views
HI

Below is the code of my CSS and i want the look to be the as of image 2 . but what i am getting is image 1
div.RadMenu .rmItem a.rmLink:hover   
{  
  cursorpointer !important;  
  font-family : Tahoma;  
  font-size  : 8pt;  
 border0px solid black;     
    background-color : #F5F5F5;  
    color :#F5F5F5;  
      
}  
 
div.RadMenu .rmItem   
{    
  font-family : Tahoma;  
  font-size  : 18pt;  
 background-color : #001465 ;  
 color  : Silver;     
border : none;  
    text-decoration : none;  
}  
div.RadMenu .rmItem a.rmExpandDown  
{  
 background-color  :transparent ;  
 background-image : none;  
}  
.RadMenu_Green .rmGroup  
{  
 border1px solid green;  
 background-color#fff;  

Please help me
Yana
Telerik team
 answered on 02 Jun 2010
1 answer
225 views
Hello.

I just started using Rad Controls, and i have some problems.
I want to put a custom button in RadEditor control, (actually it's a dropdown list). Each of the values of the dropdown list, will lead to a function that changes the tools file(xml) that the radEditor uses.
I already made the dropdown list, and created the function to do this. But the problem is that, after choosing a certain value, the page is set to be reloaded, and it will load the Editor with the default tools file. Is there any way to accomplish this? I was thinking of some way to reload only the RadEditor with the new tools file, but i haven't seen a command to do just that.


for the moment is use this script to change the tools file.

  <script type="text/javascript"
                 Telerik.Web.UI.Editor.CommandList["Custom"] = function (commandName, editor, args) { 
                     alert("Custom command 1"); 
                     //for example you can apply bold formatting by firing the editor.fire("Bold"); 
                 }; 
                 Telerik.Web.UI.Editor.CommandList["Drop1"] = function (commandName, editor, args) { 
                     alert("Custom command 2"); 
                     // Execute your code here, provide it with any arguments that you need, etc. 
                 }; 
                 Telerik.Web.UI.Editor.CommandList["ButtonPresets"] = function (commandName, editor, oTool) { 
                     //alert("Value Selected: " + oTool.get_value()); 
                     //var editorName = "ContentPlaceHolder2_RadEditor2Wrapper" 
                     //document.getElementById(ContentPlaceHolder2_RadEditor2Wrapper).ToolFile = "~/RadEditor Tools/ToolsFile" + oTool.get_value() +".xml" 
                     editor.ToolsFile = "~/RadEditor Tools/ToolsFile" + oTool.get_value() + ".xml" 
                     //documentdocument.location = document.location; 
 
                      
                 }; 
</script>  


The second problem i seem to have, involves the customization of an already existing button - FullScreen. I want the button to co to full screen, but the textarea of the edited text to remain the same. In other words, when using fullscreen i wish to see the tools in the upper bar, just like fullscreen. But the editing content to remain as the same size as in the original page. If it was 200x200px i want it to remain the same.
The third and final problem i am facing, and have no ideea how to solve is to autohide, via button, certain sets of tools, let's say i don't want to see the font size&alignment, i should be able to show/hide those with one button, something like and collapsible panel. I hope i made myself clear, and to receive any help soon.
 
Dobromir
Telerik team
 answered on 02 Jun 2010
5 answers
143 views
I created a simple webform with 2 RadAjaxPanels with their updatemode set to Always via the onajaxsettingcreated event.  Then I put 1 button in each of the RadAjaxPanels which cause them to generate an ajaxrequest.  Then I put a RadAjaxLoadingPanel on the form and set the loadingpanelid of both the RadAjaxPanels to the id of the loadingpanel.

When I run the form and click button 1, the loading panel displays correctly.  However, when I click the second button, the panel stops working for either ajaxpanel and will not display until the page is reloaded.  If I don't set the updatemode to always, it works fine.  This appears to be a bug with the RadAjaxPanel where updatemode=always.  Anyone else seen this and know a work around?
Maria Ilieva
Telerik team
 answered on 02 Jun 2010
1 answer
133 views
Hello,

When a user schedules a date/time for an appointment, I would like to be able to cross-reference these dates/times against some data source to ensure that a conflict doesn't exist.  What it may be conflicting with doesn't readily appear in the scheduler.  It appears there may not be a good place to validate this; I need to make a web service call to see if a conflict exists... which means appointmentwebserviceinserting or updating events won't work since I need to know immediately.

Any ideas or tips for this scenario?

Thanks.
T. Tsonev
Telerik team
 answered on 02 Jun 2010
1 answer
102 views
I need to have a menu and windows smallest as it can be. At this moment all the skins have the same sizes for window and menu, so my questions are:

1) is it possible to have a text menu with out images, so I can control the font size
2) is it possible to have the actual menu and windows skins, but with small sizes?

Thanks in advance.
Peter
Telerik team
 answered on 02 Jun 2010
7 answers
603 views
Hi,

I have made custom configuration and toolsfiles and they are working just fine when I use those in publishing pages like this:
<radE:RadHtmlField ID="RadHtmlField" ToolsFile="/_layouts/rad/ToolsFile.xml" ConfigFile="/_layouts/rad/ConfigFile.xml" FieldName="PublishingPageContent" runat="server"></radE:RadHtmlField>

Is there a way to set these customfiles so that they will work also in RAD editor web part?

Best regards,
Jere
Stanimir
Telerik team
 answered on 02 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?