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

Hi all,

according to documentation (http://www.telerik.com/products/aspnet-ajax/spell/supports-multiple-languages-20-currently.aspx) there is a lot of languages available to spell check. But I found only 3 of them (English, French, German) in trial installation. Where I can find the rest?

Best regards

Pavel Balas

Rumen
Telerik team
 answered on 21 Nov 2008
2 answers
100 views
I have a grid that does automatically insert/update/delete. The grid has a GridDropDownColumn which is binded with a DataSet at runtime for user selects the available items. I like to hide the whole EditForm when the DataSet is null (out-of-stock) but only able to hide the dropdownlist. Please lend me some hints.
Thanks in advance.
Regards,
d-cpt.

d-cpt
Top achievements
Rank 2
 answered on 21 Nov 2008
1 answer
39 views
Hello,

I want to invoke edit mode for every row in the grid.  Is that possible to do?  How would I do that, whether it be server or client side?

Thanks.
Daniel
Telerik team
 answered on 21 Nov 2008
5 answers
206 views
When the grid renders, I am displaying all items in edit mode (inplace).  The grid's source is a table and I am additionally adding an "AutoGeneratedDeleteColumn".  I would like to display all of the "Delete" link buttons while in edit mode.  Thanks.......Ken
Daniel
Telerik team
 answered on 21 Nov 2008
1 answer
131 views

Hi

I’ve got a problem with the server-side Event „.NodeClick“. Every time the Ajax postback is complete all nodes from the selected nodes up to the root nodes and all its child nodes in the tree view got cleared out. They only show their + or – images and the Line Images.  I use a default node template with a label in it. Without templates it only resets properties like „ForeColor” to black, but the text stays visible.  I also use Client-Side Load On Demand with „ServerSideCallback“. The NodeClick event changes some text in a label on the webform.  Booth, the tree view and the label are located in separated updatepannels. I’ve created a sample project to eliminate side effects generated by my other code but the problem is still present.  Can someone tell me what I’m doing wrong?


There is also another problem with the loading image I use in the LoadingStatusTemplate. If I use Node Templates, the image never shows up on the right side of the node but on its bottom side. Without Node Templates it shows up at the right side like expected. Is there a way to get the image on the right end of the node when I’m using Node Templates?

Thanks a lot for your help!


This is the code of my sample project:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="frmTest2.aspx.vb" Inherits="frmTest2" %> 
 
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head id="Head1" runat="server"
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server"
    </asp:ScriptManager> 
    <div> 
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"
            <ContentTemplate> 
                <asp:Button ID="Button1" runat="server" Text="poppulate!" /> 
                <asp:Label ID="lbltest" runat="server" Text="Label"></asp:Label> 
            </ContentTemplate> 
        </asp:UpdatePanel> 
        <asp:UpdatePanel ID="UpdatePanel2" runat="server"
            <ContentTemplate> 
                <telerik:RadTreeView ID="rtvAtcTree" runat="server" LoadingStatusPosition="AfterNodeText" 
                    EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True" TabIndex="1" EnableEmbeddedSkins="True"
                    <CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation> 
                    <ExpandAnimation Duration="100"></ExpandAnimation> 
                    <NodeTemplate> 
                        <asp:Label ID="lblNodeText" runat="server" Text=""></asp:Label> 
                    </NodeTemplate> 
                    <LoadingStatusTemplate> 
                        <img src="Images/loading.gif" alt="" /> 
                    </LoadingStatusTemplate> 
                </telerik:RadTreeView> 
            </ContentTemplate> 
        </asp:UpdatePanel> 
    </div> 
    </form> 
</body> 
</html> 

Imports System 
Imports System.Data 
Imports System.Collections.Generic 
Imports Telerik.Web.UI 
 
 
Partial Class frmTest2 
    Inherits System.Web.UI.Page 
 
 
    Protected Sub rtvAtcTree_NodeClick(ByVal sender As ObjectByVal e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles rtvAtcTree.NodeClick 
        lbltest.Text = Now 
    End Sub 
 
 
    Protected Sub rtvAtcTree_NodeExpand(ByVal sender As ObjectByVal e As RadTreeNodeEventArgs) Handles rtvAtcTree.NodeExpand 
        Me.RenderSubNodes(e.Node) 
        e.Node.Expanded = True 
    End Sub 
 
 
    Private Sub RenderSubNodes(ByVal ParentNode As RadTreeNode) 
 
        For i As Integer = 0 To 3 
 
            Dim n As New RadTreeNode 
            n.ExpandMode = TreeNodeExpandMode.ServerSideCallBack 
            If ParentNode Is Nothing Then 
                rtvAtcTree.Nodes.Add(n) 
            Else 
                ParentNode.Nodes.Add(n) 
            End If 
            ApplyNodeText(n, "Text"
 
        Next 
 
    End Sub 
 
 
    Private Sub ApplyNodeText(ByVal node As RadTreeNode, ByVal txt As String
        Dim lblNodeText As Label 
        lblNodeText = node.FindControl("lblNodeText"
        lblNodeText.Text = txt 
    End Sub 
 
 
    Protected Sub Button1_Click(ByVal sender As ObjectByVal e As System.EventArgs) Handles Button1.Click 
        Me.RenderSubNodes(Nothing
    End Sub 
 
End Class 

Peter
Top achievements
Rank 1
 answered on 21 Nov 2008
3 answers
101 views
I am using a wrappanel but the wraping is not desired.  How can I use a wrappanel in a webpart?
Bob
Top achievements
Rank 1
 answered on 21 Nov 2008
1 answer
94 views
I am working with Self-referencing grid display 3 column in the grid. now i want to drag and drop between rows it can be  root or  child with changes in database.  initially i was doing it with tree with one column from db and it was working fine but now i have to display 3 column from database i think it is not possible in tree view. so trying in grid but not able to drag n drop with database changes.

Thanks for your help in advance. 
Iana Tsolova
Telerik team
 answered on 21 Nov 2008
3 answers
274 views
I have 2 ComboBoxes in a repeater and I need to set the javascript value in the second row with the reverse of the first row.

Repeater-
Row 1 - ComboBox_BEGIN, ComboBox_END, ...other controls
Row 2 - ComboBox_BEGIN, ComboBox_END, ...other controls

after the user selects a ComboBox_BEGIN value in row 1 I want to via javascript set the value in row 2 ComboBox_END. all the samples Ive seen that are showing this arent using a repeater so its a bit unclear. I was trying to set this up in the PreRender of the repeater, adding an onblur of the Row 1 - ComboBox_BEGIN. I have that code ready but when I add it, it adds it to the outer div the control renders and not the child textbox.

Can someone send me a link or a code sample that shows some similar functionality so I can understand how to do this. (if it matters these ComboBoxes are Loaded on Demand also)
jgig
Top achievements
Rank 1
 answered on 21 Nov 2008
5 answers
183 views
Hello,

I'm trying to display a ToolTip as Custom Command on the RadDoc. I have following code so far:

<script type="text/javascript"
         function showToolTip(dock, args) { 
             var tooltip = $find(args.Command.get_name()); 
             tooltip.show(); 
         } 
</script> 
..... 
..... 
<telerik:RadToolTip ID="RadToolTip1" runat="server"  > 
        <h1>This is Title</h1> 
        <p>And some very big description</p> 
        <p>More of the details and descriptions</p> 
</telerik:RadToolTip> 
...... 
...... 
<telerik:RadDock ID="RadDock1" runat="server" Width="100%"  
                Title="FREQUENTLY USED FEATURES" DefaultCommands="None"  
                EnableDrag="False"
                <Commands> 
                    <telerik:DockCommand Name="RadToolTip1" OnClientCommand="showToolTip" /> 
                </Commands> 
                <ContentTemplate> 
                </ContentTemplate> 
</telerik:RadDock> 
 

When I click Custom Command icon in RadDock title I'm getting JS error:

tooltip is null
at line:  tooltip.show();

Any help is greatly appreciated. If there is a better approach, please let me know.

Thank you,
a.



Svetlina Anati
Telerik team
 answered on 21 Nov 2008
1 answer
280 views

I have several radcombo boxes on my form I am trying to make the enter key act like  the tab key. I added javascript to the body of the form to force this and it worked for everything except the RadComboBoxes...I have tried capturing the OnClientKeyPressingEvent and setting it to the following javascript function...This part works:

 

 

function HandleKeyPress(comboBox, eventArgs)

 

{

 

//identify the enter key:

 

 

if (eventArgs.get_domEvent().keyCode == 13)

 

{

 

    ///What code goes here        

 

}

}

So my question is what code do I implemement to determine which combobox fired the event and get the focus to move to the control...I have tried several different versions of code but nothing seems to work.


Thanks.

Veselin Vasilev
Telerik team
 answered on 21 Nov 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?