<ClientSettings>
<Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />
</ClientSettings>
Selection is working fine.
I run into a scenario where controls in an EditForm loses their values when performing a postback, after recently cancelling an event.
For example:
1. Add new item (perform InitInsert), or edit existing item (perform Edit)
2. Make changes to control values
3. If adding, perform PerformInsert command, otherwise Update command
4. I have logic that would cancel the event (whether on ItemCommand or PerformInsert level) based on some values
5. Event cancelled, fire NeedDataSource in the background by default
6. On the EditForm, perform any postback (via cancel or attempt an insert/update again)
7. The control values within the EditForm lose their value
I thought if I cancelled on the ItemCommand level, the control values would persist, but this was not the case.
Any ideas on what I could do?


Hi,
I have pdf files stored as a blob in sql database. Is it possible to load them to PdfViewer? I found this example but it's for MVC. Do you have an example for webform?
Thank you,
Helen


I have a RadEditor control on a page with several lines of notes. All lines appear on the page, but when the page is printed some lines are cutoff at the bottom. Are there any RadEditor or CSS settings that will resolve this?
<telerik:RadEditor ID="reNotes" runat="server" EditModes="Preview" ContentAreaMode="Div" NewLineMode="P" ToolsFile="~/App_Data/RadEditor/Tools.xml" ToolbarMode="ShowOnFocus" AutoResizeHeight="true" Height="100%" Width="100%" Content='<%# Bind("Notes") %>' ContentFilters="RemoveScripts,StripCssExpressions,StripDomEventAttributes" OnClientLoad="RadEditorOnClientLoad"></telerik:RadEditor>
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>
<PagerStyle Mode="NextPrevAndNumeric" PageSizeLabelText="Page Size: " PageSizes="{1, 10, 20, 50, 100, 200, 250}" />
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).

<
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>
