Hi all,
I want to combine a chart image with two tabs above it (simple div tags) but there is always some space between my tab divs and the chart image. I have set the following properties for the chart:
radChart1.Appearance.Border.Visible = false;
radChart1.PlotArea.Appearance.Border.Visible = false;
radChart1.PlotArea.Appearance.Dimensions.Margins = new ChartMargins(0, 0, 0, 0);
radChart1.Chart.Appearance.Border.Visible = false; //I guess this is the same as radChart1.Appearance etc.
When I save the chart image and view it in Photoshop there is clearly a transparent area around the image containing a slight shadow. This causes the space between my tabs and the chart. How can I remove that? The skin I use for the chart is 'DeepBlue'.
Oh, and I have seen the project 197844_webapplication9.zip but that also creates a small transparent area around the chart.
regards,
Peter
Hi,
I am trying to change the colors of RadRating used inside a Catalook module on my DNN site.
I'm new to this & have uncovered the Visual Style Builder which helps a little but I also need to change the stars that aren't selected.
When I look at the page with firebug the background image URL is "/webresource.axd?d= then a massive series of numbers & letters
I can see that the control is using the sitefinity skin but I can't find this skin anywhere
I did do a search for sprite.png & found 1 instance but it had no images of stars on it
I also searched for skin.css files but couldn't find any related.
I've reviewed how to create a custom file from copying an existing one but can't find an existing 1 to copy.
My folder structure does have a series of radcontrols but not one for rating.
Can I manually create a skin & point to this in the ascx file where the code currently says
<telerik:RadRating ID="rrlistAverageRating" runat="server" ItemCount="5" ReadOnly="true" Skin="Sitefinity">
If so can I see an example, please.
Can I just modify the sprite.png file?
An example of my site is currently http://frame.utiliseit.com.au/Products/BagsandLuggage.aspx
Thanks in advance
<asp:Content ID="conMain" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadScriptBlock runat="server" ID="RadScriptBlock1"> <script type="text/javascript"> function openUserAdmin() { var oManager = window.radopen("User.aspx", null) oManager = $telerik.toWindow(oManager); // intellisense oManager.setSize(520, 600); //Width, Height oManager.center(); //Centers on Screen oManager.set_visibleStatusbar(false); //Bottom Status Hidden oManager.set_modal(true); //Makes window Modal oManager.set_reloadOnShow(true); //Reloads the page everytime its shown oManager.set_destroyOnClose(true); // destroys the window on close oManager.SetActive(); // Sets window as active element return false; } </script> </telerik:RadScriptBlock> <telerik:RadScriptBlock runat="server" ID="RadScriptBlock2"> <script type="text/javascript"> function openBusinessSegment() { var oManager = window.radopen("BusinessSegment.aspx", null) oManager = $telerik.toWindow(oManager); // intellisense oManager.add_close(gridInstallationRebind); // Rebinds the grid on close oManager.setSize(520, 600); //Width, Height oManager.center(); //Centers on Screen oManager.set_visibleStatusbar(false); //Bottom Status Hidden oManager.set_modal(true); oManager.set_reloadOnShow(true); oManager.set_destroyOnClose(true); oManager.SetActive(); return false; } </script> </telerik:RadScriptBlock> <telerik:RadScriptBlock runat="server" ID="rsbGridRebind"> <script type="text/javascript"> function gridInstallationRebind() { var grd = $find("<%=RadGrid1.ClientID %>"); // Finds the grid grd = $telerik.toGrid(grd); // intellisense mtv = grd.get_masterTableView(); // finds the master table mtv.rebind(); // rebinds the data } </script> </telerik:RadScriptBlock> <%--Removable: For javscript telerik intellisense. Comment before running--%> <%--<telerik:radscriptmanager runat="server" id="rsm1" />--%> <%--End Comment Area--%> <telerik:RadWindowManager runat="server" ID="rwmPopUps" Animation="Fade" IconUrl="/Images/admin.png" /> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <div> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> <telerik:RadGrid runat="server" ID="RadGrid1" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" Width="100%" ShowStatusBar="True" GridLines="None" OnNeedDataSource="RadGrid1_NeedDataSource" OnItemCommand="RadGrid1_ItemCommand" OnItemDataBound="RadGrid1_ItemDataBound" PageSize="15" EnableViewState="true" ViewStateMode="Inherit"> <PagerStyle Mode="NumericPages" AlwaysVisible="true" /> <MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="ID" CommandItemSettings-AddNewRecordText="Add A New Installation" AllowSorting="True" ExpandCollapseColumn-ButtonType="SpriteButton" EditFormSettings-EditFormType="Template" CommandItemStyle-VerticalAlign="Middle" EnableViewState="true" ViewStateMode="Inherit"> <CommandItemSettings AddNewRecordText="Add A New Installation"></CommandItemSettings> <CommandItemTemplate> <div style="padding: 6px 2px 0px 2px;"> <div style="float: left; padding: 0px 2px 5px 2px;"> <telerik:RadButton runat="server" ID="btnNewInstallation" Text="Add New Installation" CommandName="InitInsert" /> </div> <div style="float: left; padding: 0px 2px 5px 2px;"> <telerik:RadButton runat="server" ID="btnBusinessSegment" Text="Business Segment Admin" OnClientClicked="openBusinessSegment" AutoPostBack="false" /> </div> <div style="float: left; padding: 0px 2px 5px 2px;"> <telerik:RadButton runat="server" ID="btnUserAdmin" Text="User Admin" OnClientClicked="openUserAdmin" AutoPostBack="false" /> </div> <div style="float: left; padding: 0px 2px 5px 2px;"> <telerik:RadButton runat="server" ID="btnRefresh" Text="Refresh" CommandName="RebindGrid" AutoPostBack="false" /> </div> </div> </CommandItemTemplate> <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"> </RowIndicatorColumn> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="Edit"> <HeaderStyle Width="3%" /> </telerik:GridEditCommandColumn> <telerik:GridBoundColumn HeaderText="Customer Name" UniqueName="Customer" SortExpression="Customer" DataField="Customer"> <HeaderStyle Width="35%" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="Customer Location" UniqueName="Location" SortExpression="Location" DataField="Location"> <HeaderStyle Width="25%" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="Installation Description" UniqueName="Description" SortExpression="InstallationDescription" DataField="InstallationDescription"> <HeaderStyle Width="35%" /> </telerik:GridBoundColumn> <telerik:GridButtonColumn Text="Delete" CommandName="Delete" ButtonType="ImageButton" ConfirmText="Delete Installation?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete"> <HeaderStyle Width="2%" /> </telerik:GridButtonColumn> </Columns> <EditFormSettings EditFormType="Template" > <EditColumn ButtonType="ImageButton" /> <FormTemplate> <div> <bw:LocationDetail ID="bwLocationDetail" runat="server" /> </div> </FormTemplate> </EditFormSettings> <PagerStyle AlwaysVisible="True" /> </MasterTableView> <FilterMenu EnableImageSprites="False"> </FilterMenu> </telerik:RadGrid> </div></asp:Content><telerik:RadWindow ID="radWindowNew" runat="server" Modal="true" Behaviors="Close" Skin="Windows7" Width="400" Height="350px"> <ContentTemplate> <table border="0" cellpadding="2" width="100%"> <tr> <td> <asp:DropDownList runat="server" ID="ddlLeadSource"> <asp:ListItem>Trial</asp:ListItem> </asp:DropDownList> </td> </tr> </table> </ContentTemplate></telerik:RadWindow><asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true" ></asp:ScriptManager><telerik:RadDockLayout ID="RadDockLayout1" Visible="false" runat="server"> <telerik:RadDockZone ID="RadDockZone1" runat="server" Width="400px" BackColor="White" BorderStyle="None"> <telerik:RadDock ID="RadDockGRIDisSCode" Visible="false" runat="server" Width="400px" DefaultCommands="ExpandCollapse"> <ContentTemplate> <telerik:RadAjaxPanel ID="RadAjaxLoadingPanel1" runat="server" Width="256px" Height="64px"> <asp:HyperLink ID="LabelUrlReporting" runat="server" Target="_blank"></asp:HyperLink> <telerik:RadButton ID="RadButtonChangeUrl" runat="server" OnClick="RadButtonChangeUrl_Click"> </telerik:RadButton> <telerik:RadTextBox ID="RadTextBoxNewUrl" Visible="false" runat="server" TextMode="SingleLine" EmptyMessage="-" Width="280px" /> <telerik:RadButton ID="RadButtonNewUrl" runat="server" Visible="false" OnClick="RadButtonNewUrl_Click"> </telerik:RadButton> <telerik:RadButton ID="RadButtonCancelUrl" runat="server" Visible="false" OnClick="RadButtonCancelUrl_Click"> </telerik:RadButton> </telerik:RadAjaxPanel> </ContentTemplate> </telerik:RadDock> </telerik:RadDockZone></telerik:RadDockLayout>public void CreateRadDockGRIDisSCode(GridDataItem _SelectedItem){ RadDockLayout1.Visible = true; RadDockGRIDisSCode.Visible = true; LabelUrlReporting.Text = "MyUrl"; LabelUrlReporting.NavigateUrl = "http://www.myurl.com";} public void RadButtonChangeUrl_Click(object sender, EventArgs e){ LabelUrlReporting.Visible = false; RadButtonChangeUrl.Visible = false; RadTextBoxNewUrl.Visible = true; RadTextBoxNewUrl.Text = LabelUrlReporting.Text; RadButtonCancelUrl.Text = "Cancel"; RadButtonCancelUrl.Visible = true; RadButtonNewUrl.Text = "OK"; RadButtonNewUrl.Visible = true;}public void RadButtonCancelUrl_Click(object sender, EventArgs e){ LabelUrlReporting.Visible = true; RadButtonChangeUrl.Visible = true; RadTextBoxNewUrl.Visible = false; RadButtonCancelUrl.Visible = false; RadButtonNewUrl.Visible = false;}public void RadButtonNewUrl_Click(object sender, EventArgs e){ LabelUrlReporting.Visible = true; RadButtonChangeUrl.Visible = true; RadTextBoxNewUrl.Visible = false; RadButtonCancelUrl.Visible = false; RadButtonNewUrl.Visible = false; LabelUrlReporting.NavigateUrl = RadTextBoxNewUrl.Text; LabelUrlReporting.Text = RadTextBoxNewUrl.Text;}