Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
312 views

Hi,

Is there a way to turn the chart title of a RadHtmlChart into a hyperlink when you click on it like you could with the RadChart using the ActiveRegion properties?

Many thanks,

Andy

 

Paul
Top achievements
Rank 1
 answered on 03 Aug 2016
1 answer
183 views

Hello,

I have an Ajax RadAutoCompleteBox and I would like to know if it's possible to filter being accent insensitive.

I saw we can do that in WPF (http://docs.telerik.com/devtools/wpf/controls/radautocompletebox/features/filteringbehavior) but I didn't find anything for the ASP.NET AJAX control.

 

Thanks

Veselin Tsvetanov
Telerik team
 answered on 03 Aug 2016
1 answer
223 views

Hello! How to open a drawing directly on the full screen automatically?

Do not press the "maximization" and open directly into the maximization mode

Viktor Tachev
Telerik team
 answered on 03 Aug 2016
1 answer
543 views

I have EnableCheckAllItemsCheckBox property set to true.

I have javascript function which highlight all matches in the combobox when user starts typing.

For example I have combobox populated with 100 items.  5 are highlighted and visible after user stsrts typing.

When user clicks on Check All check box all 100 items are checked.  But I need only 5 to be checked.

I have implemented OnClientCheckAllChecked function see below.  It is working ok for the small sets of items.

But in some cases I have 550+ item in the combobox and it takes some time to finish procedure.

Is there any wau to get control of the Check All check box and check all visible items without the need to first uncheck all checked items and then check visible ones.

 

Please advise

 

Igor

<telerik:RadComboBox ID="cb" runat="server" Skin="Metro" CheckBoxes="True" CheckedItemsTexts="DisplayAllInInput" DropDownAutoWidth="Enabled"
EnableCheckAllItemsCheckBox="True" OnClientCheckAllChecked="OnClientCheckAllChecked" MaxHeight="200px" OnClientDropDownClosing="OnClientDropDownClosing">
<HeaderTemplate>
<telerik:RadTextBox runat="server" ID="txt" Width="100%" />
</HeaderTemplate>
</telerik:RadComboBox>

 

function HighlightAllMatches(textBoxId, comboBoxId)
{
var $T = window.Telerik.Web.UI;
var originalFunction = $T.RadComboBox.prototype.highlightAllMatches;

var comboBox = window.$find(comboBoxId);
var textBox = window.$find(textBoxId);

$T.RadComboBox.prototype.highlightAllMatches = function(text)
{
this.set_filter($T.RadComboBoxFilter.StartsWith);
originalFunction.call(this, text);
this.set_filter($T.RadComboBoxFilter.None);
};

comboBox.highlightAllMatches(textBox.get_textBoxValue());
}

 

function OnClientCheckAllChecked(sender, args)
{
var checkedItems = sender.get_checkedItems();
var visibleItems = sender.get_visibleItems();

if (args.get_checked() && (checkedItems.length != visibleItems.length))
{
for (var i = 0; i < checkedItems.length; i++)
checkedItems[i].set_checked(false);

for (var v = 0; v < visibleItems.length; v++)
visibleItems[v].set_checked(true);
}
}

Dimitar
Telerik team
 answered on 03 Aug 2016
4 answers
109 views

Hi All

I could do with getting some other thoughts on something that I am working on.

I am reworking my application to be as dry as possible.  I want to have a data service that can return some data that can be consumed by the drop downs.  I do not want to use entity framework or similar for this.  I just want to have away to have one data source file that depending on the request will provide the relevant set of data.  

I will secure it by way of checking the session variables that are in the main application so that only logged in users will have access to the data.

Keeping it simple lets say that I have 3 drop downs Client, Portfolio and Development and they are related to each other in the order shown.

When displaying the Client I will get data from datasource.svc/?src=client

Portfolio will be datasource.svc?src=portfolio&client=1

and unsuprisingly development will be datasource.svc?src=development&portfolio=5

What would be the most advisible technology to use for this type of approach?  I have already decided that I want to separate the datasource from the aspx file so that I could potentially switch to Kendo or even use these datasources for a mobile app.

Thanks for any pointers,

Jon

 

Jon
Top achievements
Rank 1
 answered on 03 Aug 2016
1 answer
398 views

Hi,

I have a RadGrid inside a AjaxPanel. On View Click, am hiding the grid and showing another div. I have back button inside that div and on click of that, am showing the grid back. But when showing the grid, the add new record is not showing up. Tried setting the ShowAddNewRecordButton to true while changing the visibility of the grid. Still it is not showing up. Any pointers why is the add record button is not showing ?

<div id="div1">
<asp:Button ID="BackButton" Text="Back"runat="server" OnClick="BackButton_Click" />
</div>

<div id="div2">
<telerik:RadGrid ID="Grid"
        runat="server"
        AllowSorting="True"
        AllowPaging="True"
        ShowFooter="True"
        ShowStatusBar="True"
        AutoGenerateColumns="False"
        AllowAutomaticDeletes="True"
        AllowAutomaticInserts="True"
        AllowAutomaticUpdates="True"
        OnInsertCommand="Grid_CreateCommand"
        OnUpdateCommand="Grid_UpdateCommand"
        OnNeedDataSource="Grid_NeedDataSource"
        OnItemDataBound="Grid_ItemDataBound"
        OnItemCreated="Grid_ItemCreated"
        OnItemCommand="Grid_ItemCommand" >
        <MasterTableView EditMode="EditForms" DataKeyNames="RecordID" CommandItemDisplay="Top">
           <Columns>
               <telerik:GridButtonColumn ButtonType="LinkButton" Text="View" CommandName="View" UniqueName="View" />
               <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="Edit" />
               <telerik:GridBoundColumn UniqueName="Date" HeaderText="Date" DataField="Date" DataFormatString="{0:MM/dd/yyyy}"/>
               <telerik:GridBoundColumn UniqueName="Type" HeaderText="Code" DataField="Type"/>
            </Columns>
            <CommandItemSettings AddNewRecordText="Add New Record" />
            <EditFormSettings
                InsertCaption="Add New Record"
                CaptionFormatString="Edit Record"
                PopUpSettings-Modal="true"
                EditFormType="WebUserControl"
                UserControlName="~/EditDetailUserControl.ascx">
            </EditFormSettings>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnCommand="RaiseCommand" />
        </ClientSettings>
    </telerik:RadGrid>
<div>

Thanks
Viktor Tachev
Telerik team
 answered on 03 Aug 2016
1 answer
90 views

Hi,

I would like to have Items display one on top, one on bottom, and so forth... for better readability, is possible?

Boris

Ianko
Telerik team
 answered on 03 Aug 2016
5 answers
274 views
Hi, how is the current support for mono platform of the asp.net àjax web controls? Are currently supported? Which version should i use? What version should i use? The one for 2.0 framework?

Thanks    
Rumen
Telerik team
 answered on 03 Aug 2016
0 answers
102 views

Hi,

 

I am using Radeditor and markdown.js for saving the rad editor value in markdown mode. When I try to convert markdown values in HTML mode then some of the scenario are breaking while conversion.

1. When bullets/Numbers are entered in the text

2. When underlined the text

Below is the method which I am using

 

markdown.toHTML(content, 'Maruku');

 

Thanks in advance.

Avinash
Top achievements
Rank 1
 asked on 03 Aug 2016
1 answer
162 views

I am using adRotator (Q2 2016 controls) to randomly display header images on a website with fade transition. So far so good, but now I would like to have a text title on a layer above the rotator so that the title remains fixed while the images change behind it. 

Can you suggest a browser-independent way approach to achieve this? 

Thanks for any suggestions!

Clive

Clive Hoggar
Top achievements
Rank 1
 answered on 02 Aug 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?