Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
790 views
When I open a Rad/Modal window from normal aspx page I lose the session stqte from the aspx page. Any suggestions?
Rumen
Telerik team
 answered on 11 Dec 2019
3 answers
256 views
I have a custom paging control that I am using in my application.
The markup for the control is listed below. The problem I am having is that the slider doesn't always render the skin correctly. When it renders the only thing I see is a link with the word "Drag"; please see the attached image. I tried adding the reference to the top of the page to Get the WebResource for the skin but that didn't work. Any help would be greatly appreciated.

<asp:Panel ID="pagerContainer" CssClass="pagercontainer" runat="server">
 
    <table border="0" width="100%" cellpadding="2" cellspacing="2">
        <tr>
            <td valign="middle" width="105px" nowrap="nowrap">
                <asp:Panel ID="LeftContainer" runat="server" CssClass="pagerCommand">
                    <asp:ImageButton AlternateText="First Page" CommandName="First" ID="firstPageButton"
                        ImageAlign="AbsMiddle" ImageUrl="~/Images/first.gif" runat="server" ToolTip="First Page" />
                    <asp:ImageButton AlternateText="Previous Page" CommandName="Previous" ID="previousPageButton"
                        ImageAlign="AbsMiddle" ImageUrl="~/Images/prev.gif" runat="server" ToolTip="Previous Page" />
                </asp:Panel>
            </td>
            <td valign="middle" width="175px">
                <asp:Panel ID="sliderPanel" CssClass="pagerCommand" runat="server">
                <telerik:RadSlider ID="slider" runat="server" AnimationDuration="0" 
                        Orientation="Horizontal" EnableViewState="true"
                    SmallChange="1" ShowDecreaseHandle="false" ShowIncreaseHandle="false" Width="175px"
                    Skin="Web20" AutoPostBack="true"
                    EnableEmbeddedSkins="true">
                </telerik:RadSlider>
                </asp:Panel>
            </td>
            <td valign="middle" width="105px">
                <asp:Panel ID="rightContainer" runat="server" CssClass="pagerCommand">
                    <asp:ImageButton AlternateText="Next Page" CommandName="Next" ID="nextPageButton"
                        ImageAlign="AbsMiddle" ImageUrl="~/Images/next.gif" runat="server" ToolTip="Next Page" />
                    <asp:ImageButton AlternateText="Last Page" CommandName="Last" ID="lastPageButton"
                        ImageAlign="AbsMiddle" ImageUrl="~/Images/last.gif" runat="server" ToolTip="Last Page" />
                </asp:Panel>
            </td>
            <td align="right">
                <asp:Label ID="positionLabel" runat="server" CssClass="pagerinfo" />
            </td>
        </tr>
    </table>
 
<asp:HiddenField ID="SliderHiddenField" runat="server" />
 
</asp:Panel>

Denise
Top achievements
Rank 1
 answered on 11 Dec 2019
3 answers
247 views

Hello,

I have a question regarding paging in RadGrid when the grid is already filtered.

I am using NeedDataSource event for binding the grid.

My datasource query is rather slow so I implemented custom paging and it is working fast as expected when paging the RadGrid when no filter is active.

But when I filter the RadGrid, the paging is very slow. Changing the page number lasts like when the grid is fetching the data when filtering.

I understand that the process of filtering cannot be faster because of my datasource query, but is there a way that I can make paging faster when my grid is filtered?

Thank You for your help.

 

Eyup
Telerik team
 answered on 11 Dec 2019
1 answer
206 views
Hi from France,

I've got problem with this case to using RadAjaxManager (see picture)

I've got 3 repeater For : Section, GrpRubrique and Rubrique, all is nested.

my HTML for "section" part is <details><summary>, sample :

<asp:Repeater ID="rptSection" runat="server" ClientIDMode="AutoID">
                  <ItemTemplate>                   
                      <details>                         
                          <summary>
                          <h4>Title section</h4>
                          <div>
                          <asp:repeater id=rptGrpRubrique...
                          ...
                            <telerik:RadNumericTextBox ID="rnt" ClientIDMode="AutoID" ...


All radNumericTextBox not have autoPostback=True (set by codeBehind)
i have dependence by formules must calculate in codeBehind, sample :
Rubrique6 = TVA * (Rubrique1 + Rubrique3 + Rubrique4) and when user change value in Rubrique1,3 or 4 i must postback, calculate and update Rubrique6

Ajaxify All Repeater, with arounded Panel work but, close all my details HTML :

<telerik:AjaxSetting AjaxControlID="GlobalPanel">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="GlobalPanel" />
    </UpdatedControls>
</telerik:AjaxSetting>


example, if i want to add only updated control rubrique6, in my code behind when radNumericTextBox Binding, his ID is always "rnt" and doesn't work :

Dim ctrl As New Telerik.Web.UI.AjaxUpdatedControl
ctrl.ControlID = radTextBox.ID
'ctrl.ControlID = radTextBox.UniqueID
'ctrl.ControlID = radTextBox.ClientID
ram.AjaxSettings.Item(0).UpdatedControls.Add(ctrl)


i've got no solution since many days...

 

Thanks for your help.

Eyup
Telerik team
 answered on 11 Dec 2019
3 answers
166 views
Does radeditor support multiuser comments features?
Rumen
Telerik team
 answered on 10 Dec 2019
1 answer
458 views

Hello Telerik,

I have created a sample project with a RadListBox and a button.

When the page loads, the list is populated using some query from the Northwind database.

After scrolling the list at a random item, and pressing the button to reload the list,

I would like to position the list at the top, not at an arbitrary place in the list.

This functionality should not depend if I have and item selected or not in the list.

Thanks,

Alex

Peter Milchev
Telerik team
 answered on 10 Dec 2019
9 answers
472 views

Hi,

I'm trying to replace ASP.NET Ajax TreeView control with a Telerik component.

For each level, we use different style and backgroud image. We have two issues:

  • We would like to move text to the right 20 px. With Ajax we can do it with CSS padding.
  • Hower is not working.

Please notice that we need to use different hover, selected etc for each level. It seems that Hover is infact moving text 20 px to the right, but it will also override background image.

Best regards, Mikko

 

Rumen
Telerik team
 answered on 10 Dec 2019
3 answers
1.2K+ views

Hello,

Because of design requirements we don't want to load fonts from google fonts api.
We are using Telerik AJAX controls V2017.2.711.45.

I already read the following article about providing the Roboto font, if no internet connection exists. 
But this solution only overrides the font but still calls the api and I want to completely remove the api calls.
Mentioned reference:
http://www.telerik.com/support/kb/aspnet-ajax/details/use-material-skin-without-active-internet-connection

Even if I select a theme with no Roboto font in it (like Bootstrap for example) the api gets called.
Is there a setting to disable this call?

Thanks in advance

Rumen
Telerik team
 answered on 06 Dec 2019
11 answers
620 views
Hei!

Is it possible to override the css class of buttons in delete confirmation message? And is it possible to put some custom string in this message (e.g. the phone number of person you are trying to delete)?

Thanks for answer

Radek
Andre
Top achievements
Rank 1
 answered on 05 Dec 2019
3 answers
301 views

Hi I have a radlistbox with SelectionMode="Multiselect". I want to get the count of checked items of listbox on button click. I tried to get the count by finding control on button click event but i am not able to find the control. 

HTML Code:
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Width="100%">

<div>

<asp:Table>

<asp:TableRow>
                <asp:TableHeaderCell>
                <telerik:RadLabel ID="RadLabel_abc" runat="server" Text="ABC"></telerik:RadLabel>
                </asp:TableHeaderCell>

</asp:TableRow>

<asp:TableRow>

<asp:TableCell>

<telerik:RadListBox ID="rlbAbc" runat="server" 
            Height="100px"
            Width="480px"
            AllowTransfer="false"
            AllowTransferOnDoubleClick="false"
            TransferToID="rlbChosen"
            EnableDragAndDrop="true"
            OnClientTransferring="rlbAbc_OnClientTransferring"
            CheckBoxes="true"
            ButtonSettings-ShowTransferAll="false"
            EnableViewState="false"
            SelectionMode="Multiple"/>

</asp:TableCell>

</asp:TableRow>

</asp:Table>

</div>

</telerik:RadAjaxPanel>

 

.VB File

Protected Sub RadButton_AddToList_Click(sender As Object, e As EventArgs)

GetSelectedItemText("rlbABC")

End Sub

Public Function GetSelectedItemText(ByVal controlID As String) As String
        Dim theListbox As RadListBox = CType(FindControl(controlID), RadListBox)
        For idx As Integer = 0 To theListbox.Items.Count - 1
            Dim li As RadListBoxItem = theListbox.Items(idx)

            If theListbox.Items(idx).Selected = True Then
                Return theListbox.Items(idx).Text
            End If
        Next

        Return Nothing
    End Function

But I am not able to find control. Can anyone suggest a better way to do this. My main objective is to get count of checked items of list box on button click

Attila Antal
Telerik team
 answered on 04 Dec 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?