This sticky thread lists known issues and breaking changes introduced in the UI for ASP.NET AJAX releases.
Q3 2011 (Version number: 2011.3.1115)
Problem: When adding items to OData-enabled controls (RadMenu, RadTreeView, RadListBox, RadComboBox) through design time erroneous markup is applied to the control:
<telerik:RadListBox runat="server" ID="RadListBox1">
<Items>
</Items>
<WebServiceSettings>
<ODataSettings InitialContainerName="">
</ODataSettings>
</WebServiceSettings>
</telerik:RadListBox>
Please note the added ODataSettings section. It will cause JavaScript errors on the page.
Solution: Remove the ODataSetting section and the issue will vanish. The problem is also fixed in the Q3 SP1 release, version number 2011.3.1305When I run my project I'm getting this error
Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
In my web.config I checked that the version in the web.config is the same as the version I'm using in references
<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2020.2.617.45" newVersion="2020.2.617.45" />
I have a Circular Gauge within a bootstrap card. I cannot seem to get the "CenterTemplate" value centered in the gauge. Is there a setting I'm missing or does someone have a custom CSS to help. below is the html markup along with an attached image of the gauge.
Thank you in advance for any help!
<div class="card shadow mb-4" id="gaugecontainer1">
<div class="card-header py-3">
<h6 class="m-0 font-weight-bold text-primary">Daily Productivity Rate</h6>
</div>
<div class="card-body">
<div class="container-fluid align-content-center">
<telerik:RadCircularGauge ID="Gauge1" runat="server" Width="90%" Height="350px" Font-Size="X-Large" Skin="Silk" CssClass="gauge-left-padd">
<ClientEvents OnLoad="Gauge1_OnLoad" />
<CenterTemplate>
#:value # %
</CenterTemplate>
<Scale Min="0" Max="200">
<Labels Visible="true" Position="Inside" Font="12px Arial,Helvetica,sans-serif" Format="{0}%" />
<MajorTicks Visible="true" Size="20" Color="Black" />
<MinorTicks Visible="true" Color="Black" />
</Scale>
<ColorsCollection>
<telerik:ArcGaugeColor From="0" To="79" Color="Red" />
<telerik:ArcGaugeColor From="80" To="90" Color="Orange" />
<telerik:ArcGaugeColor From="91" To="100" Color="Yellow" />
<telerik:ArcGaugeColor From="101" To="120" Color="LightGreen" />
<telerik:ArcGaugeColor From="121" To="200" Color="Blue" />
</ColorsCollection>
</telerik:RadCircularGauge>
</div>
</div>
</div>
.gauge-left-padd {
padding-left: 2em;
}
<script type="text/javascript">
var gauge1, TO = false;
function Gauge1_OnLoad(sender, args) {
gauge1 = sender.get_kendoWidget();
}
window.onresize = (function () {
if (TO !== false)
clearTimeout(TO);
TO = setTimeout(resizeGauge, 200);
});
function resizeGauge() {
if (gauge1) {
gauge1.resize();
}
}
</script>
<telerik:RadListView ID="listParent" DataKeyNames="Parent_ID" DataSourceID="sqlParent" RenderMode="Lightweight" runat="server">
<ItemTemplate>
ID: <%# Eval("Parent_ID") %>
<%# Eval("Parent_Name") %>
<telerik:RadListView ID="listChild" DataKeyNames="Parent_ID" DataSourceID="sqlChild" RenderMode="Lightweight" runat="server">
<ItemTemplate>
<!-- child details would go here -->
</ItemTemplate>
</telerik:RadListView>
<asp:SqlDataSource ID="sqlChild" runat="server" ConnectionString="<%$ ConnectionStrings:cs %>" SelectCommand="Impact.usp_exe_get_Child" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:Parameter Name="Parent_ID" /> <!-- Parent ID from listParent-->
</SelectParameters>
</asp:SqlDataSource>
</ItemTemplate>
</telerik:RadListView>
<asp:SqlDataSource ID="sqlParent" runat="server" ConnectionString="<%$ ConnectionStrings:cs %>" SelectCommand="Impact.usp_exe_get_Parent" SelectCommandType="StoredProcedure"></asp:SqlDataSource>
I am implementing a one time password with google authenticator for login page. After checking the user id and password is correct, I need to hidden the login box and show the QR code, OTP textbox and submit button. I saw sample using Panel.visible = true/false to switch. It is work in Page_Load to set default Panel_GoogleAuth.visible = false, but it is not work in the login button onClick event. It can't show the Panel_GoogleAuth and just hidden the login button but not the whole Panel_Login. Does anyone know why?
My reference: Sample
aspx:
<asp:Panel ID="Panel_GoogleAuth" runat="server" Font-Names="Arial" Font-Size="12pt" HorizontalAlign="Center" Width="1024px">
<div class="row">
<div class="col-3"></div>
<div class="col-5">
<fieldset class="TOTP">
<asp:Label ID="lblScanQRCode" runat="server" Style="padding-top: 4px">Sceen the QR Code in Google Authenticator</asp:Label>
<br />
<asp:Image ID="imgQRCode" runat="server" Width="200" Height="200" />
<asp:HiddenField ID="hfSecretKey" runat="server" />
<br />
<asp:TextBox ID="txtOTP" runat="server" placeholder="Enter One-Time-Password"></asp:TextBox>
<asp:Button ID="btnVerify" runat="server"Text="Verify OTP" />
<br /><br />
<asp:Label ID="lblMessage" runat="server"></asp:Label>
</fieldset>
</div>
</div>
</asp:Panel>
<telerik:RadAjaxPanel ID="StaffPanel" runat="server" Width="99%">
<div id="wrap-content">
<asp:Panel ID="Panel_Login" runat="server" Font-Names="Arial" Font-Size="12pt" HorizontalAlign="Center" Width="1024px">
<asp:Login ID="LoginUser" Class="Login" runat="server" EnableViewState="false" RenderOuterTable="false">
<div class="accountInfo">
<div class="row">
<div>
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Staff ID:</asp:Label>
</div>
<div>
<asp:TextBox ID="UserName" runat="server" CssClass="textEntry" Width="114%" Height="20"></asp:TextBox>
</div>
</div>
<div class="row">
<div>
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Style="padding-top: 4px">Password</asp:Label>
</div>
<div>
<asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password" Width="114%" Height="20"></asp:TextBox>
</div>
</div>
<div class="row">
<telerik:RadButton ID="btnLogin" runat="server" Text="Login" OnClick="RadButton_LoginCheck_Click" RenderMode="Lightweight" Width="93%" Font-Size="X-Large" Skin="Silk" Height="35px" Font-Names="Arial"></telerik:RadButton>
</div>
</div>
</asp:Login>
</asp:Panel>
</div>
</telerik:RadAjaxPanel>
aspx.vb:
Protected Sub btnLogin_Click(sender As Object, e As System.EventArgs) Handles btnLogin.Click If staffIDRegex.Match(checkStaffId).Success Then Panel_Login.Visible = False Panel_GoogleAuth.Visible = True End If End Sub
How can I pass the number to the confirm popup message like
===============================
Confirm to Delete Record ___(No)___?
===============================
CODE in .aspx
<script>
function DeleteConfirm(sender, args) {</script>
<telerik:RadButton ID="btnDelete" runat="server" Skin="Windows7" Text="Delete" CommandName="Delete"
CommandArgument='<%# Eval("CueId") + "|" + Eval("RevID") + "|" + Eval("No") %>' OnClientClicking="DeleteConfirm" visible='<%# If(Eval("AdminPage").ToString() = "Yes", true, false) %>'
Enabled='<%# If(Eval("ControlStatus").ToString() = "R", true, false) %>' >
</telerik:RadButton>
Hi sir,
I open the new page in radwindow. in that new page i add textbox, checkbox, RadRadioButtonList and comobobox.
but CheckBox, RadRadioButtonList it show double how we restrict.
it show in firefox, edge browser.
<telerik:GridBoundColumn DataField="StockQuantity" DataType="System.Int16" |
HeaderText="Stock" SortExpression="StockQuantity" |
UniqueName="StockQuantity"> |
</telerik:GridBoundColumn> |
Protected Sub RadGrid1_ColumnCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridColumnCreatedEventArgs) Handles RadGrid1.ColumnCreated |
If e.Column.UniqueName = "StockQuantity" Then |
e.Column.Visible = False |
End If |
End Sub |