or
Should these expressions be available on the server-side after a postback, or is there some trick to getting these expressions to be sent back to the server? Thank you.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Flow.prj_rtv.WebForm1" %>
<%@ 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"
>
<
telerik:RadScriptManager
Runat
=
"server"
id
=
"sman"
></
telerik:RadScriptManager
>
<
div
>
<
telerik:RadEditor
ID
=
"RadEdBNumber"
runat
=
"server"
Height
=
"600px"
EditModes
=
"Design"
OnClientCommandExecuting
=
"My123ClientCommandExecuting"
Width
=
"600px"
ContentAreaCssFile
=
"~/prj_rtv/controls/RadEditorArea.css"
>
<
CssFiles
>
<
telerik:EditorCssFile
Value
=
"~/prj_rtv/css/rtv_broadcast.css"
/>
</
CssFiles
>
<
Content
>This is a test of what will happen in Firefox when I apply the styles now for you to test it here again.</
Content
>
</
telerik:RadEditor
>
</
div
>
<
telerik:RadScriptBlock
ID
=
"textRadEdit"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function My123ClientCommandExecuting(editor, args) {
switch (args.get_commandName()) {
case "ApplyClass":
editor.get_document().execCommand("RemoveFormat", null, false);
}
}
</
script
>
</
telerik:RadScriptBlock
>
</
form
>
</
body
>
</
html
>
body
{
font-family
:
Verdana
;
font-size
:
12px
;
color
: White;
background-color
:
#192e4e
;
}
.white_regular {
font-size
:
12px
;
color
:
#fff
;
font-weight
:
normal
;
font-style
:
normal
}
.white_bold {
font-size
:
12px
;
color
:
#fff
;
font-weight
:
bold
;
font-style
:
normal
}
.white_italic {
font-size
:
12px
;
color
:
#fff
;
font-weight
:
normal
;
font-style
:
italic
}
.white_bold_italic {
font-size
:
12px
;
color
:
#fff
;
font-weight
:
bold
;
font-style
:
italic
}
.yellow_regular {
font-size
:
12px
;
color
:
#f8d939
;
font-weight
:
normal
;
font-style
:
normal
}
.yellow_bold {
font-size
:
12px
;
color
:
#f8d939
;
font-weight
:
bold
;
font-style
:
normal
}
.yellow_italic {
font-size
:
12px
;
color
:
#f8d939
;
font-weight
:
normal
;
font-style
:
italic
}
.yellow_bold_italic {
font-size
:
12px
;
color
:
#f8d939
;
font-weight
:
bold
;
font-style
:
italic
}
.red_regular {
font-size
:
12px
;
color
:
#f84b39
;
font-weight
:
normal
;
font-style
:
normal
}
.red_bold {
font-size
:
12px
;
color
:
#f84b39
;
font-weight
:
bold
;
font-style
:
normal
}
.red_italic {
font-size
:
12px
;
color
:
#f84b39
;
font-weight
:
normal
;
font-style
:
italic
}
.red_bold_italic {
font-size
:
12px
;
color
:
#f84b39
;
font-weight
:
bold
;
font-style
:
italic
}
.blue_regular {
font-size
:
12px
;
color
:
#9a94fa
;
font-weight
:
normal
;
font-style
:
normal
}
.blue_bold {
font-size
:
12px
;
color
:
#9a94fa
;
font-weight
:
bold
;
font-style
:
normal
}
.blue_italic {
font-size
:
12px
;
color
:
#9a94fa
;
font-weight
:
normal
;
font-style
:
italic
}
.blue_bold_italic {
font-size
:
12px
;
color
:
#9a94fa
;
font-weight
:
bold
;
font-style
:
italic
}
<
FormTemplate
>
<
table
width
=
"100%"
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Enter Last Name First Name of User </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:TextBox
ID
=
"txtUser"
runat
=
"server"
Width
=
"260px"
></
asp:TextBox
>
<
asp:AutoCompleteExtender
ID
=
"txtUser_ACE"
runat
=
"server"
DelimiterCharacters
=
""
Enabled
=
"True"
ServiceMethod
=
"Findname"
ServicePath
=
"~/iMACService.asmx"
TargetControlID
=
"txtUser"
UseContextkey
=
"true"
MinimumPrefixLength
=
"2"
OnClientItemSelected
=
"SelectedName"
EnableCaching
=
"true"
CompletionInterval
=
"1"
/>
<
asp:TextBoxWatermarkExtender
ID
=
"txtName_WME"
runat
=
"server"
TargetControlID
=
"txtUser"
WatermarkText
=
"Enter Last Name First Name"
WatermarkCssClass
=
"WaterMark"
/>
<
asp:FilteredTextBoxExtender
ID
=
"txtUser_FTE"
runat
=
"server"
TargetControlID
=
"txtuser"
FilterType
=
"Custom, LowerCaseLetters, UpperCaseLetters"
></
asp:FilteredTextBoxExtender
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Enter EDIPI </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:TextBox
ID
=
"txtEDIPI"
runat
=
"server"
Width
=
"160px"
MaxLength
=
"10"
></
asp:TextBox
>
<
asp:RequiredFieldValidator
ID
=
"valEDIPI"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"txtEDIPI"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter EDIPI"
/>
<
asp:FilteredTextBoxExtender
ID
=
"txtEDIPI_FTE"
runat
=
"server"
TargetControlID
=
"txtEDIPI"
FilterType
=
"Numbers"
></
asp:FilteredTextBoxExtender
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Pick Type of Investigation </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:DropDownList
ID
=
"ddlInvestigation"
runat
=
"server"
Width
=
"165px"
></
asp:DropDownList
>
<
asp:RequiredFieldValidator
ID
=
"valInvest"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"ddlInvestigation"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter Investigation Type"
InitialValue
=
"0"
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Pick Date of Investigation </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:textbox
ID
=
"txtDtInvest"
runat
=
"server"
Width
=
"160px"
style
=
"cursor:pointer"
></
asp:textbox
>
<
asp:CalendarExtender
ID
=
"calExt"
runat
=
"server"
TargetControlID
=
"txtDtInvest"
PopupPosition
=
"BottomRight"
></
asp:CalendarExtender
>
<
asp:RequiredFieldValidator
ID
=
"valdtInvest"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"txtDtInvest"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter Investigation Date"
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Pick Clearance </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:DropDownList
ID
=
"ddlClearance"
runat
=
"server"
Width
=
"165px"
></
asp:DropDownList
>
<
asp:RequiredFieldValidator
ID
=
"valClear"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"ddlClearance"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter Clearance Level"
InitialValue
=
"0"
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Pick IT Level </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:DropDownList
ID
=
"ddlITLevel"
runat
=
"server"
Width
=
"165px"
></
asp:DropDownList
>
<
asp:RequiredFieldValidator
ID
=
"valItlevel"
runat
=
"server"
ForeColor
=
"Red"
ControlToValidate
=
"ddlITLevel"
Display
=
"Dynamic"
SetFocusOnError
=
"true"
ErrorMessage
=
"* Enter IT Level"
InitialValue
=
"0"
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Check Approval </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:CheckBox
ID
=
"cbApproval"
runat
=
"server"
Text
=
"I have done a background investigation of the above individual and approve."
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Check DisApprove </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:CheckBox
ID
=
"cbDisApprove"
runat
=
"server"
Text
=
"I have done a background investigation of the above individual and Disapprove."
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
>Uploaded 2875 </
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:CheckBox
ID
=
"cbUpload"
runat
=
"server"
Text
=
"I have upload the original 2875 to FileNet Location."
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"height:5px"
></
td
>
</
tr
>
<
tr
>
<
td
style
=
"width:50%"
align
=
"right"
></
td
>
<
td
style
=
"width:50%"
align
=
"left"
>
<
asp:LinkButton
ID
=
"lnkSubmit"
runat
=
"server"
text='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "Approve", "Update") %>'
CommandName='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "PerformInsert", "Update")%>'></
asp:LinkButton
>
<
asp:LinkButton
ID
=
"lnkCancel"
runat
=
"server"
CausesValidation
=
"false"
CommandName
=
"Cancel"
Text
=
"Cancel"
></
asp:LinkButton
>
</
td
>
</
tr
>
</
table
>
</
FormTemplate
>
I have the following problem, when I make the exportation to Excel using the following method
protected void Grid_ItemCommand(object source, GridCommandEventArgs e)
I have no problem sending me the excel, the problem is when I check the excel is empty and no why this happens, it happens to me all the grids of 7 with 2 happens to me only and the export processis the same
greetings and thanks for the support
<style type=
"text/css"
>
html, form
{
height
:
100%
;
margin
:
0px
;
padding
:
0px
;
}
body
{
font-family
:
Arial
,
Helvetica
,
sans-serif
;
font-size
:
12px
;
color
:
#333
;
height
:
100%
;
margin
:
0px
;
padding
:
0px
;
background-color
:
#ffffff
;
}
.topBar
{
width
:
100%
;
padding
:
5px
;
height
:
35px
;
display
:
block
;
background-color
:
#336699
;
}
.topBarLogo
{
}
</style>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
class
=
"topBar"
>
<
table
width
=
"100%"
>
<
tr
>
<
td
><
div
class
=
"topBarLogo"
><
img
src
=
"/_Images/logo.png"
/></
div
></
td
>
<
td
width
=
"100"
><
a
href
=
"\login.aspx?logout=true"
class
=
"button"
>Logout</
a
></
td
>
</
tr
>
</
table
>
</
div
>
<
telerik:RadScriptManager
runat
=
"server"
ID
=
"RadScriptManager1"
/>
<
telerik:RadSplitter
ID
=
"RadSplitter1"
runat
=
"server"
Height
=
"100%"
Width
=
"100%"
BorderSize
=
"0"
>
<
telerik:RadPane
ID
=
"navigationPane"
runat
=
"server"
Width
=
"250px"
BackColor
=
"#ffffff"
Scrolling
=
"Y"
>
<
div
class
=
"LeftPane"
>
My Nav menu
</
div
>
</
telerik:RadPane
>
<
telerik:RadSplitBar
ID
=
"RadSplitbar1"
runat
=
"server"
CollapseMode
=
"Forward"
/>
<
telerik:RadPane
ID
=
"contentPane"
runat
=
"server"
ContentUrl
=
"/login.aspx"
BackColor
=
"White"
>
</
telerik:RadPane
>
</
telerik:RadSplitter
>
</
form
>
</
body
>
<
telerik:GridTemplateColumn
HeaderText
=
"Exception Price"
UniqueName
=
"ExceptionPrice"
ItemStyle-Width
=
"8%"
>
<
ItemTemplate
>
<
telerik:RadNumericTextBox
ID
=
"txtNewPrice"
runat
=
"server"
MaxLength
=
"10"
AutoCompleteType
=
"None"
CssClass
=
"txtException"
MinValue
=
"0"
Width
=
"50px"
Type
=
"Number"
ShowSpinButtons
=
"false"
AllowOutOfRangeAutoCorrect
=
"false"
InvalidStyle-Font-Bold
=
"true"
>
<
NumberFormat
AllowRounding
=
"false"
DecimalDigits
=
"2"
KeepNotRoundedValue
=
"true"
GroupSizes
=
"3"
/>
<
ClientEvents
OnValueChanging
=
"ValueChanges"
OnError
=
"HandleError"
/>
</
telerik:RadNumericTextBox
>
<
br
/><
br
/>
<
div
style
=
"vertical-align:bottom"
>
<
telerik:RadNumericTextBox
ID
=
"TxtNewPSPrice"
runat
=
"server"
MaxLength
=
"10"
AutoCompleteType
=
"None"
MinValue
=
"0"
Visible
=
"false"
Width
=
"50px"
Type
=
"Number"
ShowSpinButtons
=
"false"
AllowOutOfRangeAutoCorrect
=
"false"
InvalidStyle-Font-Bold
=
"true"
CssClass
=
"txtException"
>
<
NumberFormat
AllowRounding
=
"false"
DecimalDigits
=
"2"
KeepNotRoundedValue
=
"true"
GroupSizes
=
"3"
/>
<
ClientEvents
OnValueChanging
=
"ReinstatementChange"
OnError
=
"HandleError"
/>
</
telerik:RadNumericTextBox
>
</
div
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>