Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
129 views

Is there a way to properly set the localization culture for the month and year with month header when it is showing the month and date?

I have set the culture property and the days of the week are showing the correct localization based on the culture settings however the header is not

Attached is a screw grab showing the issue. The month and year should actually be Ago 2021 (localization is for it-IT)

Matt Smith
Top achievements
Rank 1
Iron
 asked on 02 Jul 2021
1 answer
148 views

Hello,

In the day view, I want to show in the same day (column) an appointment that overlaps 2 days.

Example:  The first shift start "day 1" at 20:00 and stop "day 2" at 04:00. but I want to show it in a single day (column)

I did try to put those values: DayStartTime at 20:00 and DayEndTime at 04:00, but it does not work.

Is there any solution possible to achieve that?

Regards,

Maxime

Peter Milchev
Telerik team
 answered on 02 Jul 2021
1 answer
499 views

Hi.

We are changing the computer where we develop and we want to transfer our DevCraft License from the old computer to the new one. Can you help us with this?

Also we need the link to download the correct versions of telerik components

Telerik.reporting: 12.0.18.416

Telerik.reportviewer: 12.0.18.416

Telerik.web.ui: 2015.2.826.40

Telerik.web.ui.skins: 2015.2.826.40

Telerik.web.device.detector: 2015.2.826.40

Thanks!!!

Karina
Telerik team
 answered on 01 Jul 2021
1 answer
236 views

I have a radgrid with a Master and one Details table.  When scrolling, only the Master data scrolls.  How can I have both scroll at same time from the single horizontal scroll bar?  Not sure if it makes a difference but I am expanding and collapsing the details data client-side with the OnRowClick event and I am using frozen columns.

Thanks!

Attila Antal
Telerik team
 answered on 01 Jul 2021
0 answers
170 views
After the BatchEditCommand is ran for the update command the grid rebinds as it should but all the fields that were edited are still marked as edited.  Any ideas as to why?  I do edit several cells client-side (gridBatchEditManager.changeCellValue(cell, value)) and then using the built in save button of the grid to call BatchEditCommand.  Everything is updated properly in my sql database but the grid itself does not refresh as I would expect.  If I click the grids "Refresh" button it comes back properly.
Jerry
Top achievements
Rank 2
Iron
Iron
 asked on 30 Jun 2021
0 answers
229 views

Hi Team,

We are migrated from RadGrid Migration to RadGrid Ajax suite.

We are trying to select a row and click on Accept or Reject it ,as per requirement.

Click Event is not triggered for the Accept or Reject Button of RadGrid as have observed for Click Event there is an RadGridNamespace.AsyncRequest observed in Classic Controls.
RadGrid Code For Classic Control:

                        <asp:ImageButton ID="AcceptButton" CausesValidation="false" CommandName="Accept" ImageUrl="~/RadControls/Grid/Skins/Test/Img/AcceptButton.gif" runat="server" />
                        <asp:ImageButton ID="RejectButton" CausesValidation="false" CommandName="Reject" ImageUrl="~/RadControls/Grid/Skins/Test/Img/RejectButton.gif" runat="server"  />
<input name="ctl00$ContentPlaceHolder$ctl00$ctl00$masterControl$TestRadGrid$ctl01$ctl02$ctl00$AcceptButton" id="ctl00_ContentPlaceHolder_ctl00_ctl00_masterControl_TestRadGrid_ctl01_ctl02_ctl00_AcceptButton" style="border-width: 0px;" onclick="RadGridNamespace.AsyncRequest('ctl00$ContentPlaceHolder$ctl00$ctl00$masterViewControl$TestRadGrid$ctl01$ctl02$ctl00$AcceptButton', '', 'ctl00_ContentPlaceHolder_ctl00_ctl00_masterViewControl_TestRadGrid', event); return false;" type="image" src="../RadControls/Grid/Skins/Test/Img/AcceptButton.gif">

JavaScript Code:

 this.Control.onclick = function() {
        if (I20.Owner.Owner.Owner.EnableAJAX) {
            if (I20.Owner.Owner == I20.Owner.Owner.Owner.o1o) {
                RadGridNamespace.AsyncRequest(I20.UID, I20.Owner.Owner.Owner.MasterTableView.UID + "\x21" + I20.Owner.i2v.UniqueName, I20.Owner.Owner.Owner.ClientID);
            } else {
                RadGridNamespace.AsyncRequest(I20.UID, I20.Owner.Owner.UID + "!" + I20.Owner.i2v.UniqueName, I20.Owner.Owner.Owner.ClientID);
            }
        } else {
            var O2j = I20.Owner.Owner.Owner.ClientSettings.PostBackFunction;
            if (I20.Owner.Owner == I20.Owner.Owner.Owner.o1o) {
                O2j = O2j.replace("{0}", I20.UID).replace("{1}", I20.Owner.Owner.Owner.MasterTableView.UID + "!" + I20.Owner.i2v.UniqueName);
            } else {
                O2j = O2j.replace("\x7b0}", I20.UID).replace("{1}", I20.Owner.Owner.UID + "!" + I20.Owner.i2v.UniqueName);
            }
            eval(O2j);
        }


RadGrid Code For Ajax Suite after Migration :

<input name="ctl00$ContentPlaceHolder$ctl00$ctl00$masterControl$TestRadGrid$ctl01$ctl02$ctl00$AcceptButton" id="ctl00_ContentPlaceHolder_ctl00_ctl00_masterControl_TestRadGrid_ctl01_ctl02_ctl00_AcceptButton" style="border-width: 0px;"  type="image" src="../RadControls/Grid/Skins/Test/Img/AcceptButton.gif">

JavaScript :

But For AjaxSuite control of RadGrid, I have changed RadGridNamespace to Telerik.Web.UI ,but still no luck.

    this.Control.onclick = function() {
        if (I20.Owner.Owner.Owner.EnableAJAX) {
            if (I20.Owner.Owner == I20.Owner.Owner.Owner.o1o) {
                Telerik.Web.UI.AsyncRequest(I20.UID, I20.Owner.Owner.Owner.MasterTableView.UID + "\x21" + I20.Owner.i2v.UniqueName, I20.Owner.Owner.Owner.ClientID);
            } else {
                Telerik.Web.UI.AsyncRequest(I20.UID, I20.Owner.Owner.UID + "!" + I20.Owner.i2v.UniqueName, I20.Owner.Owner.Owner.ClientID);
            }
        } else {
            var O2j = I20.Owner.Owner.Owner.ClientSettings.PostBackFunction;
            if (I20.Owner.Owner == I20.Owner.Owner.Owner.o1o) {
                O2j = O2j.replace("{0}", I20.UID).replace("{1}", I20.Owner.Owner.Owner.MasterTableView.UID + "!" + I20.Owner.i2v.UniqueName);
            } else {
                O2j = O2j.replace("\x7b0}", I20.UID).replace("{1}", I20.Owner.Owner.UID + "!" + I20.Owner.i2v.UniqueName);
            }
            eval(O2j);
        }
    };

when we click on AcceptButton or RejectButton , page is getting Refreshed. Click event is not triggerred.

Can anyone help me to Resolve issue?

 

Sachita
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 30 Jun 2021
1 answer
317 views

I am displaying the items inside the RadListbox. Somehow the item are displaying horizontally rather than vertically. Below is my code:

<telerik:RadAjaxPanel runat="server" CssClass="demo-container demo-content"> <telerik:RadListBox RenderMode="Auto" ID="lstFolder" runat="server" Height="200px" Skin="Vista"> </telerik:RadListBox> </telerik:RadAjaxPanel>

code behind, .cs class, I am binding the RadListBox with data from the database:

private void bindFolder() { using (TrustedSystemContext dbContext = new TrustedSystemContext()) { lstBox.DataSource = dbContext.BoxInfo.ToList(); lstBox.DataTextField = "FolderName"; lstBox.DataValueField = "FolderId"; lstBox.DataBind(); } }

These are the items in the database:

the items are displaying like so:

I want Folder1, Folder 2 to display vertically rather than on one line.

anhy hel will be appreciated.

 

 

 

 

Peter Milchev
Telerik team
 answered on 30 Jun 2021
0 answers
181 views

Hi Community,

I am forced to find a way to upload multiple files to an Amazon S3 Bucket. Therefore I am using an ASP.Net Webform with Telerik UI Ajax.
In short, this should be the solution:
The easiest way would be to select all files which should be uploaded. At first, all these files should be ziped.
This created zip-file should be transfered to the amazon s3 bucket.

Here I got some issues.
-> All my uploaded files got prefixes, which makes it hard to address them on the bucket. How do I Upload files via RadCloudUpload without any prefixes, just the pure filename?

Next issue:
-> Am I right that I am not able to create this zipfile on the local client machine?
What would be a proper workaround? The 'classic' RadAsyncUpload used a temp folder to collect these uploads. Unfortunately the asyncUploader is not able to address the Amazon S3 bucket.

Thank you in advance for your help.

cp-it
Top achievements
Rank 2
 asked on 30 Jun 2021
0 answers
325 views

Hi,

Is there any way to get the mouse x,y of the dock as it's being dragged?   I have javascript examples that use dataTransfer, and have tried adapting them to dock events, OnClientDragStarted, OnClientDrag and OnClientDragEnd.   But OnClientDragStarted, which does provide access to the "OriginalEvent", does not have dataTransfer defined. And OnClientDrag provides no access to the "OriginalEvent".

Can you provide some direction?  Or is just not possible.

Dave

 

 

Dave
Top achievements
Rank 1
Iron
Veteran
Iron
 asked on 29 Jun 2021
1 answer
208 views

Hi,
I have a Telerik rad grid, where I can enter negative and positive values. When I enter a positive value in the cell I need to display the cell value in "Green" color.  In GridTemplateColumn am using RadNumericTextBox

Please note that I need to achieve this through the client-side and not through code-behind.

 

 

Attila Antal
Telerik team
 answered on 29 Jun 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?