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

It seems after PageLoad i can not reset indicators.

Basically i want different indicators for different button clicks:

button 1: 

  RadProgressArea1.ProgressIndicators = ProgressIndicators.TotalProgress Or ProgressIndicators.TotalProgressPercent

                                                   Or ProgressIndicators.TotalProgressBar _
                                                   Or ProgressIndicators.TimeElapsed Or ProgressIndicators.TimeEstimated _
                                                   Or ProgressIndicators.CurrentFileName

buton 2:

 RadProgressArea1.ProgressIndicators = RadProgressArea1.ProgressIndicators _
                                                          And Not ProgressIndicators.SelectedFilesCount _
                                                          And Not ProgressIndicators.TotalProgressPercent _
                                                          And Not ProgressIndicators.TimeElapsed _
                                                          And Not ProgressIndicators.TimeEstimated _
                                                          And Not ProgressIndicators.TransferSpeed _
                                                          And Not ProgressIndicators.FilesCount

 

Thank you

David

David
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 05 May 2020
1 answer
178 views

Hello,

I am having an issue where users are unable to click into a RadAutoCompleteBox and enter any text. The input exists within an EditItemTemplate of a GridTemplateColumn. Previously, we were using the grids batch edit mode but switched over to InPlace so the entire row appears editable. All other controls aside from RadAutoCompleteBox work as expected.

ASPX code

<telerik:RadGrid ID="grdDeployment" runat="server"
      AllowPaging="true"
      AllowCustomPaging="true"
      AllowSorting="true"
      AutoGenerateColumns="false"
      ShowStatusBar="true"
      ClientSettings-AllowKeyboardNavigation="true"
      ClientSettings-Scrolling-AllowScroll="true"
      ClientSettings-Scrolling-UseStaticHeaders="true"
      OnPageIndexChanged="grdDeployment_PageIndexChanged"
      OnSortCommand="grdDeployment_SortCommand"
      OnItemDataBound="grdDeployment_ItemDataBound"
      OnNeedDataSource="grdDeployment_NeedDataSource"
      EnableViewState="true"
      Visible="true" >
    <MasterTableView EditMode="InPlace" AllowCustomSorting="true" AllowMultiColumnSorting="false"
      DataKeyNames="Uid, IsReferencedByContinuousResult" ClientDataKeyNames="Uid, IsReferencedByContinuousResult" >
      <Columns>
        <telerik:GridEditCommandColumn ButtonType="LinkButton" UniqueName="EditCommandColumn" HeaderText="" ItemStyle-Width="8%" HeaderStyle-Width="8%"></telerik:GridEditCommandColumn>
        <telerik:GridTemplateColumn HeaderText="Equipment ID*" UniqueName="EquipmentId"
                DataField="EquipmentId" HeaderStyle-Width="10%" >
              <ItemTemplate>
                <asp:Label Text='<%# Eval("EquipmentId") %>' runat="server" />
              </ItemTemplate>
          <EditItemTemplate>
                <telerik:RadAutoCompleteBox ID="acbEquipment" runat="server"
                  EnableClientFiltering="true" MinFilterLength="2" DropDownHeight="150" DropDownWidth="600px" Width="95%"
                  InputType="Text" DataValueField="Uid" DataTextField="Id" TextSettings-SelectionMode="Single" OnLoad="acbEquipment_Load">
                </telerik:RadAutoCompleteBox>
              </EditItemTemplate>
        </telerik:GridTemplateColumn>

 

Code Behind

 

protected void acbEquipment_Load (object sender, EventArgs e) {
      RadAutoCompleteBox acb = sender as RadAutoCompleteBox;
      PopulateEquipmentSelect(acb);
    }
 
private void PopulateEquipmentSelect(RadAutoCompleteBox equipmentAutoCompleteBox, bool preLoad = false) {
      equipmentAutoCompleteBox.TextSettings.SelectionMode = RadAutoCompleteSelectionMode.Single;
      EquipmentList equipmentList = EquipmentList.GetEquipmentList(_pageState.OrganizationUid, true, null);
      
      equipmentAutoCompleteBox.DataSource = equipmentList;
      equipmentAutoCompleteBox.DataBind();
}
Doncho
Telerik team
 answered on 05 May 2020
10 answers
446 views
I realise there are several threads on this subject and I have read every one I can find. I have tried all of the suggested solutions, but to no avail.
I've tried teh following solutions:

 Cannot get Upload/Delete to show. 
 Troubleshooting.

http://www.telerik.com/forums/radeditor-image-manager-upload-button-and-others-disabled---windows-authentication
http://stackoverflow.com/questions/12199021/rad-editor-telerik-control-image-manager-and-asp-net-button-issues-not-working
http://www.telerik.com/forums/radeditor-image-manager-buttons-disabled


My ImageManager WAS working until I updated to 2014 Q1. Since then, all of the tools in the ImageManager toolbar are disabled in all the environments I deploy to.
I get no permissions errors or any indication as to why the user can't upload.

I've checked and double checked the handlers in the web config.
I've tried removing and re-adding the Telerik references
I've tried removing and re-adding the RadEditor control with default settings.
I've tried checking the Smart Menu to make sure that the handler config is right.
I've set my Upload/Delete/View folder paths programmatically and declaratively.
I've tried setting the location in the webconfig

Here's my code

<system.webServer>
  <modules runAllManagedModulesForAllRequests="true">
     
     
    <remove name="RadUploadModule" />
    <remove name="RadCompression" /><add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" />
    <add name="ExceptionlessModule" type="Exceptionless.Web.ExceptionlessModule, Exceptionless.Web" />
    <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
    <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
  </modules>
  <validation validateIntegratedModeConfiguration="false" />
  <handlers>
     
    <remove name="ChartImage_axd" />
    <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
    <remove name="Telerik_Web_UI_DialogHandler_aspx" />
    <remove name="Telerik_RadUploadProgressHandler_ashx" />
    <remove name="Telerik_Web_UI_WebResource_axd" />
    <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
    <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
    <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
    <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
    <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
  </handlers>
</system.webServer>


<telerik:RadEditor ID="BodyRadEditor" runat="server" Width="100%"  AllowScripts="True">
        <ContextMenus>
            <telerik:EditorContextMenu TagName="IMG">
                <telerik:EditorTool Name="SetImageProperties" />
            </telerik:EditorContextMenu>
            <telerik:EditorContextMenu TagName="TABLE">
                <telerik:EditorTool Name="ToggleTableBorder" />
                <telerik:EditorTool Name="SetTableProperties" />
                <telerik:EditorTool Name="DeleteTable" />
            </telerik:EditorContextMenu>
            <telerik:EditorContextMenu TagName="TD">
                <telerik:EditorTool Name="InsertRowAbove" />
                <telerik:EditorTool Name="InsertRowBelow" />
                <telerik:EditorTool Name="DeleteRow" />
                <telerik:EditorTool Name="InsertColumnLeft" />
                <telerik:EditorTool Name="InsertColumnRight" />
                <telerik:EditorTool Name="MergeColumns" />
                <telerik:EditorTool Name="MergeRows" />
                <telerik:EditorTool Name="SplitCell" />
                <telerik:EditorTool Name="DeleteCell" />
                <telerik:EditorTool Name="SetCellProperties" />
            </telerik:EditorContextMenu>
                    <telerik:EditorContextMenu TagName="BODY">
                    <telerik:EditorTool Name="PasteFromWord" />
                    <telerik:EditorTool Name="PastePlainText" />
                    <telerik:EditorTool Name="PasteAsHtml" />
                </telerik:EditorContextMenu>
        </ContextMenus>
 
    <Tools>
        <telerik:EditorToolGroup Tag="MainToolbar">
            <telerik:EditorSplitButton Name="Undo">
            </telerik:EditorSplitButton>
            <telerik:EditorSplitButton Name="Redo">
            </telerik:EditorSplitButton>
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="Print" ShortCut="CTRL+P / CMD+P" />
            <telerik:EditorTool Name="AjaxSpellCheck" />
            <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F / CMD+F" />
            <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A / CMD+A" />
            <telerik:EditorTool Name="Cut" ShortCut="CTRL+X / CMD+X" />
            <telerik:EditorTool Name="Copy" ShortCut="CTRL+C / CMD+C" />
            <telerik:EditorTool Name="Paste" ShortCut="CTRL+V / CMD+V" />
            <telerik:EditorToolStrip Name="PasteStrip">
            </telerik:EditorToolStrip>
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup Tag="InsertToolbar">
            <telerik:EditorTool Name="ImageManager" ShortCut="CTRL+G / CMD+G" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="LinkManager" />
            <telerik:EditorTool Name="InsertLink" />
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup Tag="DropdownToolbar">
            <telerik:EditorSplitButton Name="InsertSymbol">
            </telerik:EditorSplitButton>
            <telerik:EditorToolStrip Name="InsertTable">
            </telerik:EditorToolStrip>
                <telerik:EditorTool Name="ToggleTableBorder" />
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="JustifyLeft" />
            <telerik:EditorTool Name="JustifyCenter" />
            <telerik:EditorTool Name="JustifyRight" />
            <telerik:EditorTool Name="JustifyFull" />
            <telerik:EditorTool Name="JustifyNone" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="Indent" />
            <telerik:EditorTool Name="Outdent" />
            <telerik:EditorSeparator />
            <telerik:EditorTool Name="InsertOrderedList" />
            <telerik:EditorTool Name="InsertUnorderedList" />
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="FormatSets" />
            <telerik:EditorTool Name="Bold" ShortCut="CTRL+B / CMD+B" />
            <telerik:EditorTool Name="Italic" ShortCut="CTRL+I / CMD+I" />
            <telerik:EditorTool Name="Underline" ShortCut="CTRL+U / CMD+U" />
            <telerik:EditorTool Name="StrikeThrough" />
        </telerik:EditorToolGroup>
    </Tools>
    <Content>
</Content>
 
    <ImageManager EnableAsyncUpload="true" AllowFileExtensionRename="False" AllowMultipleSelection="True" MaxUploadFileSize="2048000" DeletePaths="~/Uploads" UploadPaths="~/Uploads" ViewPaths="~/Uploads"></ImageManager>
    <TrackChangesSettings CanAcceptTrackChanges="False"></TrackChangesSettings>
</telerik:RadEditor>

        protected virtual void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ArticleMultiView.SetActiveView(ArticleFormView);
 
                if (!Directory.Exists(Server.MapPath(@"~/Uploads/" + user.Username)))
                    Directory.CreateDirectory(Server.MapPath(@"~/Uploads/" + user.Username));
 
                
                string[] path = new string[] { @"~/Uploads/" + user.Username + "/" };
 
                BodyRadEditor.ImageManager.UploadPaths = path;
                BodyRadEditor.ImageManager.ViewPaths = path;
                BodyRadEditor.ImageManager.DeletePaths = path;
...
...
...
               }
         }

Rumen
Telerik team
 answered on 05 May 2020
2 answers
185 views

I would like to change all the menu items that have a URL value to be LinkButtons instead of hyperlinks. That way, every time someone goes to another page, the master page form gets submitted. This will allow me to keep a hidden field persistent for all pages. Normally, I would use a session variable to accomplish this task, but we have a request to allow multiple tabs to be opened for the same site and allow the user to use the different tabs to work through different workflows without one tab affecting the other. I thought I could use the ItemTemplate section to change the links to linkbuttons, but I don't know how to structure it.

 

Thanks.

Peter Milchev
Telerik team
 answered on 05 May 2020
1 answer
208 views
Is there a property or method to set a radwindow's status bar text in code-behind?
Rumen
Telerik team
 answered on 05 May 2020
3 answers
326 views

Hi

   We have radbutton in one aspx and apply our own css style (external style sheet),if that page not contain RadRadioButtonList, our css can apply to radbutton, but if i add RadRadioButtonList in same page , then css not reflect for that radbutton.
This is radbutton
 <telerik:RadButton CssClass="btn btn-success" EnableEmbeddedSkins="false"  RenderMode="Lightweight" Primary="true" ID="RadButton1" runat="server" Text="RadButton"></telerik:RadButton>
This is radradiobuttonlist

   <telerik:RadRadioButtonList ID="radListType" AutoPostBack="true" runat="server">
                  <Items>
                      <telerik:ButtonListItem Selected="true"  Text ="Internal User" Value ="Internal User" />
                        <telerik:ButtonListItem  Text ="External User" Value ="External User" />
                
                  </Items>

                </telerik:RadRadioButtonList>

if i remove radradiobutton list   screenshot : http://prntscr.com/s6ixau

if i add radradiobutton list   screenshot : http://prntscr.com/s6ix3f

 

Pls reply asap,Same as some other page also css not reflect in radbutton, not sure which control affect this, for example i gave radbutton with radradiobuttonlist above.

Doncho
Telerik team
 answered on 04 May 2020
8 answers
617 views

I have developed a web-based application using ASP.Net for the company I work for.

I would like to make use of the new Spreadsheet control to export data from a database to an Excel .xlsx file on the client-side.  No need to view the data in the spreadsheet in the web browser.  Just would like to use the Spreadsheet control to export data from a database to an Excel .xlsx file on the client-side when the user clicks on a button on the ASP.Net page.

Can that be done?

Can you provide an example on how to do that with VB.Net as the code-behind?

Sincerely,

Keith Jackson

Peter Milchev
Telerik team
 answered on 04 May 2020
2 answers
185 views

Two questions:

1.

Can someone point me to an example of an unbound multicolumncombobox, e.g. adding items manually? I found an example

https://docs.telerik.com/devtools/winforms/controls/multicolumncombobox/populating-with-data/unbound-mode

 

but this refers to properties which do not seem to exist (e.g. MultiColumnComboBoxElement and EditorControl).

 

2. In a databound multicolumncomboBox, when the user uses the drop-down, the drop-down appears with a transparent background, so you can see the elements rendered under it as part of the text... this makes it almost impossible to read. Is there a way to remove this transparency? I do not see a property. Is there a reason why this control is designed this way as opposed to being like a standard drop-down combo box?

 

Peter Milchev
Telerik team
 answered on 04 May 2020
1 answer
159 views

Hello,

I have accessed the start date time picker from the advanced form of my scheduler and have implemented custom time values as below.

        Dim startPicker As RadTimePicker = TryCast(e.Container.FindControl("StartTime"), RadTimePicker)

        startPicker.TimeView.CustomTimeValues = New TimeSpan() {New TimeSpan(8, 30, 0), New TimeSpan(12, 30, 0)}

However, when I run the program, the custom values are in place but the labels remain the same? (see attached)

Is there any way to access and change the labels, so only labels for my custom time values are shown?

Thanks in advance,

Kieran

 

 

 

Kieran
Top achievements
Rank 1
 answered on 01 May 2020
4 answers
326 views
Hi.

Now, Web Application is performed on "Azure Web Sites".
However, when "RadScheduler.ExportToPdf()" is performed, the following errors will occur. 

「502 - Web server received an invalid response while acting as a gateway or proxy server.」

Is this caused by what?

Regards.

Ryuta.
Akansha
Top achievements
Rank 1
 answered on 30 Apr 2020
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?