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

Hi,

I am using the aggregates context menu to allow the user to choose their own aggregate functions, however, 1 particular column should not allow aggregation as each row is potentially showing a value in a different currency.

Is there any way that I can disable aggregates for this column only? There doesn't appear to be any column setting relating to this.

Thanks in advance,
Mike.

Mike
Top achievements
Rank 2
 answered on 02 Nov 2016
2 answers
454 views

Hi, I'm modifying an old VS project, it uses .net 2.0 and I normally add my telerik RadComboBox and there is no problems...

The thing is that in a different PC, there is an error, the other PC has the same telerik version and the same visual studio version, this is the error:

Assembly 'Telerik.Web.UI, Version=2016.2.607.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 

Then I researched and I realized about the project being in the past in .net 2.0 and I guess that for the future all references to old System.Web.Extensions and lower  .net should be replaced with newer versions, but the thing is that I don't get why in my PC i don't get the error and in other PCs the error is there even if I add the telerik control in those PCs, i.e., if I go with the project to other PC and add the telerik RadComboBox there, I get the error anyway...

I'ts kind of weird, please any help or at least some explanation.

Thanks in advance.

Francisco
Top achievements
Rank 1
 answered on 02 Nov 2016
1 answer
191 views

Using the following in Footer, but the menu expands down not up:

<telerik:RadMenu runat="server" ID="FooterNavMobile" RenderMode="Mobile" Skin="BlackMetroTouch" DefaultGroupSettings-ExpandDirection="Up">
                        <Items>
                         <telerik:RadMenuItem Text="advertise" NavigateUrl="advertise" Value="advertise" />
                                <telerik:RadMenuItem Text="contact us" NavigateUrl="help/contactus" Value="contactus"/>
                                <telerik:RadMenuItem Text="feedback" NavigateUrl="help/feedback" Value="feedback"/>
                                <telerik:RadMenuItem Text="help" NavigateUrl="help/contactus" Value="help" />
                            <telerik:RadMenuItem Text="terms & conditions" NavigateUrl="help/termsandconditions" Value="conditions" />
                             <telerik:RadMenuItem Text="privacy policy" NavigateUrl="help/privacypolicy" Value="privacypolicy" />
                             <telerik:RadMenuItem Text="disclaimer" NavigateUrl="help/disclaimer" Value="disclaimer" />
                        </Items>
            </telerik:RadMenu>
Peter Milchev
Telerik team
 answered on 02 Nov 2016
3 answers
616 views
Good morning, if I try to open my site with Firefox I get several error messages that do not lock the site:

Empty string passed to getElementById().

on the file Telerik.Web.UI.WebResource.axd:2340:24422.

How can I fix it?

Thanks in advance
Viktor Tachev
Telerik team
 answered on 02 Nov 2016
1 answer
212 views

Hello,

I have some interesting problem with RadGrid.

My Rad grid has export buttons (CSV, Excel etc).

Clicking them invokes ItemDataBound event handler attached to the RadGrid.

protected void rgManagementSummaryReport_ItemDataBound(object sender, GridItemEventArgs e)
{
    if ((e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem) && e.Item.DataItem != null)
    {
                      Button btnPreview = (Button)gdi.FindControl("btnPreview");
    }
}

 

I have following template column. Initially it had RadButton btnSearch instead of Button btnSearch. It appears that FindControl("btnSearch") would only find asp.net built in Button but not RadButton. I looked at Controls collection of Preview column and saw that it only had my HyperLink and some Literal ones. That's why I had to swith to a regular Button. But our ueb site's pages utilize RadControls everywhere so I would like to be able to return RadButton there and make it find.

Btw regular RadGrid databinding works ok and RadButton is found there as always, so it must be something releated to these Export buttons.

Thanks

    <telerik:GridTemplateColumn UniqueName="Preview">
<ItemTemplate>
<%--   <telerik:RadButton ID="btnPreview" runat="server" Visible="false" Text="Preview" OnClick="btnPreview_Click">
                            <Icon PrimaryIconCssClass="rbConfig"></Icon>
 </telerik:RadButton> --%>
<asp:Button OnClick="btnPreview_Click" runat="server" ID="btnPreview" Text="Preview" Visible="false" />
<asp:HyperLink ID="hlReportView" runat="server" Visible="false" Target="_blank">View Report</asp:HyperLink>
 </ItemTemplate>
 </telerik:GridTemplateColumn>

Eyup
Telerik team
 answered on 02 Nov 2016
1 answer
58 views

I want to create linked textboxes which I show in the attached picture with red marked. Can anyone give me any suggestion for how do such kind of textboxes.

Thanks in advance.

Konstantin Dikov
Telerik team
 answered on 02 Nov 2016
1 answer
224 views

If I have a RadGrid which has a column that can have A, B, C or blank displayed in the column and I enable it to be a filtered column with a check box. 

Can I assign a value to value to show up in the popup menu for blanks?

so for example instead of

[ ]

[ ] A

[ ] B

[ ] C

I would see the menu displayed as

[ ] Empty

[ ] A

[ ] B

[ ] C

 

 

Eyup
Telerik team
 answered on 02 Nov 2016
2 answers
142 views

Hi Telerik!

I have a radWizard I'm using, and one of the wizardSteps has a user control which uses several Bootstrap modals.

Everything works wonderfully on PC, Android, etc - except iPad. When the page is loaded on an iPad, the wizard changes to rendermode="mobile", that all works fine.

However, when I launch any Bootstrap modal whose code is within a wizardStep, the screen is disabled and the content is shown only within the radstep content container (see photo).

Again, this only happens on iPad - works fine on everything else.

My code is structured like this:

Page pseudocode:
 
<radWizard>
    <radStep>
        content
    </radStep>
 
    <radStep>
        <myUserControl>
        </myUserControl>
    <radStep>
 
    <radStep>
        content
    </radStep>
<radWizard>
 
 
 
 
myUserControl pseudocode:
 
 
<myUserControl>
    <button>Show Bootstrap Modal</button>
     
    <div id='bootstrapModal' class='modal'>
        My modal content
    </div>
 
</myUserControl>

 

iPad iOS version: 10.1

Thank you!

 

Veselin Tsvetanov
Telerik team
 answered on 02 Nov 2016
3 answers
107 views

I am using radTreeView with server side postback. The tree has 2 levels.

I have implemented scrolling functionality on the treeView so that the tree automatically scrolls to a particular node when the page loads.

So in cases when there are large number of nodes (1000), the page is slow to load and many times the mouse click does not trigger the OnClicked event. 

So if the page is refreshed, the tree does not scroll to that particular node.

 

How can I improve the performance of the radTreeView using server side postbacks only ?

Ivan Danchev
Telerik team
 answered on 02 Nov 2016
15 answers
556 views
Hello,

I am using RadScheduler in ASP.NET MVC - WebService binding. I am setting culture in OnLoad event, but this setting is reverted to English culture after some time (usually 2-3s). I observed, that it happens after my SchedulerProvider method GetAppointments(RadScheduler owner) is called, but not sure.
Do You have any clue what is wrong with that?I am stuck on this for a while.

Thank You

Here is my sample code:

<script runat="server">  
protected override void OnLoad(EventArgs e) 
    { 
       
        // Set appropriate culture for calendar 
        RadScheduler1.Culture = CRM.Web.Code.Globalization.GlobalizationManager.CurrentUICulture; 
         
      
        // Set first and last day of a week 
        switch (RadScheduler1.Culture.ToString()) 
        { 
            case "en-US": 
                RadScheduler1.FirstDayOfWeek = DayOfWeek.Sunday; 
                RadScheduler1.LastDayOfWeek = DayOfWeek.Saturday; 
                break; 
            default: 
                RadScheduler1.FirstDayOfWeek = DayOfWeek.Monday; 
                RadScheduler1.LastDayOfWeek = DayOfWeek.Sunday; 
                break; 
        } 
 
        RadScheduler1.ShowAllDayRow = Model.ShowAllDayEvents; 
        RadScheduler1.WorkDayStartTime = Model.WorkDayStartTime; 
        RadScheduler1.WorkDayStartTime = Model.WorkDayEndTime; 
        RadScheduler1.DayStartTime = Model.DayStartTime; 
        RadScheduler1.DayEndTime = Model.DayEndTime; 
 
 
        // Export iCalendar 
        SchedulerAppointmentContextMenu.Items[0].Text = "ExportICalendar".GetLocalizedGlobal(); 
 
        // Delete 
        SchedulerAppointmentContextMenu.Items[2].Text = "Delete".GetLocalizedGlobal(); 
        base.OnLoad(e); 
        
    } 
    public override void VerifyRenderingInServerForm(Control control) 
    { 
 
    } 
</script> 
   <telerik:RadCodeBlock runat="server" ID="InitialScriptCodeBlock1"
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"  
            EnableScriptGlobalization="true" /> 
 
            <telerik:RadScheduler runat="server" ID="RadScheduler1" AllowDelete="false" AllowEdit="true" RowHeight="16px"   
                AllowInsert="false" MinutesPerRow="15" StartEditingInAdvancedForm="false" StartInsertingInAdvancedForm="false" 
                OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick" OnClientTimeSlotClick="OnClientTimeSlotClick" OnClientAppointmentWebServiceUpdating="" 
                OnClientAppointmentDeleting="OnClientAppointmentDeleting" OnClientAppointmentDataBound="OnClientAppointmentDataBound" 
                Height="900px" OnClientAppointmentEditing="OnClientAppointmentEditing" OnClientAppointmentContextMenuItemClicked="appointmentContextMenuItemClicked" 
                SelectedView="WeekView" DayHeaderDateFormat="dddd, dd MMMM yyyy" HoursPanelTimeFormat="HH:mm"
                <AppointmentContextMenus> 
                    <%--The appointment context menu interaction is handled on the client--%> 
                    <%--See the JavaScript code above--%> 
                    <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu"
                        <Items> 
                            <telerik:RadMenuItem Text="Export iCalendar" Value="GenerateVCal" ImageUrl="~/Content/Images/Icons/iCalendar16.png" /> 
                            <telerik:RadMenuItem IsSeparator="True" /> 
                            <telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="~/Content/Images/DataEditing/Delete.gif" 
                                Enabled="True" /> 
                        </Items> 
                    </telerik:RadSchedulerContextMenu> 
                </AppointmentContextMenus> 
                <TimelineView GroupBy="Calendar" GroupingDirection="Vertical" /> 
               
                <AdvancedForm Enabled="false" EnableResourceEditing="false" /> 
                <WebServiceSettings Path="~/Models/SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" /> 
            </telerik:RadScheduler> 
        
    </telerik:RadCodeBlock> 
 
Anton
Telerik team
 answered on 02 Nov 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?