| Dim InputMgr As RadInputManager = New RadInputManager |
| InputMgr.ID = "RadInputManager1" |
| InputMgr.Skin = "Vista" |
| Dim DateSetting As DateInputSetting = New DateInputSetting |
| DateSetting.MinDate = New DateTime(1980, 1, 1) |
| DateSetting.MaxDate = New DateTime(2020, 1, 1) |
| DateSetting.ClientEvents.OnError = "onClientDateTxtError" |
| DateSetting.ClientEvents.OnKeyPress = "onClientTextChanged" |
| InputMgr.InputSettings.Add(DateSetting) |
| TryCast(InputMgr.InputSettings(0), InputSetting).TargetControls.Add(New TargetInput(TextBox1.UniqueID, True)) |
| Dim a As String = RadInputManager1.InputSettings(0).TargetControls.Item(0).ControlID.ToString() |
| Stop |
| RadInputManager1.InputSettings(0).Validation.IsRequired = False |
| Dim a As String = RadInputManager1.InputSettings(0).TargetControls.Item(0).ControlID.ToString() |
| Stop |
| RadInputManager1.InputSettings(0).TargetControls.RemoveAt(0) |
<
radCln:RadTimePicker ID="tpArrivalTime" runat="server">
<TimeView runat="server" StartTime="0:0:0" EndTime="23:31:00" Interval="0:30:0" Columns="5" TimeFormat="HH:mm"
Culture="en-US">
</TimeView>
<DateInput DateFormat="HH:mm" Culture="en-US">
</DateInput>
<DatePopupButton Visible="False" />
</radCln:RadTimePicker>
am not getting the selected time .am getting the selected date with time.do this control have property to get time itself or else how to get the value in the textbox field after selecting the time (in code behind not javascript)
regards
Mathews Baby
| if (!IsPostBack){ |
| GridButtonColumn col = new GridButtonColumn(); |
| col.CommandName = col.Text = col.HeaderText = "Delete"; |
| col.UniqueName = "DeleteColumn"; |
| radDataGrid.Columns.Add(col); |
| } |
| <myapp:DataGrid ID="grdAdminOverview" runat="server" ShowEditButton="true" ShowDeleteButton="true"> |
| <Columns> |
| <telerik:GridBoundColumn HeaderText="Firstname" DataField="firstname" /> |
| <telerik:GridBoundColumn HeaderText="Lastname" DataField="lastname" /> |
| <telerik:GridBoundColumn HeaderText="Username" DataField="username" /> |
| <telerik:GridBoundColumn HeaderText="Email" DataField="email" /> |
| <telerik:GridBoundColumn HeaderText="Isadmin" DataField="isadmin" /> |
| </Columns> |
| </myapp:DataGrid> |
| <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DataGrid.ascx.cs" Inherits="Controls.DataGrid" %> |
| <telerik:RadGrid ID="radDataGrid" runat="server" AutoGenerateColumns="false" AllowPaging="true" Height="425px" Width="750px"> |
| </telerik:RadGrid> |
Hello Telerik Team,
I have an very strange behavior happenin...
I have this ajaxsettings
<telerik:AjaxSetting AjaxControlID="Order_Type">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="suggestionsCb" LoadingPanelID="AjaxLoadingPanel1">
</telerik:AjaxUpdatedControl>
</UpdatedControls>
</telerik:AjaxSetting>
for some reason when I change the "order_type" (which is a radcombobox) 2 times in a row and the "suggestionsCb" gets updated (which is also another radcombobox) each time, on the 2nd time the "suggestionsCb" textbox is disable, the user have to click on the arrow in order to put custom text in the box
Let me know if you need more detail
Regards
| <%@ Page Language="VB" AutoEventWireup="false" CodeFile="scrollbar.aspx.vb" Inherits="scrollbar" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| </div> |
| <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GridLines="None"> |
| <MasterTableView AutoGenerateColumns="False" DataKeyNames="ProductID" DataSourceID="SqlDataSource1"> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridBoundColumn DataField="ProductID" DataType="System.Int32" HeaderText="ProductID" |
| ReadOnly="True" SortExpression="ProductID" UniqueName="ProductID"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="ProductName" HeaderText="ProductName" SortExpression="ProductName" |
| UniqueName="ProductName"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="SupplierID" DataType="System.Int32" HeaderText="SupplierID" |
| SortExpression="SupplierID" UniqueName="SupplierID"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="CategoryID" DataType="System.Int32" HeaderText="CategoryID" |
| SortExpression="CategoryID" UniqueName="CategoryID"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="QuantityPerUnit" HeaderText="QuantityPerUnit" |
| SortExpression="QuantityPerUnit" UniqueName="QuantityPerUnit"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="UnitPrice" DataType="System.Decimal" HeaderText="UnitPrice" |
| SortExpression="UnitPrice" UniqueName="UnitPrice"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="UnitsInStock" DataType="System.Int16" HeaderText="UnitsInStock" |
| SortExpression="UnitsInStock" UniqueName="UnitsInStock"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="UnitsOnOrder" DataType="System.Int16" HeaderText="UnitsOnOrder" |
| SortExpression="UnitsOnOrder" UniqueName="UnitsOnOrder"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="ReorderLevel" DataType="System.Int16" HeaderText="ReorderLevel" |
| SortExpression="ReorderLevel" UniqueName="ReorderLevel"> |
| </telerik:GridBoundColumn> |
| <telerik:GridCheckBoxColumn DataField="Discontinued" DataType="System.Boolean" HeaderText="Discontinued" |
| SortExpression="Discontinued" UniqueName="Discontinued"> |
| </telerik:GridCheckBoxColumn> |
| <telerik:GridBoundColumn DataField="CategoryName" HeaderText="CategoryName" SortExpression="CategoryName" |
| UniqueName="CategoryName"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings> |
| <Scrolling AllowScroll="True" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
| <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=local;Initial Catalog=Northwind;Integrated Security=True" |
| ProviderName="System.Data.SqlClient" SelectCommand="SELECT * FROM [Alphabetical list of products]"> |
| </asp:SqlDataSource> |
| </form> |
| </body> |
| </html> |

