or
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Main.master.cs" Inherits="Resource_Main" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
link
href
=
"/resource/main.css"
type
=
"text/css"
rel
=
"stylesheet"
/>
<
script
src
=
"/resource/js/jquery-2.0.0.js"
></
script
>
<
script
src
=
"/resource/js/jquery-2.0.0.min.js"
></
script
>
<
script
src
=
"/resource/js/jquery.json-2.2.min.js"
></
script
>
<
title
></
title
>
<
asp:ContentPlaceHolder
ID
=
"head"
runat
=
"server"
>
</
asp:ContentPlaceHolder
>
<
script
>
$(document).ready(function () {
$("#loginPanel").hide();
$("#btnlogin").on("click", function (event) {
$("#loginPanel").fadeToggle("fast", "swing");
});
$("#btnDoLogin").on("click", Login);
$("#btnProfileMenu").on("click", function (event) {
$("#tdPbar").fadeToggle("fast", "swing");
});
if (sessionStorage.getItem("LOGINED") == "True") {
$("#btnlogin").hide("Slow");
$("#btnProfileMenu").show("fast")
$("#tdPbar").hide("fast");
}
else {
$("#btnProfileMenu").hide("fast");
$("#btnlogin").show("fast");
$("#tdPbar").hide("fast");
}
});
function Login() {
$("#loadingLogin").html("<
img
width
=
'20px'
src
=
'/resource/img/loading141.gif'
/>");
$.ajax({
type: "POST",
url: "default.aspx/login",
data: "{'User_name':'" + $("#<%=txtUser.ClientID%>").val() + "','User_Pass':'" + $("#<%=txtPass.ClientID%>").val() + "'}",
contentType: "application/json; charset=utf-8",
dataType: "json",
async: true,
cache: false,
success: function (msg) {
if (msg.d == 'true') {
$("#loadingLogin").html("<
span
class
=
'msg'
>Login successd,Redirecting ...</
span
>");
sessionStorage.setItem("LOGINED", "True");
sessionStorage.setItem("username", $("#<%=txtUser.ClientID%>").val());
document.location.href = '/default.aspx';
}
else {
$("#loadingLogin").html("<
span
class
=
'error'
>" + msg.d + "</
span
>");
}
}
});
}
</
script
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
table
style
=
"width: 100%;"
cellpadding
=
"0"
cellspacing
=
"0"
>
<
tr
>
<
td
class
=
"Header"
>
<
table
style
=
"width: 100%;"
>
<
tr
>
<
td
style
=
"width: 50px;"
></
td
>
<
td
style
=
"width: 170px;"
>
<
img
src
=
"/resource/img/Logo.png"
/></
td
>
<
td
style
=
"width: 825px;"
>
<
asp:TextBox
ID
=
"txtSearch"
CssClass
=
"txtSearch"
runat
=
"server"
></
asp:TextBox
>
<
asp:Button
ID
=
"btnSearch"
CssClass
=
"btnSearch"
runat
=
"server"
Text
=
" "
/>
</
td
>
<
td
>
<
input
name
=
"btnlogin"
id
=
"btnlogin"
type
=
"button"
onclick
=
""
class
=
"btnLogin"
value
=
"Login"
/>
<
input
name
=
"btnProfileMenu"
id
=
"btnProfileMenu"
type
=
"button"
onclick
=
""
class
=
"btnLogin"
value
=
"Profile"
/>
<
span
name
=
"loginPanel"
id
=
"loginPanel"
class
=
"LoginPanel"
>
<
table
style
=
"width: 100%;"
>
<
tr
>
<
td
style
=
"width: 80px"
>Username :</
td
>
<
td
>
<
asp:TextBox
ID
=
"txtUser"
runat
=
"server"
CssClass
=
"publicTextBox"
Width
=
"90%"
></
asp:TextBox
>
</
td
>
</
tr
>
<
tr
>
<
td
>Password :</
td
>
<
td
>
<
asp:TextBox
ID
=
"txtPass"
runat
=
"server"
CssClass
=
"publicTextBox"
Width
=
"90%"
TextMode
=
"Password"
></
asp:TextBox
></
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"2"
style
=
"vertical-align: central"
>
<
input
name
=
"btnDoLogin"
id
=
"btnDoLogin"
type
=
"button"
onclick
=
""
class
=
"publicButton"
value
=
"Sing in"
/>
<
span
id
=
"loadingLogin"
name
=
"loadingLogin"
class
=
"loadingLogin"
></
span
></
td
>
</
tr
>
</
table
>
</
span
>
</
td
>
</
tr
>
</
table
>
</
td
>
</
tr
>
<
tr
>
<
td
id
=
"tdPbar"
class
=
"Header"
colspan
=
"4"
>
<
table
style
=
"width: 100%;"
cellpadding
=
"0"
cellspacing
=
"0"
>
<
tr
>
<
td
>
<
asp:LinkButton
ID
=
"LinkButton2"
runat
=
"server"
CssClass
=
"LinkButtonProfileMenu"
>LinkButton</
asp:LinkButton
>
<
asp:LinkButton
ID
=
"LinkButton1"
runat
=
"server"
CssClass
=
"LinkButtonProfileMenu"
PostBackUrl
=
"~/Upload.aspx"
>Upload</
asp:LinkButton
>
<
asp:LinkButton
ID
=
"lbtnMyChannel"
runat
=
"server"
PostBackUrl
=
"~/MyChannel.aspx"
CssClass
=
"LinkButtonProfileMenu"
>My Channel</
asp:LinkButton
></
td
>
</
tr
>
</
table
>
</
td
>
</
tr
>
<
tr
style
=
"height:500px"
>
<
td
style
=
"vertical-align:top"
>
<
asp:ContentPlaceHolder
ID
=
"ContentPlaceHolder1"
runat
=
"server"
>
</
asp:ContentPlaceHolder
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"Footer"
>Copyright 2013-2014 by Video Arts Company</
td
>
</
tr
>
</
table
>
</
form
>
</
body
>
</
html
>
<%@ Page Title="" Language="C#" MasterPageFile="~/Resource/Main.master" AutoEventWireup="true" CodeBehind="Upload.aspx.cs" Inherits="VartsTube.Upload" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
asp:Content
ID
=
"Content1"
ContentPlaceHolderID
=
"head"
runat
=
"server"
>
</
asp:Content
>
<
asp:Content
ID
=
"Content2"
ContentPlaceHolderID
=
"ContentPlaceHolder1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
<
Scripts
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
></
asp:ScriptReference
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
></
asp:ScriptReference
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQueryInclude.js"
></
asp:ScriptReference
>
</
Scripts
>
</
telerik:RadScriptManager
>
<
table
class
=
"tblUpload"
>
<
tr
>
<
td
class
=
"tblUploadCenterTD"
>
<
table
class
=
"tblUpload"
>
<
tr
>
<
td
class
=
"tdUpload2"
>
<
h3
>Upload Video</
h3
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"tdUpload1"
>
<
h5
>Select Your Video </
h5
>
<
p
>
<
telerik:RadAjaxPanel
ID
=
"ajxpanelupload"
runat
=
"server"
Height
=
"200px"
Width
=
"300px"
>
<
telerik:RadAsyncUpload
ID
=
"uploader"
runat
=
"server"
></
telerik:RadAsyncUpload
>
</
telerik:RadAjaxPanel
>
</
p
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"tdUpload1"
>
<
h5
style
=
"direction: ltr; text-align: left"
>Title</
h5
>
<
asp:TextBox
ID
=
"txtTitle"
CssClass
=
"txtTitle"
runat
=
"server"
></
asp:TextBox
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"tdUpload1"
>
<
h5
style
=
"direction: ltr; text-align: left"
>Description</
h5
>
<
asp:TextBox
ID
=
"txtDesc"
CssClass
=
"txtTitle"
runat
=
"server"
TextMode
=
"MultiLine"
Height
=
"60px"
></
asp:TextBox
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"tdUpload3"
>
<
input
name
=
"btnSubmiteUpload"
id
=
"btnSubmiteUpload"
type
=
"button"
onclick
=
""
class
=
"publicButton"
value
=
"Submite"
/>
</
td
>
</
tr
>
</
table
>
</
td
>
<
td
></
td
>
</
tr
>
</
table
>
</
asp:Content
>
<?
xml
version
=
"1.0"
?>
<
configuration
>
<
configSections
>
<
sectionGroup
name
=
"system.web.extensions"
type
=
"System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
>
<
sectionGroup
name
=
"scripting"
type
=
"System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
>
<
section
name
=
"scriptResourceHandler"
type
=
"System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"MachineToApplication"
/>
<
sectionGroup
name
=
"webServices"
type
=
"System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
>
<
section
name
=
"jsonSerialization"
type
=
"System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"Everywhere"
/>
<
section
name
=
"profileService"
type
=
"System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"MachineToApplication"
/>
<
section
name
=
"authenticationService"
type
=
"System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"MachineToApplication"
/>
<
section
name
=
"roleService"
type
=
"System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
requirePermission
=
"false"
allowDefinition
=
"MachineToApplication"
/>
</
sectionGroup
>
</
sectionGroup
>
</
sectionGroup
>
</
configSections
>
<
appSettings
/>
<
connectionStrings
/>
<
system.web
>
<
compilation
debug
=
"true"
>
<
assemblies
>
<
add
assembly
=
"System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
assembly
=
"System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"
/>
<
add
assembly
=
"System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"
/>
<
add
assembly
=
"System.Speech, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
</
assemblies
>
</
compilation
>
<!--
The <
authentication
> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<
authentication
mode
=
"Windows"
/>
<!--
The <
customErrors
> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<
customErrors
mode
=
"RemoteOnly"
defaultRedirect
=
"GenericErrorPage.htm"
>
<
error
statusCode
=
"403"
redirect
=
"NoAccess.htm"
/>
<
error
statusCode
=
"404"
redirect
=
"FileNotFound.htm"
/>
</
customErrors
>
-->
<
pages
>
<
controls
>
<
add
tagPrefix
=
"asp"
namespace
=
"System.Web.UI"
assembly
=
"System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
tagPrefix
=
"asp"
namespace
=
"System.Web.UI.WebControls"
assembly
=
"System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
</
controls
>
</
pages
>
<
httpHandlers
>
<
remove
verb
=
"*"
path
=
"*.asmx"
/>
<
add
verb
=
"*"
path
=
"*.asmx"
validate
=
"false"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
verb
=
"*"
path
=
"*_AppService.axd"
validate
=
"false"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
verb
=
"GET,HEAD"
path
=
"ScriptResource.axd"
type
=
"System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
validate
=
"false"
/>
</
httpHandlers
>
<
httpModules
>
<
add
name
=
"ScriptModule"
type
=
"System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
</
httpModules
>
</
system.web
>
<
system.codedom
>
<
compilers
>
<
compiler
language
=
"c#;cs;csharp"
extension
=
".cs"
warningLevel
=
"4"
type
=
"Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
>
<
providerOption
name
=
"CompilerVersion"
value
=
"v3.5"
/>
<
providerOption
name
=
"WarnAsError"
value
=
"false"
/>
</
compiler
>
</
compilers
>
</
system.codedom
>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<
system.webServer
>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
modules
>
<
remove
name
=
"ScriptModule"
/>
<
add
name
=
"ScriptModule"
preCondition
=
"managedHandler"
type
=
"System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
</
modules
>
<
handlers
>
<
remove
name
=
"WebServiceHandlerFactory-Integrated"
/>
<
remove
name
=
"ScriptHandlerFactory"
/>
<
remove
name
=
"ScriptHandlerFactoryAppServices"
/>
<
remove
name
=
"ScriptResource"
/>
<
add
name
=
"ScriptHandlerFactory"
verb
=
"*"
path
=
"*.asmx"
preCondition
=
"integratedMode"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"ScriptHandlerFactoryAppServices"
verb
=
"*"
path
=
"*_AppService.axd"
preCondition
=
"integratedMode"
type
=
"System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"ScriptResource"
preCondition
=
"integratedMode"
verb
=
"GET,HEAD"
path
=
"ScriptResource.axd"
type
=
"System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"
/>
<
add
name
=
"Telerik_Web_UI_WebResource_axd"
verb
=
"*"
preCondition
=
"integratedMode"
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
/>
</
handlers
>
</
system.webServer
>
<
runtime
>
<
assemblyBinding
appliesTo
=
"v2.0.50727"
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"System.Web.Extensions"
publicKeyToken
=
"31bf3856ad364e35"
/>
<
bindingRedirect
oldVersion
=
"1.0.0.0-1.1.0.0"
newVersion
=
"3.5.0.0"
/>
</
dependentAssembly
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"System.Web.Extensions.Design"
publicKeyToken
=
"31bf3856ad364e35"
/>
<
bindingRedirect
oldVersion
=
"1.0.0.0-1.1.0.0"
newVersion
=
"3.5.0.0"
/>
</
dependentAssembly
>
</
assemblyBinding
>
</
runtime
>
</
configuration
>
No luck with: Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable =
function
() {
return
false
; };
No luck with: Telerik.Web.UI.RadAsyncUpload.Modules.Silverlight.isAvailable =
function
() {
return
false
; };
Hi Guys,
I haven't had the need to use much javascript...so please forgive my ignorance.
Im trying to write some client-side validation code.
The premise is that each listbox item hold a delimited value that contains a ProductId and other ProductIds it cannot coexist with.
For example value=1,4,6,8. This is intrepreted that the ProductId of this item =1 and it cannot be added to any list box which already has Products 4,6 or 8 in it.
I have successfully done this server side with the following code and I am trying to reproduce client-side with javascript. Any help would be appreciated.
Private
Sub
RadListBoxDestination_Transferring(sender
As
Object
, e
As
Telerik.Web.UI.RadListBoxTransferringEventArgs)
Handles
RadListBoxDestination.Transferring
Dim
aryNoCoExist
As
Array
Dim
i
As
Integer
Dim
Product
As
Integer
Dim
Cancel
As
Boolean
=
False
Dim
BoxItem
As
Telerik.Web.UI.RadListBoxItem
Dim
NoCoExist
As
String
=
""
Me
.ErrorLabel.Text =
""
If
RadListBoxDestination.Items.Count > 0
Then
Product = GetProductId(e.Items(0).Value)
'GetProductId returns the first delimited string item
For
Each
BoxItem
In
RadListBoxDestination.Items
If
Len(NoCoExist)
Then
NoCoExist = NoCoExist &
","
& GetNoCoExist(BoxItem.Value)
'GetNoCoExist returns the remaining delimited string minus the first item
Else
NoCoExist = GetNoCoExist(BoxItem.Value)
End
If
Next
aryNoCoExist = Split(NoCoExist,
","
)
For
i = 0
To
aryNoCoExist.GetUpperBound(0)
If
Product = aryNoCoExist(i)
Then
Cancel =
True
Me
.ErrorLabel.Text =
"Product Not Compatible with Existing Selections"
End
If
Next
e.Cancel = Cancel
End
If
End
Sub
<
telerik:RadListBox
runat
=
"server"
ID
=
"RadListBoxSource"
Height
=
"200px"
Width
=
"300px"
AllowTransfer
=
"true"
TransferToID
=
"RadListBoxDestination"
AllowTransferOnDoubleClick
=
"True"
EnableDragAndDrop
=
"True"
>
<
ButtonSettings
TransferButtons
=
"Common"
ShowDelete
=
"False"
ShowReorder
=
"False"
ShowTransferAll
=
"False"
></
ButtonSettings
>
</
telerik:RadListBox
>
<
telerik:RadListBox
ID
=
"RadListBoxDestination"
runat
=
"server"
Height
=
"200px"
Width
=
"300px"
AllowTransfer
=
"true"
TransferToID
=
"RadListBoxSource"
AllowTransferOnDoubleClick
=
"True"
EnableDragAndDrop
=
"True"
OnClientTransferring
=
"onTransferring"
>
<
ButtonSettings
TransferButtons
=
"Common"
ShowTransfer
=
"false"
ShowDelete
=
"False"
ShowReorder
=
"False"
ShowTransferAll
=
"False"
></
ButtonSettings
>
</
telerik:RadListBox
>
Thanks....
David
<
body
id
=
"SendNotifications"
>
<
telerik:RadStyleSheetManager
ID
=
"RadStyleSheetManager1"
runat
=
"server"
>
<
StyleSheets
>
<
telerik:StyleSheetReference
Path
=
"~/Styles/Site.css"
/>
<
telerik:StyleSheetReference
Path
=
"~/App_Themes/Skins.skin"
/>
</
StyleSheets
>
</
telerik:RadStyleSheetManager
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
class
=
"oops"
>
<
asp:ScriptManager
ID
=
"notifyScriptManager"
runat
=
"server"
/>
<
telerik:RadFormDecorator
ID
=
"RadFormDecorator1"
runat
=
"server"
Skin
=
"Office2010Silver"
DecoratedControls
=
"All"
/>
<
asp:FormView
ID
=
"NotificationForm"
runat
=
"server"
Width
=
"100%"
Height
=
"300px"
>
<
EditItemTemplate
>
<
table
class
=
"IncDetails"
>
<
tr
>
<
td
>
<
asp:CheckBox
runat
=
"server"
ID
=
"chkIncLogger"
Checked
=
"false"
Text
=
"Notify Incident Logger"
/>
</
td
>
<
td
>
<
asp:CheckBox
runat
=
"server"
ID
=
"chkIncAssignee"
Checked
=
"true"
Text
=
"Notify Current Assignee"
Enabled
=
"false"
/>
</
td
>
<
td
>
<
asp:CheckBox
runat
=
"server"
ID
=
"chkNotifyManager"
Checked
=
"false"
Text
=
"Notify Notify Manager"
/>
</
td
>
<
td
>
<
asp:CheckBox
runat
=
"server"
ID
=
"chkIncDistList"
Checked
=
"false"
Text
=
"Notify Distribution List "
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:CheckBox
runat
=
"server"
ID
=
"chkIncCreator"
Checked
=
"false"
Text
=
"Notify Incident Creator"
/>
</
td
>
<
td
>
<
asp:CheckBox
runat
=
"server"
ID
=
"chkIncOrigAssignee"
Checked
=
"false"
Text
=
"Notify Original Assignee"
Enabled
=
"false"
/>
</
td
>
<
td
>
<
asp:CheckBox
runat
=
"server"
ID
=
"chkIncConsumer"
Checked
=
"false"
Text
=
"Notify Consumer"
Enabled
=
"false"
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
<
asp:Button
ID
=
"btnSave"
runat
=
"server"
Text
=
"Save"
/>
</
td
>
<
td
>
<
asp:Button
ID
=
"btnClose"
runat
=
"server"
Text
=
"Close"
/>
</
td
>
</
tr
>
</
table
>
</
EditItemTemplate
>
</
asp:FormView
>
</
div
>
</
form
>
</
body
>
</
html
>
function
ShowNotificationForm() {
window.radopen(
"/Inc/Notifications.aspx"
,
"NotifyDialog"
);
return
false
;
}
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"NotifyDialog"
runat
=
"server"
ReloadOnShow
=
"true"
ShowContentDuringLoad
=
"false"
Modal
=
"true"
Width
=
"900px"
Height
=
"760px"
>
</
telerik:RadWindow
>
</
Windows
>