Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
270 views
We have recently added a large set of videos which show how to accomplish some of the most common scenarios with RadCalendar. Please check out the tutorials at http://tv.telerik.com/home.

We hope this will further facilitate your development with RadCalendar.

Do not hesitate to send us any feedback you might have. Are the videos helpful? What can we improve/add?
Rumen
Telerik team
 answered on 09 Aug 2018
1 answer
215 views

Hi,

I want to make a multiple sorting + natural sorting column. Multiple sorts are working fine but not for natural sort.

May refer to attached image.

Thanks.

Rumen
Telerik team
 answered on 09 Aug 2018
5 answers
112 views

Hi everyone,

 

I have a RadGrid with batchedit mode in a usercontrol, and I want to have different editors based on the type of the parameter. For example : if the parameter is a string, the editor should allow to write strings, or datetime, boolean, integer, even files so the user can download the file and also images so they can appear on the radgrid !

I found something similar to what I want but it's using Kendo UI : https://docs.telerik.com/kendo-ui/knowledge-base/grid-different-editor-based-on-column-value

Any suggestions ?

 

Thank you

Vessy
Telerik team
 answered on 09 Aug 2018
7 answers
538 views
Hello...I am using the latest build of Promethius controls. My problem is with the Rad window. I am generating a large page which loads variable numbers of images in various sections. These images are enclosed in links which invoke the RadWindow so that the images can be viewed in another image viewer control. That all works fine...However, as I mentioned, the page can be rather large, so for example if I scroll to the bottom of the page and click on one of those links, then the parent window scrolls automatically to the top before displaying the radwindow...worse yet, since the radwindow opens relative to where it was clicked, then the window is completely out of view and the user must scroll down to see the popup. The only thread I found that comes close to addressing this is http://www.telerik.com/community/forums/thread/b311D-bahgmt.aspx but did not solve my problem.
This behavior is the same in IE, FF, and Safari.
A temporary work around is to do a MoveTo and move the window to the top of the page, but I would prefer that the main page stay in place and the the window open where it was clicked...so that when the window is closed, the user doesnt have to scroll back down to where they were when they originally clicked on the link....make sense?
Any help on this would be greatly appreaciated.

Thanks!
Rumen
Telerik team
 answered on 09 Aug 2018
4 answers
117 views

I build Sharepoint webpart with RadScheduler on one server, then I deployed with sharepoint package on another server, why I get different layout for both server?

 

How to make it default like documentation on this link https://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/recurrence-editor/overview

Rumen
Telerik team
 answered on 09 Aug 2018
2 answers
1.3K+ views
Hi All,

I use Teleriks controls for asp ajax and have a question regarding the
skin files...

I've copied the Skins folder to my project folder and have included it
in my project, but almost all of the items in these folders have a
"Build Action" of "Content" and a "Copy to Output Directory" value of
"Do not copy" in the properties window.

Do I have to go through all these folders to change the "Copy to
Output Directory" to "Copy Always" to ensure all my skin items are
copied over when I publish or build my site?

Of course, this question relates to any file that gets included to a
project, not just Telerik skins...

This page (http://msdn.microsoft.com/en-us/library/0c6xyb66.aspx)
suggests that the "Build Action" - "Content" that...

"The file is not compiled, but is included in the Content output
group. For example, this setting is the default value for an .htm or
other kind of Web file."

but this page also states the seetings for "Copy to Output Directory"
are ...

"This property specifies the conditions under which the selected
source file will be copied to the output directory. Select Do not copy
if the file is never to be copied to the output directory. Select Copy
always if the file is always to be copied to the output directory.
Select Copy if newer if the file is to be copied only when it is newer
than an existing file of the same name in the output directory."

If I do have to set all my content skins and images etc to "Copy
Always", is there a quick way to do this when there could be hundreds
of these files spread through a large number of folders and sub
folders?

Strange
Top achievements
Rank 1
 answered on 09 Aug 2018
11 answers
2.1K+ views
I am trying to get the value of selected item from a RadDropDownList using the below code snippet:
ddlEntType= '<%= rddlEnterprise.ClientID %>

but it is giving me "undefined" as the result.

Can you please provide the solution for this?
Tsvetomir
Telerik team
 answered on 08 Aug 2018
5 answers
382 views


Hii

 I am doing google like filtering in two level hierarchy. On first level I do not want filtering. In Second level I want filtering. When I create gridcolumn on page load  and that column in gridtableview & add that girdtableview in mastertable then it shows me error such as "You must override Clone() method for derived grid colimn. Please help me.


Thanks in advance.

Regards,
Ketaki
Tsvetomir
Telerik team
 answered on 08 Aug 2018
1 answer
444 views

Hi from France !

I need to make specific filter by column. columns are itemTemplate. in my original projet i've got many data in different columns/template like this :

 

<telerik:GridTemplateColumn UniqueName="situationCertif" ItemStyle-CssClass="situationBloc">
                                       <ItemTemplate>
                                           <asp:Label ID="libFacture" runat="server" Text='<%# String.Format("Facture n° {0}", Eval("LibFacture"))%>'></asp:Label>
                                           <asp:Label ID="lMontantHT" runat="server" Text='<%# String.Format("Montant HT : {0:C2}", Eval("MontantHT"))%>'></asp:Label>
                                           <asp:Label ID="lMontantTTC" runat="server" Text='<%# String.Format("Montant TTC : {0:C2}", Eval("MontantTTC"))%>'></asp:Label>
                                           <asp:Label ID="lEtat" runat="server" Text='<%# String.Format("Etat :  {0}", Eval("Etat.LongString"))%>'></asp:Label>
                                           <div>
                                               Payer à :
                                               <asp:Label ID="lTiersPayeur" runat="server" CssClass="tiers" Text='<%# String.Format("{0}", Eval("NomTiersPayeur"))%>'></asp:Label>
                                           </div>
                                       </ItemTemplate>
                                   </telerik:GridTemplateColumn>

 

I've maked a sample to search how to made this (see Grid.png)

i've got a class "TestData" binded to template columns :

Public Class TestData
    Property Nom As String
    Property Prenom As String
    Property age As Integer
 
    Property statut As String
 
    Property Infos As String
 
    Public Sub New(nom As String, prenom As String, age As Byte, statut As String, infos As String)
        Me.Nom = nom
        Me.Prenom = prenom
        Me.age = age
        Me.statut = statut
        Me.Infos = infos
    End Sub
End Class
 
Private Sub SetGridData()
 
    Dim list As New List(Of TestData) From
    {
    New TestData("Albert", "Bebert", 28, "Directeur", "ux texte standard de l'imprimerie depuis les années 1500, quand un imprimeur anonyme assembla ensemble des morceaux de texte pour réaliser un livre spécimen"),
    New TestData("Bilal", "Ournis", 25, "Ingénieur", ""),
    New TestData("Jerôme", "Nimo", 35, "Commercial", " sans que son contenu n'en soit modifié. Il a été popularisé dans les années 1960 grâce à la "),
    New TestData("Elvira", "Pas", 50, "Commercial", ""),
    New TestData("Sylvestre", "Saint", 47, "Commercial", "s suites logicielles de mise en page ou éditeurs de sites Web ont fait du Lorem Ipsum leur faux texte par défaut, et une recherche pour 'Lorem Ipsum' vous cond")
    }
 
    RadGrid1.DataSource = list
 
End Sub

 

<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="true" AutoGenerateColumns="false" OnInit="RadGrid1_Init" OnItemCommand="RadGrid1_ItemCommand">                  
        <MasterTableView>
            <Columns>
                <telerik:GridTemplateColumn FilterListOptions="VaryByDataTypeAllowCustom" DataField="demo" UniqueName="demo">
                    <ItemTemplate>
                    <h1><%# Eval("Nom") %></h1>
                    <h3><%# Eval("Prenom") %></h3>
                    <i><%# Eval("Age") %></i>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                 <telerik:GridTemplateColumn FilterListOptions="VaryByDataTypeAllowCustom" DataField="infos" UniqueName="infos">
                    <ItemTemplate>
                    <p><b><%# Eval("Statut") %></b></p>
                    <p><%# Eval("Infos") %></p>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>                            
            </Columns>
        </MasterTableView>                    
    </telerik:RadGrid>

 

example : 

First column i need to search in "Nom" or "Prenom" or "Age" properties (contain mode)

Second column i need to search in "Statut" or "Infos" properties (contain mode)

How to define a filter menu by column ?

Thanks for your help, and excuse me for my bad english.

Attila Antal
Telerik team
 answered on 08 Aug 2018
11 answers
263 views

Hi,
RadGrid  Grid - Excel-like Filtering not work in .ascx page... but it work in .aspx.
In .ascx page when i click on the Header Context Filter Menu button the Filter Popup is not show .... nothing is happen but in .aspx page it works well

would you please help me so that Excel-like Filtering  is also work on a grid that is in my .aspx page 

 Here is my grid code Mostly taken from your example 

//////////////////

<telerik:RadGrid ID="grdBracketPlayers" Width="1120" runat="server" Skin="Metro"  
                                AllowFilteringByColumn="true"  FilterType="HeaderContext" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true" AllowPaging="True" OnFilterCheckListItemsRequested="grdBracketPlayers_FilterCheckListItemsRequested"  AllowSorting="true" GroupingEnabled="true"
                                OnNeedDataSource="grdBracketPlayers_NeedDataSource"> 
                                <MasterTableView DataKeyNames="FullName" AutoGenerateColumns="False" >
                                    <Columns>
                                        
                                       <telerik:GridBoundColumn FilterCheckListEnableLoadOnDemand="true" DataField="FullName" FilterControlAltText="Filter ContactName column" HeaderText="PlayLevelName" SortExpression="PlayLevelName" UniqueName="PlayLevelName" AutoPostBackOnFilter="true" CurrentFilterFunction="StartsWith">
                        </telerik:GridBoundColumn>
                                    
                                    </Columns>
                                </MasterTableView>
                                
                            </telerik:RadGrid>​

Tsvetomir
Telerik team
 answered on 08 Aug 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?