or
| <telerik:GridCalculatedColumn DataType="System.Double" DataFields="DayFig,ExtCost" HeaderText="PV" |
| UniqueName="PV" Expression="(({0}-{1})/{0})" DataFormatString="Avg : {0:p}" Aggregate="SUM"> |
| </telerik:GridCalculatedColumn> |
| RadComboBox oCombo = (RadComboBox) RowItem.FindControl("radComboBox1"); |
| oCombo.Visible = true; |
| oCombo.DataSource = dt; |
| oCombo.DataTextField = "Text"; |
| oCombo.DataValueField = "Value"; |
| oCombo.DataBind(); |
| <telerik:RadListView runat="server" ID="RadLVPhotos" Enabled="false" |
| AllowPaging="true" PageSize="10" DataKeyNames="Id" OverrideDataSourceControlSorting="true" |
| OnNeedDataSource="RadLVPhotos_NeedDataSource" ItemPlaceholderID="ProductsHolder"> |
| <EmptyDataTemplate> |
| <legend>Photos</legend>Aucune photo... |
| </EmptyDataTemplate> |
| <ItemTemplate> |
| <fieldset style="float: left; margin: 5px 5px 5px 5px; padding: 2px 2px 2px 2px; |
| background: #eeeeee" class="myClass" onmouseover="containerMouseover(this)" onmouseout="containerMouseout(this)"> |
| <telerik:RadBinaryImage Style="cursor: pointer;" runat="server" ID="RadBinaryImage1" |
| DataValue='<%#Eval("Fichier.Content") %>' Height='60' Width="60" |
| ResizeMode="Fit" /> |
| <br /> |
| </fieldset> |
| </ItemTemplate> |
| </telerik:RadListView> |
| Protected Sub RadLVPhotos_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.RadListViewNeedDataSourceEventArgs) |
| Dim radLVPhotos As RadListView = DirectCast(source, RadListView) |
| If radLVPhotos.Enabled = True Then |
| Dim scope As IObjectScope = ScopeFactory.GetPerRequestScope(HttpContext.Current) |
| Dim nID As Int32 = Convert.ToInt32(hfID.Value) |
| radLVPhotos.DataSource = From ProdFich In scope.Extent(Of ProduitsFichier)() Select ProdFich Where ProdFich.ProdID = nID And ProdFich.EstImage = True |
| End If |
| End Sub |
ToolsFile
="~/App_Data/ToolsFile.xml", everything toolbars work except the spell checker.
I get an error that "spell check command not implemented yet. Let me know if I have to use a different toolsFile.xml.
Thanks
Anil