Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
140 views

Hello,

I am using Q1 2010 SP1.

In this version, we have scheduler Recurrence Editor. this is very good feature which I like most in this version. 

Currently we have to check recurrence checkbox, then the Panel get visible.

Will you please help in viewing recurrence panel directly on load. ? no need to check checkbox.

Thank You!!

Ashish Sapkale

Dave
Top achievements
Rank 1
 answered on 08 Jun 2010
1 answer
79 views
Hello there.

I have just upgraded to the newest telerik component from using the 2008 version.

The only problem is that in 2008 the letter 'æ' stod as it does in the html code, wich is what i saves to the database. But not i stands as æ wich conflicts with the purpose of the text i need to save. Is there any way to change this encoding.
Rumen
Telerik team
 answered on 08 Jun 2010
2 answers
89 views
Hi

I have a page where I am adding the items programmatically and specifying the colour of the bar. This works fine except that the FillType="Solid" specified in my ascx seems to be overidden and the bars fade with a gradient.

ascx:
 <telerik:RadChart ID="crtResults" runat="server"  SeriesOrientation="Horizontal" SkinsOverrideStyles="false" 
            OnItemDataBound="crtResults_ItemDataBound" AutoLayout="true"
            <ChartTitle> 
                <TextBlock Text="Title"
                </TextBlock> 
            </ChartTitle> 
            <Series> 
                <telerik:ChartSeries Name="Series" Type="Bar" > 
                    <Appearance LegendDisplayMode="Nothing" > 
                    <Border Visible="false"/> 
                    <FillStyle FillType="Solid" MainColor="White"></FillStyle> 
                    <LabelAppearance Visible="false" ></LabelAppearance></Appearance> 
                   
                </telerik:ChartSeries> 
            </Series> 
        </telerik:RadChart> 
 then adding items in code-behind:
 crtResults.Series[0].AddItem(1, "label", Color.Red);  

If I remove the Color param in the code, all bars display a solid white.

Thanks


david mills
Top achievements
Rank 1
 answered on 08 Jun 2010
1 answer
249 views
I have a RadTreeView placed in a PageView of RadTabStrip and tried to support keyboard access, but the TreeView won't be on focus when pressing Tab key. The TreeView is populated by datasource in DataBind. I want to focus on the first checkbox in the tree. Please advise.
<telerik:RadPageView ID="MCCCodePageView" runat="server" CssClass="tabpageview">  
<div style="margin:10px">  
   <div class="helpmodtitle">  
      <asp:Label ID="MCCCodePageViewHeader" runat="server" ></asp:Label> 
      <href="#"><img alt="Help" border="0" src="../images/helpicon.png"/></a> 
   </div> 
   <telerik:RadTreeView ID="TransCatTree" runat="server" 
    Width="95%" 
    Height="300" 
    CheckBoxes="true" 
    TriStateCheckBoxes="true" 
    CheckChildNodes="true" 
    BackColor="White"      
    Skin="Outlook" 
    BorderWidth="1px" 
    BorderColor="#94A7B5"      
    ShowLineImages="false" 
    MultipleSelect="false" 
    TabIndex="1" 
    AccessKey="W" 
    OnClientNodeChecked="TransCatTree_ClientNodeChecked">  
   </telerik:RadTreeView> 
</div> 
</telerik:RadPageView> 
The property TriStateCheckBoxes set True seems cause the issue not getting onFocus. If set as false, TreeView get focus on tab. How to enable TriStateCheckBoxes and get tab focus?
Nikolay Tsenkov
Telerik team
 answered on 08 Jun 2010
1 answer
85 views
Hi,

I have a grid with 20+ columns so that the grid is wider than the screen. I have enabled scrolling on the grid and it works excellent in all cases except one.

The problem I have is that I have column filter on some of the columns. If I perform a filter so that zero results are returned the scrolling bar becomes smaller so that all the columns aren't visible. If I perform a filter so that one or more rows are present the width is good.

It seems to work in for example IE8 and firefox but not in IE7. Any ideas?

Best Regards
Erik Pettersson
Pavlina
Telerik team
 answered on 08 Jun 2010
1 answer
61 views
I have a grid which is contained in one of the tabs of a RadTabStrip/RadMultiPage setup.  Each of the tabs causes an AJAX postback to dynamically load the contents upon first click of that tab.  There is a grid on the first tab which is loaded when the page is displayed.  The contents of the HyperLinkColumn disppear if I use the following code in the grid's ItemDataBound event:

if (e.Item is GridDataItem) 
    var item = e.Item as GridDataItem; 
    var name = (HyperLink)item["Name"].Controls[0]; 
 
    var extension = Path.GetExtension(name.Text).TrimStart('.'); 
    var fileIcon = new HtmlGenericControl("span"); 
    if (SiteMaster.FileIconCssClass.ContainsKey(extension)) 
    { 
        fileIcon.Attributes.Add("class""FileIcon " + SiteMaster.FileIconCssClass[extension]); 
    } 
    else 
    { 
        fileIcon.Attributes.Add("class""FileIcon FileIcon-Default"); 
    } 
    item["Name"].Controls.AddAt(0, fileIcon); 


When I comment out the code block it works fine, however.  Any thoughts on why injecting an extra span into the HyperLinkColumn causes this behavior?
Rosen
Telerik team
 answered on 08 Jun 2010
6 answers
240 views
I have a custom control that has an editor inside a RadWindow.  When I enable it to edit the content, the button controls are not working, they highlight and tooltip displays on hover but the clicking is not firing the command.  Here is my code:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WebContent.ascx.cs" 
    Inherits="MSD_web.WebContent" %> 
 
<script type="text/javascript"
    //<![CDATA[
    function OnClientLoad(editor) {
    }
 
    function openContentEditorWin(winID) {
        var oWnd = $find(winID);
        oWnd.show();
        var editor = $find("<%=RadEditor2.ClientID%>"); //get a reference to RadEditor's client object
    }
    
    //]]> 
</script> 
 
<asp:PlaceHolder ID="EditButtonsPlaceHodler" runat="server" Visible="false"
     
    <button onclick="openContentEditorWin('<%=RadWindow1.ClientID%>');return false;" "> 
        Edit Content</button><br /> 
</asp:PlaceHolder> 
<asp:Literal ID="HTMLContentHolder" runat="server" > 
</asp:Literal> 
<telerik:RadWindowManager Behaviors="Close, Move, Resize,Maximize" ID="RadWindowManager" 
    DestroyOnClose="true" runat="server"
    <Windows> 
        <telerik:RadWindow ID="RadWindow1" VisibleOnPageLoad="false" Title="Content Editor" 
             runat="server" Width="900" Height="700" > 
            <ContentTemplate> 
                 
                    <asp:Button ID="btnSave" runat="server" Text="Save" Enabled="True" OnClick="btnSave_Click" /> 
                     
                    <div style="text-align: left; display: block"
                    <telerik:RadEditor ID="RadEditor2" runat="server" Skin="Simple" Width="100%" Height="650" 
                        Enabled="True" OnClientLoad="OnClientLoad"
                    </telerik:RadEditor> 
                    </div> 
               
            </ContentTemplate> 
        </telerik:RadWindow> 
    </Windows> 
</telerik:RadWindowManager> 
 

Hector
Top achievements
Rank 1
 answered on 08 Jun 2010
3 answers
202 views
Hello,

We like the Outlook theme, but wish the font was bigger.  Is there an easy way to override all of the fonts for the controls?  What would you recommend?

Thanks.
Sebastian
Telerik team
 answered on 08 Jun 2010
3 answers
95 views
hi my dear friends :
i have a radwindow with a button in it....
===========================================================
i am so new with jQery so i desided to work with RadWindows In Code Behind...
i opens this radwindow in code behind like this :

            Page.RegisterStartupScript("callWin""<script type='text/javascript'>OpenWindow();</script>"); 
            Response.Write("Hello Worldd !"); 

Is It Possible To Block Countinuing CodeBehind (Response.Write("Hello Worldd !");) When this RADWINDOW Appears????
i mean , hello world be appears after Clicking on RadWindow Button...

if there is no way with c# code , how can i do that with jquery?

best regards
Shinu
Top achievements
Rank 2
 answered on 08 Jun 2010
1 answer
305 views
Hi All,

I am displaying the entity data using a radgrid.
on the top of the grid i placed two imagse buttons
1. Show Fitler
2. Hide Filter

By default the filter of the Radgrid should be in hidden state and the hidebtn style property 'display' should be none.
when ever i click on the show filter button.... filter option of radgrid should be enabled and hide btn display property should be updated from 'none' to 'block' and show btn property should be update from 'block' to 'none'

Vice versa if we click on the hide button.
I tried doing this my implementing the below code...
------------------------------------javascript--------------------------------------

 

function ShowFilter() {

 

$find(

'<%=rgPluginsList.ClientID %>').get_masterTableView().showFilterItem();

 

document.getElementById(

'HideBtn').style.display = 'block';

 

document.getElementById(

'ShowBtn').style.display = 'none';

 

}

 

function HideFilter() {

 

document.getElementById(

'HideBtn').style.display = 'none';

 

document.getElementById(

'ShowBtn').style.display = 'block';

 

$find(

'<%=rgPluginsList.ClientID %>').get_masterTableView().hideFilterItem();

 

}

----------------------------------------------------------------------------------------------------

<

 

asp:ImageButton runat="server" OnClientClick="ShowFilter();" ImageUrl="../Images/ShowFilter.gif"

 

 

ID="ShowBtn" />

 

 

<asp:ImageButton runat="server" OnClientClick="HideFilter();" ImageUrl="../Images/HideFilter.gif"

 

 

ID="HideBtn" />

 

-----------------------------------------------------------------------------------------------------------
In the Page Load event :

if

 

(!IsPostBack)

 

{

HideBtn.Style.Add(

"display", "none");

 

ShowBtn.Style.Add(

"display", "block");

 

rgPluginsList.AllowFilteringByColumn = !rgPluginsList.AllowFilteringByColumn;

rgPluginsList.Rebind();

}

-------------------------------------------------------------------------------------------------------------


but after the second click of hide btn  i am getting the following exception
'

Server Error in '/RadarNetUI' Application.
--------------------------------------------------------------------------------

Multiple controls with the same ID 'FilterTextBox_#' were found. FindControl requires that controls have unique IDs.
Let me know wheter i missed some thing
Thanks in advance

Chaitanya.E
chaitanya.eluru@cosmonetsolutions.com


Princy
Top achievements
Rank 2
 answered on 08 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?