Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
139 views
There appears to be some image corruption on RadComboBoxes used within a ListView EditItemTemplate or InsertItemTemplate (see attached image)

The following markup is generated by creating a new rad-website, dropping a RadListView control onto the page, and configuring it in the designer-helper.


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %> 
 
<!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></title
</head> 
<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadListView1"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadListView1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="Outlook"
    </telerik:RadSkinManager> 
    <div> 
        <telerik:RadListView ID="RadListView1" runat="server" InsertItemPosition="LastItem" 
            Skin="Outlook" OnNeedDataSource="RadListView1_NeedDataSource"
            <EditItemTemplate> 
                <tr class="rlvIEdit"
                    <td> 
                        <table cellspacing="0" class="rlvEditTable"
                            <tr> 
                                <td colspan="2"
                                    <asp:Button ID="UpdateButton" runat="server" CommandName="Update" CssClass="rlvBUpdate" 
                                        Text=" " /> 
                                    <asp:Button ID="CancelButton" runat="server" CausesValidation="False" CommandName="Cancel" 
                                        CssClass="rlvBCancel" Text=" " /> 
                                </td> 
                            </tr> 
                        </table> 
                    </td> 
                    <td> 
                        <telerik:RadComboBox ID="dimensionAliasComboBox" runat="server" Width="100px" EmptyMessage="Choose Dimension Alias" 
                            Skin="Outlook"
                            <Items> 
                                <telerik:RadComboBoxItem Text="to populate" /> 
                            </Items> 
                        </telerik:RadComboBox> 
                    </td> 
                    <td> 
                        <telerik:RadComboBox ID="RadComboBox4" runat="server" Width="100px" EmptyMessage="Choose Dimension Level" 
                            Skin="Outlook"
                            <Items> 
                                <telerik:RadComboBoxItem Text="to populate" /> 
                            </Items> 
                        </telerik:RadComboBox> 
                    </td> 
                </tr> 
            </EditItemTemplate> 
            <InsertItemTemplate> 
                <tr class="rlvIEdit"
                    <td> 
                        <table cellspacing="0" class="rlvEditTable"
                            <tr> 
                                <td colspan="2"
                                    <asp:Button ID="PerformInsertButton" runat="server" CommandName="PerformInsert" CssClass="rlvBAdd" 
                                        Text=" " /> 
                                    <asp:Button ID="CancelButton" runat="server" CausesValidation="False" CommandName="Cancel" 
                                        CssClass="rlvBCancel" Text=" " /> 
                                </td> 
                            </tr> 
                        </table> 
                    </td> 
                </tr> 
            </InsertItemTemplate> 
            <ItemTemplate> 
                <tr class="rlvI"
                    <td> 
                        <asp:Button ID="DeleteButton" runat="server" CommandName="Delete" CssClass="rlvBDel" 
                            Text=" " /> 
                        <asp:Button ID="EditButton" runat="server" CommandName="Edit" CssClass="rlvBEdit" 
                            Text=" " /> 
                    </td> 
                    <td> 
                        dfsdfds 
                    </td> 
                    <td> 
                        sfsdfds 
                    </td> 
                </tr> 
            </ItemTemplate> 
            <EmptyDataTemplate> 
                <div class="RadListView RadListView_Outlook"
                    <div class="rlvEmpty"
                        There are no items to be displayed.</div> 
                </div> 
            </EmptyDataTemplate> 
            <LayoutTemplate> 
                <div class="RadListView RadListView_Outlook"
                    <table cellspacing="0" style="width: 100%;"
                        <thead> 
                            <tr class="rlvHeader"
                                <th> 
                                    &nbsp; 
                                </th> 
                                <th> 
                                    Column1 
                                </th> 
                                <th> 
                                    Column2 
                                </th> 
                            </tr> 
                        </thead> 
                        <tbody> 
                            <tr id="itemPlaceholder" runat="server"
                            </tr> 
                        </tbody> 
                    </table> 
                </div> 
            </LayoutTemplate> 
            <SelectedItemTemplate> 
                <tr class="rlvISel"
                    <td> 
                        <asp:Button ID="DeselectButton" runat="server" CommandName="Deselect" CssClass="rlvBSel" 
                            Text=" " /> 
                        <asp:Button ID="DeleteButton" runat="server" CommandName="Delete" CssClass="rlvBDel" 
                            Text=" " /> 
                        <asp:Button ID="EditButton" runat="server" CommandName="Edit" CssClass="rlvBEdit" 
                            Text=" " /> 
                    </td> 
                </tr> 
            </SelectedItemTemplate> 
        </telerik:RadListView> 
    </div> 
    </form> 
</body> 
</html> 
 

thankyou
Dimo
Telerik team
 answered on 20 Jan 2010
2 answers
139 views
I have a grid, with a edit item template.
It has a button, on click of which i want to populate a list box (while the user is in the edit mode of the row).
However, i cant get that control using the find control on that row.
When I change the command name to "Update", I can get the same in ((GridEditableItem)e.Item).FindControl("lbCatDesc"). The problem using the CommandName as "Update" is that it closes the edit view. However i want the user to be able to continue to edit
Sabyasachi Dechaudhari
Top achievements
Rank 1
 answered on 20 Jan 2010
1 answer
73 views
Hello,
After moving a web application from Windows Server 2003 and IIS6 to Windows Server 2008 Web Edition and IIS7, (Classic mode), the controls appears when the aspx page is loaded but they don' t fully work. For example, I have an horizontal menu, I can navigate when I click on an item which redirect to a new page, but when I click an item which is aimed to display a submenu... it does not work. 
Rotator, TabStrip does not work either.... 
I have no error message. The page is loaded, but controls don' t work. The same application worked fine in IIS6.
Any help would be greatly appreciated.... Thanks
Dimo
Telerik team
 answered on 20 Jan 2010
6 answers
301 views
I have a RadTreeview with a RadTreeViewContextMenu.  The RadTreeViewContextMenu should be the same thing as a RadContextMenu correct?

So I'm trying to do two things here.
1) Display the context menu using the keyboard.  Preferably [Shift] + [F10].
2) Set Focus on the context menu when it displays, so I can navigate through it with the keyboard.

I've attempted at setting focus to the menu first and it just would not work for me.  Giving the focus to the menu in the event OnClientContextMenuShown, gets me this javascript error saying "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus."  I've tried setting the menu to display, setting it to enabled, and none of those work, so is this menu of a type that does not accept focus?

Here is my code

Javascript
function onClientContextMenuShown(sender, args) 
     args.get_menu().focus(); 

Markup
<telerik:RadTreeView ID="Favorites" runat="server" EnableEmbeddedSkins="False" Skin="KMNetYellow" Width="220px" EnableViewState="false" 
                                                        OnClientContextMenuShowing="onClientContextMenuShowing" 
                                                        OnClientContextMenuShown="onClientContextMenuShown" 
                                                        OnClientContextMenuItemClicked="onFavoriteFolderMenuClicked" 
                                                        OnClientNodeEditStart="OnClientNodeEditStartHandler" 
                                                        OnClientNodeEdited="OnClientNodeEditEndHandler" 
                                                        OnClientNodeExpanding="OnClientNodeExpanding" 
                                                        OnClientNodeCollapsing="OnClientNodeCollapsing"
                                                        <ContextMenus> 
                                                            <telerik:RadTreeViewContextMenu ID="objFavoritesMenu" runat="server" EnableEmbeddedSkins="False" Skin="KMNetGray" EnableViewState="false"
                                                                <Items> 
                                                                    <telerik:RadMenuItem runat="server" Text="New Folder" Value="NewFolder" EnableViewState="false"
                                                                    </telerik:RadMenuItem> 
                                                                    <telerik:RadMenuItem runat="server" IsSeparator="True" Text="----------" EnableViewState="false"
                                                                    </telerik:RadMenuItem> 
                                                                    <telerik:RadMenuItem runat="server" Text="Copy To ..." Value="Copy" EnableViewState="false"
                                                                    </telerik:RadMenuItem> 
                                                                    <telerik:RadMenuItem runat="server" Text="Move To ..." Value="Move" EnableViewState="false"
                                                                    </telerik:RadMenuItem> 
                                                                    <telerik:RadMenuItem runat="server" IsSeparator="True" Text="---------" EnableViewState="false"
                                                                    </telerik:RadMenuItem> 
                                                                    <telerik:RadMenuItem runat="server" Text="Delete" Value="Delete" EnableViewState="false"
                                                                    </telerik:RadMenuItem> 
                                                                    <telerik:RadMenuItem runat="server" Text="Rename" Value="Rename" EnableViewState="false"
                                                                    </telerik:RadMenuItem> 
                                                                </Items> 
                                                            </telerik:RadTreeViewContextMenu> 
                                                        </ContextMenus> 
                                                        <DataBindings> 
                                                            <telerik:RadTreeNodeBinding ExpandedImageUrl="/images/icon_openfold.gif" EnableContextMenu="true" ImageUrl="/images/icon_clsdfold.gif"/> 
                                                        </DataBindings> 
                                                    </telerik:RadTreeView> 

Thanks in  advance.
Kai Thao

Kai
Top achievements
Rank 1
 answered on 20 Jan 2010
1 answer
106 views
Hi Everyone,

I have a table like that :
 ----------------------------------------
|    id    |    ParentId    |    Name    |
 ----------------------------------------
|    1     |      NULL      |    Field 1   |
|    2     |          1         |    Field 2   |
|    3     |          1         |    Field 3   |
|    4     |          2         |    Field 4   |
|    5     |          3         |    Field 5   |
|    6     |          3         |    Field 6   |
|    7     |          2         |    Field 7   |
|    8     |          1         |    Field 8   |
 -----------------------------------------

Is it possible to group this into the grid in order to have a result displayed like that ? :

 ----------------------------------------
|               My RadGrid                 |
 ----------------------------------------
|    > Grouped By Field 1              |
|        > Grouped by Field 2          |
|           - Field 4                            |
|           - Field 7                            |
|        > Grouped by Field 3          |
|           - Field 5                            |
|           - Field 6                            |
|    > Grouped By Field 8              |
 -----------------------------------------

Then there is inside the same table 3 kind of records:
First level haven't ParentId
Second Level have in ParentId the Id of the first level
Third level have in ParentId the id of the second level

Is it possible ? because right now, I've just achieve to group by ParentId and there is no hierarchy
like that
> First Level
> All the Second Level
>Third Levels
>Third Levels
>...

Thanks in advance
Gaël Huyghe
Radoslav
Telerik team
 answered on 20 Jan 2010
5 answers
178 views
I have HierarchyLoadMode set to ServerBind. When there are many rows in the grid and a vertical scrollbar is shown to allow the user to scroll the rows, if the user expands a row that is near the buttom of the viewable area of the grid, the child grid will be created and expand but the user is required to scroll to see the child rows. Is there a way I can intercept the expand event on the client-side, access the row that was expanded and scroll it to the top of the viewable area? I have to set HierarchyLoadMode to ServerBind due to the large number of records that need to get displayed.
Princy
Top achievements
Rank 2
 answered on 20 Jan 2010
1 answer
96 views
I am using RadScheduler and my master page has a whole bunch of css files linked. It is messing the whole layout of radscheduler. If I put control on a new page that does not derive from main master page, it works fine.

Is there any propery in radscheduler to avoid that conflict? I know in RadEditor you can set CssFiles to an empty css file to fix that, but RadScheduler has no such property. Any ideas? Thanks.
Peter
Telerik team
 answered on 20 Jan 2010
1 answer
82 views
We swapped out Infragistic Spellcheck with RadSpell... however seems in IE6, it's very slow to load the pages.  The page holds about 7 or 8 of them.

Has anyone noticed RadSpell to make the pages load slower?  It's setup with default settings no properties are set.

<telerik:RadSpell ID="rsContractDescription" runat="server" ControlToCheck="txtContractDescription" ButtonType="ImageButton" /> 
                                                 
Rumen
Telerik team
 answered on 20 Jan 2010
1 answer
96 views
Hi--

I'm running VS2008 and I just updated to the latest telerik controls released yesterday.

Since then, in the Telerik menu of VS, the template options are not listed--i.e. for the login page.

The only option in the Telerik menu is "About".

The controls themselves, in the toolbox, work fine. I have tried reinstalling to now avail.

Any thoughts?

Thanks in advance.

Stephen

UPDATE:
I've uninstalled and reinstalled controls for ASP.NET to no avail.

I've then reinstalled VS2008, and tryied installing Silverlight controls and ASP.NET controls.

Now, VS shows the option of creating a Sliverlight project in the Telerik menu, but still not (as it used to) ASP project.

ty.
Andrey
Telerik team
 answered on 20 Jan 2010
5 answers
145 views
Hi,
 
   I had small issue with the radCombobox.
 1.  when the application is in runing state and the combobox is filled with some values and default text is writen as "Select".when I gone for a selection in the comboBox and seleted the 3rd value and I thought of clearing the value and I cleared the value.Now when the focus is out of the combo the previous selected value is storing in the combo as selected.here I need to show the empty value when the user clear the text.
2. I need to recude the dfault size of the height of combo to 10px.


Thanks,
Nagendra 
Kamen Bundev
Telerik team
 answered on 20 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?