Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
282 views

Hi,

I have the telerik:RadAutoCompleteBox  in aspx page server side. It works five. Postback works fine on the tab key or loosing focus of the text field. But now I need to have what was selected if user selected a value with click in the dropdown selection box. Here are the steps:

1. User began typing and mouse-clicked on some line in the dropdownbox. The text was populated. No post-back event fired. The text is, let's say, "My selection 1"

2. User changed the text (to My selection 2) and clicked on an another field. Post-back event fired. And I have the text value "My selection 2" in the post-back method on the server.

What I need is a post-back event to save the "My selection 1" value after the step 1. Is it possible to do?

Here is my code:

<telerik:RadAutoCompleteBox ID="txtAgtName" AllowCustomEntry="true" RenderMode="Lightweight" runat="server" TabIndex="15" EmptyMessage="Please type Agent's name here"
                                            DataSourceID="SqlDataAgentName" DataTextField="AgentName" InputType="Text" Width="170px" DropDownWidth="150px" OnTextChanged="txtAgent2Email_TextChanged">
                                            <TextSettings SelectionMode="Single" />
                                        </telerik:RadAutoCompleteBox>

Andrey
Top achievements
Rank 1
Veteran
 answered on 03 Nov 2020
17 answers
1.9K+ views
Hi All,

this is my first post here, but I'm having a problem with the PageSizes setting for a grid.

Here is my markup for the Pager:
<PagerStyle Mode="NextPrevAndNumeric" PageSizeLabelText="Page Size: " PageSizes="{1, 10, 20, 50, 100, 200, 250}" />


And attached is an image showing what this produces (the grid has been removed because of client info).

As you can see, the first and last options are not present in the dropdown.  Why is this?

My second question would be this:  If I wanted (site-wide) to have 10,20, 50, 100, 200 as my page sizes, and 50 as the default...is there a way to do that without modifying all grids in my system individually?

Vessy
Telerik team
 answered on 03 Nov 2020
5 answers
181 views

When using Telerik controls with Bootstrap theme and Bootstrap 3.x the radWindow title has cosmetic issue (see attached).

It appeared that Bootstrap global box-sizing: border-box is the reason. 

The workaround is to set box-sizing: content-box  in rwTitleWrapper

It could easily reproduced here https://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx 

Please fix in your next release(s).

Rumen
Telerik team
 answered on 02 Nov 2020
9 answers
245 views
Hi,

I don't know why, but the hyperlink manager doesn't work, it shows up but the buttons doesn't display its caption and doesn't work. even the style drop down menu doesn't work.

<

 

telerik:RadEditor ID="RadEditor1" runat="server" ToolsFile="~/RadControls/Editor/ToolsFileContent.xml"

 

 

Height="600px" Skin="Windows7"

 

 

NewLineBr="False" AutoResizeHeight="True" ContentFilters="FixUlBoldItalic, FixEnclosingP, IECleanAnchors, MozEmStrong, ConvertFontToSpan, ConvertToXhtml, IndentHTMLContent, EncodeScripts, OptimizeSpans"

 

 

StripFormattingOptions="MSWordRemoveAll" OnClientCommandExecuting="OnClientCommandExecuting">

 

 

<CssFiles>

 

 

<telerik:EditorCssFile Value="~/stylesheets/RadEditorCss.css" />

 

 

</CssFiles>

 

 

<Content>

 

 

</Content>

 

 

<Tools>

 

 

<telerik:EditorToolGroup>

 

 

<telerik:EditorDropDown Name="FormatedLiks" Text="Formated Liks" ItemsPerRow="1" PopupWidth="90" PopupHeight="90">

 

 

<telerik:EditorDropDownItem Name ="Video Link" value="<li class='video'>Video Link</li>" />

 

 

<telerik:EditorDropDownItem Name ="Standard" value="<li class='standard'>Video Link</li>" />

 

 

<telerik:EditorDropDownItem Name ="Pack Link" value="<div style='margin-top: 11px;'><a class='bodylinks' style='font-size: 11px;' href='#'>PackLink</a></div>" />

 

 

</telerik:EditorDropDown>

 

 

</telerik:EditorToolGroup>

 

 

</Tools>

 

 

</telerik:RadEditor>

 



Attached a screenshot.

Regards,
Rumen
Telerik team
 answered on 30 Oct 2020
5 answers
110 views
Is there any button to hide the trackchanges temporarily?  I want to review the clean content after edit. Those tracks make the content mess although I need it later. Just like MS word, a button can show or hide those tracks?  

Thanks.
CHM
Suvarna
Top achievements
Rank 1
 answered on 30 Oct 2020
1 answer
624 views

I'm working on a method of identifying and storing the location of certain datum in a spreadsheet.  For example, when a spreadsheet is displayed, the user is prompted to 'Select all cells containing names." My hope is that the user will select the appropriate worksheet in the workbook, then using Ctrl+Click select each cell containing a name.  Once they've done this, I want to iterate through each of the selected cells of the entire workbook and capture the worksheet index, column and row index, as well as the value for each of those cells from code-behind.  Ideally, I'll use this data to create a database table with column names based upon the values of the selected cells. I'll also add rows to another table that store the location of each selected name, i.e., the cell containing the name 'Jane Doe' is in column 'M', row '11', on worksheet '6'.

All of the database stuff I can handle without trouble, but I cannot find an effective way to capture the cell locations or values in an iterative sort of way across the whole workbook from code-behind.

I'm sorry if this turns out to be a trivially simple problem.  I only started using Telerik a few days ago. I look forward to your response!

Peter Milchev
Telerik team
 answered on 30 Oct 2020
1 answer
223 views

I ran into an issue with the RadSpreadsheet control embedded in a RadWizard step. The control would appear on the screen with an empty cell area, no grid and no data. I could verify the file was loaded properly because the data in cell A1 could be seen in the Formula Bar. Resizing the browser window in any way would immediately trigger the control to refresh and everything looked great, but not until then. I contacted Telerik Support and Peter Milchev very quickly responded with the following:

"The problem with the Spreadsheet appearance is due to the fact that the control's container is initially hidden, hence the calculations are wrong.
We have researched a bit and it turns out the behavior can be further improved and the control could handle itself a hidden parent container. 
Until that becomes a part of the source code, please verify that adding the following script Under the ScriptManager would fix the issue."

<script>
    if (Telerik.Web.UI.RadSpreadsheet) {
        Telerik.Web.UI.RadSpreadsheet.prototype.original_initialize = Telerik.Web.UI.RadSpreadsheet.prototype.initialize;
        Telerik.Web.UI.RadSpreadsheet.prototype.initialize = function () {
            this.original_initialize();
            this.add_parentShown(this.get_element());
        }
        Telerik.Web.UI.RadSpreadsheet.prototype.repaint = function () {
            this.get_kendoWidget().refresh()
        }
    }
</script>

 

The workaround resolved the issue immediately. I hope this helps you as much as it helped me.

Peter Milchev
Telerik team
 answered on 30 Oct 2020
8 answers
945 views

 

Hello

Are there any plans to support Sharepoint Server 2019  (On-premises)

Thank You

Rumen
Telerik team
 answered on 30 Oct 2020
13 answers
546 views
Hello all ,

 Am new to trlerik controls 2009 , am juz wondering how to use DocumentManager in RadEditor , How to Customize ?

Prince
Rumen
Telerik team
 answered on 29 Oct 2020
8 answers
570 views
Hi folks,

Is there an ability in the scheduler to disable and/or hide the next, previous, and today icons/commands in the navigation header?  My schedule is operating on a day view.

Thanks,
Jeremy
Michael Bakker
Top achievements
Rank 2
 answered on 29 Oct 2020
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?