Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views

Hi Guys

Following the big GDPR push I have converted sites to use https via asp.net code EG;

If Not Request.IsSecureConnection Then
Response.Redirect(Request.Url.AbsoluteUri.Replace("http://", "https://"))
End If

Piece of cake!

But images seem to show as insecure content and browsers do not show the desired padlock.

Running the Firefox web console I see that the offending item is the RadRotor image urls which are not shown in https format and thus provoke the insecure/mixed content warnings. I guess this could be fixed by using the full absolute url but then the development version and the public version would be different, which sucks.

There has to be way round this without using absolute urls rather than relative ones (eg ImageUrl="~/images/image1.png")

Suggestions please!

 

Thanks

 

Clive

Rumen
Telerik team
 answered on 06 Dec 2018
4 answers
597 views

Hi Team,

I am using a radgrid in my application for the past 3 years.which has a Datetime column and the Filter option is enabled. Currently I am able to filter the date range from 1900 to 2100 perfectly.

Se we had a scenario to enter the date less than 1900 and greater than 2100, but the default functionality is not allowed to enter those dates.

So I used MinDate and MaxDate properties of the raddatepicker and is working all areas except the Filter area.

Filter area, the calendar pop up allows only the default date range only ( 1900 to 2100), So I am unable to filter the date range beyond the ranges.

 

Is this a bug or I am doing something wrong ? My Rad grid is created dynamically.

Appreciate you support/suggestion if any.

 

Regards,

Ramesh.

 

Ramesh
Top achievements
Rank 1
 answered on 06 Dec 2018
6 answers
198 views

Requirements

RadControls version 2009.1.527.39

 

.NET version

3.5

Visual Studio version

2008

programming language

C# or VB

browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
[When there is a RadGrid on a page, if a user hits "Enter" the Delete command from the grid fires... Attached is a javascript function to trap the enter key so that it does not fire the Delete command. Also if you have multi line textboxes and would like to enable the enter key see notes for code behind.]
Upender
Top achievements
Rank 1
 answered on 05 Dec 2018
4 answers
934 views
Hi,

I have a requirement where I will be using asyncupload in a pop up window in gridview. I need to save attachments added for each row in a temp folder with someUniqueID I have. And when user click on Save button outside the grid, I will be moving all these files to permanent location. The issue is with modifying temporary folder location dynamically. I want to change the temp folder location when I bring pop-up window by clicking on a button in a row. I do not want to move those files to permanent location until user clicks on save button that is outside grid. I am using radgrid with soma static columns and some dynamic columns.


Thanks,
Anil
Sean
Top achievements
Rank 1
 answered on 05 Dec 2018
1 answer
226 views

I´m working with the thread here - https://demos.telerik.com/aspnet-ajax/editor/examples/dbfilebrowsercontentprovider/defaultvb.aspx?show-source=true

that the user can create folders, upload, delete files and everything will be stored in a single table in the database. No physical files or folders will be created on the server. Accessing the files from the database is performed with a HTTP handler (<em>Handler.ashx</em>).

It is working fine in development and uat environment. In Production environment, when I select a file to upload it, the upload button gets disabled immediately.

What does it wrong? Please suggest as it is very urgent and Thanks in advance.

 

 

Vessy
Telerik team
 answered on 05 Dec 2018
1 answer
190 views

I´m working with the thread here - https://demos.telerik.com/aspnet-ajax/editor/examples/dbfilebrowsercontentprovider/defaultvb.aspx?show-source=true
that the user can create folders, upload, delete files and everything will be stored in a single table in the database. No physical files or folders will be created on the server. Accessing the files from the database is performed with a HTTP handler (Handler.ashx).
It is working fine in development and uat environment. In Production environment, when I select a file to upload it, the upload button gets disabled immediately.
What does it wrong? Please suggest as it is very urgent and Thanks in advance.
?
Vessy
Telerik team
 answered on 05 Dec 2018
2 answers
134 views
I have a RadAjaxLoadingPanel and RadAjaxPanel on a page which has a RadToggleButton using FontAwesome in the ButtonToggleStates. This has been working perfectly, but have recently needed to add a RadScriptBlock inside the RadAjaxPanel. Everything appears to be working correctly with the icons in the ButtonToggleStates loading correctly. The problem occurs when you select the RadToggleButton and the icons stop loading. Any one have any ideas why this might be occurring?
Vessy
Telerik team
 answered on 05 Dec 2018
10 answers
199 views

Hi. I have a treeview and am using a context-menu to open a RadWindow. I am then attempting to refresh the treeview in the OnClientClose event of the RadWindow using an ajax call. Everything is working great except for the final client-side ajax call in OnClientClose. It appears to be complaining about the $
in the call 'Main$NavigationTreeView.UniqueID' where Main is the Content ID.

withing the content tag of the webform
<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="Server">

 

 

 

1. My RadAjaxManager declaration in my master page:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" ><telerik:AjaxSetting AjaxControlID="Main$NavigationTreeView">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="Main$NavigationTreeView" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting

 

 

 

2. Treeview and RadWindow declaration in webform:

<telerik:RadTreeView runat="server" ID="NavigationTreeView" OnContextMenuItemClick="NavigationTreeView_ContextMenuItemClick" ...>
<ContextMenus>
<telerik:RadTreeViewContextMenu ID="MainContextMenu" runat="server">
<Items>
<telerik:RadMenuItem Value="EditNode" Text="Edit node"></telerik:RadMenuItem>
<telerik:RadMenuItem Value="NewNode" Text="New node"></telerik:RadMenuItem> 
<telerik:RadMenuItem Value="DeleteNode" Text="Delete node"></telerik:RadMenuItem>
<telerik:RadMenuItem Value="CopyNode" Text="Copy node" ></telerik:RadMenuItem>
 </Items>
</telerik:RadTreeViewContextMenu>
</ContextMenus>
</telerik:RadTreeView> 

 

 

 

<telerik:RadWindowManager id="Singleton" runat="server">
<windows>
<telerik:RadWindow id="DialogWindow" Behaviors="Close"
OnClientclose = "OnClientClose" Left="250px" Modal = "true" Runat="server" NavigateUrl="./TreeViewDialog.aspx">
</telerik:RadWindow>
</windows>
</telerik:RadWindowManager>

3. Declaration of OnClientClose in webform:

 

<

 

telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript"> 
function OnClientClose(radWindow){
var AJAXMgr = <%= RadAjaxManager.GetCurrent(Page).ClientID %>;
AJAXMgr.AjaxRequestWithTarget(
'<%= Main$NavigationTreeView.UniqueID %>', '');

</script>
</
telerik:RadCodeBlock> 

 

Is this the correct way to do it? What am I doing wrong?

Kind Regards,

Marin Bratanov
Telerik team
 answered on 04 Dec 2018
19 answers
668 views

Hi,

With the new Q2 2018 I get TypeError: access to strict mode caller function is censored on FireFox 60.0.1 and Chrome 66, when I use the upload function of the Editor.

 

This also happens when I try the same in the Telerik demo environment, please refer to screenshot .

BR, Marc

Marin Bratanov
Telerik team
 answered on 04 Dec 2018
1 answer
138 views

Using objectdatasource.  Found a thread from a while ago about adding the  OverrideDataSourceControlSorting="true".  Still makes our column headers disappear and not sortable. Any thoughts would be great.

Thanks

  <telerik:RadGrid ID="gridExemptions" AllowSorting="true" OnItemCreated="gridExemptions_ItemCreated" OnItemInserted="gridExemptions_ItemInserted" runat="server" OnItemDataBound="gridExemptions_ItemDataBound" CellSpacing="-1" DataSourceID="ExemptionsObjectDataSources" GridLines="Both" OnItemCommand="gridExemptions_ItemCommand" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AutoGenerateColumns="False" AllowMultiRowEdit="True" ShowFooter="True" OnPreRender="AnyGrid_PreRender">

            <MasterTableView OverrideDataSourceControlSorting="true" DataSourceID="ExemptionsObjectDataSources" CommandItemDisplay="TopAndBottom" InsertItemDisplay="Bottom" DataKeyNames="Exemption_ID" EditMode="InPlace" AutoGenerateColumns="False" EnableHeaderContextMenu="True">
                <CommandItemSettings ShowExportToPdfButton="True" ShowExportToCsvButton="True" ShowPrintButton="true"></CommandItemSettings>
                <Columns>
                    <telerik:GridBoundColumn DataField="Exemption_ID" HeaderText="Exemption_ID" SortExpression="Exemption_ID" UniqueName="Exemption_ID" DataType="System.Int64" FilterControlAltText="Filter Exemption_ID column" Visible="false"></telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Dealer_ID" HeaderText="Dealer_ID" SortExpression="Dealer_ID" UniqueName="Dealer_ID" DataType="System.Int64" FilterControlAltText="Filter Dealer_ID column" Visible="false"></telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="DealerCode" HeaderText="DealerCode" SortExpression="DealerCode" UniqueName="DealerCode" FilterControlAltText="Filter DealerCode column" Visible="false"></telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ServiceName" HeaderText="ServiceName" SortExpression="ServiceName" UniqueName="ServiceName" FilterControlAltText="Filter ServiceName column"></telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ServiceCode" HeaderText="ServiceCode" SortExpression="ServiceCode" UniqueName="ServiceCode" FilterControlAltText="Filter ServiceCode column"></telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ExemptionAmount_Annual" DataFormatString="{0:F3}" HeaderText="ExemptionAmount_Annual" SortExpression="ExemptionAmount_Annual" UniqueName="ExemptionAmount_Annual" DataType="System.Decimal" FilterControlAltText="Filter ExemptionAmount_Annual column"></telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn DataField="StartDate" HeaderText="StartDate" SortExpression="StartDate" ReadOnly="true" UniqueName="StartDate" DataType="System.DateTime" FilterControlAltText="Filter StartDate column" DataFormatString="{0:d}"></telerik:GridDateTimeColumn>
                    <telerik:GridDateTimeColumn DataField="EndDate" HeaderText="EndDate" SortExpression="EndDate" ReadOnly="true" UniqueName="EndDate" DataType="System.DateTime" FilterControlAltText="Filter EndDate column" DataFormatString="{0:d}"></telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn DataField="Comments" HeaderText="Comments" SortExpression="Comments" UniqueName="Comments" FilterControlAltText="Filter Comments column"></telerik:GridBoundColumn>
                    <telerik:GridButtonColumn ColumnGroupName="End" FilterControlAltText="Filter End column" CommandName="End" CommandArgument="End" UniqueName="End"></telerik:GridButtonColumn>
                    <telerik:GridEditCommandColumn UniqueName="GridEditCommandColumn" ColumnGroupName="GridEditCommandColumn"></telerik:GridEditCommandColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>

Attila Antal
Telerik team
 answered on 04 Dec 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?