<
telerik:RadGrid
ID
=
"gridLink"
runat
=
"server"
AllowPaging
=
"True"
AutoGenerateColumns
=
"False"
CellSpacing
=
"0"
DataSourceID
=
"sdsLinkRecords"
GridLines
=
"None"
ShowGroupPanel
=
"True"
AllowCustomPaging
=
"True"
Skin
=
"Simple"
OnItemCommand
=
"gridLink_ItemCommand"
>
<
ClientSettings
AllowDragToGroup
=
"True"
>
<
Selecting
AllowRowSelect
=
"True"
/>
</
ClientSettings
>
<
MasterTableView
DataKeyNames
=
"fullID"
DataSourceID
=
"sdsLinkRecords"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to PDF"
/>
<
RowIndicatorColumn
FilterControlAltText
=
"Filter RowIndicator column"
>
<
HeaderStyle
Width
=
"10px"
/>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
FilterControlAltText
=
"Filter ExpandColumn column"
>
<
HeaderStyle
Width
=
"10px"
/>
</
ExpandCollapseColumn
>
<
Columns
>
...
</
Columns
>
<
EditFormSettings
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
<
FilterMenu
EnableImageSprites
=
"False"
>
</
FilterMenu
>
<
HeaderContextMenu
CssClass
=
"GridContextMenu GridContextMenu_Default"
>
</
HeaderContextMenu
>
</
telerik:RadGrid
>
Protected Sub gridLink_ItemCommand(sender As Object, e As Telerik.Web.UI.GridCommandEventArgs) Handles gridLink.ItemCommand
If e.CommandName = "Select" Then
Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
Dim oldReportsID As String = lblFullSeqNum.Text
Dim tblIncidentsID As Integer = item("tblIncidentsID").Text
....
End If
End Sub
Line 192, Column 289: there is no attribute "align"
…><
span
class
=
"rbText rbPrimary"
align
=
"center"
>Obsah spravodajcu []</
span
><inp…✉
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using ....
<
td
style
=
"width:190px;white-space:nowrap;text-align:right"
>
<
telerik:RadButton
ID
=
"btnDoc"
runat
=
"server"
ButtonType
=
"LinkButton"
Width
=
"190px"
Text='<%# "Obsah spravodajcu [" + Utils.GetFileLengthFriendly(Server.MapPath("~/Documents/" + Eval ("Document"))) + "]" %>' NavigateUrl='<%# "~/Documents/" + Eval("Document")%>' Target="_blank" Visible='<%# Eval("Document") != null %>' CausesValidation="false" CssClass="unwrapped">
<
Icon
PrimaryIconUrl
=
"~/Styles/icon_pdf.png"
/>
</
telerik:RadButton
>
</
td
>
protected void RadScheduler_AppointmentDataBound(object sender, SchedulerEventArgs e)
{
if (e.Appointment.DataItem != null)
{
int argb = Int32.Parse(((System.Data.DataRowView)(e.Appointment.DataItem)).Row.ItemArray[11].ToString().Replace("#", ""), NumberStyles.HexNumber);
e.Appointment.BackColor =
Color.FromArgb(argb);
}
}
DataTable
dtAppointments = new DataTable("Appointments");
dtAppointments.Columns.Add(
"ItemID", typeof(string));
dtAppointments.Columns.Add(
"Title", typeof(string));
dtAppointments.Columns.Add(
"CalendarType", typeof(string));
dtAppointments.Columns.Add(
"StartDate", typeof(DateTime));
dtAppointments.Columns.Add(
"EndDate", typeof(DateTime));
dtAppointments.Columns.Add(
"hasEndDate", typeof(bool));
dtAppointments.Columns.Add(
"Description", typeof(string));
dtAppointments.Columns.Add(
"Location", typeof(string));
dtAppointments.Columns.Add(
"RecurrenceRule", typeof(string));
dtAppointments.Columns.Add(
"RecurrenceParentID", typeof(Int64));
dtAppointments.Columns.Add(
"IsRecurrence", typeof(bool));
dtAppointments.Columns.Add(
"Color", typeof(string));
dtAppointments.Columns.Add(
"NavigationUrl",typeof(string));
/******* AppointTemplate Class.I took this from the forum*****/
public class AppTemplate : ITemplate
{
public void InstantiateIn(Control container)
{
Literal subject = new Literal();
subject.DataBinding += subject_DataBinding;
container.Controls.Add(subject);
}
private void subject_DataBinding(object sender, EventArgs e)
{
Literal subject = (Literal)sender;
IDataItemContainer aptContainer = (IDataItemContainer)subject.BindingContainer;
 
 
int argb = Int32.Parse(((System.Data.DataRowView)(aptContainer.DataItem)).Row.ItemArray[11].ToString().Replace("#", ""), NumberStyles.HexNumber);
int lId = Convert.ToInt32(DataBinder.Eval(aptContainer.DataItem, "ID"));
string strSubject = HttpUtility.HtmlEncode((string)DataBinder.Eval(aptContainer.DataItem, "Subject"));
SPWeb oWeb = null;
oWeb =
SPContext.Current.Web;
String requestListName = "TravelCalendarList";
SPListItem itm = oWeb.Lists[requestListName].GetItemById(Convert.ToInt32(lId));
if (itm != null)
{
if (null != itm["RequestId"])
{
subject.Text =
"<a href=\"" + oWeb.Url + "/default.aspx?ListId=" + lId + "\">" + strSubject + "</a>";
}
else
{
subject.Text = strSubject;
}
}
}
}
}
<
script src="/ThriventPromoRad40/WebResource.axd?d=kuV-9BW9vUE9mrfKFZ3iarEeZ53VRoFdPvU6l_eVkRJWggZVCdkkPTfmCxIghLXyMbupWxfy9hdfoXjjTxbduMDzGQNVIEKoR1dpIpiTxB81&t=634226478236080422" type="text/javascript"></script>
<
script src="/ThriventPromoRad40/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f68db6e-ab92-4c56-8744-13e09bf43565%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3aaa801ad7-53c4-4f5c-9fd3-11d99e4b92f4%3a16e4e7cd%3aed16cbdc%3a7165f74" type="text/javascript"></script>
<
script type="text/javascript">
//<![CDATA[
if
(typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
Is there any way to put image in right side of the toolbar , while RadButtons are in left order?
I have a lot of space in my toolbar and I need to use it for Logo.
The best is if I can have some of RadButtons in right order