or
if (e.CommandName == "Edit")
e.Item.Edit =
false;
}
Thanks!
| <?xml version="1.0" encoding="utf-8" ?> |
| <RoatatorItems> |
| <Item link="http://www.link1.com" title="This is a test 1" /> |
| <Item link="http://www.link2.com" title="This is a test 2" /> |
| <Item link="http://www.link3.com" title="This is a test 3" /> |
| <Item link="http://www.link4.com" title="This is a test 4" /> |
| <Item link="http://www.link5.com" title="This is a test 5" /> |
| </RoatatorItems> |
| <asp:XmlDataSource ID="XmlDataSource1" runat="server" |
| DataFile="~/NewsRotator.xml" XPath="/RotatorItems/Items"></asp:XmlDataSource> |
| <telerik:RadRotator ID="RadRotator1" runat="server" |
| DataSourceID="XmlDataSource1" Height="50px" Width="901px"> |
| <ItemTemplate> |
| <div class="newsFeed"> |
| <strong><a href='<%# XPath("link") %>'> |
| <%# System.Web.HttpUtility.HtmlEncode(XPath("title").ToString()) %> |
| </a></strong> |
| </div> |
| </ItemTemplate> |
| </telerik:RadRotator> |
| <ItemTemplate> |
| <div class="newsFeed"> |
| <strong><a href='<%# XPath("link") %>'> |
| <%#XPath("title")%> |
| </a></strong> |
| <br /> |
| </div> |
| </ItemTemplate> |
| With rgProjectSearch |
| .ExportSettings.FileName = "ProjectSearch" & Now.Date.ToShortDateString.Replace("/", "") |
| .ExportSettings.ExportOnlyData = True |
| .ExportSettings.IgnorePaging = True |
| .ExportSettings.OpenInNewWindow = True |
| .ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.ExcelML |
| .Columns.FindByUniqueName("ProjectResearchTitle").Visible = True |
| .Columns.FindByUniqueName("ClockStatusID").Visible = False |
| .MasterTableView.ExportToExcel() |
| End With |