Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
124 views
For some reason the NoMasterRecordsText is not displaying correctly and wrapping to the extreme.

I've attached a picture to visually display what I'm getting, but also Here's the grid code i'm using:
  <telerik:RadGrid ID="grdMarkups" AllowMultiRowSelection="false" PagerStyle-AlwaysVisible="false" PagerStyle-Mode="NextPrevNumericAndAdvanced" runat="server" Width="99.9%" Height="99.9%" AllowPaging="false" AllowSorting="false" AutoGenerateColumns="False" GridLines="None">
    <SortingSettings SortedBackColor="Transparent" />
     
    <MasterTableView AllowPaging="false"  NoMasterRecordsText="There are no markups for this document.">
         
        <Columns>
                   <telerik:GridBoundColumn DataField="Id" Display="false"></telerik:GridBoundColumn>
                                                
            <telerik:GridBoundColumn DataField="Item_Name" HeaderText="Name" Visible="true" ItemStyle-Wrap="false"></telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="Revised_By" HeaderText="Revised By" HeaderStyle-Width="20%"  ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true"></telerik:GridBoundColumn>
                  <telerik:GridBoundColumn DataField="Revised_Date" HeaderText="Revised On" HeaderStyle-Width="20%"  ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true"></telerik:GridBoundColumn>
             <telerik:GridBoundColumn DataField="Last_Edit" HeaderText="Last Edit" HeaderStyle-Width="20%"  ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true" Display="false"></telerik:GridBoundColumn>
                 <telerik:GridBoundColumn DataField="Original_Filename" HeaderText="Original File" Display="false" ItemStyle-Wrap="true" HeaderStyle-Width="20%"></telerik:GridBoundColumn>
            <telerik:GridHyperLinkColumn  DataNavigateUrlFields="MarkupURL" UniqueName="Markup" HeaderTooltip="Click to view more details about the document" HeaderText="View" Text="View" Target="_blank" HeaderStyle-Width="10%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
                </telerik:GridHyperLinkColumn>
 
           <telerik:GridTemplateColumn HeaderText="Download" UniqueName="Download" HeaderStyle-Width="11%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Display="false">
                <ItemTemplate>
                    <button value="Download" style="width:90%"  title="Download this document"  class="contactInfoXXSmall" type="button" onclick="downloadSingleDocument('<%# Eval("Id") %>');">Download</button>
                     </ItemTemplate>      
            </telerik:GridTemplateColumn>
 
                   <telerik:GridTemplateColumn HeaderText="View" HeaderStyle-Width="5%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Display="false">
                <ItemTemplate>
                    <button value="View" style="width:90%" title="View this document" class="contactInfoXXSmall"  onclick="viewSingleDocument('<%# Eval("Id") %>');">View</button>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
                                     
        </Columns>
  
    </MasterTableView>
 
    <ClientSettings EnableRowHoverStyle="false">
                        <Selecting AllowRowSelect="true" />
                        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                    </ClientSettings>
                     
                                 
 
</telerik:RadGrid>
Princy
Top achievements
Rank 2
 answered on 12 Jul 2013
1 answer
152 views
Hey, i want to set autocomplete in my textbox search if user already input 9 character in that textbox.
so what can i use to do this? ajax? jquery? or any telerik setting?
anybody know about this? thanks before


FYI: i use a WCF service , not a datasource
Shinu
Top achievements
Rank 2
 answered on 12 Jul 2013
2 answers
148 views
i use RequiredFieldValidator to validate radtextbox,SetFocusOnError="true"
telerik version:2012Q3

first ,enter " ",validate event fire, display “notnull”
sencond,enter “123” ,radtextbox not set value,validate event not fire

asp.net textbox is ok

code:
<telerik:RadTextBox ID="txtAppId" runat="server" Width="300" AutoPostBack="false">
        </telerik:RadTextBox>
        <%--<asp:TextBox ID="txtAppId" runat="server" Width="300" AutoPostBack="false">
        </asp:TextBox>--%>
        <asp:RequiredFieldValidator ID="TextBoxRequiredFieldValidator" runat="server" Display="Dynamic"
            ControlToValidate="txtAppId" Text="NOT NULL" ErrorMessage="NOT NULL" SetFocusOnError="true">                          
        </asp:RequiredFieldValidator>

parlardin
Top achievements
Rank 1
 answered on 12 Jul 2013
1 answer
107 views

I'm using a Telerik component rad grid in my web page, I want have on the fly filtering like this 

http://www.datatables.net/release-datatables/extras/FixedColumns/col_filter.html

When user type a text in the above text-box can see real-time changing in grid view.Rad grid has a filtering for each column. 

My question are:
How do can i implement such this filtering in rad grid Telerik?If possible can you please provide an example source 
Thanks in advance

Viktor Tachev
Telerik team
 answered on 11 Jul 2013
3 answers
117 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
79 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
201 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
73 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
180 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
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?