Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
577 views
HI..
     
I am using radcombobox in my project, I want to know how do I get the Keypress event of the Radcombobox as I want, when user selects the value from radcombo and hits the Enter Key from keyboard then it should work as same as when user presses select button.
      Please reply as early as possible.
      Thank You.
Doncho
Telerik team
 answered on 10 Apr 2020
1 answer
1.2K+ views

Hi, I am using Telerik.Web.Spreadsheet to load an Excel sheet.  I would like to return the Excel sheet as a datatable, I cant see a property on how to do this.  Any ideas would be much appreciated.  Below is my code thus far:

        Dim ExcelPath As String = "C:\Test\Test.xlsx"
        Dim WorkBook As Telerik.Web.Spreadsheet.Workbook = Telerik.Web.Spreadsheet.Workbook.Load(ExcelPath)
        Dim ws As Telerik.Web.Spreadsheet.Worksheet = WorkBook.Sheets(0)

Many thanks in advance

 


Peter Milchev
Telerik team
 answered on 10 Apr 2020
1 answer
131 views

I have 4 Comboboxes on my pages, I want each of them to have same properties like

EnableAutomaticLoadOnDemand="true"

EnableVirtualScrolling="true"

Filter="Contains"

ItemsPerRequest="15"

MarkFirstMatch="True"

Skin="Default"

EnableLoadOnDemand="True"

ShowMoreResultsBox="True"

 

How can I achieve it without having to write same properties for each of them?

Doncho
Telerik team
 answered on 09 Apr 2020
2 answers
109 views

I have two formatting issues represented in attachements

1) Name of the uploaded file and 'remove' label do not align

2) If file name is too long it drops 'remove' label to the next line. My preference would be to limit displayed file name to particular length

 

Thank you

 

 

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 09 Apr 2020
1 answer
142 views

I have a permission system that I’m using for my RadFileExplorer and Hiding various menu items and buttons. The problem is the options appear to be loading in some cases after the RadFileExplorer’s ExplorerPopulated, ItemCommand, and Prerender.

I am doing something like the following to remove the item:

if (((RadFileExplorer)(sender)).GridContextMenu.Items.Any(d => d.Value == "Rename"))
       {
           ((RadFileExplorer)(sender)).GridContextMenu.Items.Remove(((RadFileExplorer)(sender)).GridContextMenu.Items.First(d => d.Value == "Rename"));
       }

Similar code is working for the File Grid, but I can’t seem to get server code to apply to the FileTree, can I attach this code to the prerender the FileTree? Or does this disappear? DO I have to do this on the client side?

I’ve tried attaching to the PreRender of the FileTree and the FileTree’s Context Menu’s prerender, But I’m guessing that stuff gets overridden.  At what point should I try to reattach these PreRender Overrides?

Or better yet is there an easier way of removing the FileTree’s Context menu’s specific items?

Vessy
Telerik team
 answered on 09 Apr 2020
2 answers
183 views

Hello,

 

I am using RadGrid for Bulk Update at Client Side.

I have a Dropdown in the Template column and inspite of me selecting an item by the time in click "Save changes" the value of that column is going as NULL in the Insert.

I have similar Template columns with RadDropdown and RadCombobox.... they all work fine. There is very minimal server side code to adjust the width of the columns.

In the attached file issue template column is "Specialcategory_FundingID"

 

Kindly post your suggestions.

 

 

 

 

Attila Antal
Telerik team
 answered on 09 Apr 2020
4 answers
275 views
Hi,

I have some problem to set the PageSize property from client side. The scenario is to set the PageSize dynamically calculated by window size, to handle different screen resolutions and window sizes. So no scrolling is needed.
Is there any solution?

Best regards,
Ralf
www.d-velop.de

Rumen
Telerik team
 answered on 09 Apr 2020
6 answers
876 views
Hi
I have RadGrid Control on the page which consist more then 100 pages.
I have to highlight current selected page so that business user can have track of current page .

Can you suggest for the same.


Thanks
Shrirang
Rumen
Telerik team
 answered on 09 Apr 2020
1 answer
401 views
Hello,

If you select an item in RadMultiSelect, all server events works (OnSelectionChanged, OnItemSelected). If you deselect the same item, the events are not triggered (OnSelectionChanged, OnItemDeselected).
Then If you select the item again, it is triggered again.
Same works with deselecting. If you start with deselecting the item, events are triggered, if you select it again, they are not.
My RadMultiSelect is bound to RadAjaxManagerProxy, the events are noticed, there is loading animation for a while, but triggers are not working.

You can replicate this bug on your demo here:
https://demos.telerik.com/aspnet-ajax/multiselect/serversideevents/defaultcs.aspx
Peter Milchev
Telerik team
 answered on 09 Apr 2020
4 answers
127 views
i have this issue  that i just got what is causing in and it is the rad window..and what is annoting is that it doesnt happen evey time ..i have a rad grid with 1 column as command column when clicked a radwindow will apear using this code
Dim window1 As New Telerik.Web.UI.RadWindow 
            window1.Modal = True 
            window1.Title = "Assign Team" 
            window1.VisibleTitlebar = True 
 
            window1.Width = 500 
            window1.Height = 500 
            window1.DestroyOnClose = True 
            window1.NavigateUrl = "~/assign_team_mod.aspx" 
            windowmanager.Windows.Add(window1) 
          
            window1.VisibleOnPageLoad = True 

when i just close the window i press edit or do anything in my page that causes a postback opperation i get the following error!!
sys.webforms.pagerequestmanagerservererrorexception: failed to load viewstate.  the control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. for example when adding the controls dynamically, the controls added during the post-back must match the type and position of the controls added during the initial reques 

i posted this problem in the grid forum but i just realised that the cause was closing the window so..any idea of what am i doing wrong?
Kris
Top achievements
Rank 2
 answered on 07 Apr 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?