Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
92 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
182 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
146 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
85 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
163 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
0 answers
105 views
Hi!
    Here's the thing; Is it possible to drag controls within a Tab of the RadTabStrip? What I mean here is, I want to have the same behavior than my .master template when I'm editing a new page (So I can drag whatever content anywhere I pulled an <asp:ContentPlaceHolder>).

The problem is, with my userContol I created from RadTabStrip it's not possible to use any ContentPlaceHolder since it's not a .master but a .ascx ... I really need that the content of the tab is dynamic and NOT hard-coded. The process must allow that the girl here, working in management, who knows nothing about programmation, can change simply the content of any tabs.

Is it possible?

Thanks you really much!

Mathieu
Varlen
Top achievements
Rank 1
 asked on 18 Jun 2009
1 answer
111 views

hi

 How to set date format in date picker i have following code

 

<

 

telerik:RadDatePicker ID="calFrom" Width="150" Skin="Office2007" runat="server">

 

<

 

DateInput DateFormat="yyyy-MM-dd" DisplayDateFormat="yyyy-MM-dd"></DateInput>

 

 

 

 

 

</telerik:RadDatePicker>

But its not working i need yyyy-mm-dd format date

Please help me its urgent

Regards,
Abdul

 

-DJ-
Top achievements
Rank 1
 answered on 18 Jun 2009
9 answers
192 views
Hi i have databinding problems using the following code
            string Connection = "Data Source=62.197.41.101; Initial Catalog=PilotWebApp; User ID=sa; Pwd=medularis;";  
 
            strPropref = Request.QueryString["Propref"];  
              
            SqlConnection conn = new SqlConnection(Connection);  
            SqlCommand cmd = new SqlCommand("slot_sp_EngineerTimeslots", conn);  
            cmd.CommandType = CommandType.StoredProcedure;  
            cmd.Parameters.AddWithValue("@PROPREF", strPropref);  
            cmd.Parameters.AddWithValue("@iSTARTDATE", RadCalendar1.SelectedDate);  
            cmd.Parameters.AddWithValue("@JOBLENGTH""30");  
            cmd.Parameters.AddWithValue("@TIMESLOT", RadAppointment.SelectedValue);  
            conn.Open();  
            SqlDataReader reader = cmd.ExecuteReader();  
            DataTable dt = new DataTable();  
            dt.Load(reader);  
            RadGrid1.DataSource = dt;  
            RadGrid1.DataBind(); 
the code compiles and runs but the grid doesnt show any information and when i put the cursor over the datatable there are 44 records
Iana Tsolova
Telerik team
 answered on 18 Jun 2009
0 answers
148 views
I get the above error when trying to run my application.
See more details in the following link :

http://pastebin.ca/1464797
Stavros
Top achievements
Rank 1
 asked on 18 Jun 2009
10 answers
217 views

Hi,

I have a grid that i created dynamicly everyting i mean my datasource, my grid structure and every item in my grid are create in code behind for specific need. Everything is working fine when i load my grid.

The thing is i've created by code behind 2 other control that i add in my header item (imagebutton and a textbox).

I've add a javascript on my image button that is suppose to copy in all my item the value entered before in the header textbox.
But i'm not getting a radtextbox but simply an imput. When i click in any cell that i changed the value before, it change back to the first value.

        function OnCopyResult(textBoxId, columnIndex)  
        {  
            var grid = $find("<%= RadGridLocalTraining.ClientID %>");  
            var masterTable = grid.get_masterTableView();  
            var headerTextBox = masterTable.HeaderRow.cells[columnIndex].firstChild.nextSibling.nextSibling.firstChild;  
            var value = headerTextBox.value;  
              
            var itemsCount = grid.get_masterTableView().get_dataItems().length;  
            for(i = 0; i < itemsCount; i++)  
            {  
                cell = masterTable.getCellByColumnUniqueName(masterTableView.get_dataItems()[i],masterTableView._columnsInternal[columnIndex].get_uniqueName());  
                var cellTextBox = cell.firstChild.firstChild;  
                cellTextBox.value = value;  
            }  
        } 
There's no property set_value and maybye this why i can't change the value correctly.

Thanks for you help!

Guillaume
Tsvetoslav
Telerik team
 answered on 18 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?