Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
185 views
I am using custom buttons on the Rotator and would like to know how I can get the buttons to look like the default buttons when there are no items to scroll through. Basically I have my rotator wrapframes property set to false so when I reach the last item it should disable/fade the right side button. The same should happen if there are no items on the left side of the viewing frame.

Does anyone have any suggestions?

Thanks,

Jaime
Slav
Telerik team
 answered on 20 Feb 2013
2 answers
124 views
Hi,

I've changed the localization for a few of the operators ('IsNull' to 'Is Absent' etc) - is there any way to then display these in the Expression Preview?

If possible, an example would be much appreciated.

Thanks
Allan
Top achievements
Rank 1
 answered on 20 Feb 2013
2 answers
116 views
Hi,

We've been using Telerik Ajax Asp.net version 2010 for a while.
We upgraded to 2012 a few days ago and we are facing an issue whit the Editor Tool Group associated to our radEditor.
The background of the docked editor buttons seems to have diseapear as you can see on the attached file.

I give you the code used to create this UserControl :

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucIndiceTextBox.ascx.cs"
    Inherits="RBCVTransCVN.UserControls.ucIndiceTextBox" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<style type="text/css">
    #<%= indiceTextBox.ClientID %>_contentDiv
    {
        min-height: 29px !important;
        overflow: hidden;
    }
    .reContentCell
    {
        border-style: none !important;
    }
</style>
<div style="float: left; margin-right: 3px;">
    <telerik:RadEditor ID="indiceTextBox" runat="server" EditModes="Design" EnableResize="False"
        onpaste="fnTrimPaste(event)" Width="200px"
        Height="29px" StripFormattingOptions="AllExceptNewLines">
    </telerik:RadEditor>
</div>
<div id="rightDock" style="float: left; width: 56px; height: 27px;" runat="server">
</div>


protected void Page_Init(object sender, EventArgs e)
        {
            toolgroup = new EditorToolGroup();
            toolgroup.Attributes["DockingZone"] = rightDock.ClientID;
            indiceTextBox.Tools.Add(toolgroup);
            toolgroup.Tools.Add(new EditorTool("Superscript"));
            toolgroup.Tools.Add(new EditorTool("Subscript"));
            toolgroup.Attributes["ShowIcon"] = "True";
            toolgroup.Attributes["ShowText"] = "False";
             
        }

Is there any way to make those buttons to back as they were before ?

Thanks,

Guillaume
Guillaume
Top achievements
Rank 1
 answered on 20 Feb 2013
3 answers
127 views
I seem to be having a little trouble with this. I would like to create a RadWindow with a Content Template that Contains another RadWindow, such that I get a parent child relation ship with outer RadWindow being the container for the inner one (i.e. if I move the outer window the inner window moves along with it, the inner window is completely confined to the space of the outer window, etc.). Is this possible? and if so does anyone have a working example?

Marin Bratanov
Telerik team
 answered on 20 Feb 2013
1 answer
218 views
Hi,

I have a RadGrid in which a column represents the status. I display a label for the status.
When the user clicks on the column I want the data to be sorted on a field (priority) that is not displayed. This priority-field is part of the datatable attached to the grid.
Is this possible and how do I achieve this?

Paul
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 20 Feb 2013
1 answer
84 views
Hi!

I have a case where i want to filter muliple columns with "contains".
Lets say i have a  textbox with the following value:

"manual gearbox Volvo"

I would like to filter all columns that contains either

manual
or Gearbox
or Volvo

i cant get this to work. Any ideas?


This is my code:
if (RadTextBox1.Text != "")
                {
 
                    
 
                    string[] words = RadTextBox1.Text.Split(' ');
                    foreach (string word in words)
                    {
                        RadListViewContainsFilterExpression expressionFree = new RadListViewContainsFilterExpression("info");
                        RadListViewContainsFilterExpression expressionFree1 = new RadListViewContainsFilterExpression("brand");
                        RadListViewContainsFilterExpression expressionFree2 = new RadListViewContainsFilterExpression("model");
 
                        expressionFree.CurrentValue = word;
                        RadListView1.FilterExpressions.Add(expressionFree);
 
                        expressionFree1.CurrentValue = word;
                        RadListView1.FilterExpressions.Add(expressionFree1);
 
                        expressionFree2.CurrentValue = word;
                        RadListView1.FilterExpressions.Add(expressionFree2);
                    }
 
                }
                RadListView1.Rebind();
Mattias Kristoffersen
Top achievements
Rank 1
 answered on 20 Feb 2013
1 answer
140 views
Hello,

I have this situation, when the user creates a new node, a new node is added with a random name, the problem is that I only save the new node in the OnNodeEdit Event so if the user doesn't change the name of the newly created node and leaves the random name unchanged the OnNodeEdit event is not executed, is there a way to raise the OnNodeEdit event from code behind?

Thank you.
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 20 Feb 2013
3 answers
198 views
Hi all,
Does RadToolTipManager work when having a RadAjaxManager on the same page.
I have a grid which is ajaxified by Ajax Manager and a Tooltip Manager used to show a short info when a user clicks on the grid row.
In the itemcreated event I add a link button from the row to the Tooltipmanager target controls and in the OnAjaxUpdate i send the arg to the control in tool tip. It works ok until sorting or paging. If soriting or paging the tooltip shows and it displays "loading" image forever.  I tried everything without Ajax and it works.

Do you have a solution to this?
I cannot use Ajax panel bacause the page is a little complex.

mario
Kostadin
Telerik team
 answered on 20 Feb 2013
2 answers
352 views
I'd like to implement the following, on the client if at all possible

a user control has a checkbox and a dropdown
it loads with the checkbox unchecked and the dropdown hidden
if the user checks the checkbox the dropdown becomes visible
if the user unchecks the checkbox the dropdown becomes hidden

sounds so simple, right?
any assistance is appreciated
Elliott
Top achievements
Rank 2
 answered on 20 Feb 2013
1 answer
120 views
Using RadControls 2012.3.1308.40.
We have a grid, entirely created and initialized programmatically. It's huge and unfortunately a bit too big to isolate and post here.
Now I'm observing the following issues.

We enable column resizing as follows:
trgEntities.ClientSettings.Resizing.AllowColumnResize = true;
trgEntities.ClientSettings.Resizing.EnableRealTimeResize = true;
trgEntities.ClientSettings.Resizing.AllowResizeToFit = true;

This works fine after initial page load, but after having resized any column, it stops working. The column that has just been resized still has a resize handle (titled 'Drag to resize'), but when using this it actually picks up the column to start a reorder action. And the resize handle seems to have disappeared entirely from all the other columns. Only a page load restores the resize functionality (but again only a single time).

We found out that this line had unexpected impact:
trgEntities.ClientSettings.Animation.AllowColumnReorderAnimation = true;

When disabling reorder animations, resizing stayed working. But unfortunately, this had another side-effect: the right-click context menu on the header row stopped working entirely, and a javascript error pops up in the console instead:
Uncaught TypeError: Object #<Object> has no method '$'       RadContextMenuScripts.js:196
   b.RadContextMenu._detach                                 RadContextMenuScripts.js:196
   b.RadContextMenu._showAt                                 RadContextMenuScripts.js:314
   b.RadContextMenu.show                                    RadContextMenuScripts.js:363
   b.RadContextMenu._elementContextMenu                     RadContextMenuScripts.js:307
   (anonymous function)                                     Telerik.Web.UI.WebResource.axd:3
   a

I don't see the relation between these issues; how does the columnreorder animation affect resizing or the header contextmenu?
Our RadScriptManager in the masterpage looks like this:
<telerik:RadScriptManager ID="ScriptManager" runat="server" EnableHandlerDetection="true">
    <Scripts>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        <asp:ScriptReference Path="~/Scripts/jquery-1.7.1.min.js" />
        <asp:ScriptReference Path="~/Scripts/jquery-ui-1.8.17/js/jquery-ui-1.8.17.custom.min.js" />
    </Scripts>
</telerik:RadScriptManager>

 How could "$telerik.$" ever not be defined? Any suggestions where to look for a solution? 
Kostadin
Telerik team
 answered on 20 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?