Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
143 views
Hi,

I have a RadWindow on a page that gets put into a contentplaceholder on a master page. Is there any way to make the Window open at position 0,0 of the master page?
Fiko
Telerik team
 answered on 18 Jun 2009
5 answers
674 views
Hi Team,
    How can we get the list of parent node value at a perticular level .?
My requirment is I have to pass the list of parent node value as a string ( each node will separated with a comma ) at a perticular level . If I am expanding the level 4 then , I need parentnodevalue(0),parentnodevalue(1),parentnodevalue(2),parentnodevalue(3),currentnodevalue(4) . can you suggest me

Regards
Manoj
Richard
Top achievements
Rank 2
 answered on 18 Jun 2009
1 answer
79 views
Hi,

I want to know if I can build the main part of a RadGrid declaratively and e.g. the template columns came from an other class that implements ITemplate.
Princy
Top achievements
Rank 2
 answered on 18 Jun 2009
7 answers
180 views
I am saving the state of the Radodocks in a database and when I collapse a dock I can see the correct state being saved to the table but when I reload the page it doesn't come back collapsed and the state field in the table gets overwritten with collapsed: false..... here is my code.

Save

Protected Sub RadDockLayout1_SaveDockLayout(ByVal sender As Object, ByVal e As Telerik.Web.UI.DockLayoutEventArgs)
        'Save the dock state in the session. This will enable us to recreate the dock in the next Page_Init.
        CurrentDockStates = RadDockLayout1.GetRegisteredDocksState()
    End Sub


Load

Protected Sub RadDockLayout1_LoadDockLayout(ByVal sender As Object, ByVal e As Telerik.Web.UI.DockLayoutEventArgs)

        Dim _currentDockStates As New List(Of DockState)()
        Dim ContactID As Integer = Int32.Parse(Utilities.GetSession("ContactNumber").ToString())
     
        _state = PortalDataAccess.LoadState(ContactID).ToString()
   

        Dim dockStates As String() = _state.Split("|"c)

        For i As Integer = 0 To dockStates.Length - 1
            Dim serializedState As String = dockStates(i)
            If Not String.IsNullOrEmpty(serializedState) Then
                Dim state As DockState = DockState.Deserialize(serializedState)
                _currentDockStates.Add(state)
            End If
        Next

        For Each state As DockState In _currentDockStates
            e.Positions(state.UniqueName) = state.DockZoneID
            e.Indices(state.UniqueName) = state.Index
        Next

    End Sub

Thanks,
Sam



Martin
Top achievements
Rank 1
 answered on 18 Jun 2009
2 answers
99 views
My bargraph is not showing the yvalue at the top of the bar in the bargraph.  What is the property for this and how to I set it in code? (Visual Basic)  Also how can you make the yvalue show when hover over the bar?

There is no value at the top of my bars at this time.

Thanks,
Cindie Tenneson
Top achievements
Rank 1
 answered on 18 Jun 2009
3 answers
101 views

Hi

We have been working with the Rad:TreeView using the “Telerik” skin and have noticed an inconsistency with the hover over effect in IE7 vs IE8 vs FF3.

The inconsistency also seems to be happen on this online demo for us as well.

 

When you hover over a node, in IE7 there appears to be an extra lighter green line within the border at the top of the anchor tag.  In IE8 the same happens but the extra line appears inside the border at the bottom.  The extra line gives the appearance that the top/bottom border respectively is 1px larger than it should be.

In FF3, there is no extra line which I think is consistent with other controls within the suite.

In our case, we have been trying to set the font size larger on the anchor (class rtIn) as well which seems to amplify the problem.  As the font gets larger the "padding-top" appears to get larger.

Has anyone else had this problem?

Kamen Bundev
Telerik team
 answered on 18 Jun 2009
1 answer
191 views

 

I am using the Q1-2009 radtreeview to create a databound menu tree with dynamically assigned contextmenus based on specifc node criteria.
I'm trying to use tooltip manager to create a tooltip panel when a particular context item is clicked and use it to load a specifc user control.
I've tried to attach a context menu item to the tooltip manager after it has been created using:
(working in VB)

Dim Contextmenu1 As New RadTreeViewContextMenu()
        Contextmenu1.ID = "Contextmenu1"
     
  Dim MenuItem1 As New RadMenuItem()
        MenuItem1.Text = "Menu Item 1"
        MenuItem1.Value = "menuitemvalue"
        MenuItem1.ToolTip = "Menu Item 1 Tooltip"
        Contextmenu1.Items.Add(menuitem1)

        RadToolTipManager1.TargetControls.Add(menuitem1.clientID, "menuitemvalue", True)

But that does not seem to work. I've also tried adding the new target control after the contextmenu has been added to the tree node
as here:

node.ContextMenuID = "Contextmenu1"
  Dim menu1 As Telerik.Web.UI.RadTreeViewContextMenu = New Telerik.Web.UI.RadTreeViewContextMenu
                menu1 = CType(RadTreeView1.FindControl("Contextmenu1"), Telerik.Web.UI.RadTreeViewContextMenu)
                menu1.Items(0).Text = menu1.Items(0).ClientID
                RadToolTipManager1.TargetControls.Add(menu1.Items(0).ClientID, "menuitemvalue", True)

but this doesn't seem to work either.
I'm not sure if this is the wrong technique or if I'm just using it in the wrong way.
Any suggestions would be greatly appreciated.
Thanks

steve matheson

Svetlina Anati
Telerik team
 answered on 18 Jun 2009
1 answer
149 views
I love the header context menu in the grid.

How can I add additional options to the context menu (i.e. Export to Excel, Freeze columns)

I do not want to loose the existing functionality, just add a few more options.
Shinu
Top achievements
Rank 2
 answered on 18 Jun 2009
4 answers
91 views
Hi, i am currently develop a form using rad sliding pane. Everything look OK when i am view it by using IE7. But the width of rad sliding pane will expand the width become shorter when using IE8. when can i do to solve this problem?? anyone can give me solution as soon as possible?thanks

best regards:
sk
Svetlina Anati
Telerik team
 answered on 18 Jun 2009
1 answer
168 views
Hi,

I am trying to implement a treeview control with drag and drop however the drag and drop bit doesnt seem to be working.

I have looked at the draganddrop example but it is handling drag and drop between two TreeView controls.

I am just using 1 and I was hoping to find an example where I can see it implementing drag and drop. I have set the EnableDragAndDropBetweenNodes and EnableDragAndDrop properties but when I drag something to another node it simply refreshes the page and does nothing. Do I need to subscribe to one of the events and do something in there to ensure the draganddrop happens?
Thanks
jasear
Top achievements
Rank 1
 answered on 18 Jun 2009
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?