Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
69 views
Hi there,

I have put the editor into a div which on document.ready is hidden. The editor is then shown/hidden on button press. My problem is that when you show the div the editor contentarea (class="reContentArea") has a height of 0. It only seems to occur in chrome and safari.

I could just hard code a height but I was just wondering if this is a potential bug.
Ianko
Telerik team
 answered on 05 Dec 2013
1 answer
173 views
I am using RadUpload in our application. I am using skin "Office2007". In Radupload the browse button is not working for this skin. I am using Telerik version 2013.2.611.40. I am using VS2010 and Windows XP for development. I am facing this problem in IE 8. I have attached a sample code which you can use reproduce this issue at your end. Please provide support asap as this is a production issue.
Hristo Valyavicharski
Telerik team
 answered on 05 Dec 2013
1 answer
94 views
Hi, there is a way to repeat the time row every 10, 20 resoures? or repeat it in the bottom of the scheduler?
It's very important to see the time and if i have 30 resources i have to scroll up till the top of the page.


Thanks 
Mattia
Plamen
Telerik team
 answered on 05 Dec 2013
2 answers
139 views
I've read the information at http://www.telerik.com/help/aspnet-ajax/window-programming-opening-from-within-dialog.html and I'm now trying to let the child RadWindow 'talk' back to its parent RadWindow.

When the user presses OK in the child window, a function in the parent RadWindow should be called, passing one or more arguments.

I've tried using 'opener' in the child RadWindow to reference the parent RadWindow, but it is undefined.

I've tried explicitly specifying a parent property the following way:
function OpenChildRadWindow(p_sURL, p_iWidth, p_iHeight) {
    var l_oBrowserWnd = GetRadWindow().BrowserWindow;
    setTimeout(function () {
        var l_oWindow = l_oBrowserWnd.radopen(p_sURL, "newRadWindow", p_iWidth, p_iHeight);
        l_oWindow.radParent = this;
        l_oWindow.InitialBehaviors = Telerik.Web.UI.WindowBehaviors.None;
        l_oWindow.set_modal(true);
    }, 0);
}
But when I try to reference "window.radParent" in the child RadWindow it is also undefined.

How can I let a parent and child RadWindow communicate with each other?

Marja
Top achievements
Rank 1
 answered on 05 Dec 2013
5 answers
247 views
Hello everyone, I have one problem with RadComboBox and will appreciate any help. I'm using 2013.1.403.40 version with v4.0.30319 runtime in my ASP.NET application. So, here is my solution: combobox on the page, that is populated from server side.
<telerik:radcombobox id="cmbBox" runat="server" width="185px"
DataTextField="Text" DataValueField="Value" DataCheckedField="IsChecked" MaxHeight="185px"
CheckBoxes="True" EnableCheckAllItemsCheckBox="True" Filter="None" Sort="None" EnableTextSelection="False" OnClientItemChecked="cmbBoxItemChecked"/>
cmbBox.Items.Add(new RadComboBoxItem("separator1") { IsSeparator = true });
cmbBox.Items.Add(new RadComboBoxItem
                    {  Text = "Name1",   Value = "Value1",  Checked = false });
cmbBox.Items.Add(new RadComboBoxItem("separator2") { IsSeparator = true });
cmbBox.Items.Add(new RadComboBoxItem
                    {  Text = "Name2",   Value = "Value2",  Checked = false });
cmbBox.Items.Add(new RadComboBoxItem("separator3") { IsSeparator = true });
cmbBox.Items.Add(new RadComboBoxItem
                    {  Text = "Name3",   Value = "Value3",  Checked = false });
So, 6 items will appear on client side (3 separators and 3 simple items). I've also attached event handler for OnClientItemChecked with folowing logic:

function cmbBoxItemChecked(sender, eventArgs)
{
   sender.set_text("my custom text according to internal logic, based on checked item");
}
And here is my problem: for example, before sender.set_text operation, text was "2 items checked". Right after sender.set_text it will change to "my custom..." (as desired).
But after exiting from event handler, text will return to it's previous state ("2 items checked"). It seems, that another event fires right after 
OnClientItemChecked.
So my desired behaviour, is to change text in radcombobox after user was (un)checked random item. It is possible, or by now, this is not achievable ? 
Thank you in advance.

Nencho
Telerik team
 answered on 05 Dec 2013
1 answer
118 views
I'm having an issue with my RadTreeList where the HeaderText on the Excel spreadsheet isn't showing after exporting. I don't know if there is some kind of conflict somewhere upstream that's preventing this from happening. I don't think it has to do with AJAX because the rest of the spreadsheet shows everything correctly. 

Any tips are greatly appreciated.
Kostadin
Telerik team
 answered on 05 Dec 2013
9 answers
2.1K+ views

Good day,

We’ve been experiencing the invalid webresource exception for at least a few weeks now, mainly on IE7 and IE8, although we’ve also seen it on IE9 and Firefox (but far less frequently). 

2012-06-06 14:10:23,238 [20] [admin] [xbqai0wdtzjrg2akwu0hjrc1] [(null)] ERROR Global - Unhandled exception was [System.Web.HttpException (0x80004005): This is an invalid webresource request.

2012-06-06 16:11:49,758 [17] [(null)] [(null)] [(null)] ERROR Global - Application_Error : unhandled exception processing /[AppName]/WebResource.axd?d=Suu-bg3mCuf0dFdR6OaZkvX4qIzt-FMOe6pPRuU-iok0iBRX7G8SkmhJ6f6sVdRz5vgh3rhLmGeuyVCZQ7NlYAkluB8OomTcba5DZz_nqarySe1LWUgUVAdCHlVY9NrY1NCgWnu8yVgPuJfiygFy-Q2&t=634739782657507859


We fixed this by using fixed Machine Keys in IIS, and once all the users had deleted their Temporary Internet Files, we did not see the exception again. At least, until we deployed the latest build of our code onto the server.

Now, the issue is recurring fairly randomly and what happens is on certain pages our application, the selected menu item disappears as do the background images for RadTabStrips. What’s interesting is that it only happens on Internet Explorer (even 9), and if we open Developer Tools and check “Always refresh from server” under Cache, the problem goes away, but returns as soon as we uncheck that option.

We then went to our Temporary Internet Files folder and noticed that there are a number of files with names like: Telerik.Web.UI.WebResource.axd?compress=x&Telerik.Web.UI%2c+Version%3d2012.1.215.40%2c+Culture%3dneutral%2c …

We then opened all of these into Notepad and took the each of the problematic URLs in the error log to try and find the culprit, but to no avail.

We do have the following code on our Master page (if that helps):

<telerik:RadScriptManager ID="RadScriptManager" runat="server" EnableScriptGlobalization="true" EnablePageMethods="true" EnableScriptCombine="true">

<CompositeScript>

                    <Scripts>

                        <asp:ScriptReference Path="~/Javascript/jquery1.js" />

                        <asp:ScriptReference Path="~/Javascript/JavaScript1.js" />

                    </Scripts>

       </CompositeScript>

       </telerik:RadScriptManager>

 

 

We are unable to provide a sample of the issue, as we can’t reproduce it locally (other than with automatically generated keys).

Any advice you can provide would be greatly appreciated.

 

Kind regards,

Graeme

 

Kate
Telerik team
 answered on 05 Dec 2013
1 answer
61 views
Hi,

I have a telerik:treeview control which is not visible in High Contrast Mode.

I am wondering if you have any accessible skin file which could be visible in High Contrast Mode.

It is mentioned in telerik api document that it could be added your own customized skin file.

I am wondering if you could send me original css file which i could modify based on it.
e.g.
.RadTreeView_Default .rtPlus, .RadTreeView_Default .rtMinus {
    background-image: url("WebResource.axd?d=wgTjU3KiWAo_0FDbJwGr6RFpcMX3-7_5KbAkWx40lH2Qq9j8ViE26F3XYE0b1Jxom0PcBCS-33pqzkWvZWq0fqjFEDn97IbIyd-2QqpbYnV9mtFtLYvUT7F58EMwwpoMjbAFsfKmzjTBipk-bByPXzvYSF41&t=635168307340000000");
}

I could change to my own image.

Thanks
Regards
Yuzhuo
Ivan Zhekov
Telerik team
 answered on 05 Dec 2013
10 answers
242 views
I have a self-referencing hierarchical grid with five columns:  Id, Title, Body, Created By and Created On.  Each row has these five properties.

Users can hide any of the columns using the built in Header Context Menu functionality.  When I choose to hide a column, the column header is removed, as are any corresponding values from the master table.  However, all of the child values in the hierarchical detail tables still have the column showing.

For example, if I have the following (where col# = column, p# = parent and c# = child)...

col 1 | col 2 | col 3 | col 4
p1    | p2    | p3    | p4   |
c1    | c2    | c3    | c4   |
c1    | c2    | c3    | c4   |

...and I decide to hid col 4 via the header context menu, I end up with something like the following:

col 1 | col 2 | col 3 |
p1    | p2    | p3    |
c1  | c2  | c3  | c4  |
c1  | c2  | c3  | c4  |

What do I need to set in order for the Header Context Menu to also hide detail table columns?

Here's my grid definition:

<telerik:RadGrid
    ID="grdNotes"
    runat="server"
    OnColumnCreated="grdNotes_ColumnCreated"
    OnItemCreated="grdNotes_ItemCreated"
    OnItemDataBound="grdNotes_ItemDataBound"
    OnNeedDataSource="grdNotes_NeedDataSource"
    OnPreRender="grdNotes_PreRender"
    AutoGenerateColumns="false"
    SkinID="HierarchicalGrid"
    GridLines="None"
    AllowCustomPaging="True"
    ShowStatusBar="True"
    PageSize="20"
    EnableLinqExpressions="False"
    Width="99%">
    <MasterTableView
        HierarchyDefaultExpanded="true"
        HierarchyLoadMode="Client"
        AllowSorting="true"
        DataKeyNames="Id,ParentId,Token,IsRoot,Replies,NoteCreator"
        ClientDataKeyNames="Id,ParentId,Token,IsRoot,Replies,NoteCreator"
        NoDetailRecordsText=""
        EnableNoRecordsTemplate="False"
        TableLayout="Auto"
        Width="100%"
        HorizontalAlign="Right">
         
        <SelfHierarchySettings ParentKeyName="ParentId" KeyName="Id" MaximumDepth="20" />
 
        <RowIndicatorColumn Visible="False" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
 
        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>
        <Columns>
            <telerik:GridClientSelectColumn DataTextField="Id" HeaderAbbr="Select" HeaderButtonType="TextButton"
                HeaderText="Select" HeaderTooltip="Select/Deselect" Text="Select" Visible="false"
                UniqueName="asgSelect" Exportable="false">
            </telerik:GridClientSelectColumn>
            <telerik:GridBoundColumn DataField="Id" SortExpression="Id" UniqueName="Id" Exportable="true">
                <HeaderStyle Width="50px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Title" SortExpression="Title" UniqueName="Title" Exportable="true"
                HtmlEncode="true" >
                <HeaderStyle Width="150px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Body" SortExpression="Body" UniqueName="Body" HtmlEncode="False" Exportable="true">
                <HeaderStyle Width="350px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="CreatedBy" SortExpression="CreatedBy" UniqueName="CreatedBy" Exportable="true">
                <HeaderStyle Width="150px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="CreatedDate" SortExpression="CreatedDate" UniqueName="CreatedOn" Exportable="true">
                <HeaderStyle Width="150px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="ParentId" HeaderText="Parent Id" SortExpression="ParentId" Exportable="false"
                UniqueName="ParentId" Visible="false" />
            <telerik:GridBoundColumn DataField="Token" HeaderText="Token" SortExpression="Token" Exportable="false"
                UniqueName="Token" Visible="false" />
            <telerik:GridBoundColumn DataField="IsRoot" HeaderText="Is Root" SortExpression="IsRoot" Exportable="false"
                UniqueName="IsRoot" Visible="false" />
            <telerik:GridBoundColumn DataField="Replies" HeaderText="Replies" SortExpression="Replies" Exportable="false"
                UniqueName="Replies" Visible="false" />
            <telerik:GridBoundColumn DataField="NoteCreator" HeaderText="NoteCreator" SortExpression="NoteCreator" Exportable="false"
                UniqueName="NoteCreator" Visible="false" />
            <telerik:GridTemplateColumn UniqueName="Actions" Visible="false" Exportable="false">
                <ItemTemplate>
                    <telerik:RadToolBar ID="rtbNoteActions" runat="server" SkinID="ActionToolbar" OnButtonClick="NotesGridToolbarButtonClicked"
                        OnClientButtonClicking="NoteActionToolbarClicking">
                        <Items>
                            <telerik:RadToolBarButton Text="Properties" CommandName="Properties" ImageUrl="~/Images/page_view.gif" />
                            <telerik:RadToolBarButton Text="Reply" CommandName="Reply" ImageUrl="~/Images/page_edit.gif" />
                            <telerik:RadToolBarButton Text="Security" CommandName="Security" ImageUrl="~/Images/shield16.gif" />
                            <telerik:RadToolBarButton Text="Delete" CommandName="Delete" ImageUrl="~/Images/delete16.gif" />
                        </Items>
                    </telerik:RadToolBar>
                </ItemTemplate>
                <HeaderStyle Width="15%"></HeaderStyle>
            </telerik:GridTemplateColumn>
        </Columns>
        <EditFormSettings>
        <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
        </EditFormSettings>
 
        <PagerStyle AlwaysVisible="True"></PagerStyle>
    </MasterTableView>
    <HeaderContextMenu EnableTheming="True">
        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
    </HeaderContextMenu>
    <ExportSettings ExportOnlyData="True" IgnorePaging="True">
    </ExportSettings>
    <ClientSettings Selecting-AllowRowSelect="true" Resizing-AllowColumnResize="true">
        <Selecting AllowRowSelect="True"></Selecting>
        <ClientEvents
            OnRowSelected="NoteRowSelected"
            OnRowContextMenu="NoteContextMenu"
            OnRowDblClick="grdNotes_OnRowDblClick"
            OnGridCreated="NotePageLoad"
            OnTableCreated="ResizeAllNoteColumns"
            OnColumnResized="ResizeAllNoteColumns" />
        <Resizing AllowColumnResize="True"></Resizing>
    </ClientSettings>
    <PagerStyle Position="Bottom" AlwaysVisible="True" Mode="NextPrevAndNumeric" Wrap="False"
        BackColor="White" Font-Size="Large" />
</telerik:RadGrid>
Kostadin
Telerik team
 answered on 05 Dec 2013
6 answers
384 views
When I click  on the filter present on the header area of grid, its coming beside the column which is correct. But when trying to access this through enter key by putting focus with the help of tab key, the placement is not coming beside the column. Its different in different browsers.
Thanks in advance for any kind of help on this issue.
Eyup
Telerik team
 answered on 05 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?