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

Hello Support,

 

I am using Radgrid control in my aaplication.

Telerik.Web.UI
v4.0.30319

 

But i am facing some issues after exporting grid to excel or PDF .

All the filters disappers.

Please find attached File

 

Rohan
Top achievements
Rank 1
 asked on 13 Jan 2022
1 answer
169 views

I have a RadEditor with RenderMode="Auto" as in html code below ( there is no code-behind for this page since no server-side code is being executed).

When I switch to mobile view on Chrome Dev tools then I see the RadEditor render in mobile mode. But, if I click on Find and Replace icon of RadEditor, then it results in a JavaScript error as shown in attached screenshot. It seems that RenderMode="Auto" doesn't work as expected. 

Do you know of any workaround that can fix this problem? I am using R2 2020 version of ASP.Net AJAX controls. I  need to use RenderMode="Auto" since that is needed for seamless skinning of all controls on the aspx page.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadEditor.aspx.cs" Inherits="RadEditor" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager runat="server" ID="sm1"></asp:ScriptManager>
        <telerik:RadEditor runat="server" ID="RadEditor3" RenderMode="Auto"> </telerik:RadEditor>
    </form>
</body>
</html>

Rumen
Telerik team
 updated answer on 12 Jan 2022
1 answer
368 views

Hi all,

Is it possible to have the RadAsyncUpload Select button and the files the user selects as two separate elements?  I would like to have the Select button displayed in one part of the screen and the selected files in a different part of the screen.

Any advice would be greatly appreciated.

Martin.

Vessy
Telerik team
 answered on 11 Jan 2022
1 answer
153 views

Hi

We are struggling to get validation in place on RadWizard. Tried all options mentioned in the docs and previous support queries. Sample code below where no validation is fired. Could you please let me know what we are missing.

Note: to meet our requirements, content of each step will be a separate user control, on the aspx page, a step will be added at runtime with user control suited to business requirement added on the step. Each step will include multiple elements which will be required to be validated for data and format with minimal javascript.

Many Thanks

 

<telerik:RadWizard runat="server" ID="RadWizard2" RenderedSteps="All">
           <WizardSteps>
               <telerik:RadWizardStep ID="RadWizardStep3" ValidationGroup="Group1"  >
 
                   <asp:TextBox runat="server" ID="TextBox1" ValidationGroup="Group1" />
                   <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="ADD TEXT"
                       ControlToValidate="TextBox1" ValidationGroup="Group1">
                   </asp:RequiredFieldValidator>
               </telerik:RadWizardStep>
              <telerik:RadWizardStep ID="RadWizardStep1" ValidationGroup="Group2">
 
                   <asp:TextBox runat="server" ID="TextBox2" ValidationGroup="Group2" />
                   <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="ADD TEXT"
                       ControlToValidate="TextBox2" ValidationGroup="Group2">
                   </asp:RequiredFieldValidator>
               </telerik:RadWizardStep>
                 <telerik:RadWizardStep ID="RadWizardStep2" ValidationGroup="Group3">
 
                   <asp:TextBox runat="server" ID="TextBox3" ValidationGroup="Group3" />
                   <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="ADD TEXT"
                       ControlToValidate="TextBox3" ValidationGroup="Group3">
                   </asp:RequiredFieldValidator>
               </telerik:RadWizardStep>
            
           </WizardSteps>
       </telerik:RadWizard>
Peter Milchev
Telerik team
 answered on 11 Jan 2022
3 answers
235 views

Hi.

We're having problems using GenerateXlsxOutput and ExportSettings.IgnorePaging.
When ExportSettings.IgnorePaging is true the grid's paging disappears after exporting.

We're using Asp.Net Ajax version 2021.3.1111.45.

See attached zipfile for a simple example causing this issue.

I assume this is a bug?

Regards, Rolf F.

Attila Antal
Telerik team
 updated answer on 11 Jan 2022
1 answer
161 views

This is for Telerik UI for ASP.net AJAX.

Is there a way to change color and or line size of the Medium and Mean lines in a Box Plot Chart?

I see you can do outlier, but I need these two.

Thanks in advance!

Vessy
Telerik team
 answered on 10 Jan 2022
0 answers
305 views

I have a RadEditor (EditType="Inline"), inside a RadSplitter/RadPane, and would like to trigger a post back to save to the database, without using a Button click.  

Which event is most appropriate to do this? 

I've experimented with the OnClientInlineEditCompleted() event.  However, it also fires when I click a toolbar button, which is too soon. 

The OnClientCommandExecuted() event fires with almost every action, so not good solution. 

In the server-side database save method, I compare the existing data to the RadEditor content, if they're different, save it to the database.  The problem here is that the changes made to the RadEditor do not show, thus the server-side save method is not fired.

I've attempted to set the focus back to the content of the RadEditor before calling the "__doPostBack()" method, thinking it will accept the changes to the content and save them in the PostBack.  It doesn't.

Client code:

function OnClientInlineEditCompleted() {
     var editor = $find("<%= NotePad1.ClientID %>");
     editor.setFocus();

      __doPostBack("", "");
}

 

PostBack code:

if (NotePad1.Content != MyTable.MyNotePad)
{
     UpdateNotePad();
}

Jeff
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 07 Jan 2022
0 answers
61 views

When I installed the old offline package (TelerikUIForWinFormsSetup.exe), it showed "Internet Connective Failure" error. Please check the attached screenshot.  Would you please help me? Thanks.


Steven
Top achievements
Rank 1
 asked on 06 Jan 2022
1 answer
191 views

Dug through the maze of docs and actually found a few answers to my questions, but I'm not seeing anything on this.

I see how to add some custom buttons, like filters (aspnet-ajax/imageeditor/examples/filters/defaultcs.aspx).

What if I don't need a custom button but just want it to load up with some things already selected by default? Any way to do that?

For example,

1) Load up the image already zoomed out.

2) Or, at least have the zoom already set to zoom out so I don't have to do the dropdown.

3) Have save image default to "Save Image On Server."

4) Have "Constrain Proportions" already turned off on "Crop Image".

I will add, I have had to resize and crop thousands of images, and the RadImageEditor has worked very well. It would be nice if there were some instructions on setting up more default options so there is a lot less clicking and dropdown navigation going on by default.

I'm toward the end of this and just found the grayscale filter. A built in filter to convert to true black and white would be great, too.

I'm cropping and resizing photos of receipts taken with cell phone.

Anyone having a custom filter to convert to true black and white, please feel free to share. Thanks.

 

 

 

 

 

 

 

 

Rumen
Telerik team
 answered on 05 Jan 2022
0 answers
134 views

I've created  AutoCompleteBox in code behind and I'm using AutoCompleteBox.DataSourceSelect to get suggested values into a dropdown. By using up & down arrow keys I can move through the suggest list.

When I'm at:
- the last element in the list and I'm pressing down arrow key I do not want the list to go back to the first element - I want the list to stop at the last element no matter what,
- the first element in the list and I'm pressing up arrow key I do not want the list to go back to the last element - I want the list to stop at the first element no matter what.

How can I implement this 'prevention' in the OnClientLoad() event?

Here's a fragment of my code:

var autoCompleteBox = new Telerik.Web.UI.RadAutoCompleteBox
{
	AllowCustomEntry = true,
	AutoPostBack = false,
	Delimiter = ",;\n",
	DropDownPosition = Telerik.Web.UI.RadAutoCompleteDropDownPosition.Static,
	EnableClientFiltering = false,

	Filter = Telerik.Web.UI.RadAutoCompleteFilter.StartsWith,

	HighlightFirstMatch = true,
	InputType = Telerik.Web.UI.RadAutoCompleteInputType.Token,

	MinFilterLength = 0,
	MaxResultCount = 100,	
};

autoCompleteBox.OnClientEntryAdded = "AutoCompleteBox_OnClientEntryAdded";
autoCompleteBox.OnClientRequesting = "AutoCompleteBox_OnClientRequesting";
autoCompleteBox.OnClientLoad = "AutoCompleteBox_OnClientLoad";	


Kamil
Top achievements
Rank 1
Iron
 asked on 05 Jan 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?