Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
138 views

Hi there,

 Is there a way to customize the node inspector module of Rad Editor?  I need to remove the functionality for CLASSNAME and PROPERTIES button.  So all that would be available is width, height, border color/width, tooltip, title, and alignment?  

Marin Bratanov
Telerik team
 answered on 10 Jun 2015
3 answers
140 views

Hi, i have a problem, i see demo http://demos.telerik.com/aspnet-ajax/dock/examples/dockresize/defaultcs.aspx where i see drag and resize dock panel, but i want use code like this

<telerik:RadDockLayout ID="RadDockLayout1" runat="server">
                    <telerik:RadDockZone ID="RadDockZone1" runat="server" MinHeight="300" Width="300">
                            <telerik:RadDock ID="RadDock1" runat="server" Title="RadDock1" Width="200px" Resizable="true" EnableDrag="True"
                                Text="RadDock is placed in a <strong>vertically</strong> oriented RadDockZone. Grab the bottom handle to resize the dock vertically. Horizontal resizing is not allowed." CssClass="higherZIndex">
                            </telerik:RadDock>
                        <telerik:RadDock ID="RadDock2" runat="server" Title="RadDock1" Width="200px" Resizable="true" EnableDrag="True"
                                Text="RadDock is placed in a <strong>vertically</strong> oriented RadDockZone. Grab the bottom handle to resize the dock vertically. Horizontal resizing is not allowed." CssClass="higherZIndex">
                            </telerik:RadDock>
                    </telerik:RadDockZone>
                    </telerik:RadDockLayout>

 

where user must be have ability for resize docks but can't drag, now user can't resize. What am i doing wrong?

Slav
Telerik team
 answered on 10 Jun 2015
1 answer
46 views

Hi,

please any one help me code or demo for Hierarchy grid parent with one child and child only have edit column

Eyup
Telerik team
 answered on 10 Jun 2015
5 answers
49 views

Hello,

 When hitting a new line on Mozilla or Chrome, it introduces a <br/> tag, which is fine for us. However in IE the editor wraps up the line inside <p>...</p> tags, thus introducing a double spacing. Is there any way to put IE in line with the other browsers?

Regards

Ianko
Telerik team
 answered on 10 Jun 2015
1 answer
835 views
How to replace UpdatePanel with telerik, what to use RadAjaxManager or RadAjaxPanel. The UpdatePanel contains ListBox control where the items are retrieved from the database. Is there any replacement for ContentTemplate in telerik too?

<td class="td_populate">
<asp:UpdatePanel ID="updp1" runat="server">
<ContentTemplate>                                       
<asp:ListBox ID="countryCode" runat="server" Rows="1"></asp:ListBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="countryCode"
Display="Dynamic" ErrorMessage="* Please select the Country Code" SetFocusOnError="True" />
</ContentTemplate>
</asp:UpdatePanel>
</td>

<td class="td_populate">
<asp:UpdatePanel ID="updp2" runat="server">
<ContentTemplate>
<asp:ListBox ID="region" runat="server" Rows="1">
<asp:ListItem Value="">--- SELECT ---</asp:ListItem>
</asp:ListBox>                            
<asp:RequiredFieldValidator ID="RFV2" runat="server" ControlToValidate="region"
Display="Dynamic" ErrorMessage="* Please select the region code" SetFocusOnError="True" />
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="region" EventName="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>
</td>

How to migrate this controls using telerik?
Marin Bratanov
Telerik team
 answered on 10 Jun 2015
3 answers
110 views

Hello,

 I'm experiencing a strange behavior. I'm using in the same page a RadGrid with EditMode="Batch" and other RadInputs with SelectionOnFocus="SelectAll".

The problems is:

The focus on the inputs don't always select the content as they should. It only happens when the EditMode of the grid is "Batch". When I remove the property the focus works fine.

 

Is there any workaround? Am I missing some property that handles that?

 

This is an example of one of the textboxes:

<telerik:RadTextBox
    ID="txtInputText" runat="server" Width="100%" ShowButton="False" TextMode="SingleLine"
    Rows="1" ReadOnly="False" Enabled="True" onkeydown="ignorarEnter(this,event)"
    OnTextChanged="txtInputText_OnTextChanged" SelectionOnFocus="SelectAll" />

And here is my RagGrid:

<telerik:RadGrid
    Width="100%" Height="100%" Style="border: 0; outline: none" CssClass="gridClass"
    runat="server" ID="grdControl" ClientIDMode="Predictable" BorderWidth="0px"
    OnItemCommand="grdControl_ItemCommand" OnNeedDataSource="grdControl_NeedDataSource"
    OnBatchEditCommand="grdControl_BatchEditCommand" PageSize="50"
    AllowSorting="true" Culture="pt-BR" AutoGenerateColumns="false"
    AllowAutomaticInserts="true" AllowAutomaticUpdates="true"
    AllowAutomaticDeletes="true" FilterType="Classic"
    AllowPaging="false" AllowFilteringByColumn="false">
    <MasterTableView
        TableLayout="Fixed" AllowPaging="false" AllowFilteringByColumn="false"
        Width="100%" CommandItemDisplay="None" >
        <BatchEditingSettings SaveAllHierarchyLevels="true" EditType="Row" OpenEditingEvent="DblClick" />
        <RowIndicatorColumn Visible="False" />
        <ExpandCollapseColumn Created="True" />
        <Columns>
            <telerik:GridBoundColumn UniqueName="text1" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number1" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date1" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool1" Visible="false" />
            <telerik:GridBoundColumn UniqueName="text2" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number2" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date2" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool2" Visible="false" />
            <telerik:GridBoundColumn UniqueName="text3" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number3" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date3" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool3" Visible="false" />
            <telerik:GridBoundColumn UniqueName="text4" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number4" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date4" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool4" Visible="false" />
            <telerik:GridBoundColumn UniqueName="text5" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number5" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date5" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool5" Visible="false" />
            <telerik:GridBoundColumn UniqueName="text6" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number6" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date6" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool6" Visible="false" />
            <telerik:GridBoundColumn UniqueName="text7" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number7" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date7" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool7" Visible="false" />
            <telerik:GridBoundColumn UniqueName="text8" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number8" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date8" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool8" Visible="false" />
            <telerik:GridBoundColumn UniqueName="text9" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number9" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date9" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool9" Visible="false" />
            <telerik:GridBoundColumn UniqueName="text10" Visible="false" />
            <telerik:GridNumericColumn UniqueName="number10" Visible="false" />
            <telerik:GridDateTimeColumn UniqueName="date10" Visible="false" />
            <telerik:GridCheckBoxColumn UniqueName="bool10" Visible="false" />
        </Columns>
    </MasterTableView>
    <PagerStyle
        AlwaysVisible="false" PageSizeControlType="None" CssClass="grdpager" Position="Bottom" />
    <HeaderContextMenu RenderMode="Lightweight" />
 
    <ClientSettings EnableRowHoverStyle="true" AllowKeyboardNavigation="true">
 
        <ClientEvents OnKeyPress="desbilitarEnterGrid" />
 
        <Selecting AllowRowSelect="true" />
        <Resizing
            AllowRowResize="false" AllowColumnResize="true" AllowResizeToFit="true"
            ClipCellContentOnResize="true" EnableRealTimeResize="false"
            ResizeGridOnColumnResize="false" />
        <Scrolling AllowScroll="true" UseStaticHeaders="True" />
    </ClientSettings>
 
</telerik:RadGrid>

 

Konstantin Dikov
Telerik team
 answered on 10 Jun 2015
3 answers
140 views

I created my own CompositeControl that extends and automates many tasks for me with the RADGrid. Posting the code in it's entirety is impossible because of how complex it is. But I am going to do my best to explain the gist of my problem and what I am  looking for.

I use the RADGrid almost entirely using Server-Side code (VB.Net flavor). Now ad the time I initialize my grid (at page load) I add a custom Template to the MasterTableView.NestedViewTemplate. The custom template is a class I created inheriting from ITemplate and implements the InstantiateIn method. I set the MasterTableView.HierarchyLoadMode = Client as well. The template I created simply displays additional fields on the same parent record (ie: row) that I manually have hidden from the RADGrid column list (for lack of space). If the user wants to see the additional information, expanding the nested view will show them the remaining fields.

The first time my page/grid load...works perfectly, the arrow appears on the left side of each record and if clicks it expands to show my custom NestedViewTemplate. However the problem I have is that I am also sometimes allowing for paging, and if the user changes the page I lose the NestedViewTemplate completely. The arrows to the left of each row vanish.

I have saved the ITemplate class into the ViewState so that I can "reattach" it if it is found to be missing at a later reload. I have looked all around to see at which point I need to reattach it, but no matter where I re-attach the NestedViewTemplate, it doesn't re-appear on a page index change.

My question is, at which event should I be re-attaching the NestedViewTemplate so that it is early enough in the event timeline that it can bind with the parent data and display on the RADGrid? I've tried Page_Init, Page_Load, and grid_DataBinding...no luck. When stepping through my code, I see that at the time that the PageIndex is changed, the NestedViewTemplate is loaded into the RADGrid. The only thing I noticed that is different is that in the initial load of the grid, the gridDataBinding() event is fired, but when the page index is changed it does not fire.

HELP!

Kostadin
Telerik team
 answered on 10 Jun 2015
3 answers
124 views

Hello, I am using the Async Upload component, version 2013.3.1324.40

 When I use this component with IE11 sometime it works fine and a lot of time the browser freezes.

In the following link, I read this is a bug in IE11:  http://www.telerik.com/forums/radasyncupload-freezes

 

Do you have a solution or workaround about it? Comment: in the company the most users use IE11.



 

Nencho
Telerik team
 answered on 10 Jun 2015
3 answers
348 views

Hi,

When setting the maxlength and using multiline, you can paste more characters than you can type!

In your demo:

http://demos.telerik.com/aspnet-ajax/input/examples/radtextbox/firstlook/defaultcs.aspx

  • Set the maxlength to 10.
  • Paste the following​ in the multiline textbox:

1
2
3
4
5

All of the lines are pasted, but this should not be possible since a new-line should count as 2 chars!

When trying to write this text with the keyboard it will stop at "4".

Tried this in both Firefox and IE11.

Regards
Andreas

Kostadin
Telerik team
 answered on 10 Jun 2015
2 answers
283 views
Hi to all,

I have an issue in Rad Tree view. I need to insert Node to present Tree view Find Parent and do that process by client Side any one Help me,


How to Find parent Node and add child Node to that by Button Click.


Thanks in advance
Gokul
Top achievements
Rank 1
 answered on 10 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?