Rank: Member Groups: Member
Joined: 12/15/2008 Posts: 21
|
What would be a reason the editcolumn does not open up the row for edit?
I have a web usercontrol that has a customitem associated with a sliding menu....the custom item has the grid in it with an editcommand column which doesnt work. When i click on "Edit" i get "Update....delete" etc but the row doesnt "open" for edit?
FullRowMode= true
<DIV style="OVERFLOW: auto"> <eo:CustomItem id="eoCItemPotential" runat="server" Width="150px" Height="50px"> <eo:Grid id="eoGrdDiskTypes" runat="server" BorderColor="#828790" Width="440px" Font-Size="8.75pt" Font-Names="Tahoma" Height="104px" ColumnHeaderDividerImage="00050203" ColumnHeaderHeight="24" ColumnHeaderAscImage="00050204" ItemHeight="19" GridLineColor="240, 240, 240" ColumnHeaderDescImage="00050205" FixedColumnCount="1" GridLines="Both" BorderWidth="1px" PageSize="3" KeyField="Disk Speed"> <ColumnTemplates> <eo:TextBoxColumn> <TextBoxStyle CssText="BORDER-RIGHT: #7f9db9 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #7f9db9 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 8.75pt; PADDING-BOTTOM: 1px; MARGIN: 0px; BORDER-LEFT: #7f9db9 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #7f9db9 1px solid; FONT-FAMILY: Tahoma"></TextBoxStyle> </eo:TextBoxColumn> <eo:DateTimeColumn> <DatePicker DayCellHeight="16" OtherMonthDayVisible="True" SelectedDates="" TitleRightArrowImageUrl="DefaultSubMenuIcon" DisabledDates="" TitleLeftArrowImageUrl="DefaultSubMenuIconRTL" DayHeaderFormat="FirstLetter" ControlSkinID="None" DayCellWidth="19"> <CalendarStyle CssText="background-color: white; border-right: #7f9db9 1px solid; padding-right: 4px; border-top: #7f9db9 1px solid; padding-left: 4px; font-size: 9px; padding-bottom: 4px; border-left: #7f9db9 1px solid; padding-top: 4px; border-bottom: #7f9db9 1px solid; font-family: tahoma"></CalendarStyle> <SelectedDayStyle CssText="font-family: tahoma; font-size: 12px; background-color: #fbe694; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid"></SelectedDayStyle> <TitleArrowStyle CssText="cursor:hand"></TitleArrowStyle> <PickerStyle CssText="border-bottom-color:#7f9db9;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#7f9db9;border-left-style:solid;border-left-width:1px;border-right-color:#7f9db9;border-right-style:solid;border-right-width:1px;border-top-color:#7f9db9;border-top-style:solid;border-top-width:1px;font-family:Courier New;font-size:8pt;margin-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px;padding-bottom:1px;padding-left:2px;padding-right:2px;padding-top:2px;"></PickerStyle> <TodayStyle CssText="font-family: tahoma; font-size: 12px; border-right: #bb5503 1px solid; border-top: #bb5503 1px solid; border-left: #bb5503 1px solid; border-bottom: #bb5503 1px solid"></TodayStyle> <MonthStyle CssText="font-family: tahoma; font-size: 12px; margin-left: 14px; cursor: hand; margin-right: 14px"></MonthStyle> <DayHoverStyle CssText="font-family: tahoma; font-size: 12px; border-right: #fbe694 1px solid; border-top: #fbe694 1px solid; border-left: #fbe694 1px solid; border-bottom: #fbe694 1px solid"></DayHoverStyle> <DisabledDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid"></DisabledDayStyle> <DayHeaderStyle CssText="font-family: tahoma; font-size: 12px; border-bottom: #aca899 1px solid"></DayHeaderStyle> <OtherMonthDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid"></OtherMonthDayStyle> <DayStyle CssText="font-family: tahoma; font-size: 12px; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid"></DayStyle> <TitleStyle CssText="background-color:#9ebef5;font-family:Tahoma;font-size:12px;padding-bottom:2px;padding-left:6px;padding-right:6px;padding-top:2px;"></TitleStyle> </DatePicker> </eo:DateTimeColumn> <eo:MaskedEditColumn> <MaskedEdit TextBoxStyle-CssText="BORDER-RIGHT: #7f9db9 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #7f9db9 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 1px; MARGIN: 0px; BORDER-LEFT: #7f9db9 1px solid; PADDING-TOP: 2px; BORDER-BOTTOM: #7f9db9 1px solid; font-family:Courier New;font-size:8pt;" ControlSkinID="None"></MaskedEdit> </eo:MaskedEditColumn> </ColumnTemplates> <ItemStyles> <eo:GridItemStyleSet> <ItemHoverStyle CssText="background-image: url(00050206); background-repeat: repeat-x"></ItemHoverStyle> <SelectedStyle CssText="background-image: url(00050207); background-repeat: repeat-x"></SelectedStyle> <CellStyle CssText="padding-left:8px;padding-top:2px;white-space:nowrap;"></CellStyle> <ItemStyle CssText="background-color: white"></ItemStyle> </eo:GridItemStyleSet> </ItemStyles> <ColumnHeaderHoverStyle CssText="background-image:url('00050202');padding-left:8px;padding-top:4px;"></ColumnHeaderHoverStyle> <ColumnHeaderStyle CssText="background-image:url('00050201');padding-left:8px;padding-top:4px;"></ColumnHeaderStyle> <FooterStyle CssText="padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;"></FooterStyle> <Columns> <eo:EditCommandColumn Name="edit" HeaderText="Edit?" DataField=""></eo:EditCommandColumn> <eo:StaticColumn Name="nIOPsDisk" HeaderText="IOPs/Disk" DataField="IOPs/Disk"></eo:StaticColumn> <eo:StaticColumn Name="dSpeed" HeaderText="Disk Speed" DataField="Disk Speed"></eo:StaticColumn> <eo:StaticColumn Name="diskNumber" HeaderText="Number" DataField="Total"></eo:StaticColumn> </Columns> </eo:Grid> </eo:CustomItem></DIV>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, It's because your Grid does not contain any editable columns. Only certain columns support edit. See here for more details: http://doc.essentialobjects.com/library/1/grid/editing.aspxThanks
|
Rank: Member Groups: Member
Joined: 12/15/2008 Posts: 21
|
doh!
thanks that was it of course
|