Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
229 views
Hello,

We installed a fully licensed version of RadEditor for MOSS and many of the commands such as PasteFromWord, MediaManager, DocumentManager, etc will not work.  I get a popup that says "Could not find the command... Please update your command list."

Is there something else I need to do besides enabling it in the ToolsFile.xml?

I have an evaluation version running on a WSS 3.0 and all of these functions work fine.

Thank you!
Ivo
Telerik team
 answered on 10 Sep 2008
1 answer
117 views
Hello,

When I write/paste a javascript code into the RadEditor, it ignores it when I switch to another view and when the page is posted. Do you know how to fix this problem ?

Here is a sample code I write/paste into the Editor:

<script type='text/javascript'>
alert('test');
</script>
Rumen
Telerik team
 answered on 10 Sep 2008
3 answers
155 views
I am facing small issue with Image Map Editor in the Full versjon of Rad MOSS Editor.

After installing full versjon, It's working as expected in IE 7.0. But in IE 6.0 it's not showing image map editors properties.

Please clearify me weather full versjon is supporting IE 6.0? with in short time we are planning to purchase full versjon of it.

Thanks,
Jams
Rumen
Telerik team
 answered on 10 Sep 2008
2 answers
98 views
I have the row in the grid, I want to set the mode to edit mode so that the edit template (the textboxes I created in my templated columns) are the ones showing.  I am doing this in the ItemCommand of the grid. 

I've tried .Edit = true and .Edit doesn't seem to have any  visual effect - I still see the uneditable labels. 

Could somebody please explain how this works?

Thanks
Acadia
Top achievements
Rank 1
Iron
 answered on 10 Sep 2008
6 answers
120 views
I'm attempting to perform an inplace/inline insert in a RadGrid from a RadToolBarButton click event.

Editing is easy because I just set the ItemCommand = "Edit" and the inline edit templates load for me, but since the Toolbar is outside of the grid, how can I accomplish this task?

My toolbar sits above my grid and basically has an "Add New" button on it, and when clicked, it should provide me an insert row...
tjans
Top achievements
Rank 1
 answered on 10 Sep 2008
1 answer
207 views
I am using radgrid in AllowMultiRowEdit="True".  Is there an event I can subscribe to for when a user loses focus from a given cell?  I want to be able to validate the user input and provide a total for the row.  I tried subscribing to ItemEvent and ItemUpdated and they didn't fire, I'm assuming that is because of AllowMultiRowEdit?
Yavor
Telerik team
 answered on 10 Sep 2008
4 answers
439 views
Hello!

I have these original codes (from MSDN) for standard VS 2008 TreeView that works for this table diagram with  minor tweaks. What I wish to find out if there's an equivalent code in Telerik TreeView to implement the same for the same set of tables.

Thanks,

Jimi


This is the code set:

<%@ Page Language="VB" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">

  Sub PopulateNode(ByVal sender As Object, ByVal e As TreeNodeEventArgs)

    ' Call the appropriate method to populate a node at a particular level.
    Select Case e.Node.Depth

      Case 0
        ' Populate the first-level nodes.
        PopulateCategories(e.Node)

      Case 1
        ' Populate the second-level nodes.
        PopulateProducts(e.Node)

      Case Else
        ' Do nothing.

    End Select

  End Sub

  Sub PopulateCategories(ByVal node As TreeNode)

    ' Query for the product categories. These are the values
    ' for the second-level nodes.
    Dim ResultSet As DataSet = RunQuery("Select CategoryID, CategoryName From Categories")

    ' Create the second-level nodes.
    If ResultSet.Tables.Count > 0 Then

      ' Iterate through and create a new node for each row in the query results.
      ' Notice that the query results are stored in the table of the DataSet.
      Dim row As DataRow

      For Each row In ResultSet.Tables(0).Rows

        ' Create the new node. Notice that the CategoryId is stored in the Value property
        ' of the node. This will make querying for items in a specific category easier when
        ' the third-level nodes are created.
        Dim NewNode As TreeNode = New TreeNode(row("CategoryName").ToString(), row("CategoryID").ToString())

        ' Set the PopulateOnDemand property to true so that the child nodes can be
        ' dynamically populated.
        NewNode.PopulateOnDemand = True

        ' Set additional properties for the node.
        NewNode.SelectAction = TreeNodeSelectAction.Expand

        ' Add the new node to the ChildNodes collection of the parent node.
        node.ChildNodes.Add(NewNode)

      Next

    End If

  End Sub

  Sub PopulateProducts(ByVal node As TreeNode)

    ' Query for the products of the current category. These are the values
    ' for the third-level nodes.
    Dim ResultSet As DataSet = RunQuery("Select ProductName From Products Where CategoryID=" & node.Value)

    ' Create the third-level nodes.
    If ResultSet.Tables.Count > 0 Then

      ' Iterate through and create a new node for each row in the query results.
      ' Notice that the query results are stored in the table of the DataSet.
      Dim row As DataRow

      For Each row In ResultSet.Tables(0).Rows

        ' Create the new node.
        Dim NewNode As TreeNode = New TreeNode(row("ProductName").ToString())

        ' Set the PopulateOnDemand property to false because these are leaf nodes and
        ' do not need to be populated.
        NewNode.PopulateOnDemand = False

        ' Set additional properties for the node.
        NewNode.SelectAction = TreeNodeSelectAction.None

        ' Add the new node to the ChildNodes collection of the parent node.
        node.ChildNodes.Add(NewNode)

      Next

    End If

  End Sub

  Function RunQuery(ByVal QueryString As String) As DataSet

    ' Declare the connection string. This example uses Microsoft SQL Server and connects to the
    ' Northwind sample database.
    Dim ConnectionString As String = "server=localhost;database=NorthWind;Integrated Security=SSPI"

    Dim DBConnection As SqlConnection = New SqlConnection(ConnectionString)
    Dim DBAdapter As SqlDataAdapter
    Dim ResultsDataSet As DataSet = New DataSet

    Try

      ' Run the query and create a DataSet.
      DBAdapter = New SqlDataAdapter(QueryString, DBConnection)
      DBAdapter.Fill(ResultsDataSet)

      ' Close the database connection.
      DBConnection.Close()

    Catch ex As Exception

      ' Close the database connection if it is still open.
      If DBConnection.State = ConnectionState.Open Then

        DBConnection.Close()

      End If

      Message.Text = "Unable to connect to the database."

    End Try

    Return ResultsDataSet

  End Function

</script>

<html  >
  <head runat="server">
    <title>TreeView TreeNodePopulate Example</title>
</head>
<body>
    <form id="form1" runat="server">

      <h3>TreeView TreeNodePopulate Example</h3>

      <asp:TreeView id="LinksTreeView"
        Font-Names= "Arial"
        ForeColor="Blue"
        EnableClientScript="false"
        OnTreeNodePopulate="PopulateNode"
        runat="server">

        <Nodes>

          <asp:TreeNode Text="Inventory"
            SelectAction="Expand" 
            PopulateOnDemand="true"/>

        </Nodes>

      </asp:TreeView>

      <br /><br />

      <asp:Label id="Message" runat="server"/>

    </form>
  </body>
</html>

   



jimi
Top achievements
Rank 1
 answered on 10 Sep 2008
3 answers
78 views
Hello,

       I am having problem with editor's fullscreen mode.After loading the page in fullscreen mode the tools are not displayed properly. I am using the fullset of tools file which displays properly in Firefox but not with mozilla using the version of telerik dll 2008.1.415.20. Is there any issue before or any solution to this.
Rumen
Telerik team
 answered on 10 Sep 2008
1 answer
115 views
I am using a radconfirm() method. I need to specify the RadWindowManager to use, because I am using several RadWindowManager. How may I to do ?

Thank you in advance,
Georgi Tunev
Telerik team
 answered on 10 Sep 2008
4 answers
338 views
Hi,

I have a button named "Delete Element". When I click overthere, it deletes the element ( server-side ). 

<

asp:LinkButton ID="rteLnkBtnDeleteFlash" runat="server" Text="Supprimer ce flash"

onclick="rteLnkBtnDeleteFlash_Click"></asp:LinkButton>

I would like to display a radWindow to confirm the delete ( maybe a radconfirm ) to ask if the user want to really delete the element. If he clicks YES, I would like to call my delete method ( rteLnkBtnDeleteFlash_Click ) which is into the server side, but not into the client side.

But how may I to do it with a radconfirm or other rad component ?

<button style="width:150px" onclick = "radconfirm('Are you sure?', confirmCallBackFn); return false;">show CONFIRM BOX</button> 
      function confirmCallBackFn(arg)
    {
       alert("I want to delete the element here into the server side if it is true ...);

   }

Thank you in advance,

Georgi Tunev
Telerik team
 answered on 10 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?