int
rowCount = pRgdTrans.Items.Count;
int curRowIdx = 0;
GridDataItem
curTransRow = pRgdTrans.Items[curRowIdx];
//delete row.
Hello,
Suppressing my frustrations with Mr. Telerik, I am going to re-post this issue again, under a new thread.
I have an ASP.NET page in Visual Studio 2010 that contains a FileExplorer control [Telerik.Web.UI, v.2011.3.1305.40 (Dev)]. In the Page_Load event, I add a custom button to the FileExplorer toolbar.
At run-time, the custom button appears on the toolbar with a default image that matches the Refresh image. I am not specifying this image programmatically; it just appears on its own. Why?
I have <style type="text/css"> in the <head runat="server"> of my page and the CSS class is assigned to the custom button during the Page_Load event. With background-image:none; within the CSS, the Refresh image still appears on my custom button.
If I set background-image:url(Images/MyImage.png) !important; within the CSS, the custom button now appears with 2 images; my own image, plus the Refresh image.
How do I get my image to replace the Refresh image? How do I get the Refresh image to no longer appear on my custom toolbar button?
In my prior thread, you asked for a sample project, but how do I get the sample to you? I placed my sample project into a zipped file, but when I click Attach Your Files to this thread, it tells me it will only Allowed extensions .gif, .jpg, .jpeg, .png. These are all image types, so how do I send you my sample project or zipped file?
Thanks
<telerik:RadGrid ID="rdGrdBudgetStatusSummary" runat="server" AutoGenerateColumns="false" EnableLinqExpressions="false" Skin="Office2007" CssClass="radgrid" GridLines="None" AllowSorting="true" OnSortCommand="GridRebind" PageSize="15" ShowFooter="true" OnExcelMLExportRowCreated="RadGrid1_ExcelMLExportRowCreated" OnItemCommand="RadGrid1_ItemCommand" OnItemCreated="RadGrid1_ItemCreated" AllowFilteringByColumn="true"> <GroupingSettings CaseSensitive="false" /> <MasterTableView AllowPaging="true" Width="100%" TableLayout="Fixed" DataKeyNames="rspusr,Approved,Submitted"> <PagerStyle Mode="NextPrev" AlwaysVisible="true" HorizontalAlign="Left" /> <Columns> <telerik:GridBoundColumn HeaderText="Responsible User" DataField="ResponsibleUser" UniqueName="ResponsibleUser" FooterText="Total " Visible="true"> <HeaderStyle Width="130px" HorizontalAlign="Center" /> <ItemStyle Width="130px" /> <FooterStyle HorizontalAlign="right" /> </telerik:GridBoundColumn> <telerik:GridTemplateColumn SortExpression="Approved" Aggregate="Sum" HeaderText="Approved" UniqueName="Approved" DataField="Approved" FooterAggregateFormatString="{0}" ReadOnly="true" DataType="System.String"> <ItemTemplate> <asp:LinkButton ID="lnkBtnApproved" CommandName="ReDirect" runat="server" Text='<%#Eval("Approved")%>'> </asp:LinkButton> </ItemTemplate> <HeaderStyle Width="100px" HorizontalAlign="Center" /> <ItemStyle HorizontalAlign="Right" VerticalAlign="Middle" /> <FooterStyle HorizontalAlign="right" /> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn SortExpression="Submitted" Aggregate="Sum" HeaderText="Submitted" DataField="Submitted" UniqueName="Submitted" Visible="true" FooterAggregateFormatString="{0}"> <ItemTemplate> <asp:LinkButton ID="lnkBtnSubmitted" runat="server" Text='<%#Eval("Submitted")%>' CommandName="ReDirect"> </asp:LinkButton> </ItemTemplate> <HeaderStyle Width="130px" HorizontalAlign="Center" /> <ItemStyle HorizontalAlign="Right" VerticalAlign="Middle" /> <FooterStyle HorizontalAlign="right" /> </telerik:GridTemplateColumn>
<asp:Panel ID="pBlog" runat="server" ><telerik:RadWindowManager ID="RadWindowManager1" runat="server" > <Windows> <telerik:RadWindow runat="server" ID="Editor" Width="700px" Height="550px" AutoSize="false" VisibleStatusbar="false" /> </Windows> </telerik:RadWindowManager> <telerik:RadEditor runat="server" ID="RadEditor1" Width="100%" AutoResizeHeight="false" AllowScripts="false" EnableResize="false" Height="500px" > <ContextMenus> <telerik:EditorContextMenu > <telerik:EditorTool name="Cut"/> <telerik:EditorTool name="Copy"/> <telerik:EditorTool name="Paste"/> <telerik:EditorTool Name="PasteFromWord" /> <telerik:EditorTool Name="PastePlainText" /> <telerik:EditorTool Name="PasteAsHtml" /> </telerik:EditorContextMenu> </ContextMenus> <Tools> <telerik:EditorToolGroup> <telerik:EditorTool name="Print" shortcut="CTRL+P" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Cut" shortcut="CTRL+X" /> <telerik:EditorTool Name="Copy" shortcut="CTRL+C" /> <telerik:EditorTool Name="Paste" shortcut="CTRL+V" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Undo" shortcut="CTRL+Z" /> <telerik:EditorTool Name="Redo" shortcut="CTRL+Y" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="Bold" shortcut="CTRL+B" /> <telerik:EditorTool Name="Italic" shortcut="CTRL+I" /> <telerik:EditorTool Name="Underline" shortcut="CTRL+U" /> <telerik:EditorTool Name="Strikethrough"/> <telerik:EditorTool Name="Superscript"/> <telerik:EditorTool Name="Subscript"/> <telerik:EditorSeparator /> <telerik:EditorTool Name="CustomDialog" Text="Insert Image" /> <telerik:EditorTool Name="LinkManager" shortcut="CTRL+K" /> <telerik:EditorTool Name="EmbedVideo" Text="Embed YouTube Video" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="FontName" Text="Font"/> <telerik:EditorTool Name="RealFontSize" Text="Size"/> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="ForeColor" /> <telerik:EditorTool Name="BackColor" /> <telerik:EditorSeparator /> <telerik:EditorTool name="FormatStripper"/> </telerik:EditorToolGroup> </Tools> </telerik:RadEditor></asp:Panel><%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %><%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><html><head><title></title></head><body><form runat="server"><asp:ScriptManager id="scriptman" runat="server" /> <telerik:RadEditor runat="server" ID="RadEditor1" Width="100%" AutoResizeHeight="false" AllowScripts="false" EnableResize="false" Height="500px" > <Tools> <telerik:EditorToolGroup> <telerik:EditorTool Name="LinkManager" shortcut="CTRL+K" /> </telerik:EditorToolGroup> </Tools> </telerik:RadEditor> </form></body></html>