Protected
Sub btnSettings_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSettings.Click
For Each filterItem As GridFilteringItem In rgvEmployees.MasterTableView.GetItems(GridItemType.FilteringItem)
'Loop through each item and get uniquename, type and selectedvalue
Next
i need to set the grid bound column value but using javascript when checkbox is checked or uncheked and set all rows value when i clicked select all checkox.
i can do it easily with server side code but i need to do it with client side.
Hello,
I have a Simple RadGrid that is using Export to Excel. When running locally on Visual Studio 2012 i have no issues. When it runs on the prduction server using IIS 8 I get blank spread sheets.
Markup:
<telerik:radgrid id="rgCReport" runat="server" datasourceid="LinqDataSource1" autogeneratecolumns="false" allowpaging="True" allowsorting="True" clientsettings-resizing-allowcolumnresize="true" enabletheming="False" pagesize="20" cellspacing="0" gridlines="None"> <ExportSettings> <Excel Format="ExcelML" /> </ExportSettings> <MasterTableView PagerStyle-Mode="NextPrevAndNumeric" AutoGenerateColumns="false" EditMode="InPlace" > <NoRecordsTemplate> No Request Found </NoRecordsTemplate> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"> </RowIndicatorColumn> <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"> </ExpandCollapseColumn> <Columns> <telerik:GridBoundColumn DataField="Created" HeaderText="Created" SortExpression="Created" UniqueName="Created" DataFormatString="{0:d}<br/>{0:t}"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DealerName" HeaderText="Dealer Name" SortExpression="DealerName" UniqueName="DealerName"> <HeaderStyle Width="110px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" SortExpression="FirstName" UniqueName="FirstName"> <HeaderStyle Width="110px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" SortExpression="LastName" UniqueName="LastName"> <HeaderStyle Width="110px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="PhoneNumber" HeaderText="Phone" SortExpression="PhoneNumber" UniqueName="PhoneNumber"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Email" HeaderText="Email" SortExpression="Email" UniqueName="Email"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DealerCity" HeaderText="Dealer City" SortExpression="DealerCity" UniqueName="DealerCity"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="DealerState" HeaderText="Dealer State" SortExpression="DealerState" UniqueName="DealerState"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="PCMethod" HeaderText="Contact Method" SortExpression="PCMethod" UniqueName="PCMethod"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Comments" Display="false" HeaderText="Comments" SortExpression="Comments" UniqueName="Comments"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CarModel" Display="false" HeaderText="Model" SortExpression="Comments" UniqueName="CarModel"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CarVin" Display="false" HeaderText="Vin" SortExpression="Comments" UniqueName="CarVin"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CarYear" Display="false" HeaderText="Year" SortExpression="Comments" UniqueName="CarYear"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="CarMake" Display="false" HeaderText="Make" SortExpression="Comments" UniqueName="CarMake"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Preferred" HeaderText="Preferred" SortExpression="Preferred" UniqueName="Preferred"> <HeaderStyle Width="68px" /> </telerik:GridBoundColumn> </Columns> <EditFormSettings> <EditColumn FilterControlAltText="Filter EditCommandColumn column"> </EditColumn> </EditFormSettings> </MasterTableView> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"> </HeaderContextMenu> </telerik:radgrid>
Code Behind:
protected void exportBtn_Click(object sender, EventArgs e) { this.rgCReport.MasterTableView.GetColumn("Comments").Display = true; this.rgCReport.MasterTableView.GetColumn("CarModel").Display = true; this.rgCReport.MasterTableView.GetColumn("CarVin").Display = true; this.rgCReport.MasterTableView.GetColumn("CarYear").Display = true; this.rgCReport.MasterTableView.GetColumn("CarMake").Display = true; this.rgCReport.ExportSettings.FileName = "Dealer Contact Report"; this.rgCReport.ExportSettings.ExportOnlyData = true; this.rgCReport.ExportSettings.IgnorePaging = true; this.rgCReport.MasterTableView.ExportToExcel(); }Is there something i can check to see why this is happening? there are no console errors in browser.


We currently have implemented RadEditor with the default paragraph tag new line mode. It is working correctly - when someone hits the Enter key in the editor, it encapsulates the content within paragraph tags.
However, when we paste content in from the clipboard, RadEditor is generating a <br/> tag for each new line.
We would like the Editor to have the same paragraph tag new line behavior when pasting. Is there an easy way to do this, or is writing a custom filter the only way to handle it?

Hi,
When I use the Bootstrap theme, controls don't stay inside their containers.
In the screenshot, the controls do not stay inside the grid column.
Hello!
I'm testing telerik components and looking for best approach to solve situation like on attached picture.
What is best solution to put "MarketingDescription" below this link? I wolud like to have something like second screenshot.
Thank you.
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource2" GroupPanelPosition="Top" AllowPaging="True" PageSize="20"> <ExportSettings> <Pdf PageWidth=""> </Pdf> </ExportSettings> <MasterTableView DataSourceID="SqlDataSource2" NoMasterRecordsText="Molimo odaberite kategoriju."> <Columns> <telerik:GridBoundColumn DataField="Artikal_ID" FilterControlAltText="Filter Artikal_ID column" HeaderText="Å ifra artikala" ReadOnly="True" SortExpression="Artikal_ID" UniqueName="Artikal_ID"><ColumnValidationSettings><ModelErrorMessage Text=""></ModelErrorMessage></ColumnValidationSettings> </telerik:GridBoundColumn> <telerik:GridImageColumn DataImageUrlFields="Artikal_ID" DataImageUrlFormatString="IMG/{0}.jpg" AlternateText="Slika" DataAlternateTextField="Artikal" ImageAlign="Middle" ImageHeight="60px" ImageWidth="60px" HeaderText="Slika" HeaderButtonType="None"> </telerik:GridImageColumn> <telerik:GridHyperLinkColumn AllowSorting="False" DataNavigateUrlFields="Artikal_ID" DataNavigateUrlFormatString="product_info.aspx?artikal_ID={0}" DataTextField="Naziv_artikla" DataTextFormatString="{0}" FilterControlAltText="Filter column column" Text="Naziv" UniqueName="column"> </telerik:GridHyperLinkColumn> <telerik:GridBoundColumn DataField="Osnovica" DataType="System.Decimal" FilterControlAltText="Filter Osnovica column" HeaderText="VPC" ReadOnly="True" SortExpression="Osnovica" UniqueName="Osnovica" DataFormatString="{0:F2}"><ColumnValidationSettings><ModelErrorMessage Text=""></ModelErrorMessage></ColumnValidationSettings> <HeaderStyle HorizontalAlign="Right" /> <ItemStyle HorizontalAlign="Right" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="MPC" DataType="System.Decimal" FilterControlAltText="Filter MPC column" HeaderText="MPC" ReadOnly="True" SortExpression="MPC" UniqueName="MPC" DataFormatString="{0:F2}"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> <HeaderStyle HorizontalAlign="Right" /> <ItemStyle HorizontalAlign="Right" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="MarketingDescription" FilterControlAltText="Filter MarketingDescription column" UniqueName="MarketingDescription" HeaderText="MarketingDescription" ReadOnly="True"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> </telerik:GridBoundColumn> </Columns> </MasterTableView> </telerik:RadGrid>