Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
129 views
I'd like to customize the text displayed by the GridHTMLEditorColumnEditor ; I tried that but the content remains empty (the resourceValue column is bound only in the ItemDataBound event):

protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridEditableItem && e.Item.IsInEditMode)
            {
                GridEditableItem editedItem = e.Item as GridEditableItem;
                GridHTMLEditorColumnEditor editor = (GridHTMLEditorColumnEditor)editedItem.EditManager.GetColumnEditor("resourceValue");
                 editor.Editor.Content = "my custom text";             
            }
        }

jc mag
Top achievements
Rank 1
 answered on 15 Jun 2011
1 answer
75 views

Hi Team,

 

We are using Telerik ASP.net Ajax with 2010.1.415.0 build.

While testing on Firefox 4 (build 4.0.1) we are facing a problem in editor when image in editor is selected and click on image map Editor Button. Image map Editor get open but it does not show image in ‘Preview’ section.

Could you please let us know any workaround to resolve the same?


Thank you in advance.
Rumen
Telerik team
 answered on 15 Jun 2011
2 answers
127 views

Hello,

when i load my page, all the pageviews are displayed. I need to click on each tab to obtain the normal display (only the selected pageview).
I precise that it works great on FF but not on IE8

Have you an idea ?
Aurore


Here's the schema of my architecture :
<tlk:RadPane ID="m_oTopPane" runat="server" Scrolling="Both" PanesBorderSize="0">
                <asp:Panel ID="ConfPanel" runat="server" Style="visibility: hidden;">                  
                    <tlk:RadTabStrip ID="m_oRadStrip" runat="server" MultiPageID="RadMultiPage1" Orientation="HorizontalTop"
                        SelectedIndex="0" Width="840" Style="margin-left: 10px;" >
                        <Tabs>
                            <tlk:RadTab runat="server">
                            </tlk:RadTab>
                            <tlk:RadTab runat="server">
                            </tlk:RadTab>
                            <tlk:RadTab runat="server">
                            </tlk:RadTab>
                        </Tabs>
                    </tlk:RadTabStrip>
                    <tlk:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" >
      <tlk:RadPageView ...>
      </tlk:RadPageView/>
 <tlk:RadPageView ...>
      </tlk:RadPageView/>
 <tlk:RadPageView ...>
      </tlk:RadPageView/>
</tlk:RadMultiPage>
</tlk:RadTabStrip>
<asp:Panel>
</tlk:RadPane>

I set this on web.config
        <add key="Telerik.Skin" value="Sphinx"/>
        <add key="Telerik.EnableEmbeddedSkins" value="false"/>

I use the 2010.3.1317.35 dll version
Dimitar Terziev
Telerik team
 answered on 15 Jun 2011
5 answers
78 views
Hello,

my trees are very dynamic an so it takes a lot of time to generate them node by node,
level by level.

So my Question is, if it is possible to return a complete part of a tree with all its subnotes in one step.
I think I've to return a Treenode-object not a TreenodeData-object. Have'nt I?

Best regards.
Nikolay Tsenkov
Telerik team
 answered on 15 Jun 2011
1 answer
127 views
When I group a RadGrid from the context menu, the headers all become slightly smaller than the data portion of the columns they are associated with.  The result of this is that a white rectangle appears on the right hand side of the Header Bar.  I have included the html for the grid below and included an attached file containing the image of the event happening.  

I imagine this is something I can rectify by overriding the style for headers when the grouping is applied (Add a pixel or 2 to the RadGrid grouped header border style) but I would like to know if there is something that I should be doing that is more natural to the control itself

<telerik:RadGrid runat="server" ID="rgAMASM" DataSourceID="odsAMASM" AllowPaging="True"
    GridLines="None" Skin="Office2007" AllowSorting="True" Height="347px" OnPageSizeChanged="rgAMASM_PageSizeChanged"
    OnColumnCreated="rgAMASM_ColumnCreated">
    <ClientSettings>
        <Selecting AllowRowSelect="True" />
        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
    </ClientSettings>
    <MasterTableView DataSourceID="odsAMASM" CommandItemDisplay="Bottom" DataKeyNames="Asset_ID">
        <CommandItemSettings ExportToPdfText="Export to Pdf"
            ShowAddNewRecordButton="False" ShowRefreshButton="False">
        </CommandItemSettings>
        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
            </EditColumn>
        </EditFormSettings>
    </MasterTableView>
    <FilterMenu EnableImageSprites="False">
    </FilterMenu>
    <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
    </HeaderContextMenu>
</telerik:RadGrid>
<asp:ObjectDataSource ID="odsAMASM" runat="server" SelectMethod="WT_BROWSEAMASM"
    TypeName="WorkTech.WTLIB+WTDAL+Functions" OnSelecting="odsAMASM_Selecting" OnSelected="odsAMASM_Selected">
    <SelectParameters>
        <asp:Parameter Name="uid" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>

Pavlina
Telerik team
 answered on 15 Jun 2011
1 answer
253 views

Hi Telerik Team,

Before posting this issue, I tried search for similar issue here and tried. But couldn't solve our issue.

About our issue - (Which works fine in Firefox, but not working in IE8/9)
We are using Telerik RadGrid - which is displaying properly if there is NO vertical scrollbar. (Attachment - IE - With No Scrollbar.JPG)
If a vertical scroll-bar appears, the alignment between header and item goes wrong. (Attachment - IE.JPG)
This is displaying fine in Firefox - (Attachment - Firefox.JPG)

We noticed that if we resize the column width using mouse manually, entire alignment issue vanishes!! (Attachment - IE - Resizing.JPG & IE - After Resize.JPG)

I believe this explanation & screen-shots make sense.

This issue really kills the appearance of Telerik RadGrid and we are not satisfied with it - We tried a lot to fix it.

Finally we found that we are using on javascript to resize Grid's height & width based on the browser's width & height. That was causing this issue. When we commented the javascript code to set the grid's width, I think this issue is solved.

After posting the question for help only, we found this solution!!

Let us test this issue and will be back, if we have any issues.

Thanks
Steve


Pavlina
Telerik team
 answered on 15 Jun 2011
1 answer
49 views
hi,
i have column without fieldName with itemtemplate that display text by another field, and i want to enable sorting this column by the display text. is it imposible?
thanks.
Pavel
Telerik team
 answered on 15 Jun 2011
4 answers
190 views
Hi all,

I need some help. We need to apply the selected SharePoint 2010 skin to each RadControl used in our Silverlight application and also used in our webparts.

Is there any way to handle this?

Best regards,
Ralf
Ralf
Top achievements
Rank 1
 answered on 15 Jun 2011
5 answers
190 views
I have a SP 2010 webpart that has a rad Splitter with 2 panes and a vertical splitter.  The web part is hosted in a single full page vertical webpart page template.   The problem is the  web part does expand to fill the zone horizontally,  but clips the webpart vertically (height).  

I know the webpart template works because I have another webpart thas is essentially a log that when deployed in that template fills the page and scrolls vertically as expected.

Does anyone have ay examples of getting the controls to cause the zone to expand vertically?

Thanks in advance for any help.

s.
Stanimir
Telerik team
 answered on 15 Jun 2011
1 answer
268 views
When I tries to upload file using RadFileExplorer it gives me following js error.

Microsoft JScript runtime error: 'this.get_windowManager()' is null or not an object.

after this error file gets uploaded but other icons like create folder, open, refresh  add and other icons get hide.

Following is my code. Please let me know if I am missing anything

aspx page

<head id="Head1" runat="server">

    <style type="text/css">
        h5
        {
            margin: 3px;
            margin-top: 6px;
        }
    </style>
   <telerik:RadCodeBlock ID="codeBlock1" runat="server">

        <script type="text/javascript">
            //<![CDATA[
            function OnClientItemSelected(sender, args) {
              
            }
            //]]>
        </script>

    </telerik:RadCodeBlock>
</head>
<body class="BODY">
    <form id="form1" runat="server">
    
    <telerik:RadScriptManager ID="RadScriptManager1" runat="Server">
    </telerik:RadScriptManager>
    <telerik:RadFormDecorator runat="server" ID="RadFormDecorator1" DecoratedControls="All" />
    <table cellspacing="4">
        <tr>
            <td rowspan="2" style="vertical-align: top;">
                <telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="520px" Height="520px"
                    OnClientItemSelected="OnClientItemSelected">
                    <Configuration ViewPaths="~/ClaimFiles" UploadPaths="~/ClaimFiles"
                        DeletePaths="~/ClaimFiles" />
                </telerik:RadFileExplorer>
               
            </td>
          
        </tr>
    </table>
    
    </form>
</body>

-------
aspx.cs code

protected void Page_Load(object sender, EventArgs e)
    {

        //set properties according to configuration panel
        //FileExplorer1.VisibleControls = GetVisibleControls();
        FileExplorer1.EnableOpenFile = true;
        FileExplorer1.DisplayUpFolderItem = true;
        FileExplorer1.AllowPaging = true;
        FileExplorer1.EnableCreateNewFolder = true;
        //FileExplorer1.Configuration.ContentProviderTypeName = typeof(CustomProvider).AssemblyQualifiedName;



        FileExplorer1.Configuration.UploadPaths = new string[] { "~/ClaimFiles" };
        
        if (!IsPostBack)
        {
            //Set initial folder to open. Note that the path is case sensitive!
            FileExplorer1.InitialPath = Page.ResolveUrl("~/ClaimFiles");
        }
    }


I am using latest telerik version ie 2011.1.519.40. I just noticed that it is working fine in firefox but creating problem in IE. I am using IE8.

Your help is highly appriciated.
Thanks
Mehul
Pero
Telerik team
 answered on 15 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?