Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
196 views

Hello

I don't find an option to translate the Text "All" (added with the EnableAllOptionInPagerComboBox property). Can someone name me the key for it or can't we translate it at all?

 

christian

Rumen
Telerik team
 answered on 02 Nov 2018
3 answers
113 views

Hi, 

I noticed that the TagCloud control is not available in asp.net core.  Is there any plans on porting this control to asp.net core? 

Or, how well would this control play, (in it's current form of asp.net ajax) in an asp.net core application? 

 

Vessy
Telerik team
 answered on 02 Nov 2018
1 answer
455 views

I have a grid, in which particular cells need to be disabled.

The enabled cells need to have a validator added to give a warning if the value isn't in a particular range, each cells range can be different

I tried disabling the cell in the PreRender, or Item created, but the edit control still appears when you tab to the cell

 

 protected void PriceUpdateGrid_PreRender(object sender, EventArgs e)

        {
            foreach (GridDataItem item in PriceUpdateGrid.MasterTableView.Items)
            {
                foreach (GridTableCell cell in item.Cells)
                {
                   cell.Enabled = false;
                    cell.Item.Edit = false;
                }
                //item.Enabled = false;
            }
        }

        protected void PriceUpdateGrid_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
        {
            if (e.Item is GridEditableItem)
            {
                GridEditableItem dataItem = (GridEditableItem)e.Item;
                (e.Item as GridEditableItem)["377"].Enabled = false;
                dataItem["377"].Enabled = false;
                dataItem["377"] = false;
                dataItem["377"].Controls[0].Enabled = false;
                dataItem["377"].Visible = false;
            }
        }

 

 

 

 

 <telerik:RadGrid ID="PriceUpdateGrid" runat="server" RenderMode="Lightweight" ViewStateMode="Enabled"
        AllowSorting="False" GridLines="None" ShowGroupPanel="False" Skin="WebBlue" AutoGenerateColumns="False"
        OnNeedDataSource="PriceUpdateGrid_NeedDataSource" AllowMultiRowSelection="True"
        OnPreRender="PriceUpdateGrid_PreRender"
        OnItemCreated="PriceUpdateGrid_ItemCreated"
        OnItemUpdated="PriceUpdateGrid_ItemUpdated"
        OnItemDataBound="PriceUpdateGrid_ItemDataBound"
        OnBatchEditCommand="PriceUpdateGrid_BatchEditCommand"
        AllowAutomaticUpdates="True">
        <PagerStyle AlwaysVisible="False" />
        <MasterTableView ClientDataKeyNames="SurveyEntityId" EnableViewState="true" DataKeyNames="SurveyEntityId,SubRegionSiteId" EditMode="Batch" CommandItemDisplay="TopAndBottom">
            <BatchEditingSettings EditType="Cell"></BatchEditingSettings>
            <Columns>
                <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" HeaderStyle-Width="40px">
                </telerik:GridClientSelectColumn>
            </Columns>
            <RowIndicatorColumn>
                <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>
            <ExpandCollapseColumn>
                <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>

        </MasterTableView>


        <ClientSettings EnableRowHoverStyle="true" AllowKeyboardNavigation="true">
            <ClientEvents OnBatchEditOpening="BatchEditOpening" />
            <Resizing AllowColumnResize="true" />
            <Selecting AllowRowSelect="True" UseClientSelectColumnOnly="True" />
            <Scrolling AllowScroll="True" UseStaticHeaders="True" />
        </ClientSettings>
    </telerik:RadGrid>

Attila Antal
Telerik team
 answered on 01 Nov 2018
5 answers
991 views

Trying to set the radwindow to a percent of the screen size.  This way the user still knows its  a pop-up window and has to be closed apporpriately instead of thinking its a real window, found an example online but it does not work, so I though Telerik has done this somewhere, so here I am asking the question.

Here is what I have but nothing works.  I need to set it at about 90% of the screen size.

function SelectedName(source, eventArgs) {
            var txt = eventArgs.get_text();
            var val = eventArgs.get_value();
            var radWidow = $find("<%= RadWindow.ClientID%>");
            var textbox = document.getElementById("<%=txtSearch.ClientID%>");
 
            if (val == '') {
                alert('You must pick a recruit from drop down list.');
            }
            else {
                radWidow.show();
                radWidow.setUrl("ManageProcessor.aspx?Pass=" + val);
                var browserWidth = $telerik.$(window).width();
                var browserHeight = $telerik.$(window).height();
                radWidow.setSize(Math.ceil(browserWidth * value / 100), Math.ceil(browserHeight * value / 100));
                radWidow.center();
                textbox.value = '';
            }
           }
 
        function VerifyEnlist() {
            var Enlist = document.getElementById("<%=ddlEnlistment.ClientID%>").value;
            var radWidow = $find("<%= RadWindow.ClientID%>");
            if (Enlist == 4) {
                radWidow.show();
                radWidow.setUrl("WoTracker.aspx");
                var browserWidth = $telerik.$(window).width();
                var browserHeight = $telerik.$(window).height();
                radWidow.setSize(Math.ceil(browserWidth * value / 100), Math.ceil(browserHeight * value / 100));
                radWidow.center();
            }
            else {
                radWidow.show();
                radWidow.setUrl("ManageProcessor.aspx?Type=" + Enlist);
                var browserWidth = $telerik.$(window).width();
                var browserHeight = $telerik.$(window).height();
                radWidow.setSize(Math.ceil(browserWidth * value / 100), Math.ceil(browserHeight * value / 100));
                radWidow.center();
            }
        }

Rumen
Telerik team
 answered on 01 Nov 2018
0 answers
140 views

When i check nodes in a tree (by mouse) selected values appended in title. Which is good.

However, on server side node is getting checked, but title stays empty.

Here is my code:

  rddtRegion.DataSource = dtContractCounties
  rddtRegion.DataBind()

  For Each dr As DataRow In dtSelectedCounties.Rows
                Dim nodeValue As String = dr("CountyID")
                Dim node_region As RadTreeNode = rddtRegion.EmbeddedTree.FindNodeByValue(nodeValue)
                node_region.Checked = True
  Next

Please advice

David
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 01 Nov 2018
9 answers
378 views
Hi, 
 
Is it possible to send insert command in hierarchical grid using a java script? 
I need to pass argument from client side and also refresh the selected parent/child grid.

Some thing like the delete command :
NGgridTableView.deleteItem(NGgriditemIndexHierarchical);

This is the kind of grid i  am  referring to  and i am binding the grid with data table 'On-Need-DataSource' event.
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/threelevel/defaultcs.aspx

I would really appreciate any suggestions.

Thanks
Meera
Eyup
Telerik team
 answered on 01 Nov 2018
1 answer
218 views

https://demos.telerik.com/aspnet-ajax/button/examples/css3buttons/defaultcs.aspx?skin=Bootstrap

The issue is visible within the above demo. I attached a screenshot comparing Sunset theme (Focus does work on this theme) to Bootstrap.

Is there a workaround for this?

Vessy
Telerik team
 answered on 01 Nov 2018
1 answer
121 views

Hi Team,

 

I am working on something where the page will render only on activeon RadWizard.

But in this case my Update panel doesnt work as expected.

eg: On selection of a dropdown,depending on yes or no ;some other control will be visible which is called through teleik ajax request. but this is not working.

If you can help on this.

 

Many thanks.

Vessy
Telerik team
 answered on 01 Nov 2018
3 answers
273 views
If you can help with below scenario : I have a radwizard and there 7 wizard steps.And every wizard steps belongs to different user control . And Each User control has its own telerik:AjaxUpdatedControl to work with ajaxRequest . It works fine with all its Ajax request when RenderedSteps="All" .But Ajax request doesnt work when RenderedSteps="Active".It will be great if you can help with this.
Thanks
Vessy
Telerik team
 answered on 01 Nov 2018
5 answers
140 views

I've selected a single word from the content which is copied in the RADEditor and did the following actions.

1) Apply "Underline" option to the word which I selected 

2) Placed the cursor on the last letter of the word (which selected on above step) and pressed the enter key two times. It's giving us two empty row.

3) Select "Preview" button in the RADEditor.

Now, I see that one underline '-' is being displayed in the empty row.  

If I follow the above step in MS-Word, no underline has coming after you press the enter button. Why it's showing in RADEditor?

Note: In RADEditor, If I press the enter button on the space which is next to the word which I selected, no underline '-'. is coming on the empty row..

 

 

 

Rumen
Telerik team
 answered on 01 Nov 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?