<telerik:RadDockLayout ID="RadDockLayout2" runat="server"> <telerik:RadDockZone ID="RadDockZone3" runat="server" Height="300px" Width="300px"> <telerik:RadDock ID="RadDock3" runat="server" Width="300px" Title="Dock1" Text="Dock1"> <Commands> <telerik:DockExpandCollapseCommand /> </Commands> <ContentTemplate> --Contents here--- </ContentTemplate> </telerik:RadDock> </telerik:RadDockZone> <telerik:RadDockZone ID="RadDockZone4" runat="server" Height="300px" Width="300px"> <telerik:RadDock ID="RadDock4" runat="server" Width="300px" Title="Dock2" Text="Dock2"> <Commands> <telerik:DockExpandCollapseCommand /> </Commands> <ContentTemplate> --Contents here--- </ContentTemplate> </telerik:RadDock> </telerik:RadDockZone> <telerik:RadDockZone ID="RadDockZone5" runat="server" Height="300px" Width="300px"> <telerik:RadDock ID="RadDock5" runat="server" Width="300px" Title="Dock2" Text="Dock2"> <Commands> <telerik:DockExpandCollapseCommand /> </Commands> <ContentTemplate> --Contents here--- </ContentTemplate> </telerik:RadDock> </telerik:RadDockZone> </telerik:RadDockLayout>
<telerik:RadGrid runat="server" ID="RadGrid1" AutoGenerateColumns="false" Width="100%" GridLines="None" PageSize="5" AllowFilteringByColumn="true" AllowPaging="true" AllowSorting="true"> <MasterTableView EnableViewState="False" EnableNoRecordsTemplate="true" IsFilterItemExpanded="false"> <NoRecordsTemplate> There are no available records. </NoRecordsTemplate> <RowIndicatorColumn> <HeaderStyle Width="20px"></HeaderStyle> </RowIndicatorColumn> <ExpandCollapseColumn> <HeaderStyle Width="20px"></HeaderStyle> </ExpandCollapseColumn> <Columns> <telerik:GridHyperLinkColumn SortExpression="Name" ItemStyle-CssClass="gridLink" ItemStyle-Wrap="true" HeaderText="Description" UniqueName="Name" DataTextField="Name" FilterControlWidth="55px" CurrentFilterFunction="Contains"> </telerik:GridHyperLinkColumn> <telerik:GridDateTimeColumn AllowFiltering="true" AllowSorting="true" ItemStyle-Wrap="false" DataField="DueDate" DataFormatString="{0:M/d/yyyy}" HeaderText="Scheduled" UniqueName="DueDate" ItemStyle-Width="85" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" CurrentFilterFunction="GreaterThanOrEqualTo"> </telerik:GridDateTimeColumn> <telerik:GridDateTimeColumn AllowFiltering="true" AllowSorting="true" ItemStyle-Wrap="false" DataField="DoneDate" DataFormatString="{0:M/d/yyyy}" HeaderText="Done" UniqueName="DoneDate" ItemStyle-Width="55" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" CurrentFilterFunction="GreaterThanOrEqualTo"> </telerik:GridDateTimeColumn> </Columns> </MasterTableView> <PagerStyle Mode="NextPrevAndNumeric" /> <ClientSettings> <ClientEvents OnDataBinding="RadGrid1_OnDataBinding" OnDataBound="RadGrid1_OnDataBound" OnRowDataBound="RadGrid1_OnRowDataBound" OnDataBindingFailed="RadGrid1_OnDataBindingFailed" /> <DataBinding Location="~/Services/RadGrid1Service.svc" SelectMethod="GetRadGrid1Data" SortParameterType="String" FilterParameterType="String"> </DataBinding> </ClientSettings> </telerik:RadGrid> #region PivotGridAggregateFiled
public static void PivotGridAggregateFiled(RadPivotGrid grid, String headertext, String datafield, String UniqueName, int Width, String DataFormatString, String totalformatString, TelerikControlType Columntype, String contolID)
{
PivotGridAggregateField aggregateField = new PivotGridAggregateField();
if (Columntype != TelerikControlType.None)
{
aggregateField.CellTemplate = new MyTemplate(datafield, Columntype.ToString(), Width - 2, contolID);
}
aggregateField.DataField = datafield;
aggregateField.UniqueName = UniqueName;
aggregateField.CellStyle.Width = Width;
aggregateField.DataFormatString = DataFormatString;
aggregateField.TotalFormatString = totalformatString;
aggregateField.Caption = headertext;
grid.Fields.Add(aggregateField);
}
#endregion
| <telerik:RadTreeView ID="treeView" runat="server" Skin="Vista" OnClientContextMenuItemClicked="onClientContextMenuItemClicking"> |
| <ContextMenus> |
| <telerik:RadTreeViewContextMenu ID="FolderContextMenu" runat="server" Skin="Vista"> |
| <Items> |
| <telerik:RadMenuItem Value="FolderDelete" Text="Delete Folder" PostBack="true"></telerik:RadMenuItem> |
| </Items> |
| </telerik:RadTreeViewContextMenu> |
| </ContextMenus> |
| </telerik:RadTreeView> |
| function onClientContextMenuItemClicking(sender, args) { |
| var menuItem = args.get_menuItem(); |
| var treeNode = args.get_node(); |
| menuItem.get_menu().hide(); |
| switch (menuItem.get_value()) { |
| case "FolderDelete": |
| args.set_cancel(true); |
| break; |
| } |
| } |
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" /><telerik:RadAsyncUpload runat="server" ID="radasyncUpload1" MultipleFileSelection="Automatic" AllowedFileExtensions=".jpg" TargetFolder="~/UploadImages/" /><telerik:RadButton ID="rbtnUpload" runat="server" Text="Upload"></telerik:RadButton>Some times when I run the page, IE display a popup with an error telling that the page cannot be found and In Firefox, the upload will start and it wont complete. I can see the yellow button blinking continuously. Suppose if I cancel that file, rest of the files are successfully uploaded. I am having the 2013.2.522 web.ui.dllDim ParentPageAjaxManager As RadAjaxManager = RadAjaxManager.GetCurrent(Page)
ParentPageAjaxManager.AjaxSettings.AddAjaxSetting(ParentPageAjaxManager,
Me.StudentsMasterProgramsListRadGrid)AddHandler ParentPageAjaxManager.AjaxRequest, AddressOf ParentPageAjaxManager_AjaxRequestParentPageAjaxManager.AjaxSettings.AddAjaxSetting(ParentPageAjaxManager, Me.StudentsMasterProgramsListRadGrid)