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

I am having a case, we want to disable, enable child controls client side  that have been added to a tree node server side.

However using the javascript enable & disable function of the node only works for the node itself, and not its childs, as it is the case for server side. How does one set this property for a child control to a treenode?
 
For example if I have added a combobox to a tree node and want to disable that combo on the client. I have tried playing around with the get_element, however I cannot get it to work. I cannot use the client side Findcontrol, as I do not know the Id of the child control, I want to loop through the collection of child controls to a node and enable/disable using javascript on the client.

I Hope someone got an idea of how to do this

Simon
Telerik team
 answered on 20 Apr 2009
1 answer
132 views
How can I override skin styles, I have custom skins, I take a std Skin and rename it and make small edits as required. I tell the control to use my skins by setting the enableembeddedskins to false and pointing the skin name to my skin.

When I use Firebug to view the styles (so I can see which ones to change) a lot of stlyes are in the Webresource.axd file.  I cant seem to override them as they are the last styles to load and override mine.

Andy
Alex Gyoshev
Telerik team
 answered on 20 Apr 2009
1 answer
233 views
Hello,

Perhaps I'm not going about this the right way, but here is my scenario:

I have a radgrid and a radtooltipmanager.  I use the ItemCreated event on the radgrid to add each of the headers of the radgrid to the target controls of the radtooltipmanager (using examples I've seen on this site:

Protected Sub _assignedRefsRadGrid_ItemCreated(ByVal sender As ObjectByVal e As Telerik.Web.UI.GridItemEventArgs) Handles _assignedRefsRadGrid.ItemCreated 
        If (TypeOf e.Item Is GridHeaderItem) Then 
            Dim headerItem As GridHeaderItem = e.Item 
            For Each column As GridColumn In _assignedRefsRadGrid.MasterTableView.RenderColumns 
                If ((Not TypeOf column Is GridExpandColumn) And (Not TypeOf column Is GridRowIndicatorColumn)) Then 
                    Dim hdr As LinkButton = headerItem(column.UniqueName).Controls(0) 
                    RadToolTipManager1.TargetControls.Add(hdr.ClientID, True
                End If 
            Next 
        End If 
    End Sub 

So now, when the user hovers over a header, I want to grab some help content from an XML file and place it in the resulting tooltip.  So, I am using the AjaxUpdate event of the RadToolTipManager.  However, I would like to use the UniqueName of the column on which the user hovered in order to grab the content from the XML file.  I am at a loss as to how to access the column in which the LinkButton that the user is hovering over appears.  Any suggestions?

Thanks,
Gene


Shinu
Top achievements
Rank 2
 answered on 20 Apr 2009
1 answer
133 views
I have a problem where the size of the toolbar stretches the radeditor size so that it messes with the layout of my page. How could I get the radeditor to break into two or more rows so that the size of the radeditor is kept to the size of the table cell.

                                            <tr> 
                                                <td style="border-bottom: black 1px solid; width: 445px;"
                                                    <telerik:RadEditor ID="RadEditor1" runat="server" Width="100%" Height="150px" Style="height: 100%" 
                                                        ToolsFile="RadControls/Editor/BasicTools.xml" Skin="Vista" EditModes="Design" 
                                                        EnableResize="False" EnableTheming="True" StripFormattingOptions="AllExceptNewLines" 
                                                        ToolbarMode="Default" ToolsWidth="50px" OnClientPasteHtml="OnClientPasteHtml"
                                                    </telerik:RadEditor> 
                                                </td> 
                                            </tr> 

ToolsWidth does not seem to do anything at all, and the radeditor streches beyond 445px.

XML Toolsfile:
<root> 
  <tools name="MainToolbar" dockable="false" enabled="true"
      <tool name="FindAndReplace" /> 
      <tool separator="true"/> 
      <tool name="Undo" /> 
      <tool name="Redo" /> 
      <tool separator="true"/> 
      <tool name="Cut" /> 
      <tool name="Copy" /> 
      <tool name="Paste" shortcut="CTRL+!"/> 
        <tool separator="true"/> 
        <tool name="JustifyLeft" /> 
        <tool name="JustifyCenter" /> 
        <tool name="JustifyRight" /> 
        <tool name="JustifyFull" /> 
        <tool name="JustifyNone" /> 
        <tool separator="true"/> 
        <tool name="Indent" /> 
        <tool name="Outdent" /> 
        <tool separator="true"/> 
        <tool name="InsertOrderedList" /> 
        <tool name="InsertUnorderedList" /> 
        <tool separator="true"/>         
        <tool name="LinkManager" shortcut="CTRL+K"/> 
        <tool name="Unlink" shortcut="CTRL+SHIFT+K"/>    
        <tool separator="true"/> 
        <tool name="Bold" /> 
        <tool name="Italic" /> 
        <tool name="Underline" /> 
        <tool separator="true"/> 
        <tool name="InsertTable" /> 
        <tool name="ForeColor" /> 
        <tool separator="true"/> 
        <tool name="FontName"/> 
        <tool name="RealFontSize"/> 
  </tools> 
  <module name="RadEditorNodeInspector" dockingZone="Module" enabled="true" visible="true" dockable="true" /> 
</root> 



Trygve
Top achievements
Rank 2
 answered on 20 Apr 2009
1 answer
142 views
Hi,

we are using the scheduler component for a project to schedule system task type events, but there appears to be a minimum limit of Hourly appointment Recurrence rules.  Is there a way to extend the Recurrence Rule model to support recurrence rules with a frequency of minutes rather than hours?

Regards
Thomas
Peter
Telerik team
 answered on 20 Apr 2009
1 answer
265 views

In vertical mode, there seems to be a space at the end of each menu item when hovering over the item. My code:

 

<

 

telerik:RadMenu ID="mnuSubMain" runat="server" Flow="Vertical" Width="100%"></telerik:RadMenu>

 

 

 

The menu resides inside a <table> with a fixed width of 160px. Here's the screen shot:

<img src="http://www.caldwellweb.com/sshot.gif" alt="">

I've tried adjusting the vertical css with an override and testing with different widths and parent containers.

Any help would be great. Thanks.

Alex Gyoshev
Telerik team
 answered on 20 Apr 2009
3 answers
156 views
Hi,

I created dynamically a radcombobox (in a usercontrol). When I try to use the LoadOnDemand feature, it fires the itemsrequested event and I see via a watch that the combobox items are changed, but I do not see them chaning on the screen. What am I doing wrong? 

Tia,

Tim 
T
Top achievements
Rank 1
 answered on 20 Apr 2009
3 answers
152 views
Hi,

I need to know this. I am completely lost with the usage of editors.

I would like to show the content of aspx page in editor to give the possibility to change its content.

Thank you.
Patxi
Top achievements
Rank 1
 answered on 20 Apr 2009
1 answer
127 views
This is a great control, but I am having trouble modifying the default skin to Verdana.
I made it work with Black like this.

I have this in my CSS
.RadPanelBar_Default .rpGroup {  
font-family: Verdana,arial !important;  
}  
.RadPanelBar_Default .rpChildGroup {  
font-family:Verdana,arial !important;  

It does not succeed in overriding the default Arial.
Can you striaghten me out? What am I doing wrong?

Thanks
Clive
Princy
Top achievements
Rank 2
 answered on 20 Apr 2009
3 answers
211 views
I have a form that opens up a dialog which will allow the user to do some things, and once they are done, they can click on a button and the window will close.

Well, it is suppose to close, but I have gotten it to close yet. So I was wondering how you would go about doing that?
Princy
Top achievements
Rank 2
 answered on 20 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?