Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
1.0K+ views
Hello,
I would like to select in a radgrid the row containing for a certain column a certain value. How do I do that having as input the value of one of the columns? I also wish that if the radgrid has multiple pages, that the result view is positioned correctly.

Thank you very much.
Richard
Top achievements
Rank 1
 answered on 29 Dec 2016
7 answers
437 views
I began following the instructions found here http://www.telerik.com/help/aspnet-ajax/introduction-controlling-appearance-overview.html for changing the skin of a telerik menu.

However, when I got to step 4 the word "Default" was there but no drop down list.  

I then added a RadSkinManager to my page to troubleshoot the issue i.e. <telerik:RadSkinManager ID="QsfSkinManager" runat="server" ShowChooser="true" />. The drop down list appeared with all of the skin names.  This was great, but when I click on any skin name other than "Default" all of the style is lost and no skin is applied.

Please help me get the telerik skins back.
Bozhidar
Telerik team
 answered on 29 Dec 2016
5 answers
761 views
I have problem get sorting working. Code is below:

    <telerik:RadGrid ID="RadGridList" runat="server" AutoGenerateColumns="false" AllowSorting="true" AllowPaging="true" PageSize="20" ShowGroupPanel="true" AllowFilteringByColumn="true">
        <GroupingSettings ShowUnGroupButton="true" />
        <MasterTableView GroupLoadMode="Client" TableLayout="Fixed" EnableGroupsExpandAll="true" AllowCustomSorting="true">
            <GroupByExpressions>
                <telerik:GridGroupByExpression>
                    <SelectFields>
                        <telerik:GridGroupByField FieldAlias="Name" FieldName="Name" />
                    </SelectFields>
                    <GroupByFields>
                        <telerik:GridGroupByField FieldName="Name" SortOrder="Descending" />
                    </GroupByFields>
                </telerik:GridGroupByExpression>
            </GroupByExpressions>
            <Columns>
                <telerik:GridBoundColumn DataField="Name" HeaderText="Name" AllowSorting="true"></telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Id" HeaderText="ID"></telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <GroupingSettings ShowUnGroupButton="true" />
        <ClientSettings AllowDragToGroup="true">
            <Selecting AllowRowSelect="true" />
        </ClientSettings>
    </telerik:RadGrid>

Sorting in GroupByExpression tag does work. The column sorting doesn't work. Any idea is appreciated!











Konstantin Dikov
Telerik team
 answered on 29 Dec 2016
1 answer
215 views

If we can make a request for something I'd like a chat control for website/ office use. Doesn't have to be elaborate. User see's a anchor tag on the site and can click on it for chatting with an operator. Obv both side would need to be developed.

That or an SMS message that could be sent to an operator.

Just a thought.

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 28 Dec 2016
13 answers
292 views
Hi,

I think it'd be useful to have a control that would display a google/mapquest or whatever map in a panel, styled or not, and have a locations collection.

Each location has a lat/long, description field (html code or text). The description field could use a CSS Class to style the html inside it and so on. The description contents would be in a pop-up bubble that could be shown or not by default and the marker could be clicked to show/hide the bubble.

Each time a web site is developed, should the company/client have a location, it would be useful to be able to drop a RadMap control, specify which map interface to use (google/mapquest,etc.), add location(s) and the control would generate and set the starting position for the map including zoomlevel, either map/satellite/topography and so on.

This could be really useful when tied to a "find closest location to you" scenario where all locations could be added to a map and you could have links that would change the focus point of the map window.

What do you think?
David
Top achievements
Rank 1
 answered on 28 Dec 2016
1 answer
67 views
Hello, I would like to know how to translate filter topics in Q2009? The current version I observed by the documentation that have specific attributes but in the Q2009 version does not have, can help?
Konstantin Dikov
Telerik team
 answered on 28 Dec 2016
1 answer
128 views

hi

 

I have a radscheduler with this properties turn on OverflowBehavior="Expand", ShowFullTime="True",  WeekView-ReadOnly="true".

How do i make the scheduler to scroll to current time? thanks

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 27 Dec 2016
1 answer
89 views

Hi,

I have found a issue with the Contentfilter: MakeUrlsAbsolute in some of the latest builds example: 2016.3.1027 (latest) and 2016.3.914.45
The issue occurs when the link is same as the url the editor is in. Try this html in your demo.

Last version we used were it was working is: 2015.1.401.35

test
<br>
<table bordercolor="#000000" border="1" cellspacing="0" cellpadding="2">
    <tbody>
        <tr>
            <td style="text-align: center; vertical-align: middle;" rowspan="2"><strong>Text</strong></td>
        </tr>
    </tbody>
</table>

And that will end up as: (when switching between html/design-mode)

test
<a href="#000000" border="1" cellspacing="0" cellpadding="2">
     
         
            <strong>Text</strong>
         
     
</a>
Vessy
Telerik team
 answered on 27 Dec 2016
1 answer
251 views

I am using RadMenu control on Web forms along with RadScheduler on the page. But Selected Menu Item's background color not changing .

 

Even when i am using pull down Menu item having sub items. Then again parent item is not getting highlighted when page has rad scheduler.

I am using skin as Web20. Please advise.

 

This is the Site Master code.

 

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="RElIntranet.Site" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        var uploadedFilesCount = 0;
        var isEditMode;
        function validateRadUpload(source, e) {
            // When the RadGrid is in Edit mode the user is not obliged to upload file.
            if (isEditMode == null || isEditMode == undefined) {
                e.IsValid = false;
                if (uploadedFilesCount > 0) {
                    e.IsValid = true;
                }
            }
            isEditMode = null;
        }

        function OnClientFileUploaded(sender, eventArgs) {
            uploadedFilesCount++;
        }

    </script>
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
    <link href="RELStyles.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style2 {
            width: 828px;
        }
    </style>
</head>
<body style="background-image: url('images/BlueVerticalGradient.png'); background-repeat: repeat-x; background-color: #b3c3cc">
    <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="scriptManager1" EnableHandlerDetection="false">
        </telerik:RadScriptManager>
        <div>
            <table align="center" class="mainTable" width="993px">
                <tr>
                    <td width="993px" class="whitebg">
                        <table width="993px">
                            <tr>
                                 
                                <td align="center" width="713px">
                                    <table>
                                        <tr>
                                            <td>
                                                <img src="Images/REL-logo.jpg" title="Reliant Share!" alt="Reliant Share!" />
                                            </td>
                                            <td class="RelHeaderText">Reliant Care Management Company <span class="RelHeaderTextSmall">L.L.C.</span></td>
                                        </tr>
                                    </table>
                                </td>
                                <td align="right" height="114px" width="280px">
                                    <table height="114px" align="right">
                                        <tr>
                                            <td valign="top" align="right">
                                                <asp:Label runat="server" CssClass="txtHeader" ID="lblName"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="headerContact" align="right" valign="bottom">To contact the Reliant Share! Administrator: <a href="mailto:becky.bos@primecaretech.com">click
                                                here </a>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td >
                        <telerik:RadMenu RenderMode="Lightweight" EnableShadows="false" Width="993px" runat="server" OnItemClick="radMainMenu_ItemClick" ID="radMainMenu" >
                            <Items>
                                <telerik:RadMenuItem Text="Home" runat="server" NavigateUrl="Welcome.aspx"></telerik:RadMenuItem>
                                <telerik:RadMenuItem runat="server" Text="Event Calendar" NavigateUrl="EventCalendar.aspx"></telerik:RadMenuItem>
                                <telerik:RadMenuItem runat="server" Text="Conference Rooms" >
                                    <Items>
                                        <telerik:RadMenuItem Text="Large Conference Room" runat="server" NavigateUrl="LargeConfRoom.aspx"></telerik:RadMenuItem>
                                        <telerik:RadMenuItem Text="Small Conference Room" runat="server" NavigateUrl="SmallConfRoom.aspx"></telerik:RadMenuItem>
                                    </Items>
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem runat="server" Text ="Conference Lines" >
                                    <Items>
                                        <telerik:RadMenuItem Text="All Users" Selected PageViewID="pvAlluserLine" runat="server" NavigateUrl="ConfLineAllUsers.aspx" ></telerik:RadMenuItem>
                                        <telerik:RadMenuItem Text="Ops Team Only" PageViewID="pvOpsteamLine" runat="server" NavigateUrl="ConfLineOpsTeam.aspx" ></telerik:RadMenuItem>
                                        <telerik:RadMenuItem Text="Wentric & Jim Only" PageViewID="pvW&JteamLine" runat="server" NavigateUrl="ConfLineWAndJ.aspx" ></telerik:RadMenuItem>
                                        <telerik:RadMenuItem Text="ALF/RCF" PageViewID="ALFRCFteamLine" runat="server" NavigateUrl="ConfLineALFRCF.aspx" ></telerik:RadMenuItem>
                                    </Items>
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Links" NavigateUrl="Links.aspx" runat="server">
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Contacts" PageViewID="pvContacts" NavigateUrl="Contacts.aspx"
                                    runat="server">
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Files" NavigateUrl="FileExplorer.aspx" runat="server">
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="File Upload" NavigateUrl="FileUploader.aspx" runat="server">
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Manage Announcements" PageViewID="pvManageAnnouncements" NavigateUrl="ManageAnnounceMents.aspx"
                                    runat="server">
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Manage Links" NavigateUrl="ManageLinks.aspx" runat="server">
                                </telerik:RadMenuItem>
                                <telerik:RadMenuItem Text="Files Admin" NavigateUrl="FileAdmin.aspx" runat="server">
                                </telerik:RadMenuItem>
                            </Items>
                        </telerik:RadMenu>
                    </td>
                </tr>
                <tr>
                    <td runat="server" id="contentTD" class="cptd">
                        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                        </asp:ContentPlaceHolder>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>

 

and this is the Radscheduler declaration on one of the pages.

 

<table align="center">
    <tr>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td align="center"><asp:Label runat="server" ID="lblCalendarType" CssClass="txtHeader"></asp:Label></td>
    </tr>
    <tr>
        <td>&nbsp;</td>
    </tr>
    <tr>
         
        <td align="center">
                <telerik:RadScheduler Width="940px" runat="server" ID="ASIScheduler" DataDescriptionField="Description"
                    DataEndField="End" DataRecurrenceParentKeyField="RecurrenceParentID" DataRecurrenceField="RecurrenceRule"
                    DataKeyField="ID" DataReminderField="Reminder" DataSourceID="SqlDataSource1"
                    DataStartField="Start" DataSubjectField="Subject"
                    EnableDescriptionField="True" Height="700px"
                    SelectedView="MonthView" OnAppointmentDataBound="ASIScheduler_AppointmentDataBound">
                    <Reminders Enabled="True" />
                    <AdvancedForm Modal="true"></AdvancedForm>
                    <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
                    <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
                </telerik:RadScheduler>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DevConnString %>"
                    SelectCommand="SELECT [ID], [Subject], [start], [End],[RecurrenceRule], [RecurrenceParentID], [Reminder], [Description], [Annotations] FROM [EventCalendar] where Calendartype=@CalendarType"
                    DeleteCommand="DELETE FROM [EventCalendar] WHERE [ID] = @ID" InsertCommand="INSERT INTO [EventCalendar] ([Subject], [Start], [End], [RecurrenceRule], [RecurrenceParentID], [Description],[Reminder],CalendarType,SavedBy) VALUES (@Subject, @Start, @End, @RecurrenceRule, @RecurrenceParentID, @Description, @Reminder,@CalendarType,@SavedBy)"
                    UpdateCommand="UPDATE [EventCalendar] SET [Subject] = @Subject, [Start] = @Start, [End] = @End, [RecurrenceRule] = @RecurrenceRule, [RecurrenceParentID] = @RecurrenceParentID, [Description] = @Description,[SavedBy]=@SavedBy WHERE [ID] = @ID">
                    <UpdateParameters>
                        <asp:Parameter Name="ID" Type="Int32"></asp:Parameter>
                        <asp:Parameter Name="Subject" Type="String"></asp:Parameter>
                        <asp:Parameter Name="Description" Type="String"></asp:Parameter>
                        <asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
                        <asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
                        <asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
                        <asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
                        <asp:Parameter Name="Reminder" Type="String"></asp:Parameter>
                        <asp:Parameter Name="SavedBy" Type="String"></asp:Parameter>
                    </UpdateParameters>
                    <InsertParameters>
                        <asp:Parameter Name="Subject" Type="String"></asp:Parameter>
                        <asp:Parameter Name="Description" Type="String"></asp:Parameter>
                        <asp:Parameter Name="Start" Type="DateTime"></asp:Parameter>
                        <asp:Parameter Name="End" Type="DateTime"></asp:Parameter>
                        <asp:Parameter Name="RecurrenceRule" Type="String"></asp:Parameter>
                        <asp:Parameter Name="RecurrenceParentID" Type="Int32"></asp:Parameter>
                        <asp:Parameter Name="Reminder" Type="String"></asp:Parameter>
                        <asp:Parameter Name="SavedBy" Type="String"></asp:Parameter>
                        <asp:Parameter Name="Calendartype" Type="String"></asp:Parameter>
                    </InsertParameters>
                    <SelectParameters>
                        <asp:Parameter Name="Calendartype" Type="String"></asp:Parameter>
                    </SelectParameters>
                </asp:SqlDataSource>
 
        </td>

    </tr>
</table>

 

 

 

Veselin Tsvetanov
Telerik team
 answered on 27 Dec 2016
1 answer
151 views

Hi,

We have upgraded our existing .NET application from .NET 2.0 to .NET 4.5.2. As part of this upgrade, we have upgraded the Telerik controls as well. The Grid which is upgraded, ie the RadGrid has the following features which are not working as earlier.

1. The sorting is not working  properly. The records are getting sorted only in ascending order, descending order sorting is not working at all. Even while sorted in ascending order, when moved to the next page, the sorting is not getting applied. If I click on the column header for sorting, it moves to the first page and shows those records alone as sorted.

2. Pagination is not working properly. When the next page button is clicked, it moves only till second page. After that, how many ever times, the next page is clicked, it remains  in second page only. Where if i select on a particular page, say 4, it moves to the fourth page correctly. If i click next page after that, it again moves back to the second page and stays there.

Requesting suggestions to fix this issue at the earliest. Let me know if you require any further details.

P.S: I have implemented NeedDataSource event handler as well for binding the data already.

Regards,

Santhosh.

Konstantin Dikov
Telerik team
 answered on 27 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?