Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
133 views
I have a RadGrid with grouping turned on.  I have a templated column with a textbox for entering the order number (position) for reordering and a hidden linkbutton.  I have tied the onkeydown() to click() the hidden linkbutton when the keyCode is 13.  This works fine BUT the group that I am in collapses.  Is there any way to override or bypass the group expand/collapse on pressing enter?

<tlrk:GridTemplateColumn HeaderText="Order" UniqueName="Rank">
    <ItemTemplate>
        <asp:TextBox ID="txtRank" runat="server" Enabled="true" onkeydown="if (event.keyCode==13) $get(this.id.replace('txtRank','') + 'lnkSubmitRank').click();" Text="" Visible="true" Width="20px" />
        <asp:LinkButton ID="lnkSubmitRank" runat="server" style="display:none" OnClientClick="alert('Move To: ' + $get(this.id.replace('lnkSubmitRank','') + 'txtRank').value); event.cancelBubble=true;" />
    </ItemTemplate>
</tlrk:GridTemplateColumn>

 

 

NOTE:

ClientSettings-ClientEvents-OnGroupCollapsed

 

 

does not fire.

Thanks in advance,
Doug

 

Doug
Top achievements
Rank 1
 answered on 08 Apr 2009
2 answers
82 views
Hi how can i make square corners for combo box for the default skin?
If can not be done via CSS please send me new PSD for Q1 09 because I look there the earlier version is not the same file.
Thanks,
Ifdev02
Top achievements
Rank 1
 answered on 08 Apr 2009
1 answer
93 views
Does anyone have any guidance for sharing skins across multiple projects/applications without having multiple copies under each?  We have achieved this with RadSpell with the DictionaryPath property, but cannot find the way for skins.
Dimo
Telerik team
 answered on 08 Apr 2009
4 answers
76 views
I'm creating a custom skin for the menu component.  I think I've got everything looking the way I want except for this one issue.

The menu has some top level items that are links and some top level items that are groups that expand the submenu.

The items that are links in the top level need to be white in color.  The items that are in sub menus need to be black in color (both the sub group headers and sub menu links).

I can get all links to be white or black but can't figure out how to get the top level items white and sub menu items black.

Thanks for any help.

Kevin
Kevin Warnke
Top achievements
Rank 1
 answered on 08 Apr 2009
2 answers
256 views

Hello,

 

I am wondering if it is possible to call an existing RAD Controls JavaScript function that disables the screen. Similar to the modal affect in RAD windows but without creating a window.

 

The reason I want to do this, is because our web application creates errors if a user clicks multiple buttons while a post back is occurring. I was hoping to disable the screen using the OnSubmit JavaScript event and then re-enable using the OnLoad JavaScript event.

 

Please let me know if it is possible.

 

Regards,

Bernie

Fiko
Telerik team
 answered on 08 Apr 2009
4 answers
244 views
Hi,

I'm probably stepping into a minefield here after reading about the recent skin change but is there anyway to simply set the skin up at a page load?    I'm about to switch from DevExpress and am doing eval coding at the moment. 

With DevExpress I was using Me.Theme = "Aqua"  in the page load event of every web page - nice and simple

I am assuming to carry on that approach I'll need to add all of the controls to a .skin file for each theme (as below)
<telerik:RadSlider runat="server" Skin="Hay" />

This came from this page here - http://www.telerik.com/help/aspnet-ajax/themeshowto.html

If I am right, are there any official Telerik theme skin files? 

By the way I need to be able to change skins on a user by user basis or would just set the skin in the web.config,

Thanks in advance for any help,

Jon
Jon
Top achievements
Rank 1
 answered on 08 Apr 2009
1 answer
176 views
Hello,

we are running a bigger ASP.NET application productively using the telerik Radcontrol with AJAX.

Since the begining we found that we have problems with the memory usage.
Now after investigating that problem in details, we saw that each page load take several MB of memory and are never freed.
And that this is also caused, because the RadControl do not free all objects proberly.

Because we have to put more users on the system where urgent, but are limited by these serious memory leaks, we urgently need some help here!

What needs to be done to clean the memory proberly of all RadControls used on a page?!

Please help!

Best regards
German developer
Ivo
Telerik team
 answered on 08 Apr 2009
3 answers
137 views
Hi

I have a rad editor on the page.

I switch to 'full screen mode', and then I paste a large word document into the editor and all is OK - except that I have no way of getting to the top of the page (where the toolbar is) as there is no scroll bar (IE7)

Any ideas ?

Dean
Rumen
Telerik team
 answered on 08 Apr 2009
1 answer
114 views
I use TabStrip, In the first Tab should be automaticly load a usercontrol when the page is loadeed, but the Event OnPageViewCreated doesn't fire.

                    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated">  
                        <telerik:RadPageView ID="RadPageView1" runat="server" /> 
                        <telerik:RadPageView ID="RadPageView2" runat="server" /> 
                        <telerik:RadPageView ID="RadPageView3" runat="server" /> 
                        <telerik:RadPageView ID="RadPageView4" runat="server" /> 
                    </telerik:RadMultiPage> 

The code behind is:

    Public Sub RadMultiPage1_PageViewCreated(ByVal sender As ObjectByVal e As Telerik.Web.UI.RadMultiPageEventArgs)  
        Dim userControlName As String = "import.ascx" 
        Dim userControl As Control = Page.LoadControl(userControlName)  
        userControl.ID = e.PageView.ID + "_userControl" 
        e.PageView.Controls.Add(userControl)  
    End Sub 

Thanks

Christian
Paul
Telerik team
 answered on 08 Apr 2009
2 answers
160 views
Hi,

I would like to use the RadFileExplorer, but some features are missing (if I don't mistake), such:
  • Get the toolbar above the files list only and not above the whole webControl,
  • Enable only some specific commands thru the toolbar (New folder, Rename [file or folder], Download [one file or multiple files and directories thru an ZIP file], Delete [file(s) and/or folder(s)], Upload files thru a java applet that is opened in a RadWindow),
  • Enable the drag and drop feature from the Files list to the TreeView, (but also thru a FileBrowserContentProvider because our file repository is virtual).
Because of this, I choose to create my own FileExplorer thanks to other Telerik components. But I encountered some problems in the page layout when I put a RadGrid inside a RadSplitter (thru a RadPane of course). Some scroll bars appears in the DIV#RAD_SPLITTER_PANE_CONTENT_RadPaneX tag of the final HTML document (Either with Internet Explorer 7 or with FireFox 3, and my project must work in these environments [and also under IE6)]. I don't understand why an overflow is generated. How can I send you my web page to show you my problem?

Another question. Because of our specific web servers architecture, I would be preferable to access to all ressources thru real files. If I disable embedded scripts, some are still added: the ones of Microsoft I suppose. Do you know how to really dissable all embedded scripts?

<telerik:RadSplitter id="RadSplitter1" __designer:wfdid="w1" Width="1000px" Runat="server" Height="500px" LiveResize="True" SplitBarsSize EnableEmbeddedScripts="True">
  <telerik:RadPane id="RadPane2" __designer:wfdid="w45" Width="203px" Runat="server" MinWidth="150" EnableEmbeddedScripts="True">
    <telerik:RadTreeView id="RadTreeView1" __designer:wfdid="w46" Runat="server" OnClientNodeClicked="onNoeudArboClicked" Skin="Outlook">
      <Nodes>
        <telerik:RadTreeNode runat="server" Text="Root 1" Value="0" ImageUrl="~/img/telerik/root1.gif" Expanded="True" Checkable="False" Selected="True" AllowDrag="False" AllowDrop="False" AllowEdit="False">
          <Nodes>
            <telerik:RadTreeNode runat="server" Text="Folder 1" Value="1" ImageUrl="~/img/telerik/folder.gif" ExpandedImageUrl="~/img/telerik/FolderOpen.gif" SelectedImageUrl="~/img/telerik/FolderOpen.gif" Checkable="False" AllowDrag="False" AllowDrop="False" AllowEdit="False">
            </telerik:RadTreeNode>
            <telerik:RadTreeNode runat="server" Text="Folder 2" Value="2" ImageUrl="~/img/telerik/folder.gif" ExpandedImageUrl="~/img/telerik/FolderOpen.gif" Checkable="False" AllowDrag="False" AllowDrop="False" AllowEdit="False">
            </telerik:RadTreeNode>
            <telerik:RadTreeNode runat="server" Text="Folder 3" Value="3" ImageUrl="~/img/telerik/folder.gif" ExpandedImageUrl="~/img/telerik/FolderOpen.gif" Checkable="False" AllowDrag="False" AllowDrop="False" AllowEdit="False">
            </telerik:RadTreeNode>
          </Nodes>
        </telerik:RadTreeNode>
        <telerik:RadTreeNode runat="server" Text="Root 2" Value="-1" ImageUrl="~/img/telerik/root2.gif" Checkable="False" AllowDrag="False" AllowDrop="False" AllowEdit="False">
        </telerik:RadTreeNode>
      </Nodes>
    </telerik:RadTreeView>
  </telerik:RadPane>
  <telerik:RadSplitBar id="RadSplitBar1" __designer:wfdid="w47" Runat="server" CollapseMode="Both" EnableEmbeddedScripts="True">
  </telerik:RadSplitBar>
    <telerik:RadPane id="RadPane4" __designer:wfdid="w48" Width Runat="server" EnableEmbeddedScripts="True">
      <telerik:RadGrid id="RadGrid1" runat="server" __designer:wfdid="w49" Width="100%" Height="100%" Skin="Vista" ShowStatusBar="True" AllowMultiRowSelection="True" ShowGroupPanel="False" AllowSorting="True" GridLines="None" OnNeedDataSource="RadGrid1_NeedDataSource">
    
      <MasterTableView CommandItemDisplay="Top" CellSpacing="-1">
        <CommandItemTemplate>
          <telerik:RadToolBar id="RadToolBar12" __designer:wfdid="w38" Runat="server" Skin="Vista" AppendDataBoundItems="True" EnableEmbeddedScripts="True">
            <Items>
              <telerik:RadToolBarButton runat="server" CheckedImageUrl="~/img/telerik/NewFolderH.gif" Text="New Folder" ImageUrl="~/img/telerik/NewFolder.gif" HoveredImageUrl="~/img/telerik/NewFolderH.gif" ClickedImageUrl="~/img/telerik/NewFolderH.gif" DisabledImageUrl="~/img/telerik/NewFolder.gif" FocusedImageUrl="~/img/telerik/NewFolderH.gif"></telerik:RadToolBarButton>
              <telerik:RadToolBarButton runat="server" CheckedImageUrl="~/img/telerik/RenameH.gif" Text="Rename" ImageUrl="~/img/telerik/Rename.gif" HoveredImageUrl="~/img/telerik/RenameH.gif" ClickedImageUrl="~/img/telerik/RenameH.gif" DisabledImageUrl="~/img/telerik/RenameX.gif" FocusedImageUrl="~/img/telerik/RenameH.gif" Enabled="False"></telerik:RadToolBarButton>
              <telerik:RadToolBarButton runat="server" CheckedImageUrl="~/img/telerik/DeleteH.gif" Text="Delete" ImageUrl="~/img/telerik/Delete.gif" HoveredImageUrl="~/img/telerik/DeleteH.gif" ClickedImageUrl="~/img/telerik/DeleteH.gif" DisabledImageUrl="~/img/telerik/DeleteX.gif" FocusedImageUrl="~/img/telerik/DeleteH.gif"></telerik:RadToolBarButton>
              <telerik:RadToolBarButton runat="server" CheckedImageUrl="~/img/telerik/DownloadH.gif" Text="Download" ImageUrl="~/img/telerik/Download.gif" HoveredImageUrl="~/img/telerik/DownloadH.gif" ClickedImageUrl="~/img/telerik/DownloadH.gif" DisabledImageUrl="~/img/telerik/DownloadX.gif" FocusedImageUrl="~/img/telerik/DownloadH.gif"></telerik:RadToolBarButton>
              <telerik:RadToolBarButton runat="server" CheckedImageUrl="~/img/telerik/UploadH.gif" Text="Upload" ImageUrl="~/img/telerik/Upload.gif" HoveredImageUrl="~/img/telerik/UploadH.gif" ClickedImageUrl="~/img/telerik/UploadH.gif" DisabledImageUrl="~/img/telerik/Upload.gif" FocusedImageUrl="~/img/telerik/UploadH.gif"></telerik:RadToolBarButton>
           </Items>
         </telerik:RadToolBar>
        </CommandItemTemplate>
      </MasterTableView>

      <ClientSettings>
        <Selecting AllowRowSelect="True"></Selecting>
        <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
      </ClientSettings>
    
    </telerik:RadGrid>
  </telerik:RadPane>
</telerik:RadSplitter>

Philippe
Top achievements
Rank 1
 answered on 08 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?