Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
102 views
Hi.
I have radgrid with template column and enabled filtering for this column with ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true"
When I write sth in the filter field and press enter it works ok. Now I want sth like that. When I write something in this field, after 500ms I want to send it without clicking on the enter. How can I do that?
Viktor Tachev
Telerik team
 answered on 11 Jul 2013
2 answers
1.6K+ views
I updated my control and notices there was a ground breaking change DataKeyNames. What should I do if I have one mastertableview with many hidden columns that I need to access? Is there a format to adding multiple columns to this property?
Joshua
Top achievements
Rank 1
 answered on 11 Jul 2013
1 answer
75 views
I am trying to add a RadSlider to ascx page. I'm really new to using Telerik and using javascript. Adding the RadSlider to the form works perfect except when I want to call a javascript function to change a text box to the value of the RadSlider. The RadSlider disappears, but seems to be present because the tooltip still shows when hovering over the aread where the RadSlider should be. Just adding the words "OnClientValueChanged="... makes the RadSlider not visible on the page anymore. Any help would be greatly appreciated. This has been driving me crazy for the past two weeks.

The RadSlider control that I am having trouble with is called DefaultScoreRadSlider

Here is the code that I am working on:

<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="CtrlCreateInterviewQuestionListItem.ascx.vb" Inherits="IH_WebSite.CtrlCreateInterviewQuestionListItem" %>
 
<%@ Register Src="~/Controls/ctrlInterviewQuestionOptionNextQuestion.ascx" TagName="ctrlInterviewQuestionOptionNextQuestion" TagPrefix="uc1" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<style type="text/css">
    .auto-style2 {
        width: 14px;
    }
 
    .auto-style3 {
        width: 310px;
    }
 
    .auto-style4 {
        width: 67px;
    }
 
    .auto-style5 {
        width: 800px;
    }
</style>
 
<script type="text/javascript" id="telerikClientEvents1">
    //<![CDATA[
 
    function DefaultValueRadSlider_ValueChanged(sender, args) {
        DefaultValueRadSliderRepaint(sender, args);
        $get("TbxScore").value = sender.get_value();
    }
 
    //]]>
</script>
 
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"></asp:ObjectDataSource>
 
<asp:HiddenField ID='HfEditMode' runat='server' />
<table class="auto-style3">
    <tr>
        <td class="auto-style4">
            <asp:Literal ID="LITIndex" runat="server"></asp:Literal></td>
        <td colspan='3' style='text-align: right;'>
            <asp:Repeater ID='RPTResources' runat='server'>
                <HeaderTemplate>
                    <ul style="list-style-type: none; display: inline; margin-left: auto;">
                </HeaderTemplate>
                <ItemTemplate>
                    <li style="display: inline">
                        <asp:Image ID="Image2" runat="server" ImageUrl='<%# "~/Graphics/Icon/IH_" & DataBinder.Eval(Container.DataItem, "Type").ToString() & "_Dark_24.png" %>' /></li>
                </ItemTemplate>
                <FooterTemplate></ul></FooterTemplate>
            </asp:Repeater>
            <asp:Image ID="ImgClock" runat="server" ImageUrl="~/Graphics/Icon/clock_24.png" Visible="false" /></td>
    </tr>
    <tr>
        <td colspan='3' style='max-width: 600px'>
            <asp:Literal ID="LITName" runat="server"></asp:Literal></td>
        <td rowspan='' class="auto-style2"></td>
    </tr>
    <tr>
        <td colspan='2'></td>
        <asp:Repeater ID='RPTNextQuestion' runat='server'>
            <HeaderTemplate></HeaderTemplate>
            <ItemTemplate>
                </tr><tr>
                    <td colspan='1'><%# DataBinder.Eval(Container.DataItem, "Text")%></td>
                    <td>
                        <uc1:ctrlInterviewQuestionOptionNextQuestion ID='cIQONQ' runat='server' NextQuestion='<%# DataBinder.Eval(Container.DataItem, "NextQuestionID") %>' NumQuestions='<%# NumQuestions %>' CommandName='changed' CommandArgument='<%# Container.DataItem %>' CurrentQuestion='<%# DataBinder.Eval(Container.DataItem, "QuestionID") %>' OptionIndex='<%# DataBinder.Eval(Container.DataItem, "ID") %>' EditMode='<%# EditMode %>' />
                    </td>
                    <td>
                        <asp:TextBox ID='TbxScore' runat='server' Width='50px' Text='<%# DataBinder.Eval(Container.DataItem, "score") %>' CommandName='score' CommandArgument='<%# Container.DataItem %>' AutoPostBack="True" ValidationGroup='<%# DataBinder.Eval(Container.DataItem, "ID") %>' Visible='<%# EditMode %>'></asp:TextBox></td>
                    <td>
                        <asp:Literal ID='LblScore' runat='server' Text='<%# DataBinder.Eval(Container.DataItem, "score") %>' Visible='<%# Not EditMode %>'></asp:Literal></td>
                    <td>
                        <telerik:RadSlider ID="DefaultScoreRadSlider" runat="server" MaximumValue="100" MinimumValue="-100" Value='<%# DataBinder.Eval(Container.DataItem, "score") %>' ToolTip="Slide to set score value" Width="215px" AutoPostBack="False"></telerik:RadSlider>
                    </td>
 
 
            </ItemTemplate>
            <FooterTemplate></FooterTemplate>
        </asp:Repeater>
        <td style='text-align: right;' class="auto-style2">
            <asp:Repeater ID='Repeater1' runat='server'>
                <HeaderTemplate>
                    <ul style="list-style-type: none; display: inline; margin-left: auto;">
                </HeaderTemplate>
                <ItemTemplate>
                    <li style="display: inline">
                        <asp:Image ID="Image2" runat="server" ImageUrl='<%# Container.DataItem %>' /></li>
                </ItemTemplate>
                <FooterTemplate></ul></FooterTemplate>
            </asp:Repeater>
        </td>
    </tr>
</table>

Thank you,

Chris
Slav
Telerik team
 answered on 11 Jul 2013
3 answers
190 views
I'm using a custom word count in a RadEditor, similar to the answer in this thread: http://www.telerik.com/community/forums/aspnet-ajax/editor/show-html-count.aspx

I've noticed that a call to get_text() will append characters in a single row of a table without any spacing.
For example, if I add a table to the editor content with 2 columns and 1 row, then view the HTML, it might look like this:

<table><tr><td>111</td><td>222</td></tr></table>

And a call to get_text() will return "111222".

I'm looking for a way to separate characters across table cells, so the above will be treated as "111 222" (2 separate words instead of 1). 

I am looking at adding a space myself (via my custom word count) using a get_html() call before the get_text(), then doing a set_html() to return it back to the original (i.e. remove the spaces I've added so the user does not see any difference). But this seems inefficient, and I've actually hit a memory issue in an earlier version if IE already.

Is there a better way of doing this? 

I looked at the get_text() call on a vanilla editor and it looked to do the same thing - i.e. combine characters without spacing across table cells in a single table row.

Currently using version 2013.1.423.40
Ianko
Telerik team
 answered on 11 Jul 2013
1 answer
58 views
Hello,

I am using of RadControls for ASP.NET AJAX Q2 2011 SP1 ; & Browser: IE - 8,9,10

In the application wherever the Rad Editor is used, the focus can not be set either from server side code or client script on any control in the page including editor.

I have tried solutions from http://www.telerik.com/community/forums/aspnet-ajax/editor/radeditor-steals-focus.aspx but it did not work out.
On the same time everything goes well with other browsers like Mozilla.

Is it a issue with the version of control I am using or browser related problem.

Please suggest what could be the probable fix for this. (Its a part of very urgent requirement that we need to meet for the successful delivery of release of product).

Thanks
Saurabh
Ivaylo
Telerik team
 answered on 11 Jul 2013
1 answer
158 views
Hi Team,

I am using rad editor control in my CMS. In Rad Editor, is there possible to disable the click events to the hyperlinks inside the editor. I need a workaround to resolve this issue. 

I need it as soon as possible. Any help is appreciated more.

Thanks,

Ivaylo
Telerik team
 answered on 11 Jul 2013
1 answer
249 views
Hai everyone

   Is it possible to show file path with file in AsyncUpload control ?
 (e.g) C:/Program Files/Temp/a.txt 

if i use asyncupload it show file name only ,but i want show full file path with file name ,above i mention e.g

or is it possible show full path with file name in asp textbox and hide file name above in Asyncupload control ?


or is it possible to full path with file name in RadUpload control ? or hide default textbox in radupload and show in asp text box with full path and file name ?


Pls reply me asap
  Regards 
         Aravind
 
Hristo Valyavicharski
Telerik team
 answered on 11 Jul 2013
1 answer
169 views
Hi there,

I trying to use the RadComboBox with Width 100%. The arrow of the combo and dropdown are displaying fine but the input isn't displaying long enough. I'm not using any css or skin or anything that could change the input width property. Could you please let me know how can i fix it?

I have attached my code and a screen-shot:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="test2.aspx.vb" Inherits="SWTAFE_SPOT_v2.test2" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <div style="width:100%">
        <telerik:RadComboBox runat="server" ID="RadComboBox1" EnableLoadOnDemand="True" EmptyMessage ="Choose..." Label="Example:" AutoPostBack="true" Height="140px" Width="100%" >
        </telerik:RadComboBox>
        </div>
        
    </form>
</body>
</html>
Boyan Dimitrov
Telerik team
 answered on 11 Jul 2013
4 answers
105 views

Hello,

In timelineView i want to set first resource in the header column by dynamic scroll.
In fact I have a ComboBox to chose a Value, I the radscheduler must scroll dynamically until the
line having a Text ==  Value take the first place.

the attached file shows what I want to have


Thank your for helping me.

Boyan Dimitrov
Telerik team
 answered on 11 Jul 2013
4 answers
664 views
I have read several posts regarding this topic and have not really found a good answer. I have a datagrid that I need to add some additional columns when I export the data (Excel, CSV, PDF, Word) and populate with some extra data. I have tried adding the columns on the GridExporting and ItemCommand events but it doesn't work. I can't do this in the ItemDatabound event because I won't have the extra data at this time. Does anyone have any suggestions?
dhuss
Top achievements
Rank 1
 answered on 11 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?