Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
252 views
I just upgraded Chrome to the latest beta 2.0.169.1 and the toolbar buttons disappeared.  Works fine in all other browsers including the old Google Chrome 1.0.

Anybody with the same issue?
Paul
Telerik team
 answered on 29 Jul 2009
1 answer
121 views
Hello,

When a node is deleted through client side javascript code, the tri-state check box functionality is not working as expected. 
Check state of the ancestors of the deleted node are not updated. 

Only parent of the deleted node's checkstate gets updated.  Grand Parent of the deleted node's check state is not updated. 

please find below code for deleting a node.

function DeleteNode(nodeID) { 
        var tree = $find("<%=  RadTreeView1.ClientID%>"); 
        var node = tree.findNodeByValue(nodeID); 
        tree.trackChanges(); 
        node.get_parent().get_nodes().remove(node); 
        tree.commitChanges(); 
    } 


But when a new node is added to the tree, corresponding ancestors check state is updated as expected. Adding a new node to the tree is not a problem.

Please find below code for adding new node.
function AddNewNode(newNodeID, title, direction, siblingNodeid, parentid) { 
        var tree = $find("<%=  RadTreeView1.ClientID%>"); 
        var pnode = tree.findNodeByValue(parentid); 
        var snode = tree.findNodeByValue(siblingNodeid); 
        var index = snode.get_index(); 
         
        tree.trackChanges(); 
        var newnewnode = new Telerik.Web.UI.RadTreeNode(); 
        if (direction == "below") { 
            pnode.get_nodes().insert(index + 1, newnode); 
        } else { 
            pnode.get_nodes().insert(index, newnode); 
        } 
        newnode.set_value(newNodeID); 
        newnode.set_imageUrl("../images/GreenDot.gif"); 
        newnode.set_cssClass("tree-node"); 
        var attributes = newnode.get_attributes(); 
        attributes.setAttribute("NodeName", title); 
        attributes.setAttribute("ParentID", parentid); 
 
        var html = ""; 
        var x = 0; 
        html += "&nbsp;<img src='../images/Q.gif' align='bottom' border='0'/>"; 
        x |= 1; 
 
        newnode.get_attributes().setAttribute("Properties", x); 
        newnode.get_textElement().innerHTML = title + html; 
 
        tree.commitChanges(); 
    } 



Please help me with this problem.


Thanks in advance,
ravi



Dimitar Milushev
Telerik team
 answered on 29 Jul 2009
1 answer
72 views
Hi,
I have a very serious proplem related to my pages use RadAjaxManager v2008.2.723.35
I noticed that the page without RadAjaxManager that costs arround 200 KB jumps to 1.2 MB using RadAjaxManager

this realy effects the overall performance of my web application and dangerously decrease the time needed to load each page

I will appreciate your help,
Ihab
Pavlina
Telerik team
 answered on 29 Jul 2009
1 answer
206 views
Hello,

I am using telerik:RadGrid for insert, update, delete records in one of my project. My problem is instead of delete button or delete image i want check box in each row and a delete button in header of the grid, in which i can checked one or more checkbox and by click on the delete button it deleted the checked rows from the grid.

Can any one help me in this.....
Princy
Top achievements
Rank 2
 answered on 29 Jul 2009
3 answers
660 views

Hello,

 

I am using a RadTreeView control that uses an “OnClientDoubleClick” event that changes based on the state of the page.  The functions tied to this event are working correctly.  My issue is that on every double click, if the node has children, the node is expanded/collapsed based on its state.  Is there a way to disable the “expand/collapse on client double click” functionality?

 

Thanks

Andy
Top achievements
Rank 1
 answered on 29 Jul 2009
4 answers
92 views
Hi guys,

I'm trying to reduce the amount of controls for the users in the toolbox of VS2008, but I don't want just to delete them from the VS toolbox, I want to remove them directly from the binaries (I have the control's source code).
Is there anyone who make this change already?

Thanks in advance
Regards.
Paul
Telerik team
 answered on 29 Jul 2009
1 answer
198 views
Our client has a particular request for the grid. The grid has existing rows in readonly mode that go into edit mode only when they click on the rows and in addition they want to have about 5 empty rows in edit mode already at the bottom of the grid. I have multiple row edit turned on and only set the edit mode for the 5 rows to true. This is working fine and I also have the readonly rows mode going into edit mode on click working.  

The problem is with the blank rows in the bottom. When the user fills in the data for one of these empty rows and moves to the next blank row which is already in edit mode, I need to commit the changes to the first edit row and set that row to read-only and add another blank edit row to keep the count of blank rows to 5 at all times. When the user moves from one edit row to another (which can be by clicking on a edit control in a cell), how do I track that on the client and fire an event to the server so that I can commit the changes for that row, turn off the edit flag and rebind. Please help.
Yavor
Telerik team
 answered on 29 Jul 2009
1 answer
455 views
I have a grid which includes a GridHyperLinkColumn.  The enabled state of the link needs to be set dynamically based on values in other columns in the grid.  This needs to be done client-side (as I'm building an MVC app).

I've added a RowDataBound event handler:
function RadIncidents_RowDataBound(sender, args)
{
        var cell = args.get_item().get_cell("colActionText");
        if (cell)
        {
            if (dataItem.CanQuickReview)
            {
                cell.disabled = false;
                cell.title = "Click to quick-review this item.";
            }
            else
            {
                cell.disabled = true;
                cell.title = "This item cannot be quick-reviewed.";
            }
        }
    }
}

This makes the link look disabled (its colour is changed), but it still functions as an active, enabled link.
I've also tried replacing the cell's inner Html with its text, but this then gets cached across grid refresh / rebinds.

Does anyone know how to properly disable the link in a GridHyperLinkColumn?
Thanks,
Luke.

Tsvetoslav
Telerik team
 answered on 29 Jul 2009
1 answer
52 views
I am posting this as a workaround in case anyone else is having this issue.

I was having a problem with Firefox with the Paste Plain Text (and Paste Cleaning Word Formatting) inline popup windows on tall pages that have multiple Editors. I created a test page to demonstrate this:

http://client.hughes-stl.com/wuphysicians/test/edit.aspx

If you click the Paste Plain Text button in the top Editor, the inline popup shows fine. If you scroll all the way down and click the Paste Plain Text button in the bottom editor, the popup at first does not appear to show up. If you scroll back up, you'll see that it has appeared at the top of the page. This causes a lot of confusion for a client of ours who thinks that the button doesn't work. It seems to me that multiple editors will show their inline popups positioned next to the first Telerik box (or always at the top of the page) regardless of where the Editor that fired the inline popup is. I would prefer them shown centered on the page window (position: fixed) or near the Editor that fired them.

I have a lot of CSS on the actual page, but I created this test page with no extra CSS to test/demonstrate that it is not a CSS conflict issue. According to Firebug, the inline popup window for the second editor is absolutely positioned near the top of the page (not position:fixed). For long pages with multiple editors, this means many users cannot see the inline popups when they appear.

The solution is to change the DOCTYPE of the page. I had it originally at HTML 4 Transitional. I set it to XHTML (Strict or not; both work), and it shows up in the middle of the browser window correctly.
Rumen
Telerik team
 answered on 29 Jul 2009
5 answers
221 views

How to make SpellCheckProvider="MicrosoftWordProvider" work......
it throws an assembly error at run time

below is my code

<

telerik:RadEditor ID="RadEditor1" runat="server" Skin="Outlook" StripFormattingOptions="MSWordRemoveAll" SpellCheckSettings-
SpellCheckProvider
="MicrosoftWordProvider"> 

 

 

<Tools>

 

 

 

<telerik:EditorToolGroup>

 

 

 

<telerik:EditorTool Name="AjaxSpellCheck" ShowIcon="true" />

 

 

 

</telerik:EditorToolGroup>

 

 

 

</Tools>

 

</

 

telerik:RadEditor>

 

 

 

 

Lini
Telerik team
 answered on 29 Jul 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?