Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
1.0K+ views

Hi Support,

We are using licensed version of Telerik UI for ASP.NET AJAX.

Telerik.Web.UI and Telerik.Web.UI.Skins with version  "2014.3.1209.45".

We are planning to upgrade our .Net framework to 4.7 ( to the latest framework).

Currently we are using .Net framework 4.5., and the above mentioned Telerik dlls.

How can we upgrade telerik dlls to the latest? Which is the latest version of  Telerik UI for ASP.NET AJAX, which will support .Net latest version ?

Will there be any impact if we upgrade to latest version ? 

In the application, we use RadGrid, RadButton, AjaxManager etc..

 

Please let us know.

 

Thanks,

Sangeetha

Rumen
Telerik team
 answered on 27 Mar 2019
1 answer
494 views

Hi guys,

I tried to fix a defect in application. Durning investigation I found out that in js fails on that line

$create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":0,"_isTemplated":true,"_maxHeight":100,"_skin":"Default","_text":"LE Value1,LE Value2,LE Value3","_uniqueId":"ctl00$DefaultContent$CaseDetailsControl_3$mscCaseType$ddlComboBox","allowCustomText":true,"clientStateFieldID":"ctl00_DefaultContent_CaseDetailsControl_3_mscCaseType_ddlComboBox_ClientState","collapseAnimation":"{\"duration\":450}","expandAnimation":"{\"duration\":450}","filter":2,"highlightTemplatedItems":true,"itemData":[{"text":"LE Value1","value":"103"},{"text":"LE Value2","value":"20002"},{"text":"LE Value3","value":"320"}]}, {"dropDownClosed":LaunchPostback_ctl00_DefaultContent_CaseDetailsControl_4_mscCaseType}, null, $get("ctl00_DefaultContent_CaseDetailsControl_3_mscCaseType_ddlComboBox"));

 

In js consol I can see an error.

Uncaught ReferenceError: LaunchPostback_ctl00_DefaultContent_CaseDetailsControl_4_mscCaseType is not defined
    at Array.<anonymous> (CaseDashboard.aspx?C...tionStack=true:1152)
    at Telerik.Web.UI.WebRe...cacbc31:6
    at Sys._Application._raiseInit (Telerik.Web.UI.WebRes...4cacbc31:6)
    at Sys._Application.initialize (Telerik.Web.UI.WebRe...cacbc31:6)
    at b (Telerik.Web.UI.WebRe...cacbc31:6)
    at HTMLDocument.a (Telerik.Web.UI.WebRes...cacbc31:6)

 

I played around to find the solution. The thing which I found out and works is that:

 

$create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":0,"_isTemplated":true,"_maxHeight":100,"_skin":"Default","_text":"LE Value1,LE Value2,LE Value3","_uniqueId":"ctl00$DefaultContent$CaseDetailsControl_3$mscCaseType$ddlComboBox","allowCustomText":true,"clientStateFieldID":"ctl00_DefaultContent_CaseDetailsControl_3_mscCaseType_ddlComboBox_ClientState","collapseAnimation":"{\"duration\":450}","expandAnimation":"{\"duration\":450}","filter":2,"highlightTemplatedItems":true,"itemData":[{"text":"LE Value1","value":"103"},{"text":"LE Value2","value":"20002"},{"text":"LE Value3","value":"320"}]}, {"dropDownClosed":"LaunchPostback_ctl00_DefaultContent_CaseDetailsControl_4_mscCaseType"}, null, $get("ctl00_DefaultContent_CaseDetailsControl_3_mscCaseType_ddlComboBox"));

 

I added quote to name of control which is probelby not defined and app works!

I found that solution: https://www.telerik.com/forums/telerik-web-ui-radcombobox-undefined-in-the-version-2015-2-623-45 

I don't want to use that solution, because we use  only once in the application and it is so generic, that app pages use this RadScriptManager. I have no idea what influence will have that change on the whole app.

 

Peter Milchev
Telerik team
 answered on 26 Mar 2019
1 answer
148 views

Hi I am trying to select the Multiple nodes in rad Treeview by setting the Boolean Property MultipleSelect="true".

 

I can able to select the multiple node by pressing "Ctrl + click".

 

But i am not able to deselect the nodes by pressing "Ctrl + click".

 

I got from telerik tutorial like this

https://docs.telerik.com/devtools/aspnet-ajax/controls/treeview/accessibility-and-internationalization/multi-node-selection

 

Currently we are using licensed telerik 2014 version.

 

Please let me know your inputs on this.

 

 

Peter Milchev
Telerik team
 answered on 26 Mar 2019
4 answers
336 views

After updating to the 2018.3.910-release the markers on the map seem to be placed quite a bit off from where I clicked with the mouse. 

(Attatched files show location of mouse click with a small red dot)

Both the 2018.3.910 release and the 2019.1.215 release causes the same error, but when i go back to 2017.1.228 everything seems to be OK.

 

Any idea on what can be done?

 

JavaScript for placing markers:

<script type="text/javascript">
        function SetRadMapMarker(eventArgs)
        {
            eventArgs.sender.markers.add(
            {
                location: eventArgs.location,                              
            });
        }
    </script>

RadMap

            <telerik:RadMap ID="RadMap1" runat="server" Zoom="17">
                <CenterSettings Latitude="42.650613" Longitude="23.379025"/>
                <LayersCollection>
                    <telerik:MapLayer Type="Tile" Subdomains="a,b,c"
                        UrlTemplate="https://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png"                                
                        Attribution="&copy; <a href='http://osm.org/copyright' title='OpenStreetMap contributors' target='_blank'>OpenStreetMap contributors</a>.">
                    </telerik:MapLayer>
                </LayersCollection>
            </telerik:RadMap>

Anders
Top achievements
Rank 1
 answered on 26 Mar 2019
6 answers
287 views

Hi,

I found the following issue navigating through cells on a batch edit mode grid: When you use the up and down keys on a numeric column, the values increases and decreases altering the values in an undesired way.

You can reproduce this on the online demo just clicking a numeric field and pressing key up and down --> Grid Batch Editing

Is this an expected behaviour or something that can be controlled in some way?

Rumen
Telerik team
 answered on 26 Mar 2019
1 answer
233 views

Hello,

I have the following FormTemplate that I am using to update/insert. However, I am having issues attempting to read the values of the control. Can someone please advise on how to read controls best, so that I can add these values to the SQL database? I cannot automatically add the values due to having some conditions before adding. Thank you!

 

   <EditFormSettings EditFormType="Template">     
                <FormTemplate>                   
                    <asp:Label runat="server" Text="Closure Location: " Font-Bold="true">
                        <telerik:RadComboBox ID="ddSiteList" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true">                     
                            </telerik:RadComboBox>                    
                    </asp:Label>
                    <asp:Label runat="server" Font-Bold="true" Text="Order Type">
                        <telerik:RadDropDownList ID="ddType" runat="server" DefaultMessage="Select Order Types">             
                            <Items>                            
                            <telerik:DropDownListItem Text="All Types" Value="0"></telerik:DropDownListItem>
                            <telerik:DropDownListItem Text="Online Only" Value="1"></telerik:DropDownListItem>
                            </Items>
                        </telerik:RadDropDownList>
                    </asp:Label>
                    <asp:Label ID="lblReason" runat="server" Text="Closure Reason: " Font-Bold="true"> 
                        <asp:DropDownList ID="ddReasons" runat="server">
                            <asp:ListItem Text="Please select a reason" Value=""></asp:ListItem>
                        </asp:DropDownList>
                    </asp:Label>   
                    <asp:Label ID="lblFullDay" runat="server" Text="Duration: " Font-Bold="true">
                        <telerik:RadDropDownList ID="ddDuration" runat="server">
                            <Items>
                            <telerik:DropDownListItem Text="Please Select" Value=""></telerik:DropDownListItem>
                            <telerik:DropDownListItem Text="Partial" Value="0"></telerik:DropDownListItem>
                            <telerik:DropDownListItem Text="Full Day" Value="1"></telerik:DropDownListItem>
                            </Items>
                        </telerik:RadDropDownList>
                    </asp:Label>
                    <asp:Label runat="server" Text="Start Time: ">
                        <telerik:RadDateTimePicker RenderMode="Lightweight"  runat="server" ID="timeStart" ></telerik:RadDateTimePicker>
                    </asp:Label>
                    <asp:Label runat="server" Text="End Time: ">
                        <telerik:RadDateTimePicker RenderMode="Lightweight"   runat="server" ID="timeEnd"></telerik:RadDateTimePicker>
                    </asp:Label>
                    <asp:Label ID="lblDescription" runat="server" Text="Closure Reason: ">
                        <telerik:RadTextBox ID="txtDescription" runat="server"></telerik:RadTextBox>
                    </asp:Label>
                    <asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
                        runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'></asp:Button>&nbsp;
                    <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"></asp:Button>                    
                </FormTemplate>
            </EditFormSettings>

 

C# 

  protected void rgClosureList_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
        {
            if (e.CommandName == "PerformInsert")
            {
                if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode))
                {                 
                    RadTextBox ddValue = FindControl("txtDescription") as RadTextBox;
                    string sValue = ddValue.Text;

                  //Open Sql connection and insert values into DB

                }

                if (e.CommandName == "Update")
                {
                  //Open Sql connection and insert values into DB
                }

            }

 

Vessy
Telerik team
 answered on 26 Mar 2019
1 answer
130 views

Hello all,

I'm having a frustrating time with the asyncupload control while using bootstrap.  They apparently do not play well together?

I found the box-sizing css work-around, which does fix the text/button, but I'm having issues with the upload progress/remove controls.

See attached.

 

Any advice or solutions?

Thanks.

Peter Milchev
Telerik team
 answered on 26 Mar 2019
2 answers
275 views

On a website I have a search page where the user will type in key=value pairs.  For example, "Software=SQL" would be a token.  I have the auto complete showing the options as they type.  I want to see if I can via the web service make two tokens as the user types in "software=SQL software=windows"  (Token 1 = "software=SQL" and Token 2="software=windows").  I know they can select from the drop down box to get the token, but I would like to be able to "token" the string as the user types in the string without them needing to select the item from the drop down box.  As the user types in "software=SQL software=windows"  the UI would show a token for "software=SQL" and a 2nd token for "software=windows".  The web service (i.e. server side) will handle the logic to determine on breaking the typed in string into the respective tokens

Peter Milchev
Telerik team
 answered on 26 Mar 2019
2 answers
324 views
Hi,

I have done Radwindow confirm example by following this link :
Using A Custom RadWindow And Its ContentTemplate

<telerik:RadWindowManager runat="server" ID="RadWindowManager1">
    <Windows>
        <telerik:RadWindow ID="rw_customConfirm" Modal="true" Behaviors="Close, Move" VisibleStatusbar="false"
            Width="300px" Height="200px" runat="server">
            <ContentTemplate>
                <div class="rwDialogPopup radconfirm">
                    <div class="rwDialogText">
                        <asp:Literal ID="confirmMessage" Text="" runat="server" />
                    </div>
                    <div>
                        <telerik:RadButton runat="server" ID="rbConfirm_OK" Text="OK" OnClick="rbConfirm_OK_Click">
                        </telerik:RadButton>
                        <telerik:RadButton runat="server" ID="rbConfirm_Cancel" Text="Cancel" OnClientClicked="closeCustomConfirm">
                        </telerik:RadButton>
                    </div>
                </div>
            </ContentTemplate>
        </telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>
<asp:Button ID="Button4" Text="call the RadConfirm" OnClick="Button4_Click" runat="server" />
<script type="text/javascript">
    function closeCustomConfirm()
    {
        $find("<%=rw_customConfirm.ClientID %>").close();
    }
</script>

It''s working fine. but rbConfirm_OK_Click event is calling at page refresh also.. I want call this event only once that is click on confirm button (OK).. Please help me to solve this..

Pranitha Jugge
Top achievements
Rank 1
 answered on 25 Mar 2019
3 answers
930 views
How to pass value from child window to parent window when the child window is closed ?
Vessy
Telerik team
 answered on 25 Mar 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?