id="ctl00_MainContent_RadAsyncUpload1_ClientState" ... value="{'isEnabled':'true','uploadedFiles':[{"fileInfo":{"FileName":"originalFileName.jpg","ContentType":"image/jpeg","ContentLength":4405,"DateJson":"2005-03-10T19:32:35.000Z","Index":0},"metaData":"CS8S/Z0J/b2982..."}]}" ...
Hi
I have issues with a filter that i have placed in a radwindow - the dropdowns ect is put behind the window its self - this is my code:
<
telerik:RadWindow
RenderMode
=
"Lightweight"
ID
=
"modalPopup"
runat
=
"server"
Width
=
"360px"
Height
=
"360px"
Modal
=
"true"
OffsetElementID
=
"main"
Style
=
"z-index: 100001;"
Skin
=
"Windows7"
>
<
ContentTemplate
>
<
telerik:RadFilter
ID
=
"TableEditFilter"
runat
=
"server"
FilterContainerID
=
"rgTableEdit"
ExpressionPreviewPosition
=
"Bottom"
Style
=
"z-index: 100002;"
/>
</
ContentTemplate
>
</
telerik:RadWindow
>
<
script
type
=
"text/javascript"
>
//
<![CDATA[
function ShowmodalPopup(sender, args) {
$find("<%=modalPopup.ClientID%>").show();
return false;
}
//]]>
</
script
>
and is activated by a button click in a GridTemplateColumn:
<
telerik:RadButton
Image-ImageUrl
=
"~/Images/filter_16x16.png"
runat
=
"server"
ID
=
"FilterButton"
Width
=
"16"
Height
=
"16"
skin
=
"Windows7"
OnClientClicked
=
"ShowmodalPopup"
AutoPostBack
=
"false"
/>
Hi Admin,
i Was trying this demo code ( http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/templates/defaultcs.aspx) for overlay menu. Is that possible to create sub menu for this type of menu ?
Prior to our recent upgrade to 2016.1.113.40 the below chart rendered fine, after our upgrade, we get a JS error. To correct this I had to change the series from LineSeries to a ScatterLineSeries.
Is this a known issue?
<
telerik:RadHtmlChart
ID
=
"rChart1"
Visible
=
"true"
runat
=
"server"
BorderStyle
=
"Outset"
BorderWidth
=
"2px"
CssClass
=
"Center"
Height
=
"400px"
Width
=
"980px"
Legend-Appearance-Visible
=
"true"
>
<
ChartTitle
Text
=
"Acme Engineering and Manufacturing Corporation"
>
<
Appearance
>
<
TextStyle
FontFamily
=
"Tahoma"
Bold
=
"true"
FontSize
=
"10pt"
/>
</
Appearance
>
</
ChartTitle
>
<
Legend
>
<
Appearance
Visible
=
"true"
BackgroundColor
=
"White"
Position
=
"Right"
></
Appearance
>
</
Legend
>
<
Appearance
>
<
FillStyle
BackgroundColor
=
"LightSteelBlue"
/>
</
Appearance
>
<
PlotArea
>
<
XAxis
DataLabelsField
=
"Day"
Name
=
"Day Of The Month"
Color
=
"Black"
Step
=
"1"
BaseUnitStep
=
"1"
MinorTickType
=
"None"
StartAngle
=
"1"
MinValue
=
"1"
>
<
TitleAppearance
Text
=
"Days Of The Month"
Visible
=
"true"
>
<
TextStyle
FontSize
=
"8pt"
FontFamily
=
"Tahoma"
Bold
=
"true"
/>
</
TitleAppearance
>
<
MajorGridLines
Visible
=
"true"
/>
<
MinorGridLines
Visible
=
"false"
/>
</
XAxis
>
<
YAxis
MaxValue
=
"4500000"
MinValue
=
"0"
Step
=
"500000"
Visible
=
"true"
>
<
TitleAppearance
Text
=
"Acme Net Sales Dollars"
>
<
TextStyle
FontSize
=
"8pt"
FontFamily
=
"Tahoma"
Bold
=
"true"
/>
</
TitleAppearance
>
<
MajorGridLines
Visible
=
"true"
/>
<
MinorGridLines
Visible
=
"false"
/>
<
LabelsAppearance
DataFormatString
=
"{0:C0}"
></
LabelsAppearance
>
</
YAxis
>
<
Appearance
FillStyle-BackgroundColor
=
"White"
></
Appearance
>
<
Series
>
<
telerik:LineSeries
DataFieldY
=
"RunningGoalAmount"
Name
=
"Monthly Goal"
>
<
Appearance
>
<
FillStyle
BackgroundColor
=
"Blue"
/>
</
Appearance
>
<
LineAppearance
LineStyle
=
"Smooth"
Width
=
"3"
/>
<
LabelsAppearance
Visible
=
"false"
></
LabelsAppearance
>
<
MarkersAppearance
MarkersType
=
"Circle"
Size
=
"8"
/>
<
TooltipsAppearance
Color
=
"White"
DataFormatString
=
"{0:C0}"
></
TooltipsAppearance
>
</
telerik:LineSeries
>
</
Series
>
<
Series
>
<
telerik:LineSeries
DataFieldY
=
"RunningTotalAmount"
Name
=
"Shipments"
>
<
LineAppearance
LineStyle
=
"Smooth"
Width
=
"3"
/>
<
LabelsAppearance
Visible
=
"false"
></
LabelsAppearance
>
<
Appearance
>
<
FillStyle
BackgroundColor
=
"Red"
/>
</
Appearance
>
<
MarkersAppearance
MarkersType
=
"Circle"
Size
=
"8"
/>
<
TooltipsAppearance
Color
=
"White"
DataFormatString
=
"{0:C0}"
></
TooltipsAppearance
>
</
telerik:LineSeries
>
</
Series
>
</
PlotArea
>
</
telerik:RadHtmlChart
>
JS error with above.
Unhandled exception at line 32775, column 1 in http://localhost/FantasticWeb/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;Telerik.Web.UI:en-US:0e68002b-2938-4ae4-8b39-d22194ea1513:16e4e7cd:f7645509:22a6274a:ed16cbdc:24ee1bba:c128760b:19620875:874f8ea2:92fe8ea0:fa31b949:4877f69a:f46195d3:490a9d4e:bd8f85e4:86526ba7:e330518b:88144a7a:1e771326:8e6f0d33:1f3a7489:2003d0b8:c8618e41:1a73651d:333f8d94:e4f8f289:7c926187:8674cba1:b7778d6c:c08e9f8a:a51ee93e:59462f1:4cd1fec6:77613e24:f0c58c30:9b7cc2d2:8d1fecce:ec7335e:d944e0f6:c442ac3f:69667591:6b6b9ee5:595e7652:58366029
0x800a138f - JavaScript runtime error: Unable to get property '0' of undefined or null reference
Changing the Series to a ScatterLineSeries versus LineSeries seems to have resolved this. I also changed the DataFormatString on the Label to 1.
<
Series
>
<
telerik:ScatterLineSeries
DataFieldX
=
"Day"
DataFieldY
=
"RunningGoalAmount"
Name
=
"Monthly Goal"
>
<
Appearance
>
<
FillStyle
BackgroundColor
=
"Blue"
/>
</
Appearance
>
<
LineAppearance
LineStyle
=
"Smooth"
Width
=
"3"
/>
<
LabelsAppearance
Visible
=
"false"
></
LabelsAppearance
>
<
MarkersAppearance
MarkersType
=
"Circle"
Size
=
"8"
/>
<
TooltipsAppearance
Color
=
"White"
DataFormatString
=
"{1:C0}"
></
TooltipsAppearance
>
</
telerik:ScatterLineSeries
>
</
Series
>
<
Series
>
<
telerik:ScatterLineSeries
DataFieldX
=
"Day"
DataFieldY
=
"RunningTotalAmount"
Name
=
"Shipments"
>
<
LineAppearance
LineStyle
=
"Smooth"
Width
=
"3"
/>
<
LabelsAppearance
Visible
=
"false"
></
LabelsAppearance
>
<
Appearance
>
<
FillStyle
BackgroundColor
=
"Red"
/>
</
Appearance
>
<
MarkersAppearance
MarkersType
=
"Circle"
Size
=
"8"
/>
<
TooltipsAppearance
Color
=
"White"
DataFormatString
=
"{1:C0}"
></
TooltipsAppearance
>
</
telerik:ScatterLineSeries
>
</
Series
>
Hi
Being my first forumn post, please forgive me if this has already been asked - answered.
I'm looking for information on how to reduce the amount of filter list options (contains, nofilter, equalsto......) for the grid column. The problem is that this is not the normal menu items as I'm using the excel-like filtering and therefore the items are contained in the headercontextmenu.
Other setting are:
- autogenerated columns
- grid is generated in code and not the aspx page
How do I remove, some of these items.
Brendan
Hi
I have a small issue, that i cant seem to get my head around...
i have a radbutton - with an OnClientClicked="doSomething" attached:
<
telerik:RadButton
ID
=
"ipplanSearch"
runat
=
"server"
ButtonType
=
"LinkButton"
CssClass
=
"imageButton_75"
Text
=
"Search"
OnClientClicked
=
"IPPlanSearchButtonClick"
AutoPostBack
=
"false"
>
<
Icon
PrimaryIconUrl
=
"Images/Find_16x16.png"
/>
</
telerik:RadButton
>
and the i have a javascript function as this:
function IPPlanSearchButtonClick(sender, eventArgs) {
var Hostname = $find("<%= Hostname.ClientID %>")._text;
var func = $find("<%= Func.ClientID%>")._text;
var ApplicationID = $find("<%= ApplicationId.ClientID%>")._text;
var IPAddress = $find("<%= IPAddress.ClientID%>")._text;
var Terminated = $find("<%= Terminated.ClientID%>")._selectedValue;
var url = "/Windows/IPPlanSearch.aspx?hostname=" + Hostname + "&function=" + func + "&EnvironmentID=&Application=" + ApplicationID + "&IPAddress=" + IPAddress + "&MACAddress=&AssignedIP=&ManagementIP=&CountryID=&SerialNumber=&Asset=&OSName=&DateID=&CertificateName=&Terminated=" + Terminated;
OpenWindowV1(url, "Search IPPlan");
return false;
}
Everything seems to be working just fine - the function is called as expected, the new window is opened.. but then it complains:
0x800a1391 - JavaScript runtime error:
'IPPlanSearchButtonClick'
is undefined
from the following autogenerated function:
Sys.Application.add_init(
function
() {
$create(Telerik.Web.UI.RadButton, {
"_accessKey"
:
""
,
"_hasIcon"
:
true
,
"_hasImage"
:
false
,
"_isClientSubmit"
:
true
,
"_isImageButton"
:
false
,
"_postBackReference"
:
"__doPostBack('ipplanSearch','')"
,
"_renderMode"
:1,
"autoPostBack"
:
false
,
"buttonType"
:1,
"clientStateFieldID"
:
"ipplanSearch_ClientState"
,
"cssClass"
:
"imageButton_75"
,
"iconData"
:{
"primaryIconUrl"
:
"/Images/Find_16x16.png"
},
"imageData"
:{},
"text"
:
"Search"
,
"toggleStatesData"
:[],
"uniqueGroupName"
:
""
,
"uniqueID"
:
"ipplanSearch"
}, {
"clicked"
:IPPlanSearchButtonClick},
null
, $get(
"ipplanSearch"
));
});
Any idea what i have missed?
thanks
/Stig
Hey,
i wonder if it is somehow possible to define cells to be read only including the formular. I also couldn't find a solution for hiding sheets when importing an excel file.
Do you guys have any solution for that?
Good day guys I have this scenario where i want to validations.I want to be able to validate the control using jquery popup dialogs to display error message to the user.
Please help anyone...
here is my markup below
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditIncidents.aspx.cs"
Inherits="Incident_Monitor.Incidents.EditIncidents" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%--<%@ Register TagPrefix="asp" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI, Version=2015.3.930.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" %>--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
id
=
"Head1"
runat
=
"server"
>
<
script
src
=
"Scripts/jquery-1.9.1.js"
type
=
"text/javascript"
></
script
>
<
link
rel
=
"stylesheet"
href
=
"Theme/redmond/jquery-ui-1.10.3.custom.css"
/>
<
script
src
=
"Scripts/jquery-ui-1.11.4.js"
type
=
"text/javascript"
></
script
>
<
title
>Edit Dialog</
title
>
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
$("#Popdiv").dialog({
autoOpen: false,
autoResize: true,
resizable: false,
modal: true,
draggable: false,
hide: { effect: "blind" },
title: "Error",
open: function (event, ui) {
$(this).parent().appendTo("form");
$("#TextBox1").val("");
$("#TextBox1").focus();
$("#TextBox2").val("");
/* $("#TextBox2").focus();*/
//$("#hfisopen").val("true");
},
buttons: {
"ok": function () {
$(this).dialog("close");
},
}
});
});
$("#LoginButton").click(function (e) {
ValidateUsertwo();
e.preventDefault();
});
function ValidateUsertwo() {
var ID = $find("#<%=cboAccount.ClientID%>");
if (ID == "" || "Select Account") {
$("#Popdiv").dialog("open");
return false;
}
}
</
script
>
</
head
>
<
body
ID
=
"EditIncident"
>
<
telerik:RadStyleSheetManager
ID
=
"RadStyleSheetManager1"
runat
=
"server"
>
<
StyleSheets
>
<
telerik:StyleSheetReference
Path
=
"~/Styles/Site.css"
/>
<
telerik:StyleSheetReference
Path
=
"~/App_Themes/iThNk/iThNk.skin"
/>
</
StyleSheets
>
</
telerik:RadStyleSheetManager
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
>
<
script
type
=
"text/javascript"
>
function SiteNodeClicking(sender, args) {
var comboBox = $find('<%= fvIncidentEdit.FindControl("cboSite").ClientID %>');
var node = args.get_node()
comboBox.set_text(node.get_text());
comboBox.trackChanges();
comboBox.get_items().getItem(0).set_text(node.get_text());
comboBox.commitChanges();
comboBox.hideDropDown();
// Call comboBox.attachDropDown if:
// 1) The RadComboBox is inside an AJAX panel.
// 2) The RadTreeView has a server-side event handler for the NodeClick event, i.e. it initiates a postback when clicking on a Node.
// Otherwise the AJAX postback becomes a normal postback regardless of the outer AJAX panel.
comboBox.attachDropDown();
}
function toggleVisibility(txtOtherTitle)
{
var control = document.getElementById(txtOtherTitle);
if (control.style.visibility == "visible" || control.style.visibility == "") {
control.style.visibility = "hidden";
}
else {
control.style.visibility = "visible";
}
}
function LocationNodeClicking(sender, args) {
var comboBox = $find('<%= fvIncidentEdit.FindControl("cboLocation").ClientID %>');
var node = args.get_node()
comboBox.set_text(node.get_text());
comboBox.trackChanges();
comboBox.get_items().getItem(0).set_text(node.get_text());
comboBox.commitChanges();
comboBox.hideDropDown();
// Call comboBox.attachDropDown if:
// 1) The RadComboBox is inside an AJAX panel.
// 2) The RadTreeView has a server-side event handler for the NodeClick event, i.e. it initiates a postback when clicking on a Node.
// Otherwise the AJAX postback becomes a normal postback regardless of the outer AJAX panel.
comboBox.attachDropDown();
}
function DepartmentNodeClicking(sender, args) {
var comboBox = $find('<%= fvIncidentEdit.FindControl("cboDepartment").ClientID %>');
var node = args.get_node()
comboBox.set_text(node.get_text());
comboBox.trackChanges();
comboBox.get_items().getItem(0).set_text(node.get_text());
comboBox.commitChanges();
comboBox.hideDropDown();
// Call comboBox.attachDropDown if:
// 1) The RadComboBox is inside an AJAX panel.
// 2) The RadTreeView has a server-side event handler for the NodeClick event, i.e. it initiates a postback when clicking on a Node.
// Otherwise the AJAX postback becomes a normal postback regardless of the outer AJAX panel.
comboBox.attachDropDown();
}
function CategoryNodeClicking(sender, args) {
var comboBox = $find('<%= fvIncidentEdit.FindControl("cboCategory").ClientID %>');
var node = args.get_node()
if (node.get_value() == 0) {
node.set_selected(false);
args.set_cancel(true);
} else {
comboBox.set_text(node.get_text());
comboBox.trackChanges();
comboBox.get_items().getItem(0).set_text(node.get_text());
comboBox.commitChanges();
comboBox.hideDropDown();
// Call comboBox.attachDropDown if:
// 1) The RadComboBox is inside an AJAX panel.
// 2) The RadTreeView has a server-side event handler for the NodeClick event, i.e. it initiates a postback when clicking on a Node.
// Otherwise the AJAX postback becomes a normal postback regardless of the outer AJAX panel.
comboBox.attachDropDown();
}
}
function StopPropagation(e) {
if (!e) {
e = window.event;
}
e.cancelBubble = true;
}
function OnClientSiteDropDownOpenedHandler(sender, eventArgs) {
var tree = sender.get_items().getItem(0).findControl("trvSite");
var selectedNode = tree.get_selectedNode();
if (selectedNode) {
selectedNode.scrollIntoView();
}
}
function OnClientLocationDropDownOpenedHandler(sender, eventArgs) {
var tree = sender.get_items().getItem(0).findControl("trvLocation");
var selectedNode = tree.get_selectedNode();
if (selectedNode) {
selectedNode.scrollIntoView();
}
}
function OnClientDepartmentDropDownOpenedHandler(sender, eventArgs) {
var tree = sender.get_items().getItem(0).findControl("trvDepartment");
var selectedNode = tree.get_selectedNode();
if (selectedNode) {
selectedNode.scrollIntoView();
}
}
function OnClientCategoryDropDownOpenedHandler(sender, eventArgs) {
var tree = sender.get_items().getItem(0).findControl("trvCategory");
var selectedNode = tree.get_selectedNode();
if (selectedNode) {
selectedNode.scrollIntoView();
}
}
function CloseAndRebind(args) {
GetRadWindow().BrowserWindow.refreshGrid(args);
GetRadWindow().close();
}
function GetRadWindow() {
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)
return oWindow;
}
function CancelEdit() {
GetRadWindow().close();
}
</
script
>
<%-- <
asp:RadScriptManager
ID
=
"ScriptManager2"
runat
=
"server"
/>--%>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboAccount"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboSite"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboSite"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboLocation"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboDepartment"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboDepartment"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboCategory"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboProductGroup"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboProduct"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboProduct"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboComponent"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboDepartment"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboCategory"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboCategory"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboCategory"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboAssignedTo"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboRiskPriority"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboRisk"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboPriority"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"txtImpactLvl"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboRiskPriority"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboPriority"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"cboRisk"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboRisk"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"txtImpactLvl"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"cboPriority"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"txtImpactLvl"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadFormDecorator
ID
=
"RadFormDecorator1"
runat
=
"server"
Skin
=
"Office2010Silver"
DecoratedControls
=
"All"
/>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
Runat
=
"server"
></
telerik:RadScriptManager
>
<
asp:FormView
ID
=
"fvIncidentEdit"
runat
=
"server"
DataKeyNames
=
"IncidentID"
GridLines
=
"None"
OnItemCommand
=
"fvIncidentEdit_ItemCommand"
Width
=
"100%"
Height
=
"148px"
>
<
EditItemTemplate
>
<
table
class
=
"IncDetails"
>
<
tr
>
<
td
colspan
=
"4"
>
<
asp:Label
ID
=
"lblSiteDetails"
runat
=
"server"
Text
=
"Site Details"
CssClass
=
"bold"
/>
<
hr
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblAccount"
runat
=
"server"
Text
=
"Account:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboAccount"
runat
=
"server"
DataTextField
=
"AccountName"
DataValueField
=
"AccountID"
EnableLoadOnDemand
=
"true"
EmptyMessage
=
"Select Account"
MarkFirstMatch
=
"true"
OnSelectedIndexChanged
=
"cboAccount_SelectedIndexChanged"
AllowCustomText
=
"false"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
<
asp:RequiredFieldValidator
runat
=
"server"
ID
=
"RequiredFieldValidator2"
InitialValue
=
"- Search in -"
ControlToValidate
=
"cboAccount"
ValidationGroup
=
"SearchFormValidationGroup"
ErrorMessage
=
"Please select Account"
CssClass
=
"validator"
/>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblDepartment"
runat
=
"server"
Text
=
"Department:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboDepartment"
runat
=
"server"
OnClientDropDownOpened
=
"OnClientDepartmentDropDownOpenedHandler"
ExpandAnimation-Type
=
"None"
CollapseAnimation-Type
=
"None"
EmptyMessage
=
"Select Department"
AutoPostBack
=
"true"
>
<
ItemTemplate
>
<
div
id
=
"divDepartment"
>
<
telerik:RadTreeView
ID
=
"trvDepartment"
DataValueField
=
"DepartmentID"
runat
=
"server"
OnNodeClick
=
"trvDepartment_NodeClick"
DataFieldID
=
"DepartmentID"
DataTextField
=
"DepartmentName"
DataFieldParentID
=
"ParentDepartmentID"
OnClientNodeClicking
=
"DepartmentNodeClicking"
Width
=
"100%"
Height
=
"140px"
>
</
telerik:RadTreeView
>
</
div
>
</
ItemTemplate
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
""
></
telerik:RadComboBoxItem
>
</
Items
>
</
telerik:RadComboBox
>
<
script
type
=
"text/javascript"
>
var div1 = document.getElementById("divDepartment");
div1.onclick = StopPropagation;
</
script
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblSite"
runat
=
"server"
Text
=
"Site:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboSite"
runat
=
"server"
OnClientDropDownOpened
=
"OnClientSiteDropDownOpenedHandler"
ExpandAnimation-Type
=
"None"
CollapseAnimation-Type
=
"None"
EmptyMessage
=
"Select Site"
AutoPostBack
=
"true"
>
<
ItemTemplate
>
<
div
id
=
"divSite"
>
<
telerik:RadTreeView
ID
=
"trvSite"
DataValueField
=
"SiteID"
runat
=
"server"
OnNodeClick
=
"trvSite_NodeClick"
DataFieldID
=
"SiteID"
DataTextField
=
"SiteName"
DataFieldParentID
=
"ParentSiteID"
OnClientNodeClicking
=
"SiteNodeClicking"
Width
=
"100%"
Height
=
"140px"
>
</
telerik:RadTreeView
>
</
div
>
</
ItemTemplate
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
""
></
telerik:RadComboBoxItem
>
</
Items
>
</
telerik:RadComboBox
>
<
script
type
=
"text/javascript"
>
var div1 = document.getElementById("divSite");
div1.onclick = StopPropagation;
</
script
>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblLocation"
runat
=
"server"
Text
=
"Location:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboLocation"
runat
=
"server"
OnClientDropDownOpened
=
"OnClientLocationDropDownOpenedHandler"
ExpandAnimation-Type
=
"None"
CollapseAnimation-Type
=
"None"
EmptyMessage
=
"Select Location"
AutoPostBack
=
"true"
>
<
ItemTemplate
>
<
div
id
=
"divLocation"
>
<
telerik:RadTreeView
ID
=
"trvLocation"
runat
=
"server"
DataFieldID
=
"LocationID"
DataValueField
=
"LocationID"
DataTextField
=
"LocationName"
DataFieldParentID
=
"ParentLocationID"
OnClientNodeClicking
=
"LocationNodeClicking"
Width
=
"100%"
Height
=
"140px"
>
</
telerik:RadTreeView
>
</
div
>
</
ItemTemplate
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
""
></
telerik:RadComboBoxItem
>
</
Items
>
</
telerik:RadComboBox
>
<
script
type
=
"text/javascript"
>
var div1 = document.getElementById("divLocation");
div1.onclick = StopPropagation;
</
script
>
</
td
>
</
tr
>
</
table
>
<
table
class
=
"IncDetails"
>
<
tr
>
<
td
colspan
=
"4"
>
<
asp:Label
ID
=
"lblIncidentDetails"
runat
=
"server"
Text
=
"Incident Details"
CssClass
=
"bold"
/>
<
hr
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblCategory"
runat
=
"server"
Text
=
"Category:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboCategory"
runat
=
"server"
OnClientDropDownOpened
=
"OnClientCategoryDropDownOpenedHandler"
ExpandAnimation-Type
=
"None"
CollapseAnimation-Type
=
"None"
EmptyMessage
=
"Select Category"
>
<
ItemTemplate
>
<
div
id
=
"divCategory"
>
<
telerik:RadTreeView
ID
=
"trvCategory"
runat
=
"server"
DataFieldID
=
"QuestionCategoryID"
DataTextField
=
"QuestionCategoryName"
DataValueField
=
"CategoryValue"
DataFieldParentID
=
"ParentCategoryID"
OnClientNodeClicking
=
"CategoryNodeClicking"
Width
=
"100%"
Height
=
"140px"
OnNodeDataBound
=
"trvCategory_NodeDataBound"
OnNodeClick
=
"trvCategory_NodeClick"
>
</
telerik:RadTreeView
>
</
div
>
</
ItemTemplate
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
""
></
telerik:RadComboBoxItem
>
</
Items
>
</
telerik:RadComboBox
>
<
script
type
=
"text/javascript"
>
var div1 = document.getElementById("divCategory");
div1.onclick = StopPropagation;
</
script
>
</
td
>
<
td
class
=
"LabelWidth"
>
<
asp:Label
ID
=
"lblProductGroup"
runat
=
"server"
Text
=
"Product Group:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboProductGroup"
runat
=
"server"
EnableLoadOnDemand
=
"true"
DataTextField
=
"ProductGroupName"
DataValueField
=
"ProductGroupID"
EmptyMessage
=
"Select Product Group"
MarkFirstMatch
=
"true"
AllowCustomText
=
"false"
OnSelectedIndexChanged
=
"cboProductGroup_SelectedIndexChanged"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblAffectedParty"
runat
=
"server"
Text
=
"Affected Party:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboAffectedParty"
runat
=
"server"
EnableLoadOnDemand
=
"true"
DataTextField
=
"AffectedPartyName"
DataValueField
=
"AffectedPartyID"
EmptyMessage
=
"Select Affected Party"
MarkFirstMatch
=
"true"
AllowCustomText
=
"false"
>
</
telerik:RadComboBox
>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblProduct"
runat
=
"server"
Text
=
"Product:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboProduct"
runat
=
"server"
EnableLoadOnDemand
=
"true"
DataTextField
=
"ProductName"
DataValueField
=
"ProductID"
EmptyMessage
=
"Select Product"
OnSelectedIndexChanged
=
"cboProduct_SelectedIndexChanged"
MarkFirstMatch
=
"true"
AllowCustomText
=
"false"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblIncidentSource"
runat
=
"server"
Text
=
"Incident Source:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboIncidentSource"
runat
=
"server"
EnableLoadOnDemand
=
"true"
DataTextField
=
"IncidentSourceName"
DataValueField
=
"IncidentSourceID"
EmptyMessage
=
"Select Incident Source"
MarkFirstMatch
=
"true"
AllowCustomText
=
"false"
>
</
telerik:RadComboBox
>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblComponent"
runat
=
"server"
Text
=
"Component:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboComponent"
runat
=
"server"
EnableLoadOnDemand
=
"true"
DataTextField
=
"ComponentName"
DataValueField
=
"ComponentID"
EmptyMessage
=
"Select Component"
MarkFirstMatch
=
"true"
AllowCustomText
=
"false"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblIncidentType"
runat
=
"server"
Text
=
"Incident Type:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboIncidentType"
runat
=
"server"
EnableLoadOnDemand
=
"true"
DataTextField
=
"IncidentTypeName"
DataValueField
=
"IncidentTypeID"
EmptyMessage
=
"Select Incident Type"
MarkFirstMatch
=
"true"
AllowCustomText
=
"false"
>
</
telerik:RadComboBox
>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblProductRef"
runat
=
"server"
Text
=
"Product Reference:"
/>
</
td
>
<
td
>
<
asp:TextBox
ID
=
"txtProductRef"
runat
=
"server"
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblNonCon"
runat
=
"server"
Text
=
"Non Conformance Type:"
/>
</
td
>
<
td
colspan
=
"3"
>
<
telerik:RadComboBox
ID
=
"cboNonCon"
runat
=
"server"
EnableLoadOnDemand
=
"true"
DataTextField
=
"NonConformanceTypeName"
DataValueField
=
"NonConformanceTypeID"
EmptyMessage
=
"Select Non Conformance"
MarkFirstMatch
=
"true"
AllowCustomText
=
"false"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
</
table
>
<
table
class
=
"IncDetails"
>
<
tr
>
<
td
colspan
=
"4"
>
<
asp:Label
ID
=
"lblIncidentParties"
runat
=
"server"
Text
=
"Incident Parties"
CssClass
=
"bold"
/>
<
hr
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblLoggedBy"
runat
=
"server"
Text
=
"Logged By:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboLoggedBy"
runat
=
"server"
DataTextField
=
"FullName"
DataValueField
=
"IDWithSuffix"
EmptyMessage
=
"Select Logger"
EnableLoadOnDemand
=
"true"
AllowCustomText
=
"false"
MarkFirstMatch
=
"true"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblConsumer"
runat
=
"server"
Text
=
"Consumer:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboConsumer"
runat
=
"server"
EnableLoadOnDemand
=
"true"
DataTextField
=
"FullName"
DataValueField
=
"ConsumerID"
EmptyMessage
=
"Select Consumer"
AllowCustomText
=
"false"
MarkFirstMatch
=
"true"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblAssignedTo"
runat
=
"server"
Text
=
"Assigned To:"
/>
</
td
>
<
td
colspan
=
"3"
>
<
telerik:RadComboBox
ID
=
"cboAssignedTo"
runat
=
"server"
DataTextField
=
"FullName"
DataValueField
=
"IDWithSuffix"
EmptyMessage
=
"Select Assignee"
EnableLoadOnDemand
=
"true"
AllowCustomText
=
"false"
MarkFirstMatch
=
"true"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"4"
>
<
asp:CheckBox
ID
=
"chkAllContacts"
runat
=
"server"
Text
=
"All Contacts"
AutoPostBack
=
"true"
OnCheckedChanged
=
"chkAllContacts_CheckedChanged"
/>
</
td
>
</
tr
>
</
table
>
<
table
class
=
"IncDetails"
>
<
tr
>
<
td
colspan
=
"4"
>
<
asp:Label
ID
=
"lblProblemDefinition"
runat
=
"server"
Text
=
"Problem Definition"
CssClass
=
"bold"
/>
<
hr
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblIncidentTitle"
runat
=
"server"
Text
=
"Title"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboIncidentTitle"
runat
=
"server"
DataTextField
=
"IncidentTitleName"
DataValueField
=
"IncidentTitleID"
EmptyMessage
=
"Select Title"
EnableLoadOnDemand
=
"true"
AllowCustomText
=
"false"
MarkFirstMatch
=
"true"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
</
td
>
<
td
rowspan
=
"2"
>
<
asp:Label
ID
=
"lblComments"
runat
=
"server"
Text
=
"Comments:"
/>
</
td
>
<
td
rowspan
=
"2"
>
<
asp:TextBox
ID
=
"txtComments"
runat
=
"server"
TextMode
=
"MultiLine"
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblOtherTitle"
runat
=
"server"
Text
=
"Other Title:"
/>
</
td
>
<
td
>
<
asp:TextBox
ID
=
"txtOtherTitle"
runat
=
"server"
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblProblemDesc"
runat
=
"server"
Text
=
"Problem Description:"
/>
</
td
>
<
td
>
<
asp:TextBox
ID
=
"txtProblemDesc"
runat
=
"server"
TextMode
=
"MultiLine"
/>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblActionsReq"
runat
=
"server"
Text
=
"Actions Required:"
/>
</
td
>
<
td
>
<
asp:TextBox
ID
=
"txtActionsReq"
runat
=
"server"
TextMode
=
"MultiLine"
/>
</
td
>
</
tr
>
</
table
>
<
table
class
=
"IncDetails"
>
<
tr
>
<
td
colspan
=
"4"
>
<
asp:Label
ID
=
"lblImpactDetails"
runat
=
"server"
Text
=
"Impact Details"
CssClass
=
"bold"
/>
<
hr
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblRiskPriorityType"
runat
=
"server"
Text
=
"Risk Priority Type:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboRiskPriorityType"
runat
=
"server"
DataTextField
=
"RiskPriorityTypeName"
DataValueField
=
"RiskPriorityTypeID"
EmptyMessage
=
"Select Risk Priority"
EnableLoadOnDemand
=
"true"
AllowCustomText
=
"false"
MarkFirstMatch
=
"true"
OnSelectedIndexChanged
=
"cboRiskPriorityType_SelectedIndexChanged"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblPriority"
runat
=
"server"
Text
=
"Priority"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboPriority"
runat
=
"server"
DataTextField
=
"PriorityName"
DataValueField
=
"PriorityID"
EmptyMessage
=
"Select Priority"
EnableLoadOnDemand
=
"true"
AllowCustomText
=
"false"
MarkFirstMatch
=
"true"
onselectedindexchanged
=
"cboPriority_SelectedIndexChanged"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblImpactlvl"
runat
=
"server"
Text
=
"Impact Level:"
/>
</
td
>
<
td
>
<
asp:TextBox
ID
=
"txtImpactLvl"
runat
=
"server"
AutoPostBack
=
"true"
ReadOnly
=
"True"
/>
</
td
>
<
td
>
<
asp:Label
ID
=
"lblRisk"
runat
=
"server"
Text
=
"Risk:"
/>
</
td
>
<
td
>
<
telerik:RadComboBox
ID
=
"cboRisk"
runat
=
"server"
DataTextField
=
"RiskName"
DataValueField
=
"RiskID"
EmptyMessage
=
"Select Risk"
EnableLoadOnDemand
=
"true"
AllowCustomText
=
"false"
MarkFirstMatch
=
"true"
AutoPostBack
=
"true"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
ID
=
"lblJustification"
runat
=
"server"
Text
=
"Justification"
/>
</
td
>
<
td
>
<
asp:TextBox
ID
=
"txtJustification"
runat
=
"server"
TextMode
=
"MultiLine"
/>
</
td
>
<
td
>
<
asp:Label
Text
=
"Attachment:"
runat
=
"server"
ID
=
"lblAttachment"
/>
</
td
>
<
td
>
<
telerik:RadUpload
ID
=
"ruAttachment"
runat
=
"server"
>
</
telerik:RadUpload
>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Label
Text
=
"Escalation Delayed:"
runat
=
"server"
ID
=
"lblEscalationDelayed"
/>
</
td
>
<
td
colspan
=
"3"
>
<
asp:TextBox
ID
=
"txtEscalationDelayed"
runat
=
"server"
/>
</
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"4"
>
<
br
/>
<
asp:Button
ID
=
"btnUpdate"
runat
=
"server"
onclick
=
"btnSave_Click"
Text
=
"Save"
OnClientClick
=
"return ValidateUsertwo();"
/>
<
asp:Button
ID
=
"btnClear"
runat
=
"server"
Text
=
"Clear"
onclick
=
"btnClear_Click"
/>
<
asp:Button
ID
=
"btnClose"
runat
=
"server"
Text
=
"Close"
/>
</
td
>
</
tr
>
</
table
>
</
EditItemTemplate
>
</
asp:FormView
>
</
div
>
</
form
>
<
div
id
=
"Popdiv"
style
=
"display:none"
>
<
b
>The email you entered is incorrect. Please try again!</
b
>
</
div
>
</
body
>
</
html
>
I have a weird issue that appears to have cropped up after switching from a regular RadGrid to the Prometheus Rad Grid (3.1425 release). I have several check boxes in a template column and am using the automatic databinding:
<asp:CheckBox ID="PublicCheckBox" Checked='<%#Bind("IsPublic") %>' runat="server" />
This worked fine on the old grid. But on the new Prometheus one I get the following error:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Conversion from type 'DBNull' to type 'Boolean' is not valid.
Source Error:
|
Thanks,
Jimmy