Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
232 views
Hi,
i use hierarchy table properties. How can i disable sortinh, filtering in hierarchy table. I want to use these properties just in master table.
Mehmet Tirgil
Top achievements
Rank 1
 answered on 15 Dec 2009
6 answers
152 views
How can i localize the GroupbyHeadertext?

i have a grid with this settings:
<GroupByExpressions> 
                <telerik:GridGroupByExpression> 
                    <SelectFields> 
                        <telerik:GridGroupByField FieldName="DueDate" HeaderText="Due Date" /> 
                    </SelectFields> 
                    <GroupByFields> 
                        <telerik:GridGroupByField FieldName="DueDate" HeaderText="Due Date" /> 
                    </GroupByFields> 
                </telerik:GridGroupByExpression> 
            </GroupByExpressions> 
and now i want to localize the Duedate text. (see image)
Hus Damen
Top achievements
Rank 1
 answered on 15 Dec 2009
4 answers
210 views
Hi,

I am currently using the Radchart object to simulate a progress bar. I was able to do it. Now, I want to remove the X and Y axis scale, as you can see on the attached image. Is there a way to remove them?

Thanks,
Paul
Paul Tran
Top achievements
Rank 1
 answered on 15 Dec 2009
2 answers
207 views
hai ,
i want to provide the ContextMenu to the RadGrid Cell(i.e., to the first cell of every row not to the entire row)
how can we provide this.
thanks.
Burepalli V S Rao
Top achievements
Rank 1
 answered on 15 Dec 2009
1 answer
172 views
Hi There,

I have a RadEditor control on my page with the following lines of client side code:

editor.attachEventHandler("onkeydown", OnKeyDown);

function OnKeyDown(e)
{
  if (e.ctrlKey === true && String.fromCharCode(evtobj.keyCode) === "S")
  {
     alert("Custom Save");
     return stopPropagation(e);
  }
}

function StopPropogation(e)
{
    e.cancelBubble = true;
    e.returnValue = false;

    if (e.stopPropagation)
    {
        e.stopPropagation();
        e.preventDefault();
    }

    return false;
}

This works in IE and Firefox, except that in Firefox the "Save As" dialog appears, no matter what i try. If i add a debugger line in my OnKeyDown method, the breakpoint gets hit AFTER the SaveAs dialog appears - so it seems that the attachEventHandler method of telerik adds the event too late or executes my code too late?

Applying my code to a test HTML page with:

document.onkeydown = OnKeyDown;

...works fine.

What is telerik RadEditor doing differently? What can I do to work around this?

Thanks.
Rumen
Telerik team
 answered on 15 Dec 2009
2 answers
131 views
Hi Telerik,
How should i clear the filter in GridTemplateColumn
Thank you
Bogice
Top achievements
Rank 1
 answered on 15 Dec 2009
2 answers
115 views
I'm experiencing an issue where the formatting looks correct in the MOSSRadEditor and when I save and edit the list item again the content appears as regular text.

the SharePoint list field is set to Enhanced Rich Text.

-tom daly


Thomas
Top achievements
Rank 1
 answered on 15 Dec 2009
4 answers
193 views

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RadFormDecoratorTestApp._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>Untitled Page</title> 
    <style type="text/css"
html, body, form   
{   
    height: 100%;   
    margin: 0px;   
    padding: 0px;   
    overflow: hidden;   
}   
 
body { 
    background-color: #F2ECCA; 
    font-family: Tahoma, Verdana, Arial, Sans-Serif; 
    font-size: 14px; 
 
#headpart { 
    background-color: ivory; 
 
#rightcontent { 
    margin-left:0px; 
    margin-right:0px; 
    margin-bottom:5px; 
    margin-top:0px; 
     
#bodypart { 
    padding: 10px; 
 
#rightcontent p { 
    font-size:10px; 
    margin-left:0px; 
 
.ApplyPosition   
{   
    position: relative; 
    </style> 
</head> 
<body onload="setFilterMultiPageHeight();registerScroll();"
    <form id="form1" runat="server"
        <script type="text/javascript"
                        
            function registerScroll(){ 
                getCurrentScrollDiv().onscroll = saveScrollPos
            } 
             
            function getCurrentScrollDiv(){ 
                var mpEl = getMPDiv(); 
 
                var mp = $find("<%= RadMultiPage1.ClientID %>"); 
                var pv = mp.get_selectedPageView(); 
                
                var pvpvDiv = pv.get_element(); 
                 
                return pvDiv; 
            } 
             
            function getMPDiv(){ 
                var mp = $find("<%= RadMultiPage1.ClientID %>"); 
                return mp.get_element(); 
            } 
             
            function saveScrollPos(){ 
                document.getElementById("<%= hdnFilterScroll.ClientID %>").value = getCurrentScrollDiv().scrollTop; 
            } 
             
            function setScrollPos(){ 
                getCurrentScrollDiv().scrollTop = document.getElementById("<%= hdnFilterScroll.ClientID %>").value; 
            } 
 
            function resizeFilterPanel(sender, Args){ 
                if (Args.get_oldHeight() != sender.get_height()){ 
                    setFilterMultiPageHeight(); 
                    setScrollPos(); 
                } 
            } 
             
            function handleTabSelected(){ 
                setFilterMultiPageHeight(); 
                registerScroll(); 
            } 
             
            function setFilterMultiPageHeight(){ 
                var pane = $find("<%= RadPane1.ClientID %>"); 
                var fh = document.getElementById('FilterHeader'); 
 
                var panepaneHeight = pane.get_height() - fh.offsetHeight; 
                 
                document.getElementById("<%= hdnFilterHeight.ClientID %>").value = paneHeight
                getCurrentScrollDiv().style.height = paneHeight + 'px'; 
                 
                setScrollPos(); 
            }            
        </script> 
        <telerik:RadWindowManager ID="LocalRadWindowManager" runat="server"
        </telerik:RadWindowManager> 
        <telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True"
        </telerik:RadScriptManager> 
        <telerik:RadSplitter ID="NestedSplitter" Width="100%" Height="100%" runat="server" Skin="Outlook" LiveResize="true" 
            OnClientResized="resizeFilterPanel"
            <telerik:RadPane ID="LeftPane" runat="server" MinWidth="150" Height="" Index="0" 
                Scrolling="None"
                <!-- Place the content of the pane here --> 
                <iframe id="contentFrame" name="contentFrame" height="100%" width="100%" frameborder="0" 
                    src="http://www.google.com" runat="server" /> 
            </telerik:RadPane> 
            <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Backward" /> 
            <telerik:RadPane ID="RadPane1" CssClass="ApplyPosition" runat="server" Scrolling="None" 
                MinWidth="300" Width="300px"
                <!-- Place the content of the pane here --> 
                <asp:HiddenField ID="hdnFilterHeight" runat="server" Value="400" /> 
                    <asp:HiddenField ID="hdnFilterScroll" runat="server" Value="0" /> 
                <asp:Panel ID="rightcontent" runat="server"
                    <telerik:RadFormDecorator ID="RadFormDecorator1"  DecoratedControls="All" runat="server" Skin="Web20" /> 
                    <div id="FilterHeader"
                        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" 
                            SelectedIndex="0" Skin="Web20" > 
                            <Tabs> 
                                <telerik:RadTab runat="server" Text="Tab1" Selected="True"
                                </telerik:RadTab> 
                                <telerik:RadTab runat="server" Text="Tab2"
                                </telerik:RadTab> 
                            </Tabs> 
                        </telerik:RadTabStrip> 
                    </div> 
                    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" ScrollBars="Auto"
                        <telerik:RadPageView ID="RadPageView1" runat="server"
                            <asp:RadioButtonList ID="rbl1" runat="server"
                                <asp:ListItem Text="blah1"></asp:ListItem> 
                                <asp:ListItem Text="blah2"></asp:ListItem> 
                                <asp:ListItem Text="blah3"></asp:ListItem> 
                                <asp:ListItem Text="blah4"></asp:ListItem> 
                                <asp:ListItem Text="blah5"></asp:ListItem> 
                                <asp:ListItem Text="blah6"></asp:ListItem> 
                                <asp:ListItem Text="blah7"></asp:ListItem> 
                                <asp:ListItem Text="blah8"></asp:ListItem> 
                                <asp:ListItem Text="blah9"></asp:ListItem> 
                                <asp:ListItem Text="blah10"></asp:ListItem> 
                                <asp:ListItem Text="blah11"></asp:ListItem> 
                            </asp:RadioButtonList> 
                            <asp:RadioButtonList ID="RadioButtonList2" runat="server"
                                <asp:ListItem Text="blah1"></asp:ListItem> 
                                <asp:ListItem Text="blah2"></asp:ListItem> 
                                <asp:ListItem Text="blah3"></asp:ListItem> 
                                <asp:ListItem Text="blah4"></asp:ListItem> 
                                <asp:ListItem Text="blah5"></asp:ListItem> 
                                <asp:ListItem Text="blah6"></asp:ListItem> 
                                <asp:ListItem Text="blah7"></asp:ListItem> 
                                <asp:ListItem Text="blah8"></asp:ListItem> 
                                <asp:ListItem Text="blah9"></asp:ListItem> 
                                <asp:ListItem Text="blah10"></asp:ListItem> 
                                <asp:ListItem Text="blah11"></asp:ListItem> 
                            </asp:RadioButtonList> 
                            <asp:RadioButtonList ID="RadioButtonList1" runat="server"
                                <asp:ListItem Text="blah1"></asp:ListItem> 
                                <asp:ListItem Text="blah2"></asp:ListItem> 
                                <asp:ListItem Text="blah3"></asp:ListItem> 
                                <asp:ListItem Text="blah4"></asp:ListItem> 
                                <asp:ListItem Text="blah5"></asp:ListItem> 
                                <asp:ListItem Text="blah6"></asp:ListItem> 
                                <asp:ListItem Text="blah7"></asp:ListItem> 
                                <asp:ListItem Text="blah8"></asp:ListItem> 
                                <asp:ListItem Text="blah9"></asp:ListItem> 
                                <asp:ListItem Text="blah10"></asp:ListItem> 
                                <asp:ListItem Text="blah11"></asp:ListItem> 
                            </asp:RadioButtonList> 
                            <asp:RadioButtonList ID="RadioButtonList4" runat="server"
                                <asp:ListItem Text="blah1"></asp:ListItem> 
                                <asp:ListItem Text="blah2"></asp:ListItem> 
                                <asp:ListItem Text="blah3"></asp:ListItem> 
                                <asp:ListItem Text="blah4"></asp:ListItem> 
                                <asp:ListItem Text="blah5"></asp:ListItem> 
                                <asp:ListItem Text="blah6"></asp:ListItem> 
                                <asp:ListItem Text="blah7"></asp:ListItem> 
                                <asp:ListItem Text="blah8"></asp:ListItem> 
                                <asp:ListItem Text="blah9"></asp:ListItem> 
                                <asp:ListItem Text="blah10"></asp:ListItem> 
                                <asp:ListItem Text="blah11"></asp:ListItem> 
                            </asp:RadioButtonList> 
                            <asp:RadioButtonList ID="RadioButtonList3" runat="server"
                                <asp:ListItem Text="blah1"></asp:ListItem> 
                                <asp:ListItem Text="blah2"></asp:ListItem> 
                                <asp:ListItem Text="blah3"></asp:ListItem> 
                                <asp:ListItem Text="blah4"></asp:ListItem> 
                                <asp:ListItem Text="blah5"></asp:ListItem> 
                                <asp:ListItem Text="blah6"></asp:ListItem> 
                                <asp:ListItem Text="blah7"></asp:ListItem> 
                                <asp:ListItem Text="blah8"></asp:ListItem> 
                                <asp:ListItem Text="blah9"></asp:ListItem> 
                                <asp:ListItem Text="blah10"></asp:ListItem> 
                                <asp:ListItem Text="blah11"></asp:ListItem> 
                                <asp:ListItem Text="Click this one!"></asp:ListItem> 
                            </asp:RadioButtonList> 
                        </telerik:RadPageView> 
                        <telerik:RadPageView ID="RadPageView2" runat="server"
                            blah 
                        </telerik:RadPageView> 
                    </telerik:RadMultiPage> 
                </asp:Panel> 
            </telerik:RadPane> 
        </telerik:RadSplitter> 
    </form> 
</body> 
</html> 
 

This works great in IE, but if you try in firefox 3.5.4 and click the bottom radio button titled, "Click this one!", you will notice the pane gets all messed up, with the content scrolling out of view and not able to get it back.  If I remove the RadFormDecorator it works fine.  I am already having to do some funky javascript to get the scroll bars working, but it appears in conjunction with the RadFormDecorator it seems to be messing things up.

Thanks
mzn developer
Top achievements
Rank 1
 answered on 15 Dec 2009
7 answers
178 views
Hi I am trying to implement a custom FileSystemContentProvider to access images from our db for the image picker.

I'm looking for example code.

I've seen various links to 
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/DBFileBrowserContentProvider/DefaultCS.aspx

but when I go there I can find no example code.



Fiko
Telerik team
 answered on 15 Dec 2009
1 answer
164 views
I am using 2009Q3 and when I drag a TextBox control onto a page I am unable to change the Width using the Properties panel. I can type in a value then when I tab or click out, the value disappears and the width of the TextBox does not change. Any ideas?
Hus Damen
Top achievements
Rank 1
 answered on 15 Dec 2009
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?