Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
103 views
Resolved
Ross
Top achievements
Rank 1
Iron
 updated question on 05 May 2023
0 answers
901 views

Our system was probed using the url:    /Telerik.Web.UI.WebResource.axd?type=rau

which produced this frightening message:

{ "message" : "RadAsyncUpload handler is registered succesfully, however, it may not be accessed directly." }

I stopped getting that message after I disabled the Upload Handler in the web.config:

<add key="Telerik.Web.DisableAsyncUploadHandler" value="true"/>

But my question is, how can I tell if my system (Windows 2012) has been compromised

Thank you,

Steven

 

Steven
Top achievements
Rank 1
Iron
 asked on 04 May 2023
0 answers
141 views

I have a barchart, and at first I bind a datatable to this chart, it shows properly. Then when I click on a button, I would like the bar chart to show nothing (not clear series, because later on I need this chart to show another datatable), so I set Chart1.DataSource = null; Chart1.Databind();

But this is not working. The data on the chart keeps showing even if I set a null as its datasource. What's wrong? Please help! Thanks.

yuki
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 03 May 2023
2 answers
168 views
Hi
i am using  2013.2.625.40 and i saw below link

http://demos.telerik.com/aspnet-ajax/dropdowntree/examples/applicationscenarios/dropdowntreeingrid/defaultcs.aspx

can i use in my version if not can you please let me know how to do or any working sample

SelectedValue='<%#Bind("EmployeeID") %>' is not available in my version

Thanks
Senthil
Attila Antal
Telerik team
 updated question on 03 May 2023
0 answers
124 views

Hello,

I am trying to implement the Amazon S3 FileBrowserContentProvider to download file from S3 bucket using the function (ForceDownlodFile)

The file gets downloaded properly upon fileclick the RadWindow is opened and the file gets downloaded.

How to hide the RadWindow from code-behind?

 

Thanks

Michel

Michel
Top achievements
Rank 1
 updated question on 02 May 2023
0 answers
123 views

This is an odd problem that started yesterday. It has been working fine for years. It happens in all browsers.

In all my RadGrid pages, they all open correctly, and immediately the grid resizes to less than a line. If I change the browser between full screen and not full, the grid displays properly. So, every time I look at a list, I must change the window size mode - not a good work around for a product.

I have no idea what to even look at to solve this sudden out of nowhere problem.

All grids use a similar host code definition.

  RadGrid signupGrid = SignupGrid;
                signupGrid.NeedDataSource += new GridNeedDataSourceEventHandler(AdminGrid_NeedDataSource);
                signupGrid.Skin = "Default";
                signupGrid.AutoGenerateColumns = false;
                signupGrid.EnableViewState = false;
                signupGrid.GroupingEnabled = false;
                signupGrid.AllowPaging = true;
                signupGrid.PageSize = 100;
                signupGrid.Height = Unit.Percentage(100);
                signupGrid.EnableHeaderContextMenu = true;
                signupGrid.AllowSorting = true;
                signupGrid.AllowFilteringByColumn = true;
                signupGrid.AllowMultiRowSelection = false;
                signupGrid.AllowAutomaticDeletes = true;

                signupGrid.ClientSettings.EnableRowHoverStyle = true;
                signupGrid.ClientSettings.Selecting.AllowRowSelect = true;
                signupGrid.ClientSettings.Selecting.EnableDragToSelectRows = true;
                signupGrid.ClientSettings.ReorderColumnsOnClient = true;
                signupGrid.ClientSettings.AllowColumnsReorder = true;
                signupGrid.ClientSettings.ColumnsReorderMethod = GridClientSettings.GridColumnsReorderMethod.Reorder;
                signupGrid.ClientSettings.Virtualization.EnableVirtualization = true;
                signupGrid.ClientSettings.Virtualization.InitiallyCachedItemsCount = 2000;
                signupGrid.ClientSettings.Scrolling.AllowScroll = true;
                signupGrid.ClientSettings.Scrolling.UseStaticHeaders = true;
                signupGrid.ClientSettings.Scrolling.ScrollHeight = Unit.Percentage(100);
                signupGrid.ClientSettings.Resizing.AllowColumnResize = true;
                signupGrid.PagerStyle.Mode = GridPagerMode.NextPrevNumericAndAdvanced;
                signupGrid.GroupingSettings.CaseSensitive = false;

                               --- column definitions ---

The browser definition where windowPercent is height:100%

    <div id="GridDiv" runat="server" >
        <asp:panel runat="server" ID="Panel1"  CssClass="windowPercent" >
            <telerik:RadGrid runat="server" ID="SignupGrid" OnItemCommand="Grid_ItemCommand" ActiveItemStyle-VerticalAlign="Bottom" >
                <ClientSettings>
                    <ClientEvents OnRowDblClick="RowDblClick" />
               </ClientSettings>
            </telerik:RadGrid>
        </asp:panel>
    </div>

Any help or ideas to try are greatly appreciated.

George

              
George
Top achievements
Rank 1
 asked on 30 Apr 2023
0 answers
169 views

Hi,

   My grid is in EditMode="Batch" and  RadDropDownTree in GridTemplateColumn behaves funky.

   Am i missing anything?

Thank you

David

David
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 28 Apr 2023
1 answer
125 views

Hello, everyone. I need your help. How can I disable the button when uploading an image, and the button becomes enable after the image is uploaded successfully. I'd prefer to do it in JavaScript but I failed. just like

var btnMove = $find("<%= RadGrid1.ClientID %>").get_masterTableView().get_commandItem().findControl("btnMove");             
btnMove.set_enabled(false);

It's useless,how can I do it. there are my code.

 <telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0" CssClass="outerMultiPage">
            <telerik:RadPageView runat="server" ID="RadPageView1">
                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" Height="740px" BackColor="#FFFFFF">                   
                    <div class="ContentRow">
                        <div class="column c1 ">
                            <telerik:RadLabel ID="LabContainer" runat="server" Text="LabContainer" CssClass="LabOnRight" ForeColor="#000000"></telerik:RadLabel>
                        </div>
                        <div class="column c2 ">
                             <telerik:RadTextBox ID="txtContainer" runat="server" ></telerik:RadTextBox>
                        </div>
                    </div>     
                    <div class="ContentRow">                  
                           <telerik:RadAsyncUpload RenderMode="Lightweight" runat="server" ID="AsyncUpload1" AllowedFileExtensions="jpeg,jpg,gif,png,bmp"   OnClientFileUploading="OnClientFileUploading" OnClientValidationFailed="onClientValidationFailed"  MaxFileInputsCount="1" PostbackTriggers="btnMove" >                                
                            </telerik:RadAsyncUpload>                            
                     </div>
                    <telerik:RadGrid RenderMode="Lightweight" runat="server" ID="RadGrid1" Height="700px" AllowPaging="true" PageSize="10" AllowAutomaticDeletes="true" 
                        AllowAutomaticUpdates="false" AllowAutomaticInserts="false"  AllowFilteringByColumn="false" AllowMultiRowSelection="false"
                        OnNeedDataSource="RadGrid_NeedDataSource" OnItemCommand="RadGrid_ItemCommand" OnItemDataBound="RadGrid_ItemDataBound" 
                        OnItemCreated="RadGrid_ItemCreated" OnDeleteCommand ="RadGrid_DeleteCommand" >
                        <PagerStyle Position="Bottom" AlwaysVisible="true" PageSizes="10,20,30"></PagerStyle>
                        <ClientSettings EnableAlternatingItems="true" AllowKeyboardNavigation="False" EnablePostBackOnRowClick="true">
                            <Selecting AllowRowSelect="false" />
                            <Scrolling AllowScroll="true" UseStaticHeaders="true"></Scrolling>
                        </ClientSettings>
                         <AlternatingItemStyle BackColor ="LightBlue" />
                        <MasterTableView DataKeyNames="ContainerName" AutoGenerateColumns="false" CommandItemDisplay="Top" EditMode="PopUp">
                            <CommandItemTemplate>
                                <telerik:RadPushButton ID="btnClearAll" runat="server" UniqueName="btnClearAll" Text="Clear All" OnClick ="btnClearAll_Click"></telerik:RadPushButton>
                                <telerik:RadPushButton ID="btnMove" runat="server" UniqueName="btnMove" Text="Move In" OnClientClicking="ShowMoveForm"></telerik:RadPushButton>                               
                            </CommandItemTemplate>
                            <CommandItemSettings ShowAddNewRecordButton="false" />
                            <Columns>
 </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>

                </telerik:RadAjaxPanel>
            </telerik:RadPageView>
<telerik:RadPageView runat="server" ID="RadPageView2">
//
//
</telerik:RadMultiPage>


Attila Antal
Telerik team
 answered on 26 Apr 2023
1 answer
198 views

I would like to select and fire the event of the first row of a grid on loading time, server side.

How to select a row is easy 

RagGrid1.Items[0].Selected = true;

but this doesn't fire the event

OnItemCommand="..."

 

any idea ?

thanks

Renato

Attila Antal
Telerik team
 answered on 26 Apr 2023
0 answers
104 views

None of the the stripping options allows me to clean the style tag from this paragraph:

 

<p style="color: #000000; margin: 0cm;">Wondzorg Nijmegen is een samenwerkingsverband tussen A-NIMO, het Canisius-Wilhelmina Ziekenhuis, ATC (Apothekers Thuiszorg Co&ouml;rdinatiecentrum), ZZG Zorggroep en NEO Huisartsenzorg.</p>

I have also tested in your demo environment.

How to achieve this?

 

Marc

 

Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 asked on 25 Apr 2023
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?