| <telerik:GridTemplateColumn UniqueName="ToggleMyFile" HeaderText="MyFile"> |
| <ItemTemplate> |
| <asp:CheckBox ID="chbMyFile" runat="server" Checked='<%# DataBinder.Eval(Container.DataItem, "bMyFile") %>' AutoPostBack="True" OnCheckedChanged="chbMyFile_Changed" FileID='<%# DataBinder.Eval(Container.DataItem, "iMillFileID") %>'/> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
The links to edit are not appearing. I'm sure I've overlooked something quite obvious, but I have been unable to find the solution after a day. Please help!
Here is my code:
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticUpdates="True" AllowPaging="True" PageSize="30"
AllowSorting="True" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1"
GridLines="None" Skin="Vista">
<MasterTableView DataKeyNames="ID" DataSourceID="ObjectDataSource1" EditMode="InPlace">
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn Visible="False" Resizable="False">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="ID" HeaderText="ID" ReadOnly="True" SortExpression="ID"
UniqueName="ID">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="BrokerID" DataType="System.Int32" HeaderText="BrokerID"
SortExpression="BrokerID" UniqueName="BrokerID" Visible="False">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName"
UniqueName="CompanyName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Branch" HeaderText="Branch" SortExpression="Branch"
UniqueName="Branch">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="LastUserID" DataType="System.Int32" HeaderText="LastUserID"
SortExpression="LastUserID" UniqueName="LastUserID" Visible="False">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="LastUserDate" DataType="System.DateTime" HeaderText="LastUserDate"
SortExpression="LastUserDate" UniqueName="LastUserDate">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="rowguid" DataType="System.Guid" HeaderText="rowguid"
SortExpression="rowguid" UniqueName="rowguid" Visible="False">
</telerik:GridBoundColumn>
<telerik:GridCheckBoxColumn DataField="IsValidForCrm" DataType="System.Boolean" HeaderText="IsValidForCrm"
SortExpression="IsValidForCrm" UniqueName="IsValidForCrm">
</telerik:GridCheckBoxColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="DALExtra.CompanyDetailsPrivateDSTableAdapters.CompanyDetailsPrivateTableAdapter"
UpdateMethod="Update">
<UpdateParameters>
<asp:Parameter Name="BrokerID" Type="Int32" />
<asp:Parameter Name="CompanyName" Type="String" />
<asp:Parameter Name="Branch" Type="String" />
<asp:Parameter Name="LastUserID" Type="Int32" />
<asp:Parameter Name="LastUserDate" Type="DateTime" />
<asp:Parameter Name="rowguid" Type="Object" />
<asp:Parameter Name="IsValidForCrm" Type="Boolean" />
<asp:Parameter Name="Original_ID" Type="String" />
<asp:Parameter Name="Original_BrokerID" Type="Int32" />
<asp:Parameter Name="Original_CompanyName" Type="String" />
<asp:Parameter Name="Original_Branch" Type="String" />
<asp:Parameter Name="Original_LastUserID" Type="Int32" />
<asp:Parameter Name="Original_LastUserDate" Type="DateTime" />
<asp:Parameter Name="Original_rowguid" Type="Object" />
<asp:Parameter Name="Original_IsValidForCrm" Type="Boolean" />
</UpdateParameters>
</asp:ObjectDataSource>
<!-- Modify height and width if desired -->
<object width="570" height="180" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<!-- set the relative path to the file i.e. /media/urology/somevideo.swf -->
<param value="ball.swf" name="movie"/>
<param value="high" name="quality"/>
<!-- Modify height and width if desired -->
<!-- set the relative path to the file i.e. /media/urology/somevideo.swf -->
<embed width="570" height="180" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="ball.swf"/>
</object>
Thanks.

Thanks
gary
| /************************************************************************************************************** | |
| * Reset | |
| **************************************************************************************************************/ | |
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, font, img, ins, kbd, q, s, samp, | |
| small, strike, strong, sub, sup, tt, var, | |
| dl, dt, dd, ol, ul, li, | |
| fieldset, form, label, legend, | |
| table, caption, tbody, tfoot, thead, tr, th, td { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| outline: 0; | |
| } | |
| /************************************************************************************************************** | |
| * Globals | |
| **************************************************************************************************************/ | |
| body { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; background-color: #ccc; } | |
| h1, h2, h3, p, table, ul { margin: 10px; } | |
| h1 { font-size: 14pt; font-weight: bold; } | |
| h2 { font-size: 12pt; font-weight: bold; } | |
| h3 { font-size: 10pt; font-weight: bold; } | |
| li { margin: 10px 10px 10px 40px; } | |
| th { whitewhite-space: nowrap; font-weight: bold; } | |
| td { text-align: left; vertical-align: top; } | |
| a { color: #3B5E0B; text-decoration: none; } | |
| a:hover { color: #3B5E0B; text-decoration: underline; } | |
| input.text, textarea { border: solid #3A75B6 1px; padding: 2px; } | |
| strong { font-weight: bold; } | |
| em { font-style: italic; } | |
| blockquote { margin: 10px 50px; } | |
| .clear { clear: both; } | |
| .rightright { text-align: rightright; } | |
| /* dont show transparent pngs in IE until the js fixes them */ | |
| .ie5 .iefix, .ie6 .iefix { display:none; } | |
| /************************************************************************************************************** | |
| * Layout | |
| **************************************************************************************************************/ | |
| #page { margin: 0 auto; width: 750px; background-color: #fff; } | |
| #page a { font-size: 10pt; } | |
| #header { background-color: #2764C1; color: #fff; height: 150px; margin: 0; overflow: hidden; text-align: rightright; } | |
| #header ul { list-style: none; } | |
| #header ul li { display: inline; margin: 0 2px; font-size: 8pt; } | |
| #header ul li a { color: #fff; text-decoration: none; font-size: 8pt; } | |
| #header ul li a:hover { text-decoration: underline; } | |
| #header ul li.username { font-weight: normal; } | |
| #header h1 { font-size: 24pt; margin: 0 10px; float: left; } | |
| #header .badge { margin: 0; margin-top: 25px; } | |
| #nav { background: url("Images/tabs_bg.png") repeat-x left top; height: 34px; padding: 0; overflow: hidden; } | |
| #nav ul { list-style: none; margin: 0; padding: 0; } | |
| #nav ul li { display: inline; margin: 0; padding: 0; height: 34px; line-height: 34px; } | |
| #nav ul li a { text-decoration: none; cursor: hand; float: left; text-decoration: none; margin: 0; padding: 0; font-weight: bold; } | |
| #nav ul li a span { font-size: 10pt; color: #fff; height: 34px; text-align: center; float: left; display: block; padding: 0 15px; } | |
| #nav ul li a:hover span { color: #3B5E0B; } | |
| #nav ul li a.selected span { color: #3B5E0B; } | |
| #content { } | |
| #columns { background: url(Images/columns_bg.png) top left repeat-y; } | |
| #column1 { width: 500px; overflow: hidden; float: left; } | |
| #column1 a { font-size: 10pt; } | |
| #column2 { width: 250px; overflow: hidden; float: rightright; } | |
| #column2 a { font-size: 10pt; } | |
| #footer { background-color: #2764C1; color: #fff; border: solid #2764C1 1px; height: 100px; font-size: 8pt; } | |
| #footer p { font-size: 8pt; } | |
| #footer ul { list-style: none; float: rightright; font-size: 8pt; } | |
| #footer li { display: inline; margin: 0; font-size: 8pt; } | |
| #footer a { color: #fff; font-size: 8pt; } | |
| /************************************************************************************************************** | |
| * Page Styles | |
| **************************************************************************************************************/ | |
| /* ~/Admin/Default.aspx */ | |
| #dashboard { width: 750px; margin: 0; padding: 0; } | |
| #dashboard .column1 { width: 500px; } | |
| #dashboard .column1 table { margin-right: 0; } | |
| #dashboard .column2 { width: 250px; } | |
| /* ~/Admin/Users.aspx */ | |
| #searchterms { margin: 10px; background-color: #eee; border: solid #3A75B6 1px; } | |
| #searchterms li, a { font-size: 8pt; } | |
| #searchterms li { margin-top: 2px; margin-bottom: 2px; } | |
| #searchterms p { margin: 2px 4px; } | |
| #userlist { } | |
| #userlist .gv { margin: 0 10px; } | |
| #userlist .count { margin: 0 10px; text-align: rightright; font-size: 8pt; font-weight: bold; } | |
| #userlist .gvedrs td { width: 730px; padding: 5px; } | |
| /* ~/Admin/Roles.aspx */ | |
| #roles { } | |
| #roles .list { margin: 0 10px; padding: 10px; border: solid #3A75B6 1px; background-color: #eee; } | |
| #roles .list table { margin: 0; padding: 0; } | |
| #roles .list td { padding: 4px; } | |
| #roles .list label { margin-left: 5px; } | |
| #roles .note { margin: 0 10px; } | |
| /* ~/Login.aspx */ | |
| #login { margin: 50px; } | |
| #login .container { width: 200px; margin-left: auto; margin-right: auto; } | |
| #login h1 { margin: 0 0 10px 0; padding: 0; } | |
| #login p { margin: 10px 0 0 0; padding: 0; font-size: 10pt; } | |
| #login a { font-size: 10pt; } | |
| #login label { display: block; font-weight: bold; } | |
| #login input.text { width: 195px; } | |
| /* ~/Signup.aspx */ | |
| #signup { margin: 50px 195px; width: 355px; } | |
| #signup h1 { margin: 0 0 10px 0; padding: 0; } | |
| #signup table { margin: 0 0 10px 0; border: none; width: 355px; } | |
| #signup td { padding: 5px; } | |
| /* ~/ForgotPassword.aspx */ | |
| #passwordrecovery { margin: 50px; } | |
| #passwordrecovery .container { width: 300px; margin-left: auto; margin-right: auto; } | |
| #passwordrecovery h1 { margin: 0 0 10px 0; padding: 0; } | |
| #passwordrecovery p { margin: 10px 0 0 0; padding: 0; } | |
| #passwordrecovery label { display: block; font-weight: bold; } | |
| #passwordrecovery input.text { width: 295px; } | |
| /* ~/Member/Account.aspx */ | |
| #accountinfo { } | |
| /****************************************************************************** | |
| * ASP.NET Controls | |
| ******************************************************************************/ | |
| /**** <asp:GridView /> ****/ | |
| .gv { background-color: #ccc; border: solid #3A75B6 1px; border-collapse: collapse; } | |
| .gv th, .gv td { text-align: left; padding: 2px; font-size: 8pt; } | |
| .gv th { color: #fff; background-color: #2764C1; } | |
| .gv th a { color: #fff; text-decoration: none; } | |
| .gvar { background-color: #fff; } | |
| .gvpr td { color: #fff; font-weight: bold; background-color: #2764C1; font-size: 10pt; } | |
| .gvpr a { color: #ccc; font-weight: bold; } | |
| .gvpr td table { margin: 0; } | |
| /**** <asp:DetailsView /> ****/ | |
| .dv { background-color: #ccc; border: solid #3A75B6 1px; border-collapse: collapse; } | |
| .dv td { padding: 4px; } | |
| .dvh { text-align: rightright; whitewhite-space: nowrap; color: #fff; background-color: #2764C1; font-weight: bold; } | |
| /* <asp:ValidationSummary /> */ | |
| .vs { color: #fff; background-color: #c00; margin: 0; padding: 4px; } | |
| .vs ul { margin: 0; padding: 0; list-style: none; } | |
| .vs li { margin: 0; padding: 0; font-size: 8pt; font-weight: normal; } | |
| /* <hc:Dialog /> */ | |
| .dialog { color: #000; background-color: #fff; border: solid #2764C1 2px; } | |
| .dialog_title { color: #fff; background-color: #2764C1; font-size: 10pt; font-weight: bold; padding: 4px; text-align: left; } | |
| .dialog_content { text-align: left; } | |
| .dialog_content .gv, .dialog_content .dv, .dialog_content table, .dialog_content p { margin: 10px 10px 0 10px; } | |
| .dialog_buttons { padding: 10px; text-align: rightright; } | |
| .dialog_background { background-color: Gray; filter: alpha(opacity=70); opacity: 0.7; } | |
| /* <hc:Button /> */ | |
| button.btn { background-color: transparent; border: none; margin: 0; padding: 0; } | |
| button.btn div { border: 0; cursor: pointer; padding: 0 10px 0 0; text-align: center; height: 28px; } | |
| button.btn div span { display: block; whitewhite-space: nowrap; padding: 0 0 0 10px; color: #fff; font-size: 10pt; font-weight: bold; height: 28px; line-height: 28px; } | |
| /* button graphics */ | |
| button.btn div { background: url(Images/button_right.png) top rightright no-repeat; } | |
| button.btn div span { background: url(Images/button_left.png) top left no-repeat; } | |
| button.btn:hover div { background-position: 100% -28px; } | |
| button.btn:hover div span { background-position: 0% -28px; color: #3B5E0B; } | |
| /* button browser specific tweaks */ | |
| .ie button.btn { width: auto; overflow: visible; padding: 0 0 0 4px; } | |
| /*.gecko button.btn div { margin: 0 -3px; } */ | |
| /************************************************************************************ | |
| * AjaxControlToolkit Popup Calendar | |
| ************************************************************************************/ | |
| .ajax__calendar_container {padding:4px;position:absolute;cursor:default;width:240px;font-size:11px;text-align:center;font-family:tahoma,verdana,helvetica;} | |
| .ajax__calendar_body {height:139px;width:240px;position:relative;overflow:hidden;margin:auto;} | |
| .ajax__calendar_days, .ajax__calendar_months, .ajax__calendar_years {top:0px;left:0px;height:139px;width:170px;position:absolute;text-align:center;margin:auto;} | |
| .ajax__calendar_container TD {font-size:8pt;padding:0;} | |
| .ajax__calendar_header {height:20px;width:100%;} | |
| .ajax__calendar_prev {cursor:pointer;width:15px;height:15px;float:left;background-repeat:no-repeat;background-position:50% 50%;background-image:url(Images/arrow-left.gif);} | |
| .ajax__calendar_next {cursor:pointer;width:15px;height:15px;float:rightright;background-repeat:no-repeat;background-position:50% 50%;background-image:url(Images/arrow-rightright.gif);} | |
| .ajax__calendar_title {cursor:pointer;font-weight:bold;} | |
| .ajax__calendar_footer {height:15px;} | |
| .ajax__calendar_today {cursor:pointer;padding-top:3px;} | |
| .ajax__calendar_dayname {height:17px;width:17px;text-align:rightright;padding:0 2px;} | |
| .ajax__calendar_day {height:17px;width:18px;text-align:rightright;padding:0 2px;cursor:pointer;} | |
| .ajax__calendar_month {height:44px;width:40px;text-align:center;cursor:pointer;overflow:hidden;} | |
| .ajax__calendar_year {height:44px;width:40px;text-align:center;cursor:pointer;overflow:hidden;} | |
| .ajax__calendar .ajax__calendar_container {border:1px solid #646464;background-color:#ffffff;color:#000000;} | |
| .ajax__calendar .ajax__calendar_footer {border-top:1px solid #f5f5f5;} | |
| .ajax__calendar .ajax__calendar_dayname {border-bottom:1px solid #f5f5f5;} | |
| .ajax__calendar .ajax__calendar_day {border:1px solid #ffffff;} | |
| .ajax__calendar .ajax__calendar_month {border:1px solid #ffffff;} | |
| .ajax__calendar .ajax__calendar_year {border:1px solid #ffffff;} | |
| .ajax__calendar .ajax__calendar_active .ajax__calendar_day {background-color:#edf9ff;border-color:#0066cc;color:#0066cc;} | |
| .ajax__calendar .ajax__calendar_active .ajax__calendar_month {background-color:#edf9ff;border-color:#0066cc;color:#0066cc;} | |
| .ajax__calendar .ajax__calendar_active .ajax__calendar_year {background-color:#edf9ff;border-color:#0066cc;color:#0066cc;} | |
| .ajax__calendar .ajax__calendar_other .ajax__calendar_day {background-color:#ffffff;border-color:#ffffff;color:#646464;} | |
| .ajax__calendar .ajax__calendar_other .ajax__calendar_year {background-color:#ffffff;border-color:#ffffff;color:#646464;} | |
| .ajax__calendar .ajax__calendar_hover .ajax__calendar_day {background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;} | |
| .ajax__calendar .ajax__calendar_hover .ajax__calendar_month {background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;} | |
| .ajax__calendar .ajax__calendar_hover .ajax__calendar_year {background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;} | |
| .ajax__calendar .ajax__calendar_hover .ajax__calendar_title {color:#0066cc;} | |
| .ajax__calendar .ajax__calendar_hover .ajax__calendar_today {color:#0066cc;} |