Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
121 views

Hello,

When I change the skin of a RadFilter to "Material", the button images disappear only if the RadFilter is nested within a RadPanelBar. The Lightweight render mode is applied system-wide along with the skin via web.config. I have attached an image showing the issue. Any ideas what I am doing wrong? The button images appear when I take the RadFilter out of the RadPanelBar. Here is a snippet.

 

<telerik:RadPanelBar ID="pbrAdvSearch" runat="server" Width="100%" ExpandMode="MultipleExpandedItems"
                   RenderMode="Lightweight">
                   <Items>
        <telerik:RadPanelItem Expanded="True" Text="Categories">
                           <ContentTemplate>
                               <p>
                                   To search by category, click the <strong>Add Category</strong> button. Search for multiple categories by clicking this button again. If your multi-category search requires all categories to exist, select <strong>AND</strong>; otherwise, select <strong>OR</strong>.
                               </p>
                               <br />
                               <telerik:RadFilter RenderMode="Lightweight" runat="server" ID="rfCategories"
                                   ExpressionPreviewPosition="Bottom" ShowApplyButton="true" AddExpressionToolTip="Add a Category">
                                   <FieldEditors>
                                       <customEditors:TreeFieldEditor FieldName="Category" DataTextField="CategoryDesc"
                                           DataValueField="CategoryID" DataFieldID="CategoryID" DataFieldParentID="Parent" />
                                   </FieldEditors>
                               </telerik:RadFilter>
                           </ContentTemplate>
                       </telerik:RadPanelItem>                   
                   </Items>
               </telerik:RadPanelBar>

 

Eyup
Telerik team
 answered on 20 Mar 2020
1 answer
139 views

I have a radmenu in a template column. When clicking on one in a row then clicking on another is a different row the first one does not close.

See attached.

Rumen
Telerik team
 answered on 20 Mar 2020
3 answers
258 views

Hi,

   I would like to be able to format tooltip. For example ability to create multiple lines and bold some of the text

   Is it possible?

 

Thank you

David

Vessy
Telerik team
 answered on 19 Mar 2020
1 answer
1.7K+ views

Hello. I'm testing MultiColumnComboBox and when loading the page I get "Uncaught TypeError: Cannot read property 'wrapper' of undefined" error. This is with CDN disabled. When I turn CDN on, everything runs OK. Telerik UI is updated to 2020 1 219 version. What am I missing or need to upgrade? I can't have CDN enabled on production server.

The exception happends in Telerik.Web.UI.WebResource.axd in c.RadMultiColumnComboBox._initializeKendoWidget:

K.kendoWidget=a(K._element).kendoMultiColumnComboBox(J).getKendoMultiColumnComboBox(); <-------- here the K.kendoWidget is undefined
var I=$telerik.$("#"+K.get_clientStateFieldID());
if(I){K.kendoWidget.wrapper.append();
 <-------- here it crashes

 

Peter Milchev
Telerik team
 answered on 19 Mar 2020
1 answer
85 views
Are you planning to have Sharepoint online as a CloudUpload ProviderType?
Rumen
Telerik team
 answered on 19 Mar 2020
5 answers
203 views

Hi there,

 

We currently have a setup where we have a RadEditor control embedded into a user control (.ascx). This user control is then embedded into the content template of a RadWindow control that is not visible by default. The user clicks a button, and we have it set up to where the RadWindow pops up and the RadEditor control is fully functioning. 

As is today, the setup works perfectly except for one issue: performance.

Using the network monitor, we've noticed that page loads and postbacks take anywhere between 900 ms to 1.4 seconds. If we take the RadEditor completely out of the code, this performance improves to 100ms to 200ms page loads and pstbacks.

So my question is are there any known performance issues regarding the RadEditor control inside of a RadWindow control?

 

For reference we are referencing Telerik.Web.UI.dll version 2019.2.514.45

Rumen
Telerik team
 answered on 19 Mar 2020
8 answers
375 views
Hi,
I have ajaxed radgrid component (with EditFormSettings) that need to postback on specific case.
The radgrid contains GridButtonColumn object when clicked it creates excel file and send it through httpresponse.
I thought I solve the problem by register the buttons at radgrid ItemCreated event
this is the code:

    protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) 
    { 
        //register all buttons that exports excel files 
        if (e.Item is GridDataItem) 
        { 
            GridDataItem gridItem = e.Item as GridDataItem; 
            try 
            { 
                TableCell buttonTc = gridItem["exportButton"]; 
                ControlCollection controls = buttonTc.Controls; 
                foreach (Control button in controls) 
                { 
                    ScriptManager.GetCurrent(this.Page).RegisterPostBackControl(button); 
                } 
            } 
            catch (Exception) { return; } 
        } 
    }  

it works perfectly till someone opens the EditFormSettings (by clicking on a row).
after that, it looks like the buttons were somehow unregistered and became ajax again, which means no excel file will open.

Is there a solution for this?

thanks.

Eyup
Telerik team
 answered on 18 Mar 2020
4 answers
200 views
This is the message Box I receive. Maybe the filename is too long?

Many thanks.

---------------------------
Microsoft Visual Studio
---------------------------
Impossibile installare l'estensione perché si è verificato il seguente errore:

C:\Documents and Settings\Nicola\Impostazioni locali\Dati applicazioni\Microsoft\VisualStudio\10.0\Extensions\Telerik\Telerik WebUI VSExtensions\2011.3.1125.0\ProjectTemplates\Telerik\Web\TlrkASPNETAJAXCSWebSiteTk.zip: TlrkASPNETAJAXCSWebSiteTk.vstemplate
---------------------------
OK   
---------------------------

Nikolay Mishev
Telerik team
 answered on 18 Mar 2020
2 answers
103 views

Hi all,

I have 2 resource types in my scheduler that need to be multi-select: Student Group & Room. I've implemented Student Group as per the MultipleValuesResourceControl from the demo using a DBProvider & all is working fine.

However, I'm attempting to show Rooms as a RadGrid because I need to show room number, description, capacity & room type, which is rather too long to concatenate into a list item. The RadGrid is showing the rooms correctly & on sample appointments where I've pre-populated the rooms in the database they are being ticked/selected correctly - although I had to move that into ItemDataBound.

When stepping through the code I can see that the data key values are being pulled from the grid into the array & into ResRoom.Value; however the resource doesn't get attached to the appointment. When the SchedulerDBProvider is reached for insert or update only student groups are in the resource list.

 Is this due to the javascript? I saw that AdvancedForm.js only handles multi-valued resources as checkboxes & modified as below, but still have the issue.

01.this._scheduler.get_resourceTypes().forEach(function (resourceType) {
02.    var resourceTypeName = resourceType.get_name();
03.    var baseName = template._templateId + "_Res" + resourceTypeName + resourceControlSuffix;
04.    var resourcesOfThisType = schedulerResources.getResourcesByType(resourceTypeName);
05.                          
06.    if (resourceType.get_allowMultipleValues()) {
07.        if (resourceTypeName = "Room") {
08.            var masterTable = $find(baseName).get_MasterTableView();
09.            var items = masterTable.get_dataItems();
10.            if (items.length > 0)
11.                apt.get_resources().removeResourcesByType(resourceTypeName);
12. 
13.            for (var i = 0; i < count.length; i++) {                                   
14.                if (items[i].selected && resourcesOfThisType.get_count() >= i) {                                      
15.                    apt.get_resources().add(resourcesOfThisType.getResource(i));
16.                }
17.            };
18.        }
19.        else {
20.            var checkBoxes = $(String.format("input[id*='{0}']", baseName), this._formElement);
21. 
22.            if (checkBoxes.length > 0)
23.                apt.get_resources().removeResourcesByType(resourceTypeName);
24. 
25.            for (var i = 0; i < checkBoxes.length; i++) {
26.                if (checkBoxes[i].checked && resourcesOfThisType.get_count() >= i)
27.                    apt.get_resources().add(resourcesOfThisType.getResource(i));
28.            };
29.        }
30.    }

I'm using SchedulerDBProvider rather than a WebService

thanks,

Ellie

Peter Milchev
Telerik team
 answered on 17 Mar 2020
1 answer
65 views

Hi all,

My timetabling system needs to have an "allowed clash" functionality. This is because it's storing timetables per course, but some classes (e.g. maths) are shared between courses. So rather than detecting & preventing clashes on insert/update I need to go to a clash resolution section.

The preferred design from the specification would be to have a 2nd tab on the advanced insert/update form appear after clash validation, but we could also go with a new pop-up appearing after the appointment is saved.

My actual questions:

- would the advanced form support a multi-tab functionality?

- is there an AfterInsert / AfterUpdate event handler - i can only see handlers that fire before the SchedulerDBProvider talks to the database

Thanks,

Ellie

Peter Milchev
Telerik team
 answered on 17 Mar 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?