i have radgrid with alot of custom filters and i need to move javascript to external file
how to set static client id to put this line at external javascript file
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
<telerik:RadNotification ID="Notification" runat="server" Position="Center" AutoCloseDelay="10000" Width="350" EnableRoundedCorners="true" ContentIcon="none" KeepOnMouseOver="true" ShowCloseButton="false"> <ContentTemplate> <asp:Literal ID="NotificationText" runat="server" /> </ContentTemplate></telerik:RadNotification>protected void SaveQuoteButton_Click(object sender, EventArgs e){ Notification.Title = "Save Title"; NotificationText.Text = "Save Text"; Notification.Show();}When using the OnClientPasteHtml event like link below :
https://www.telerik.com/forums/playing-and-upload-external-video
After insert video into editor , i set height and width in properties but video always display original size. In html design only show :
<video src="/Folder/041462.mp4" controls="controls" ></video>
How to set width and height of video using media manager properties, current properties not work .
Thanks,
I am using a RadGrid where I want to change the cell color based on values in a particular column also I want to perform some task on click of a column header.
But non of the events are firing.
Your help would be highly appreciated.
Thanks,
Vibhor
RadComboBox of OnItemsRequested text=""
When the mouse moves to the selection box, the error will pop up due to the empty value. will pop up error :The array can't be empty. Parameter name: bytes
The 2016.2.607.40 version is OK, and the later version has this error
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProFlowDirectionEdit.aspx.cs" Inherits="Healthway.XA.Web.UI.Pages.FlowDirection.ProFlowDirectionEdit" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
</Scripts>
</telerik:RadScriptManager>
<div>
<telerik:RadComboBox ID="RadComboBoxProduct" runat="server" Height="200" Width="315"
DropDownWidth="315" Text="" HighlightTemplatedItems="true"
EnableLoadOnDemand="true" Filter="StartsWith" OnItemsRequested="rcbCustomer_ItemsRequested"
Skin="Office2010Silver">
<HeaderTemplate>
<table style="width: 275px" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 175px;">
Product Name
</td>
<td style="width: 60px;">
Quantity
</td>
<td style="width: 40px;">
Price
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width: 275px" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 175px;">
<%# DataBinder.Eval(Container, "Text")%>
</td>
<td style="width: 60px;">
<%# DataBinder.Eval(Container, "Attributes['CusCode']")%>
</td>
<td style="width: 40px;">
<%# DataBinder.Eval(Container, "Attributes['CusName']")%>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>
</div>
</form>
</body>
</html>
protected void rcbCustomer_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
{
string sqlSelectCommand = "SELECT [CusCode], [CusName] from [Customer] WHERE [CusName] LIKE @text + '%' ORDER BY [CusName]";
SqlDataAdapter adapter = new SqlDataAdapter(sqlSelectCommand,
ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString);
adapter.SelectCommand.Parameters.AddWithValue("@text", e.Text);
DataTable dataTable = new DataTable();
adapter.Fill(dataTable);
foreach (DataRow dataRow in dataTable.Rows)
{
RadComboBoxItem item = new RadComboBoxItem();
item.Text = (string)dataRow["CusName"];
item.Value = dataRow["CusCode"].ToString();
//RadComboBoxProduct.Items.Add(item);
item.DataBind();
}
}
We have a cloud based software for dentists that we have developed using .net and runs on Azure and sql server.
We would like to enable our users access to some parts of the db (like appointments stored in sql server db) using an app.
We thought about using Xamarin.
We are new to the world of app development. Can someone steer us in the direction of being able to create an app which would be linked to our sql db and handle initially the appointments?
Thanks,
John
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProFlowDirectionEdit.aspx.cs" Inherits="Healthway.XA.Web.UI.Pages.FlowDirection.ProFlowDirectionEdit" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
</Scripts>
</telerik:RadScriptManager>
<div>
<telerik:RadComboBox ID="RadComboBoxProduct" runat="server" Height="200" Width="315"
DropDownWidth="315" Text="" HighlightTemplatedItems="true"
EnableLoadOnDemand="true" Filter="StartsWith" OnItemsRequested="rcbCustomer_ItemsRequested"
Skin="Office2010Silver">
<HeaderTemplate>
<table style="width: 275px" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 175px;">
Product Name
</td>
<td style="width: 60px;">
Quantity
</td>
<td style="width: 40px;">
Price
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width: 275px" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 175px;">
<%# DataBinder.Eval(Container, "Text")%>
</td>
<td style="width: 60px;">
<%# DataBinder.Eval(Container, "Attributes['CusCode']")%>
</td>
<td style="width: 40px;">
<%# DataBinder.Eval(Container, "Attributes['CusName']")%>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>
</div>
</form>
</body>
</html>
protected void rcbCustomer_ItemsRequested(object o, RadComboBoxItemsRequestedEventArgs e)
{
string sqlSelectCommand = "SELECT [CusCode], [CusName] from [Customer] WHERE [CusName] LIKE @text + '%' ORDER BY [CusName]";
SqlDataAdapter adapter = new SqlDataAdapter(sqlSelectCommand,
ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString);
adapter.SelectCommand.Parameters.AddWithValue("@text", e.Text);
DataTable dataTable = new DataTable();
adapter.Fill(dataTable);
foreach (DataRow dataRow in dataTable.Rows)
{
RadComboBoxItem item = new RadComboBoxItem();
item.Text = (string)dataRow["CusName"];
item.Value = dataRow["CusCode"].ToString();
//RadComboBoxProduct.Items.Add(item);
item.DataBind();
}
}
in HTML5 defines, next code
<input id="test" name="text" required />
how the required attribute is implemented in the radtextbox
I am not able to align the left text in excel.
Protected Sub RadGrid1_ExportCellFormatting(sender As Object, e As ExportCellFormattingEventArgs)
If e.FormattedColumn.UniqueName = "ColValor" Then
e.Cell.HorizontalAlign = HorizontalAlign.Left
End If
End Sub