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

We have had problems with RadAsyncUpload in IE11 where it will give a yellow dot and freezes when uploading files.  This has been happening since our users started using IE11 (on Windows 8.1).  Previously they used 10 without issue.

This does not happen if we direct them to Chrome.  The only way around it we have found is to turn off the FileApi Module for IE.  We do utilize drag and drop so when that module is disable that functionality is lost.  I am using the latest version of the controls 2016 Q1.

I also tried to emulate IE10, but that does NOT solve the issue.  We run with ie=edge meta tag.

The problem is intermittent and I have not been able to reproduce it myself.  I have seen some similar threads on problems like this including this one: http://www.telerik.com/forums/radasyncupload-1fc6f6296712

Is there any kind of known issue or workaround?  It is difficult to troubleshoot given the intermittent nature.

<telerik:RadAsyncUpload  Skin="Default" OnClientFilesUploaded="saverecord" ID="faupload" runat="server"
        MultipleFileSelection="Automatic" TargetFolder="\\xxxxxx\xxxxxx"
        Width="221px" PostbackTriggers="bSave,bSave2" 
        DropZones="#DropZone2">
    </telerik:RadAsyncUpload>

Veselin Tsvetanov
Telerik team
 answered on 14 Apr 2016
4 answers
442 views
Hey guys,

I want to check if the different radwizard steps are valid using their validation group.

The problem that I am having is since I have RenderedSteps="Active", the other steps are not being shown and I cannot use Page.Validate.

Example:

I have four Steps: Step0, Step1, Step2,Step3

I am currently in step0 and click on the navigation bar to go to Step3

        public void radwizardControl_NavigationBarButtonClick(object sender, Telerik.Web.UI.WizardEventArgs e)
        {
            //We're only going to save information if the user is moving forward, not going back
            if (e.CurrentStepIndex < e.NextStepIndex)
            {

                for (int iIterator = e.CurrentStepIndex + 1; iIterator < e.NextStepIndex; iIterator++)
                {
                    Page.Validate(ListOfValidationGroups[iIterator]);
                    if (!Page.IsValid)
                    {
                       radwizardControl.ActiveStepIndex = iIterator;
                        break;
                    }
                }
           }
       }

But as I said, the problem lies that when I try to validate a group that isn't rendered, Page.IsValid will always return true.


Is there any way around this?

Plamen
Telerik team
 answered on 14 Apr 2016
10 answers
209 views

similar to this thread regarding CSV export - http://www.telerik.com/forums/csv-export-not-exporting-commanditem-template

my CommandItemTemplate looks like below but only the first control(radlabel) appears in the PDF?

<CommandItemTemplate>

            <telerik:RadLabel ID="RadLabel1" runat="server" Text="Statement" Font-Size="X-Large"></telerik:RadLabel>
            <br />
            <telerik:RadLabel ID="lblDate" runat="server"></telerik:RadLabel>
            <br />
            <hr />
            <table width="100%">
                <tr>
                    <td align="left">
                        <telerik:RadLabel ID="lblflname" runat="server" Font-Bold="true"></telerik:RadLabel>
                    </td>
                    <td align="right">
                        <telerik:RadLabel ID="lblpractLFNAME" runat="server"></telerik:RadLabel>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        <telerik:RadLabel ID="lblClientAddress1" runat="server"></telerik:RadLabel>
                    </td>
                    <td align="right">
                        <telerik:RadLabel ID="lblPractAddress1" runat="server"></telerik:RadLabel>
                    </td>
                </tr>
                <tr>
                    <td align="left">
                        <telerik:RadLabel ID="lblClientAddress2" runat="server"></telerik:RadLabel>
                    </td>
                    <td align="right">
                        <telerik:RadLabel ID="lblPractAddress2" runat="server"></telerik:RadLabel>
                    </td>
                </tr>
            </table>
        </CommandItemTemplate>

Konstantin Dikov
Telerik team
 answered on 14 Apr 2016
2 answers
176 views

I have a RadWizard control in my RadGrid FormTemplate. I have controls in the Wizard steps bound to the grid data source.

How can I get the Wizard Finish button to save changes in the form? 

Normally I would assign a CommandName "Update" to a button in the FormTemplate but here I can't find a way of doing that on the Finish button in the wizard.

Another way, I tried to handle the Finish button clicked event but it doesn't seem to work:

        protected void wizPlan_FinishButtonClick(object sender, WizardEventArgs e)
        {
            this.grPlans.MasterTableView.PerformUpdate((sender as RadWizard).NamingContainer as GridEditFormItem);
        }

 

Plamen
Telerik team
 answered on 14 Apr 2016
7 answers
173 views
I'm asking about the "resource view" of the calendar ("groupby").

Let's say Dr Jones is the 1st column, Dr Smith the 2nd and Dr Leroy the 3rd.  If Dr Jones only works from 3pm to 5pm how do I gray out the "off-times" for HIM ONLY (his column only)?

I store all the work hours for the people in a seperate table.

Also, how do I customize the TITLE of the column?  For example change "Dr Jones" to "Dr Jones MD"?
Nencho
Telerik team
 answered on 14 Apr 2016
1 answer
151 views

Hi Telerik Team,

Pls, I have some issues - see attached image.

1. When I edit a task in a window, how to translate the text "Assign"?

2. When I edit % complete in a row or in a window, how to change for spinbutton increase one by one, 1% until 100%?

3. In gantt header how to change the date format to "dom 03/4 - sáb 16/4"?

 

Thanks, Daniel

Nencho
Telerik team
 answered on 14 Apr 2016
1 answer
118 views
We are using Telerik Web UI component version 2015.1.310.40

We have below issue while posting the message in RadEditor, we are validating and restricting the characters up to 2000 character.

Issue 1: We are losing the format while pasting the text from WordPad where it is working from MS-Word

Issue 2: There were some issues while validating the count (number of character) when keying and pasting, is there any defined method to use?

<telerik:RadEditor EditModes="Design" ID="txtMessage" OnClientLoad="OnClientLoad"
                                                            CssClass="radEMailDiv" runat="server" BackColor="White" EnableResize="false"
                                                           StripFormattingOnPaste="MSWord" OnClientCommandExecuted="getCount">

Please suggest the solution to be used.
Ianko
Telerik team
 answered on 14 Apr 2016
1 answer
222 views

I need to use the following ItemTemplate for styling reasons, however ClickToOpen="true" does not work. What needs to be added in order for ClickToOpen to work properly? If I remove the ItemTemplate block it works as expected.

<telerik:RadMenu ID="RadMenu1" runat="server" ClickToOpen="true" Skin="Bootstrap">
    <Items>
        <telerik:RadMenuItem Text="Item 1">
            <ItemTemplate>
                <div class="caption">
                    <a href="#"><span><i></i>Item 1</span></a>
                </div>
            </ItemTemplate>
            <Items>
                <telerik:RadMenuItem Text="Sub Item 1"></telerik:RadMenuItem>
                <telerik:RadMenuItem Text="Sub Item 2"></telerik:RadMenuItem>
                <telerik:RadMenuItem Text="Sub Item 3">
                    <Items>
                        <telerik:RadMenuItem Text="Sub Sub Item 1"></telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Sub Sub Item 2"></telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Sub Sub Item 3"></telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="Item 2">
            <ItemTemplate>
                <div class="caption">
                    <a href="#"><span><i></i>Item 2</span></a>
                </div>
            </ItemTemplate>
            <Items>
                <telerik:RadMenuItem Text="Sub Item 1"></telerik:RadMenuItem>
                <telerik:RadMenuItem Text="Sub Item 2"></telerik:RadMenuItem>
                <telerik:RadMenuItem Text="Sub Item 3">
                    <Items>
                        <telerik:RadMenuItem Text="Sub Sub Item 1"></telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Sub Sub Item 2"></telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Sub Sub Item 3"></telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenuItem>
    </Items>
</telerik:RadMenu>

Veselin Tsvetanov
Telerik team
 answered on 14 Apr 2016
1 answer
98 views

Hi, 

 

I am  new to Kendo and I am facing a very confusing problem that i cant solve.

 

I have a grid which contains 5 columns like so - RoleName, Description, isActive, isDeleted, Action.

Now i have validation just on the RoleName Column.

 

My issue is, I should not let the user Input duplicate RoleName on edit or on creating a new record. For example, RoleName = Admin already exists on the grid and when the user creates a new record he shouldn't be able to enter Admin again, i got this part to work however when the user edits the already existing row which contains "Admin" as the rolename and changes isActive, the validation fires again telling Admin already exists and i cant edit that row. How do i fix this?

 

fields: {
                            Id: { type: "number", editable: false },
                            RoleName: {
                                type: "string",
                                validation: {
                                    required: true,
                                    validateOnBlur: false,
                                    rolenameValidation: function (input) {
                                        if (input.is("[name='RoleName']") && input.val() !== "" && NetAppAssetRecoveryRoleAdminMethods.IfRoleNameExists(input.val())) {
                                            input.attr("data-rolenameValidation-msg", "Role Name already exists");
                                            return false;
                                        }
                                        else if (NetAppAssetRecoveryRoleAdminMethods.IfRoleNameExists(input.val()) == undefined)
                                        {
                                            input.attr("data-rolenameValidation-msg", "Role Name can contain only characters");
                                            return false;
                                        }
                                        return true;
                                    }
                                }
                            },.....
...............
...............

 

Konstantin Dikov
Telerik team
 answered on 14 Apr 2016
1 answer
99 views

I am needing to change the duration into the timeslote created event as I am using that to show holidays but i see in the event the duration is readonly when i access that is their anyway to change that at all please.

 

01.protected void apertureAppointments_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
02.      {
03.          int i = 0;
04.          bool isFound = false;
05.          List<tblApertureNetShiftPattern> _list = new List<tblApertureNetShiftPattern>();
06.          _list = _dal.getHolidays();
07.          List<Resource> resources = new List<Resource>(apertureAppointments.Resources.GetResourcesByType("Managers"));
08.          Resource res = resources[5];
09. 
10.          foreach (tblApertureNetShiftPattern sp in _list)
11.          {
12.              if (_list.Count >= 1)
13.                  i++;
14.              else
15.                  i = 0;
16. 
17.              DateTime dt1 = Convert.ToDateTime(_list[i - 1].startdate);
18.              DateTime dt2 = Convert.ToDateTime(_list[i - 1].endDate);
19. 
20.              TimeSpan span = dt2.Subtract(dt1);
21.              if (e.TimeSlot.Start == dt1 && e.TimeSlot.Resource.Text == sp.manager_name)
22.              {
23.                  isFound = true;
24.                  if (DoDateRangesOverlap(e.TimeSlot.Start, e.TimeSlot.End, dt1, dt2) && isFound == true)
25.                  {
26.                      Label temperatureLabel = new Label();
27. 
28.                      if (sp.appointmentType == Constants.shiftDayoff)
29.                      {
30.                          e.TimeSlot.CssClass = "DayOfCssStyle";
31.                          temperatureLabel.CssClass = "DayOfCssStyle";
32.                          temperatureLabel.Text = sp.Description;
33.                      }
34.                      else if (sp.appointmentType == Constants.shiftHoliday)
35.                      {
36.                          e.TimeSlot.CssClass = "HolidayCssStyle";
37.                          temperatureLabel.CssClass = "HolidayCssStyle";
38.                          temperatureLabel.Text = sp.Description;
39.                      }
40.                      else if (sp.appointmentType == Constants.shiftStat)
41.                      {
42.                          e.TimeSlot.CssClass = "statCssStyle";
43.                          temperatureLabel.CssClass = "statCssStyle";
44.                          temperatureLabel.Text = sp.Description;
45.                      }
46.                      else if (sp.appointmentType == Constants.shiftsickDay)
47.                      {
48.                          e.TimeSlot.CssClass = "SickDayStyle";
49.                          temperatureLabel.CssClass = "SickDayStyle";
50.                          temperatureLabel.Text = sp.Description;
51.                      }
52.                      else
53.                          temperatureLabel.Text = "OCCUPIED";
54. 
55.                      Image imageControl = new Image();
56. 
57.                      imageControl.ImageUrl = @"~\images\aperturenet\Calendar\resources\holidays.png";
58. 
59.                      temperatureLabel.BackColor = System.Drawing.Color.Orange;
60. 
61.                      e.TimeSlot.Control.Controls.AddAt(1, temperatureLabel);//add the image
62.                      e.TimeSlot.Control.Controls.AddAt(2, imageControl);
63.                  }
64.              }
65.          }
66.      }

Veselin Tsvetanov
Telerik team
 answered on 14 Apr 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?