I am trying to show toolbar dropdown text like:
Dim dropDown As RadToolBarDropDown = New RadToolBarDropDown("PageSize")
dropDown.Text = GetGlobalResourceObject("Insight", "Per pagina")
This ends up with the following sourcecode:
<span class="rtbText rtbHidden">Per pagina</span>
What could be wrong here? Skin = Material 2016.2.607.45
Marc


Seems that in code behind the AllowFilteringByColumn property is always set to false at all phases of life cycle prior to the data binding stages. Code example like below for example is always returning me false.:
protected void Page_Load(sender se, EventArgs evt) // Master Page event{ var grid = ControlHelper.FindControlByCIDRecursive<RadGrid>(Request["__EVENTTARGET"], ContentPlaceHolder1); // Iterate content page to find all RadGrid if (grid != null) { bool rebind = false; if(grid.AllowFilteringByColumn) foreach (GridColumn column in grid.MasterTableView.Columns) if (column.CurrentFilterFunction!=GridKnownFunction.NoFilter) { column.CurrentFilterFunction = GridKnownFunction.NoFilter; column.CurrentFilterValue = string.Empty; rebind = true; } if (rebind) { grid.MasterTableView.FilterExpression = string.Empty; grid.MasterTableView.Rebind(); } }}
Our requirement is to apply a certain DOM class to all grids site-wise. If AllowFilteringByColumn is not propertly populated before databinding is there another way to determine whether filtering is enabled?


Sirs:
I'm trying to dynamically set the font color in the TileList PeekTemplate. The code that I'm using is below (and it works), but Visual Studio generates 7 warning for the syntax. Is there a better way? I can't seem to access that property in the TileDataBound event.
<telerik:RadTileList runat="server" ID="RadTileList1" TileRows="1" > <DataBindings> <CommonTileBinding TileType="RadTextTile" DataNavigateUrlField="NavigateUrl" /> <TextTileBinding DataTextField="Module_Name" /> <TilePeekTemplate > <div style="font-size:20px; width:150px;color:<%# DataBinder.Eval(Container.DataItem, "TileColor") %>"> <div><%# DataBinder.Eval(Container.DataItem, "ModuleID") %></div> <div style="font-size:14px"><%# DataBinder.Eval(Container.DataItem, "NumberOfTables") %></div> </div> </TilePeekTemplate> </DataBindings></telerik:RadTileList>
Hi,
We are using Telerik Rad Controls in SharePoint Visual Webpart.
Any telerik controls either it could be a radbutton or radtabs . After the First Load of the page, when clicked on button or tab the page will post back and the ajax is not working.
However after the postback, ajax seems to start working. Its consistent across all the control where there is a postback event.
How to solve this issue ? As simple sample to solve this issue in SharePoint 2013 will help.
Please advise
<telerik:GridTableView runat="server" DataSourceID="LDS" Name="PRD" AutoGenerateColumns="False" DataKeyNames="1,2,3" ShowHeader="false" HierarchyDefaultExpanded="true" CommandItemDisplay="Top" > <ParentTableRelation> [...] </ParentTableRelation> <CommandItemTemplate> <telerik:RadButton ID="RadButton1" runat="server" Text="ClearFilter" CommandName="ClearFilter" OnClick="ClearFilter"> <Icon PrimaryIconCssClass="rbCancel" /> </telerik:RadButton> <telerik:RadButton ID="RadButton2" runat="server" Text="++++++++++++++" CommandName="Exp" OnClick="CustomFilter"> </telerik:RadButton> <telerik:RadButton ID="RadButton3" runat="server" Text="---------------" CommandName="No-Exp" OnClick="CustomFilter2"> </telerik:RadButton> </CommandItemTemplate> <Columns> <telerik:GridTemplateColumn DataField="totaldone" HeaderText="totaldone" UniqueName="SuperFilter" > [...] </telerik:GridTemplateColumn> </Columns>protected void CustomFilter(object sender, EventArgs e){ dude(RG_BL.MasterTableView);}protected void dude(GridTableView gridTableView){ GridItem[] nestedViewItems = gridTableView.GetItems(GridItemType.NestedView); foreach (GridNestedViewItem nestedViewItem in nestedViewItems) {// Let's find the grid foreach (GridTableView nestedView in nestedViewItem.NestedTableViews) { this.Label1.Text += nestedView.Name + "(" + nestedView.Items.Count + ")" + " | "; if (nestedView.Name == "PRD") {// Got the Grid nestedView.FilterExpression = string.Empty; foreach (GridColumn column in nestedView.Columns) {// The Column ? if (column is GridTemplateColumn && column.UniqueName == "SuperFilter") {// Here. GridTemplateColumn myColumn = column as GridTemplateColumn; myColumn.CurrentFilterFunction = GridKnownFunction.GreaterThan; myColumn.CurrentFilterValue = "0"; } } nestedView.Rebind(); } if (nestedView.HasDetailTables) { dude(nestedView); } } }}I have a GridTemplateColumn with RadEditor, but when i try insert new post or update a post it will not be insert/updated in Internet Explorer 11 version 11.545.
It be insert/updated in IE Edge, Chrome and Firefox, not in IE 11?
Use SqlDataSource......
<telerik:GridTemplateColumn UniqueName="artikel" SortExpression="artikel" HeaderText="Artikel" HeaderStyle-Width="0px"> <EditItemTemplate> <telerik:RadEditor ID="RadEditor1" Skin="Office2010Silver" ToolsFile="Toolbar.xml" Content='<%# Bind("artikel") %>' Width="670px" Height="300px" EnableResize="False" runat="server" /> </EditItemTemplate></telerik:GridTemplateColumn>