Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
124 views
Hi there,

Is the StyleBuilder working correctly? I tried to use it this morning to set a custom TabStrip style for a particular customer but kept running into an issue where the custom colour is not applied as the base colour. Everytime I tried to set the colour, the base colour would just appear as white for all of the TabStrip items.

The colour that i had selected was #DEF7CE (not available from your colour picker) - is this ok?

Although I have been using Firefox to get it working, I have also tried the other major browsers with no luck...

Really hope you can clarify this for us.

Regards

A.
Mak
Top achievements
Rank 1
 answered on 18 Apr 2012
7 answers
307 views
I love the "warning icon" when using RadInputManager to validate a required field, rather than the asp:RequiredFieldValidation text message. But somehow i can't validate RadDatePicker with RadInputManager.
I've been looking the solution for this but the example that i found always use asp:RequiredFieldValidation.

Could you provide an example to validate RadDatePicker with RadInputManager ?
or how can I get the "warning icon" when the RadDatePicker is required?
Ivan
Top achievements
Rank 1
 answered on 18 Apr 2012
2 answers
78 views
Hi,

Simple page

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm47.aspx.cs" Inherits="fTest.WebForm47" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>       
    <telerik:RadSplitter ID="RadSplitter1" runat="server" Height="100%" Width="100%" BorderSize="0" PanesBorderSize="0"
         Skin="Office2010Silver">
        <telerik:RadPane runat="server" ID="RadPane1" Width="350px" MaxWidth="350">
        abc
        </telerik:RadPane>
         <telerik:RadSplitBar runat="server" ID="RadSplitbar1" CollapseMode="Forward" ResizeStep="50" />
         <telerik:RadPane runat="server" ID="RadPane2" Width="350px" MaxWidth="350">
        cde
        </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>

but it renders incorrectly in Chrome (in IE it's fine) - please find attachments below.

I know I could set style directly (as described in Removing the border of RadSplitter panes and the RadSplitter) but the question remains in what scenario property BorderSize is actually working? 

Jacek
Top achievements
Rank 1
 answered on 18 Apr 2012
2 answers
100 views
I am probably missing something incredibly simple. I am retrieving a datatable and binding it to the org chart. I set the top level nodes to have a parent of null, and then the rest are set up referencing their parent. The nodes all render in the correct hierarchy, but the alignment is screwed up.

Screenshot attached.
Peter Filipov
Telerik team
 answered on 18 Apr 2012
8 answers
201 views
Hello,
How can I add new fonts to "Add Text" in ImageEditor?
(I have added the new fonts by customizing Add Text dialog, but it doesn't apply on the text) 
Thank you
Niko
Telerik team
 answered on 18 Apr 2012
6 answers
228 views
I have 2 buttons setup to export to CSV and XLS respectively. I used this example as a basis but when i click the buttons, nothing happens. The code is hit but nothing appears. My code is:

public void ConfigureExport()
    {
        radgrdResultDetail.ExportSettings.ExportOnlyData = true;
        radgrdResultDetail.ExportSettings.IgnorePaging = false;
        radgrdResultDetail.ExportSettings.OpenInNewWindow = false;
    }
 
 
    protected void xlsExport_Click(object sender, EventArgs e)
    {
        ConfigureExport();
        radgrdResultDetail.MasterTableView.ExportToCSV();
    }
    protected void csvExport_Click(object sender, EventArgs e)
    {
        ConfigureExport();
        radgrdResultDetail.MasterTableView.ExportToExcel();
    }
Shinu
Top achievements
Rank 2
 answered on 18 Apr 2012
1 answer
233 views
I have a MegaMenu that is populated dynamicly from the database. I have the following layout set for level 0

RepeatColumns

="4" RepeatDirection="Vertical" AlignRows="false"

The problem is level 1 has uneven items, ideally I want each rows filled as close as possible to the maximum height before moving to the next column, whats is happening is its trying to create and even number of rows resulting in lots of empty spaces at the bottom. Is there a way to turn this off.


Attach is a sample of whats happening and what I want.
Kate
Telerik team
 answered on 18 Apr 2012
3 answers
97 views

 

Is it possible to create a list of resources for each individual day, regardless of the view?

Peter
Telerik team
 answered on 18 Apr 2012
1 answer
265 views
Hi Guys,

I was hoping you could take a look at the below and let me know if its something you may have experienced before.

I have a page setup as below:

<%If Request.Url.AbsoluteUri.ToLower().Contains("site1url/login") Then%><link href="site1url/Css/style.css" rel="stylesheet" type="text/css" /><%Else%><link href="site2url/Css/style.css" rel="stylesheet" type="text/css" /><%End If%>
  
  
  
<div class="TopBar">
<label class="FloatRight TopBarPageTitle CursorArrow"><h1>File Manager</h1></label>
</div>
  
<div class="ControlWrapper">
  
<div class="tabStripContainer">
    <telerik:RadTabStrip ID="Radtabstrip1" runat="server" Width="100%" MultiPageID="MultiPage1" SelectedIndex="0" TextOnlyTabs="False" EnableEmbeddedSkins="False" Skin="CustSkin">
        <Tabs>
            <telerik:RadTab ToolTip="Image Manager" Text="Image Manager" PageViewID="Page3"></telerik:RadTab>
            <telerik:RadTab ToolTip="Document Manager" Text="Document Manager" PageViewID="Page1"></telerik:RadTab>          
        </Tabs>
    </telerik:RadTabStrip>
  
 <div class="SubSectionWithBorder">
        <telerik:RadMultiPage ID="MultiPage1" runat="server" Width="100%" SelectedIndex="0">
          
            <telerik:RadPageView ID="Page3" runat="server">
            <fieldset>
                <legend><h2>Image Manager</h2></legend>                   
                    <telerik:RadFileExplorer ID="imageExplorer"  TreePaneWidth="200px" Width="100%" height="500px" runat="Server" EnableOpenFile="false" AllowPaging="true" PageSize="15" BorderWidth="1" BorderColor="Gray"
                    </telerik:RadFileExplorer>
            </fieldset>
            </telerik:RadPageView>
            </telerik:RadMultiPage>
    </div>
  </div>
</div>



Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        docExplorer.Configuration.ViewPaths = New String() {path1}
        docExplorer.Configuration.UploadPaths = New String() {path1}
        docExplorer.Configuration.DeletePaths = New String() {path1}
        docExplorer.Configuration.SearchPatterns = New String() {"*.doc", "*.txt", "*.docx", "*.xls", "*.xlsx", "*.pdf", "*.zip"}
        docExplorer.Configuration.MaxUploadFileSize = 5120000
End Sub

The problem I am having is the introduction of the upload path in the code behind. As soon as I introduce this line, Internet Explorer is no longer able to pull through any of the styles within the style sheet inserted above.

I have searched around and couldn't find anything relating to similar issues and was hoping you guys might have seen something similar before.

The style sheet works perfectly on all other pages in all browsers, just not in IE when the radfileexplorer's upload path is introduced.

Many thanks.

Jibber4568
Dobromir
Telerik team
 answered on 18 Apr 2012
1 answer
99 views
Dear Support
My code is :
public class FileSelector:Telerik.Web.UI.RadFileExplorer
    {
        public string Path { get; set; }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if(string.IsNullOrEmpty(Path))
                Path = "~/Files/editor/";
            Configuration.DeletePaths = Configuration.UploadPaths = Configuration.ViewPaths = new string[] { Path+"images/" };
            Upload.AllowedFileExtensions = Configuration.SearchPatterns= new string[] { "*.jpg", "*.jpeg", "*.gif", "*.png" };;
            Upload.InitialFileInputsCount = 1;
            Upload.ControlObjectsVisibility = ControlObjectsVisibility.None;
        }
    }
-----------
Upload is null.
How can I access FileExplorer's Upload?
THanks.
Dobromir
Telerik team
 answered on 18 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?