Hello,
I need to select Tree list row by javascript.
So far I found this code:
function selectTask(tsk){ var gantt = $find("<%= RadGantt1.ClientID%>"); gantt._widget.select("tr:eq(" + tsk.get_id() + ")"); }
But this does not work well. It works only in some cases, sometimes it selects the wrong row or nothing at all.
Can you help me?
Thank you.
Using the Mega Drop down example.
I dynamically created a site map; however, how do I get it to treat the long column as 2 short columns.
| Column 1 Headline | Column 2 headline |
| column 1 data | [Column 2 Right data] [ Column 2 Left data ] |
Keep in mind the data is loaded dynamically and can\will change depending on the user that is accessing the page.
The one Idea I had was to nest a site map within a site map put I do not find a way to do that.
Any ideas that would point me in the right direction would help.

I am using Filter with Grid. If I set FieldName in the FieldEditors that is not in the Grid column (but from binded table), I get null reference exception after call RadFilter1.FireApplyCommand(). Is it Filter control limitation? If yes, is there work around?
Stack trace:
at Telerik.Web.UI.RadFilterDataFieldEditor.CreateEditorFrom(RadFilterDataFieldEditor baseEditor)
at Telerik.Web.UI.RadFilterSingleExpressionItem.SetupFunctionInterface(Control container)
at Telerik.Web.UI.RadFilterExpressionItem.CreateFunctionalInterface()
at Telerik.Web.UI.RadFilterExpressionItem.InitializeItem()
at Telerik.Web.UI.RadFilter.CreateFilterItems()
at Telerik.Web.UI.RadFilter.CreateControlHierarchy()
at Telerik.Web.UI.RadFilter.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at Telerik.Web.UI.RadFilter.RecreateControl()
at Telerik.Web.UI.RadFilter.ContainerFieldDescriptorsReady(Object sender, RadFilterFildDesciptorsEventArgs e)
at Telerik.Web.UI.RadGrid.OnFieldDescriptorsReady(RadFilterFildDesciptorsEventArgs e)
at Telerik.Web.UI.RadGrid.UpdateFilterControl()
at Telerik.Web.UI.GridTableView.SavePagingData(Boolean useDataSource, GridPagingManager paging)
at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource)
at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
at Telerik.Web.UI.GridTableView.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at Telerik.Web.UI.GridTableView.DataBind()
at Telerik.Web.UI.GridTableView.Rebind()
at Telerik.Web.UI.RadGrid.Telerik.Web.UI.IRadFilterableContainer.ApplyFilterExpressions(RadFilterGroupExpression expressionRoot, Boolean shouldBind)
at Telerik.Web.UI.RadFilter.HandleApplyCommand()
at Telerik.Web.UI.RadFilter.FireApplyCommand()
...



<EditFormSettings CaptionFormatString="Update Project" InsertCaption="New Project" PopUpSettings-ShowCaptionInEditForm="true" UserControlName="Project.ascx" EditFormType="WebUserControl"><br> <EditColumn UniqueName="EditCommandColumn1"><br> </EditColumn><br> <PopUpSettings KeepInScreenBounds="False" Width="1000px" Height="800px" OverflowPosition="UpperRight" Modal="true" /><br> </EditFormSettings>
On the user control, I have a RadComboBox that uses a regular asp.RequiredFieldValidator with runat="server".
When the combobox is not populated, the validation works and the asterisk displays, but ONLY after the whole popup window blinks. Is there any way I can stop this blink? Why is it happening? I can post more code if necessary.


I can create a radwindow on the server side. Here is the code-
protected void OpenRW_Click(object sender, System.EventArgs e)
{
RadWindow window = new RadWindow();
window.Modal = true;
window.EnableViewState = false;
window.VisibleOnPageLoad = true;
window.Width = 300;
window.Height = 300;
window.CssClass="imageloader";
window.VisibleOnPageLoad = true;
window.Visible = true;
window.DestroyOnClose = true;
window.Behaviors = Telerik.Web.UI.WindowBehaviors.Move;
window.Title = Title;
window.ID = "Popup";
//create close button here
Button closebt = new Button();
closebt.Visible = true;
closebt.Text = "Close";
closebt.OnClientClick = "$find(\" <%= Popup.ClientID %> \").close(); return false;";
closebt.Style.Add("position", "absolute");
closebt.Style.Add("bottom", "5px");
closebt.Style.Add("right", "10px");
window.ContentContainer.Controls.Add(closebt);
RadWindowManager1.Controls.Add(window);
}
But for some reason when it gets closed it fires a unneeded postback. I've tried a whole bunch things including setting the the viewonpageload property to false and using scriptmanager to display the window, but this yields the same results. Any ideas on how I can get rid of this unnecessary postback would be greatly appreciated. thanks in advance.
Hi,
Copied the following straight from the docs but not working:
<telerik:RadToolTipManager RenderMode="Lightweight" ID="RadToolTipManager2" runat="server" Skin="Web20">
<TargetControls>
<telerik:ToolTipTargetControl IsClientID="False" TargetControlID="TextBox1" Value="ValueForTextBox1" />
</TargetControls>
</telerik:RadToolTipManager>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
Using latest build.
Marc
Hello,
When I change the skin of a RadFilter to "Material", the button images disappear only if the RadFilter is nested within a RadPanelBar. The Lightweight render mode is applied system-wide along with the skin via web.config. I have attached an image showing the issue. Any ideas what I am doing wrong? The button images appear when I take the RadFilter out of the RadPanelBar. Here is a snippet.
<telerik:RadPanelBar ID="pbrAdvSearch" runat="server" Width="100%" ExpandMode="MultipleExpandedItems" RenderMode="Lightweight"> <Items> <telerik:RadPanelItem Expanded="True" Text="Categories"> <ContentTemplate> <p> To search by category, click the <strong>Add Category</strong> button. Search for multiple categories by clicking this button again. If your multi-category search requires all categories to exist, select <strong>AND</strong>; otherwise, select <strong>OR</strong>. </p> <br /> <telerik:RadFilter RenderMode="Lightweight" runat="server" ID="rfCategories" ExpressionPreviewPosition="Bottom" ShowApplyButton="true" AddExpressionToolTip="Add a Category"> <FieldEditors> <customEditors:TreeFieldEditor FieldName="Category" DataTextField="CategoryDesc" DataValueField="CategoryID" DataFieldID="CategoryID" DataFieldParentID="Parent" /> </FieldEditors> </telerik:RadFilter> </ContentTemplate> </telerik:RadPanelItem> </Items> </telerik:RadPanelBar>
