Hi, I am using a grid filter - Show/hide button in the <CommandItemTemplate> of RadGrid. I am using this for the filter to show on or off. But this radbutton has a different color than the Grid Header. I want to change its background to whatever color that the Grid has ( I may use different skin). Below is the code. Any way we can set the BackColor property of the button at Clientside itself?
<MasterTableView CommandItemDisplay="Top" CommandItemStyle-HorizontalAlign="Right" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">I have a web page with a RadGrid in Batch Edit mode. The number and width of the columns makes the grid wider than the browser window, so it scrolls horizontally. I followed this example to allow me to TAB from cell to cell in the table and to scroll the grid horizontally as the cursor moves from column to column. When I get to the last cell in a row, pressing TAB moves me to the next row, but it moves me to the first visible column on the row rather than scrolling the page all the way back to the left edge and moving me to the first column.
Is there a way to reset the horizontal scrolling when I TAB from the last cell so it goes back to the left most column?
Hello, I have a RadPdfViewer in one of my pages but no matter the way I try to load a PDF, it stays hanging in the loading stage indefinitely.
It stays that way even if I try to load a Pdf by simply clicking open.
What can I do to fix this ?
Hello
Please Help me.
attacted file : problem1.png, problem2.png, problem3.png
It is automatically displayed like a StatusBar of RadGridin the RadListBox?
If possible, please teach me how.
I am working on a timesheet application that tracks a person's hours using a RadGrid.
I have the totals for the day column displayed in the footer. But I want to create a column that sums up all the hours in the row. Is there a way to do that?
Hi,
I want to change the language of the filter in a excel like grid. I try this solutions :
-----------------------------------------------------------------------------------------------
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR");
-----------------------------------------------------------------------------------------------
The culture is fr-FR but the calendar and the labels of the filters are in english.
Can I have some help ? Thank you
Best regards,
Audrey
Hello
Please Help me.
attacted file : problem1.png, problem2.png, problem3.png
It is automatically displayed like a StatusBar of RadGridin the RadListBox?
If possible, please teach me how.
I had to use a custom chart legend but can't seem to figure out how to export the custom legend when exporting to pdf.
html:
<telerik:RadButton RenderMode="Lightweight" runat="server" OnClientClicked="exportChart1" Text="Export to PDF" AutoPostBack="false" UseSubmitBehavior="false"></telerik:RadButton>
Javascript:
function exportChart1() {
var $ = $telerik.$;
var ddlValue = $find("<%= ddlChart1.ClientID %>").get_selectedItem().get_value();
var selectedChart = "." + ddlValue;
/*The selectedChart is found by the CssClass of the chart*/
$find('<%=RadClientExportManager1.ClientID%>').exportPDF($(selectedChart));
}
The custom legend :
I have a Grid with a template column with a MultiSelect as the EditItemTemplate. The MultiSelect displays fine with all of the available values, but I can't figure out how to save the selected items to the database.
When I use a ComboBox, I used SelectedValue='<%# Bind("Team_ADS_Person_IDs") %>' to bind and the selected value is saved in the Team_ADS_Person_ID field correctly, but I'm not sure what to use for the MultiSelect.
<MasterTableView DataKeyNames="Record_ID" EditMode="InPlace" DataSourceID="sql" AutoGenerateColumns="false" AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true">
<Columns>
<telerik:GridEditCommandColumn UniqueName="EditCommandColumn" HeaderStyle-Width="110px"></telerik:GridEditCommandColumn>
<telerik:GridTemplateColumn HeaderText="Team" SortExpression="Team_ADS_Person_IDs" HeaderStyle-Width="275px">
<ItemTemplate>
<%# Eval("Team_ADS_Person_IDs")%>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadMultiSelect ID="selTeam" runat="server" DataSourceID="sqlEmployee" DataTextField="Display_Name" DataValueField="ADS_Person_ID" Filter="Contains" Width="100%" AutoClose="False"></telerik:RadMultiSelect>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridButtonColumn Text="Delete" CommandName="Delete" ConfirmText="Are you sure you want to delete this record?" HeaderStyle-Width="50px" UniqueName="DeleteCommandColumn">
</telerik:GridButtonColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
<asp:SqlDataSource ID="sql" runat="server" ConnectionString="<%$ ConnectionStrings:csCHPServiceDesk %>" SelectCommand="Release.usp_Product" SelectCommandType="StoredProcedure" InsertCommand="Release.usp_Product" InsertCommandType="StoredProcedure" UpdateCommand="Release.usp_Product" UpdateCommandType="StoredProcedure" DeleteCommand="Release.usp_Product" DeleteCommandType="StoredProcedure">
<SelectParameters>
<asp:Parameter Name="Action" DefaultValue="Select" Type="String" />
</SelectParameters>
<InsertParameters>
<asp:Parameter Name="Action" DefaultValue="Insert" Type="String" />
<asp:Parameter Name="Team_ADS_Person_IDs" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="Action" DefaultValue="Update" Type="String" />
<asp:Parameter Name="Record_ID" Type="Int32" />
<asp:Parameter Name="Team_ADS_Person_IDs" Type="String" />
</UpdateParameters>
<DeleteParameters>
<asp:Parameter Name="Action" DefaultValue="Delete" Type="String" />
<asp:Parameter Name="Record_ID" Type="Int32" />
</DeleteParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sqlEmployee" runat="server" ConnectionString="<%$ ConnectionStrings:csCHPServiceDesk %>" SelectCommand="usp_Lookup" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:Parameter Name="Action" DefaultValue="Select Employee" Type="String" />
</SelectParameters>
</asp:SqlDataSource>