Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
hi, i designed the chart as
<telerik:RadChart ID="RadChart1" runat="server" Height="333px" Skin="Telerik" UseSession="true" 
                Legend-Visible="true" Width="850px" AutoLayout="true" AutoTextWrap="True" SeriesOrientation="Vertical">  
                <Series> 
                    <telerik:ChartSeries Name="Intake Leads" Type="Bar" DataYColumn="LEAD_COUNT">  
                    <Appearance FillStyle-FillType="ComplexGradient" FillStyle-MainColor="#F8DE6F" ></Appearance>  
                    </telerik:ChartSeries> 
                </Series> 
                  
                <PlotArea> 
                    <XAxis DataLabelsColumn="age_group">  
                    </XAxis> 
                    <YAxis Appearance-ValueFormat="General" LabelStep="10">  
                    </YAxis> 
                </PlotArea> 
            </telerik:RadChart> 

nothing at code behind, here im using skin telerik and FillStyle-MainColor="#F8DE6F" doesnt work here. always displaying a blue color. but if i apply border color its getting applied.
what im making wrong here.

please help.
Schlurk
Top achievements
Rank 2
 answered on 18 Jan 2010
3 answers
192 views
I have a solution where I want to change what kind of appointments I want to show by selecting and unselecting the type in a context menu. The problem is that the event TimeSlotContextMenuItemClicking executes after AppointmentCreated. In the event AppointmentCreated I am making the appointments that are not to be shown invisible. But because TimeSlotContextMenuItemClicking executes after I have no way to have the recent corrent show or show not information.
How can I solve this?

/Mathias
Peter
Telerik team
 answered on 18 Jan 2010
1 answer
77 views
Hi,

The rsSelectedDay css class should properly be on the cell of the SelecteDay. Just not in my project. Here rsSelectedDay is allways the day before. Both my application and the Scheduler is using the da-DK Culture. So that should not not be the problem. Or what?

In the end this means I cannot style the selected day, because the scheduler chooses the wrong day.

Hope someone can help me
-Rune

 
Peter
Telerik team
 answered on 18 Jan 2010
4 answers
120 views
hi my dear friends :
i use this tutorial to change the style of input area (Specially height and font-size) :
http://www.telerik.com/help/aspnet-ajax/appearance-change-input-look-tutorial.html
i mean (4.css)


so i did this to my radcombobox :
my css is like this :

        div.RadComboBox_Vista .rcbInputCell INPUT.rcbInput 
{       
   background-colorred;    
   coloryellow
   height37px

and my radcombobox like this :
<telerik:RadComboBox ID="RadcbCompanies" runat="server" AppendDataBoundItems="True" 
                                                    DataSourceID="sdsCompany" DataTextField="CoName" DataValueField="ID" EnableEmbeddedSkins="False" 
                                                    LoadingMessage="درحال لود شدن ..." RadComboBoxImagePosition="Left" Skin="Vista" 
                                                    Width="250px" MarkFirstMatch="True" MaxHeight="700px" Font-Size="15pt"
                                                    <Items> 
                                                        <telerik:RadComboBoxItem runat="server"  
                                                            Text="لطفاً یک گزینه را انتخاب نمایید ..." Value="-1" /> 
                                                    </Items> 
                                                </telerik:RadComboBox> 


so what is the problem about triangle at the rightt corner?
see capture.jpg picture

thanks for your attention
best regards
Majid Darab
Top achievements
Rank 1
 answered on 18 Jan 2010
1 answer
142 views
I have a RadEditor inside a RadDock. When ever I open the popup (RadDock) on clicking on the image button my RadEditor height increases and it overlaps on the controls below it (Please see the attached screenshot). And I have this problem on Firefox browser, on IE browser it is looking  absolutely fine.

The code for Radeditor is:

 

<telerik:RadEditor runat="server" ID="NotesRadEditorNew" EditModes="Design" BackColor="white" Height="100" Width="349" ContentFilters="RemoveScripts"

 

 

BorderColor="#D0D0D0" BorderStyle="Solid" BorderWidth="1">

 

 

<CssFiles>

 

 

<telerik:EditorCssFile Value="~/Skins/Custom/Editor.Custom.css" />

 

 

</CssFiles>

 

 

<Tools>

 

 

<telerik:EditorToolGroup>

 

 

<telerik:EditorTool Name="Bold" />

 

 

<telerik:EditorTool Name="Underline" />

 

 

<telerik:EditorTool Name="Italic" />

 

 

</telerik:EditorToolGroup>

 

 

<telerik:EditorToolGroup>

 

 

<telerik:EditorTool Name="FontName" />

 

 

<telerik:EditorTool Name="FontSize" />

 

 

</telerik:EditorToolGroup>

 

 

<telerik:EditorToolGroup>

 

 

<telerik:EditorTool Name="ForeColor" />

 

 

<telerik:EditorTool Name="BackColor" />

 

 

<telerik:EditorTool Name="InsertUnorderedList" />

 

 

</telerik:EditorToolGroup>

 

 

</Tools>

 

 

</telerik:RadEditor>

 

Rumen
Telerik team
 answered on 18 Jan 2010
4 answers
106 views
I have a tabstrip that is aligned right which works fine but when I enable ScrollChildren the Align=Right is ignored. In fact any type of alignment is ignored. It works fine in FF3 but IE8 it does not work. Is there a solution to fix the alignment with scollchildren enabled?

Please let me know if there is anything else needed.
Telerik V.2009.1.527.35
<form id="DialogForm" runat="server">  
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 
 
<telerik:RadSplitter skin="" Orientation="Horizontal" id="RadSplitter1" runat="server" height="100%" width="100%" EnableViewState="true">  
 
<telerik:RadPane id="home_top" Scrolling="None" runat="server" EnableViewState="true">  
<div> 
<nobr><a target="_blank" id="sLogoLink" enableviewstate="false" runat="server"><img alt="" class="bpHomeLogo" align="left" enableviewstate="false" id="sLogoURL" oncontextmenu="ToggleDebug();return false;" runat="server"/></a><img alt="" src="images/HomeMenuFade.jpg" align="left" /></nobr>  
</div> 
<div class="bpHomeMenu">  
<telerik:RadTabStrip   
ID="topMenu"   
runat="server"   
ScrollChildren="true"   
SelectedIndex="0"   
ScrollButtonsPosition="Middle"   
Skin="BPMenu" EnableEmbeddedSkins="False" Align="Right" 
> 
    <Tabs> 
        <telerik:RadTab Text="Home" ImageUrl="images/icons/77.gif">  
        </telerik:RadTab> 
        <telerik:RadTab Text="Content List" ImageUrl="images/icons/71.gif">  
        </telerik:RadTab> 
        <telerik:RadTab Text="IT Admin" ImageUrl="images/icons/81.gif">  
        </telerik:RadTab> 
        <telerik:RadTab Text="Logs">  
        </telerik:RadTab> 
        <telerik:RadTab Text="User Profile" ImageUrl="images/icons/131.gif">  
        </telerik:RadTab> 
        <telerik:RadTab Text="Logoff">  
        </telerik:RadTab> 
    </Tabs> 
</telerik:RadTabStrip> 
 
<asp:Repeater ID="NavTabRepeater" runat="server">  
      
</asp:Repeater> 
<li runat="server" id="ExtraLogo" ><a target="_blank" id="sLogoLink2" enableviewstate="false" runat="server"><img alt="" class="bpHomeLogo" align="top" enableviewstate="false" id="sLogoURL2" runat="server"/></a></li>  
 
<div style="clear:both;"></div> 
          
</div><div class="bpHomeServerName"><asp:Label runat="server" ID="HomeServerName"></asp:Label>&nbsp;&nbsp;<asp:DropDownList ID="Profiles" runat="server" Visible="false" AutoPostBack="true" OnSelectedIndexChanged="ProfileChange" /></div>  
 
</telerik:RadPane> 
 
<telerik:RadSplitBar EnableResize="false" EnableViewState="false" id="RadSplitbar1" runat="server" collapsemode="None"></telerik:RadSplitBar> 
 
<telerik:RadPane id="home_bottom" Scrolling="None" runat="server" EnableViewState="false" > 
</telerik:RadPane> 
 
</telerik:RadSplitter> 
 
</form> 
Yana
Telerik team
 answered on 18 Jan 2010
2 answers
96 views
hi,
i'm trying to use a radgrid.
I have a grid with 2 colums defined in aspx and by behind code i insert some others colums.
i put the colums in the grid in the correct order.
When i run the page the radgrid is correct but when i make sort and change page the grid loses some colums and shows the colums in a strange way without respect my order.

this is my aspx code:

<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="sqlDataSource1" AllowPaging="true"
           AllowSorting="true"  PageSize="15" Width="100%" Height="600px" AutoGenerateColumns="false"  >
         <PagerStyle Mode="NextPrevAndNumeric" />
            <MasterTableView>
                <Columns>
                    <telerik:GridButtonColumn ButtonType="PushButton" UniqueName="alfa" Text="Alfa"/>
                    <telerik:GridButtonColumn ButtonType="PushButton" UniqueName="delta" Text="Delta"/>
                    
                </Columns>
            </MasterTableView>
            <ClientSettings>
                <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"></Scrolling>
            </ClientSettings>
        </telerik:RadGrid>

this is my colums insert :
 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        Dim bc As Telerik.Web.UI.GridBoundColumn
        bc = New Telerik.Web.UI.GridBoundColumn()
        bc.DataField = "IDBatch"
        bc.HeaderText = "ID batch"

        RadGrid1.MasterTableView.Columns.Insert(0, bc)

        bc.DataField = "Type"
        bc.HeaderText = "Type"

        RadGrid1.MasterTableView.Columns.Insert(1, bc)
      

    End Sub

someone can help me?
thanks

incrysis incrysis
Top achievements
Rank 1
 answered on 18 Jan 2010
2 answers
81 views
Hi Telerik,

I'm using ASP.NET AJAX RadControls Q3 2009 and I got problem with RadDatePicker.

Here is the code

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"
    <title>Test Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"
        <telerik:RadScriptBlock ID="RadCodeBlock" runat="server"
            <script type="text/javascript"
                function OnDateSelected(sender, e) 
                { 
                    if(!sender.isEmpty()) 
                    { 
                        var startDate = sender.get_selectedDate(); 
                        var rdpRequestedEndDate = $find("<%= rdpRequestedEndDate.ClientID %>"); 
                         
                        rdpRequestedEndDate.set_selectedDate(startDate); 
                        rdpRequestedEndDate.set_minDate(startDate); 
                    } 
                } 
            </script> 
        </telerik:RadScriptBlock>     
         
        <telerik:RadScriptManager ID="ScriptManager" runat="server" /> 
         
        <table> 
            <tr> 
                <td class="tdLabel" style="text-align: right;"
                    <asp:Label ID="lblRequestedStartDateLabel" Text="Requested Start Date:" runat="server" 
                        meta:resourcekey="lblRequestedStartDate"></asp:Label> 
                </td> 
                <td style="text-align: left; "
                    <telerik:RadDatePicker ID="rdpRequestedStartDate"  
                            DateInput-DisplayDateFormat="dd-MMM-yyyy" runat="server" MinDate="<%#DateTime.Now %>"
                        <Calendar ID="Calendar1" runat="server"
                        </Calendar> 
                        <ClientEvents OnDateSelected="OnDateSelected" /> 
                    </telerik:RadDatePicker> 
                </td> 
            </tr> 
             
            <tr> 
                <td class="tdLabel" style="text-align: right; "
                    <asp:Label ID="lblRequestedEndDateLabel" Text="Requested End Date:" runat="server" 
                       meta:resourcekey="lblRequestedEndDateLabel"></asp:Label> 
                </td> 
                <td style="text-align: left; "
                    <telerik:RadDatePicker ID="rdpRequestedEndDate" runat="server" MinDate="<%#DateTime.Now %>" 
                        DateInput-DisplayDateFormat="dd-MMM-yyyy"
                        <Calendar ID="Calendar2" runat="server" Skin="WebBlue"
                        </Calendar> 
                    </telerik:RadDatePicker> 
                </td> 
            </tr> 
        </table> 
    </form> 
</body> 
</html> 

I have two RadDatePicker. The only event is changing the RequestedEndDate on RequestedStartDate_Selected.
If I change the RequestedEndDate first, then change the RequestedStartDate; it will throw an error "Object required" (I use the IE Developer tool to debug the error on IE browser). The Javascript line which makes error seems to be "rdpRequestedEndDate.set_minDate(startDate); ".

Please help me to solve this issue.
Thanks a lot.

Chelsea Leonhart
Top achievements
Rank 1
 answered on 18 Jan 2010
4 answers
162 views
I'm going crazy ;-)
I can't figure out how I can disable the default enabled All Day Event on the advanced form.

No matter what I do, then it shows up enabled when I create a new appointment.

I use the Entity Framework as datasource

Please advise !

Thanks
Jan
Peter
Telerik team
 answered on 18 Jan 2010
1 answer
94 views
Hello,

I want the appointment title to be a link holding a URL. How to do that? I tried setting the link markup to the appointment subject. But it is not getting rendered as a link.

Thank you.
NLV
NLV
Top achievements
Rank 1
 answered on 18 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?