Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
61 views

Hi,

I want to keep Tasks reordering (up/down), which is a great feature. But I don't want tasks to be added as a child tasks during this order.

Is it possible to keep the task reorder, but to disable "Drop over certain task and make it a child task." ?

 

Emo
Top achievements
Rank 1
 asked on 15 Mar 2017
6 answers
889 views
I have about 30 items i need to list on a customer page in a radlistbox

Each Customer can have multiple countries selected (CHECKBOX)

but insted of displaying it like:

United States
Canada
Mexico
Brazil
Chile
Belize
Panama
Cuba
France
Germany
England
Holland
Switzerland
Sweden
Finland

I would like to display it like  this (even 4 or more columns) with checbox beside each item:
United States            Canada             Mexico
Brazil                         Chile                 Belize
Panama                    Cuba                 France
Germany                   England            Holland
Switzerland                Sweden             Finland


Can this be done?
ELNG
Top achievements
Rank 1
 answered on 15 Mar 2017
15 answers
1.4K+ views
Hi,

I need to allign My listbox items in Horizontal ditection inside listbox. how to do it

Thsnk,
Jeevitha
ELNG
Top achievements
Rank 1
 answered on 15 Mar 2017
1 answer
91 views
Hello.  Here is our issue. When we populate a grid with a dataset we want to set the grid row as modified if the value in the cell is not 0.00000.  So when the grid loads on the page the little red arrow will already be in the top left corner of the cell even though the user has not done anything to the cell.  Then when they click Save we can handle those values and save them like we want.  We have tried several things based on some other threads but nothing has worked yet or may not have actually applied to what we are trying to do with UI for ASP.NET AJAX.  I assume this will need to be done with Javascript and we need to set the cell as dirty/modified in some fashion.  Assistance will be appreciated.  Thanks.
Lee
Top achievements
Rank 1
 answered on 15 Mar 2017
15 answers
3.1K+ views
Hi,

Can someone please help with a code snippet where i can add new records from within RadCombobox?

I have a radcombobox through which i fill it with list of Countries.

I want to be able to add more countries within the combobox.
When i dropdown the country list and a particular country is not there, i want to be able to add it from the RadCombobox WITHOUT navigating to another page.

thanks.
Neepa
Top achievements
Rank 1
 answered on 15 Mar 2017
1 answer
159 views

We are using the RadScheduler to view and manipulate the doctors appointment list.
In day view we want to show the patient name and also som detailed information - neatly organised as in multiple columns.

We have tried using formating options for the Appointment.Description like "{0}\t{1}\t" and "{0,30} {1,10}" which doesn't seem to help.

Our goal is to see appointment organised like this:

09:20    JACK NICHOLSON      22.04.1937            GPO       YYN
09:40     LINDA BLAIR               22.01.1959            KL           YN

What we get is this:

09:20 JACK NICHOLSON 22.04.1937 GPO YYN
09:40 LINDA BLAIR 22.01.1959 KL YN

Is there a way to make the string formatting work as expected (simplest) or to add string objects with predefined width to the appointments (more complex).

Best regards,
Gunnar

Peter Milchev
Telerik team
 answered on 15 Mar 2017
1 answer
322 views

Hello,

 

I am wondering how to use a RadListBox control with the Filter Template in a RadGrid? I looked at the demos for filtering but did not see any for how to handle the multiple selections of a RadListBox control. Would anyone be able to point me in the right direction as far as documentation?

 

Thanks!

Rumen
Telerik team
 answered on 15 Mar 2017
5 answers
361 views

Hello,

 

I have a RadGrid that is using the Header Context filtering and I am trying to bind the list boxes, but I received this kind of error:

 

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compilation Error Message: BC30456: 'radGrid1_FilterCheckListItemsRequested" is not a member of 'ASP.cad_cadlog_aspx'.

 

I'm following everything that the Telerik demo for Excel-filtering says to include, but I receive the above error regardless. I've copy/pasted what the event name is and everything. Still no luck. Here is my RadGrid code:

<Telerik:RadGrid ID="radGrid1" runat="server" ShowFooter="true" Width="100%" Height="650px" Visible="true" DataSourceID="dsCADLog" AllowFilteringByColumn="true" FilterType="HeaderContext" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true" OnFilterCheckListItemsRequested="radGrid1_FilterCheckListItemsRequested">
Marin Bratanov
Telerik team
 answered on 15 Mar 2017
3 answers
498 views

I have manually created RadGrids based on data.  The grids create just fine but I don't know how to add the sorting and pagination to a DYNAMICALLY created RadGrid.  

Here is my RadGrid creation code:

Private Function CreateGrid(ByVal strLine As String) As RadGrid         

        Dim rg As New RadGrid         

      rg.ID = strLine         rg.Width = Unit.Percentage(280)         rg.PageSize = 40         rg.AllowPaging = True         rg.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric         rg.PagerStyle.AlwaysVisible = True         rg.MasterTableView.PagerStyle.AlwaysVisible = True         rg.AutoGenerateColumns = False         rg.ExportSettings.FileName = strLine         Dim boundColumn As GridBoundColumn         boundColumn = New GridBoundColumn         rg.MasterTableView.Columns.Add(boundColumn)         boundColumn.DataField = "Process"         boundColumn.HeaderText = "Process"         boundColumn.UniqueName = "Process"         boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn = New GridBoundColumn         rg.MasterTableView.Columns.Add(boundColumn)         boundColumn.DataField = "Product"         boundColumn.HeaderText = "Product"         boundColumn.UniqueName = "Product"         boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn = New GridBoundColumn         rg.MasterTableView.Columns.Add(boundColumn)         boundColumn.DataField = "Tested"         boundColumn.HeaderText = "Tested"         boundColumn.UniqueName = "Tested"         boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right         boundColumn = New GridBoundColumn         rg.MasterTableView.Columns.Add(boundColumn)         boundColumn.DataField = "Passed"         boundColumn.HeaderText = "Passed"         boundColumn.UniqueName = "Passed"         boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right         boundColumn = New GridBoundColumn         rg.MasterTableView.Columns.Add(boundColumn)         boundColumn.DataField = "Failed"         boundColumn.HeaderText = "Failed"         boundColumn.UniqueName = "Failed"         boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right         boundColumn = New GridBoundColumn         rg.MasterTableView.Columns.Add(boundColumn)         boundColumn.DataField = "Yield"         boundColumn.HeaderText = "Yield"         boundColumn.UniqueName = "Yield"         boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right         boundColumn = New GridBoundColumn         rg.MasterTableView.Columns.Add(boundColumn)         boundColumn.DataField = "Top5"         boundColumn.HeaderText = "Top 5 Rejects"         boundColumn.UniqueName = "Top5"         boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Left         boundColumn = New GridBoundColumn         rg.MasterTableView.Columns.Add(boundColumn)         boundColumn.DataField = "TrueFailure"         boundColumn.HeaderText = "True Failure?"         boundColumn.UniqueName = "TrueFailure"         boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center         boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center         Return rg     

End Function

The way I have done it on a project that was NOT dynamically created:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load         

    If Not Page.IsPostBack Then             

        Session("Report") = CreateTable()             

    End If     

End Sub

 

Protected Sub rdgAgeReport_PageIndexChanged(sender As Object, e As Telerik.Web.UI.GridPageChangedEventArgs) Handles rdgAgeReport.PageIndexChanged         

    rdgAgeReport.DataSource = CType(Session("Report"), DataTable)        

    rdgAgeReport.DataBind()     

End Sub Protected Sub rdgAgeReport_PageSizeChanged(sender As Object, e As Telerik.Web.UI.GridPageSizeChangedEventArgs) Handles rdgAgeReport.PageSizeChanged         

    rdgAgeReport.DataSource = CType(Session("Report"), DataTable)         

    rdgAgeReport.DataBind()     

End Sub

 

Marin Bratanov
Telerik team
 answered on 15 Mar 2017
1 answer
77 views

I've had Load on Demand working with the RadComboBox for a long time with a TelerikController Web API resource. While building-out more of our API I recently made all JSON responses camel case like so:

Dim settings As JsonSerializerSettings = GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings
settings.Formatting = Formatting.Indented
settings.ContractResolver = New CamelCasePropertyNamesContractResolver()

 

The camel casing breaks RadComboBox though. Items returned from the web service will not be displayed in the dropdown. Is there any property that can be set to change this behavior or do we have to give up camel casing? I don't want to manually handle the response event and parse the JSON.

Thank you

terrysmith
Top achievements
Rank 1
 answered on 14 Mar 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?