When I generate pdf from , it generates SECURED pdf by default. So when I check the security of the pdf, it says Security Method = Password .
Below are my export settings:
<telerik:RadEditor ID="dummyradEditorExport" ContentFilters="DefaultFilters,PdfExportFilter" ExportSettings-Pdf-UserPassword=""
Height="500" Skin="Default" Width="685" runat="server" ImageManager-EnableImageEditor="true" NewLineMode="Div">
<ExportSettings FileName="ExporttoPDF" OpenInNewWindow="true" Pdf-PageBottomMargin="1.0 cm"
Pdf-PageLeftMargin="1.5 cm" Pdf-PageRightMargin="1.5 cm" Pdf-PageTopMargin="1.0 cm"
Pdf-AllowCopy="true" Pdf-AllowPrinting="true" Pdf-AllowModify="true" >
</ExportSettings>
Please suggest why its doing this because my users are not able to open this pdf on iOS and Edge.
Hello, i have RadCombobox with ItemTemplate (Icon + Text):
<telerik:RadComboBox ID="rcCombo" runat="server" Width="500" > <ItemTemplate> <table> <tr> <td> <span class='<%# DataBinder.Eval(Container.DataItem, "ICON") %>'> </span> </td> <td> <%# DataBinder.Eval(Container.DataItem, "TEXT") %> </td> </tr> </table> </ItemTemplate></telerik:RadComboBox>
and i made reorderig at first posision in Client via javascript
var combo = $find("<%= rcCombo.ClientID %>");var items = combo.get_items();combo.trackChanges();var comboItem = combo.findItemByValue('value');items.insert(0, comboItem);comboItem.highlight();combo.updateClientState();combo.commitChanges();
and after repositioning of comboitem ItemTemplate is not showing - no ICON only simple Text.
Do i need to create ClientItemTemplate for repositioned items or any recomendation?
thanks
Hello,
I have a radgrid which is bound with records from one tables. I want to bind radGantt chart in expanded grid row. Is it possible to display Gantt chart inside grid?
I have two tables, e.g. A & B
I am bindding A to grid, and I want to show it's relevant tasks with statuses in ganttchart when expand grid row. I don't want any updates on ganttchart. It is just a view purpose. Also I am not caring for predessor and successors.
Please let me know if such requirement is possible or not. If not then suggest how can I implement this functionality using any other controls.
Hello,
The bug can best be described as the following:
When setting a radgrid datasource with an IEnumerable, filterexpressions behave not as expected.
Reproduce:
Create a radgrid with EnableLinqexpressions set to true, and set its datasource to an IEnumerable. Set a filter on a column. Check the filterexpression that is being generated. Notice the filterexpressions is NOT a valid linqexpression, but has the following format: "([CustomerID] LIKE '%ALFKI%')";
Now set the datasource to a list instead of an IEnumerable. Notice that suddenly the filterexpressions that is generated is different.
See also your Filterexpression documentation
Issue:
I have a requirement where i have to set an initial filter in a grid when opening the page. But we also have export buttons on that page that use the grids filterexpression to filter a dataset for the export. This no longer worked because the filterexpression was no longer a valid linq expression. In my opinion this behavior is not very intuitive, and i could not find any documentation about it.
Regards,
Johan
I am dynamically creating an ajaxified RadGrid in an asp:UpdatePanel in a user control.
The RadGrid is created in Page_Init,and the MasterTableView.CommandItemSettings.ShowExportToExcelButton set true;
The RadGrid is added to the RadAjaxManagerProxy AjaxSettings in Page_Load, in if (!Page.IsPostBack).
My problem is that after postback, the export button is not set to trigger a postback (it's not excluded from Ajax). I gather it is excluded automatically on the original page load when the RadGrid is added to the AjaxSettings, but it doesn't happen after a ajax update to the RadGrid (sorting, or filtering, for example).
I read this article, but I can't resolve my problem: Export from Ajaxified Grid
If I inspect the button in the browser before and after an ajax update this is what I see:
BEFORE:
<input name="ctl00$MainContent$ucSystems$rgSystems$ctl00$ctl02$ctl00$ExportToExcelButton" title="Export to Excel" class="rgExpXLS" id="ctl00_MainContent_ucSystems_rgSystems_ctl00_ctl02_ctl00_ExportToExcelButton" onclick="javascript:__doPostBack('ctl00$MainContent$ucSystems$rgSystems$ctl00$ctl02$ctl00$ExportToExcelButton','')" type="button" value=" ">
AFTER:
<input
name="ctl00$MainContent$ucSystems$rgSystems$ctl00$ctl02$ctl00$ExportToExcelButton"
title="Export to Excel" class="rgExpXLS" id="ctl00_MainContent_ucSystems_rgSystems_ctl00_ctl02_ctl00_ExportToExcelButton"
type="submit" value=" ">
How can I get the postback on the ExportToExcelButton after an ajax update to the RadGrid?
Hi,
Wonder if someone could give me a hand with a problem. I have a radgrid with two columns. One column is a raddropdownlist with three static items. The user changes the dropdownlist values as required and then clicks the SAVE button which invokes a code behind function.
At this point I iterate through the rows, getting the values of the two columns to then save manually in my database.
Whilst I can get the first databound column (menuname), what ever I do the raddropdownlist returns nothing.
I've tried various options including findcontrol, mastertable getdatakeyvalues, tablecells but everything returns nothing.
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False">
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
<MasterTableView EditMode="Batch">
<Columns>
<telerik:GridBoundColumn DataField="menuname" UniqueName="menuname" HeaderText="Plugin" ReadOnly="True">
<HeaderStyle Width="200px" Font-Bold="True"/>
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn HeaderText="Permission" DefaultInsertValue="None" UniqueName="Pluginperm" DataField="Pluginperm">
<HeaderStyle Width="150px" Font-Bold="True"/>
<ItemTemplate>
<%# Eval("pluginperm") %>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadDropDownList ID="pluginpermRadDropDownList" runat="server" SelectedText="None" SelectedValue="None">
<Items>
<telerik:DropDownListItem runat="server" Text="None" ToolTip="No access" Value="N" />
<telerik:DropDownListItem runat="server" Text="View" ToolTip="View only access" Value="V" />
<telerik:DropDownListItem runat="server" Text="Admin" ToolTip="Full access to all options" Value="A" />
</Items>
</telerik:RadDropDownList>
</EditItemTemplate>
<HeaderStyle Width="150px"></HeaderStyle>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn FilterControlAltText="Filter column column" UniqueName="Pluginhidden" Visible="False">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
I know "b = item("pluginperm").ToString" won't work - I've just put it in for completeness.
... in the code behind function
For Each item As GridDataItem In RadGrid1.Items
Dim a As String
Dim b As String
a = item("menuname").Text
b = item("pluginperm").ToString
Next
I know "b = item("pluginperm").ToString" won't work - I've just put it in for completeness.
Any help would be really appreciated.
Craig
I have a grid that I want to make a specific cell only to be in edit mode and never go in view mode
RadGridControl.MasterTableView.BatchEditingSettings.EditType = GridBatchEditingType.Cell; (using the batcheediting with cell editing)
https://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx
Like in this demo, I have a checkbox that I don't want to be shown in view mode, just in edit mode. Made a thing that the checkbox will work without clicking it twice(once to select the column and one to select the checkbox), it works with already saved items, but when i insert a new row the view mode doesn't display the checkbox, but the editing mode displays it.... I can't manage to show it in the view mode, so the only think is when I insert a new row to place it automatically in edit mode, can I even do this(without generating a lot of errors)?