Hi,
It seems that something has changed on the PostbackUrl behavior of the RadButton. When we click, there is no navigation to the PostbackUrl.
This leads to big issues in running applications.
Marc
Hi Everyone,
I need to display something (as spinner?) to indicate the application is running, because I have a process that forces the user to wait for 30-60 seconds. I think a spinner would be helpful. What I'm not sure is, how to accomplish this. Ironically, when loading this page, this webpage displays two circles each rotating/spinning in different directions. Something like that would be perfect.
How can I duplicate this in my ASP.NET AJAX project?
Essentially, the user presses the RADButton. So, I'd like to pop the spinners when the long process begins, and then hide it when the process is over. Is there a way to launch the spinner from within my C# function?
Thanks,
Mike
I have a RadGrid that required two separate Edit Buttons used for InPlace EditMode. I have created two GridButtonColumns each with a unique CommandName. I am capturing these button presses in the RadGrid.ItemCommand method. What I need, however, is some way of displaying a Confirm and a Cancel button while in Edit Mode for each of these edit buttons. How can I achieve this?
Thanks!
Injection vulnerability in RadButton
Our company is using HCL AppScan to expose possible security vulnerabilities. Recently, the scans have started returning issues of high severity related to Blind LDAP Injection because the parameters of the hidden ClientState for RadButtons, such as buttonAbort_ClientState, can be appended to affect the response.
The test uses the following logic:
Four requests are sent.
The last is logically equal to the originalThe next-to-last is different. Any others are for control purposes.A comparison of the last two responses with the first (the last is similar to it, and the next-to-last is different) indicates that the application is vulnerable.
These are not LDAP issues since LDAP is not implemented on the server but our security team in concerned this is a vulnerability because the parameter can be appended without sanitization.
Is there legitimate reason for concern? If so do you have any suggestions for remediation. We are using version 2023.1.323.45.
Regards, Joel
<
ContentTemplate
>
<
span
>RadButton Content</
span
><br />
<
span
>RadButton Content2</
span
>
</
ContentTemplate
>
Hi,
I have a RadCombobox like this:
<telerik:RadComboBox CheckBoxes="true" ID="rcb_team" DataSourceID="sds_team" DataValueField="id" DataTextField="naam" runat="server">
<HeaderTemplate>
<label class="mr-3"> </label>
<div class="row">
<div class="col-6">Naam</div>
<div class="col-6">Functie</div>
</div>
</HeaderTemplate>
<ItemTemplate>
<div class="row">
<div class="col-6"><%# Eval("naam") %></div>
<div class="col-2">
<telerik:RadButton ID="rb_teamleider" AutoPostBack="false" ToggleType="Radio" ButtonType="ToggleButton" GroupName="Radios" runat="server">
<ToggleStates>
<telerik:RadButtonToggleState Text="Checked"></telerik:RadButtonToggleState>
<telerik:RadButtonToggleState Text="UnChecked"></telerik:RadButtonToggleState>
</ToggleStates>
</telerik:RadButton>
</div>
</ItemTemplate>
</telerik:RadComboBox>
In this scenario the radio buttons are not toggling...can you please reproduce and see what is happening?
Thanks,
Marc
Hello!
As you can see in the image that I attached, my radgrid has 2 buttons at the bottom (Valider & Annuler) which stands for Validate and Cancel in english. These buttons are added as the following:
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column" ButtonType="PushButton" InsertText="Valider" CancelText="Annuler" EditText="Modif" UpdateText="Valider">
</EditColumn>
</EditFormSettings>
I would like to change their design and apply a skin. I have applied the Material skin to the whole RadGrid however these buttons seem to not be affected by that. Would that be possible to style them, just like we style any radbutton using Skins? Would changing the ButtonType from pushbutton to another type help with this matter?
Here's the full code of the radgrid shown in the attached image:
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" Culture="French (France)"
DataSourceID="SDS_Notes" GridLines="None" Width="775px" Skin="Material"
AllowAutomaticInserts="True" AutoGenerateEditColumn="True">
<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
</HeaderContextMenu>
<MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Top" DataSourceID="SDS_Notes"
NoMasterRecordsText="Aucune note" DataKeyNames="NumNote"
AllowAutomaticUpdates="True"
Font-Size="13px">
<CommandItemSettings ExportToPdfText="Export to PDF" AddNewRecordText="Ajouter une note"
RefreshText="Rafraichir"></CommandItemSettings>
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridDropDownColumn DataField="AgenceAction" FilterControlAltText="Filter AgenceAction column"
HeaderText="Agence" SortExpression="AgenceAction" UniqueName="AgenceAction" HeaderStyle-Width="61px" DataSourceID="SDSAgence" ListTextField="AgenceAction" ListValueField="AgenceAction" ItemStyle-Width="130px">
<HeaderStyle Font-Size="15px" Width="80px"></HeaderStyle>
</telerik:GridDropDownColumn>
<telerik:GridDateTimeColumn DataField="DateAction" DataType="System.DateTime" FilterControlAltText="Filter DateAction column"
HeaderText="Date Action" SortExpression="DateAction" UniqueName="DateAction"
DataFormatString="{0:dd/MM/yyyy}" HeaderStyle-Width="110px">
<HeaderStyle Font-Size="15px" Width="130px"></HeaderStyle>
</telerik:GridDateTimeColumn>
<telerik:GridDateTimeColumn DataField="HeureAction" DataType="System.DateTime" FilterControlAltText="Filter HeureAction column"
HeaderText="Heure" SortExpression="HeureAction" UniqueName="HeureAction" PickerType="TimePicker"
DataFormatString="{0:HH:mm}" HeaderStyle-Width="70px">
<HeaderStyle Font-Size="15px" Width="60px"></HeaderStyle>
</telerik:GridDateTimeColumn>
<telerik:GridBoundColumn DataField="Observations" FilterControlAltText="Filter Observations column"
HeaderText="Observations" SortExpression="Observations" UniqueName="Observations"
HeaderStyle-Width="500px" MaxLength="105">
<HeaderStyle Font-Size="15px" Width="500px"></HeaderStyle>
<ItemStyle CssClass="form-control" />
</telerik:GridBoundColumn>
</Columns>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column" ButtonType="PushButton" InsertText="Valider" CancelText="Annuler" EditText="Modif" UpdateText="Valider">
</EditColumn>
</EditFormSettings>
<HeaderStyle BackColor="#757575" Font-Bold="false" ForeColor="White"/>
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>
I have tried setting the SkinID from codebehind in the itemcreated property however I am receiving the following error:
"The 'SkinId' property can only be set in or before the Page_PreInit event for static controls. For dynamic controls, set the property before adding it to the Controls collection."
Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated
If TypeOf e.Item Is GridEditableItem AndAlso e.Item.IsInEditMode Then
If Not e.Item.OwnerTableView.IsItemInserted Then
'[......]
Else
'[......]
End If
Dim cancelButton As Button = CType(e.Item.FindControl("CancelButton"), Button)
cancelButton.SkinID = "Material"
End If
End Sub