I'm using the selected nodes in a treeview to populate a simple breadcrumb in my tab strip on the client side. If I haven't clicked on the parent node first then it will return null. Here is the code that is driving the functionality. Any help would be greatly appreciated...
function OnClientNodeClicked(sender, args)
{
var treeView = $find("<%= RadTreeView1.ClientID %>");
var tabStrip = $find("<%= RadTabStrip1.ClientID %>");
var selectedTab = tabStrip.get_selectedTab();
var selectedNode = treeView.get_selectedNode();
var parentNode = selectedNode.get_parent();
if (selectedNode.get_level() == 0)
{
selectedTab.set_text(selectedNode._text);
} else {
selectedTab.set_text(parentNode._text + " -> " + selectedNode._text);
}
}
I'm having an issue displaying radchart in a custom webpart deloyed to SP2010 beta 1 site
ChartHandler is correctly registered. Same code works in an asp.net site
am i missing something?
I'm hoping this is a simple question, though we have spent a lot of time without finding the right answer. We have a site - http://columbusrealtors.com/Classes_Events/default.aspx?ID=calendarview where we need better control over the individual event line height display. Under IE 8 you'll see that the bottom of the text is cut off (y's and g's). We are looking for the settings to control the following:
how many pixels of display height will appear for each row
how many pixels of padding between rows are set
how to dynamically display two rows of data for events that need the extra room
I would like to report an error in the help of RadGrid : http://www.telerik.com/help/aspnet-ajax/grdvalidation.html
In the first VB.Net sample code, the handle clause is missing (Handles RadGrid1.ItemCreated)
ProtectedSub RadGrid1_ItemCreated(ByVal sender AsObject, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated
If (TypeOf e.Item is GridEditableItem AndAlso e.Item.IsInEditMode) Then
Dim item As GridEditableItem = CType(e.Item,GridEditableItem)
Dim editor As GridTextBoxColumnEditor = CType(item.EditManager.GetColumnEditor("ContactName"),GridTextBoxColumnEditor)
Dim cell As TableCell = CType(editor.TextBoxControl.Parent,TableCell)
Dim validator As RequiredFieldValidator = New RequiredFieldValidator
I've encountered a problem after upgrading from RadControls for ASP.Net AJAX 2008 Q3 1314 to 2009 Q2 826.
I'm using rad windows and when the user closes one they get a warning in a rad confirm box, if they click ok the window should close if they click cancel it stays.
This all worked great in the 2008 Q3 release but in the newer 2009 Q2 release when you click ok on the rad confirm box the window doesn't close.
Here are the scripts I am using to open the windows and to handle the showing on the confirm box:
I am searching for the faster method to do an order input.
As this is a very common request, I suppose that Telerik has already some idea on the best optimized solution.
I need to enter a variable number of order items, each line being
- a radCombobox to select a product, selecting the product should fill next fields with default alue
- a Price non editable display box
- an editable quantity input box with a default value of 1
- a non editable bow with total=price*quantity
A button sould allow adding a new order line, anoter suppressing a line (just as in RadUpload)
Products/Prices come from a very large table which necessitate calling a web service to find the product with its name.
Users should see the grand total of order refreshed after any change in quantity or product, they could change product and quantity without having to click a button: simply entering the new value.
I am puzzled should I use RadInput controls with lot of javascript or RadGrid.
With radinput I get very fast process, but difficulty is addig a new row (how to add a radCombobox clientside ?) and reading the order lines server side when order is finshed.
With RadGrid, I need to click lot of button to go insert/edit mode and the various call back are slow because the full asp.net page lifecycle is slow.
Is there a way to disable node expanding when drag is over the node? I have read somewhere that this is by default, and it seems you wanted to implement this to have windows like feature. But, I need to be able to disable this. Is there some workaround for this on client side?
Another issue related to dragging. When list of nodes is long and I need to drop node at the bottome of the treeview which is not displayed on the screen, auto-scroll does not work. It does not work on IE or Firefox. This can be achieved by using mouse scrolling wheel, but this is something our clients wont like.
I can't seem to find the settings to make the splitter appear white, no border and show just a button to collapse or expand. I have it full screen and one at top, left, right, and bottom. I would like to it appear with a just a button, the background of the pages are white. Any help would be awesome. Thanks