Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
212 views
Hi all,

I want to set a column to ReadOnly=True at EditMode, but at InsertMode ReadOnly=False. Please advise how to do it.
I did as below but it didn't work. Please help.

Private Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand
If e.CommandName = RadGrid.EditCommandName Then
            Dim editItem As GridEditableItem = CType(RadGrid1.MasterTableView.GetItems(GridItemType.EditItem)(0), GridEditableItem)
            For Each column As GridColumn In RadGrid1.MasterTableView.Columns
                If column.UniqueName = "POL" Then
                    Dim txtbox As TextBox = CType(editItem (column.UniqueName).Controls(0), TextBox)
                    txtbox.ReadOnly = True
                End If
            Next
End If
End Sub

But I got error  "Index was outside the bounds of the array." at the below code ..
If e.CommandName = RadGrid.EditCommandName Then
            Dim editItem As GridEditableItem = CType(RadGrid1.MasterTableView.GetItems(GridItemType.EditItem)(0), GridEditableItem)

Many Thanks
umesh
Top achievements
Rank 1
 answered on 22 Apr 2015
5 answers
165 views
We’re evaluating using the Gantt component for a very large
project; we did not use it before, but extremely familiar with the other
components. It seems this one is missing a few things from the smart Tag, like
data source selection and maybe one day a designer for it. We are a little lost
inside of it and for some crazy reason could not get the examples to work in
VB. Would it be possible to help us with a very simple example that builds the
entire chart from code behind and uses Objects and not a direct connection to
db or a SQL dataset. If possible, please use a FOR loop to insert the Tasks and
relationships. Thank you for the help.

Sam
Top achievements
Rank 1
 answered on 22 Apr 2015
5 answers
769 views
Hi,

I'm trying to pre-check all checkboxes with a RadDropdownTree control after it has been bound to (as per the sample code here) but I am getting a 'RadDropDownTree.SelectedValue' cannot be assigned to -- it is read only' error.

I've had a look about online to check for a versioning issue but couldn't see anything - I'm currently using release 2013.1.403.35, is this the issue?

Thanks,
Allan
Stacy
Top achievements
Rank 1
 answered on 22 Apr 2015
2 answers
126 views
Hi,

We've discovered compatibility issues with the new version of AjaxToolKit (15.1)
And your Controls.

When putting some of the controls (i.e RadDatePicker) in a page that uses the
New AjaxToolKit, an error occurred (attached a screenshot).

Please note that this is the new version AjaxToolKit that uses the regular
ScriptManager from Microsoft (no longer ToolkitScriptManager) so all
the documenations you have on this are irrelevant for the new version.

Any suggestions ?

Promo
Genady Sergeev
Telerik team
 answered on 22 Apr 2015
3 answers
55 views

Hello,

 I have a radGrid wich has detailtables and gridTableView to show the information grouped. The problem is that i lost the item style of the detail tables when a expand one level (in columnCreated event is on i set the width properties of the columns) event. I use autogeneratedcolumn.

 Any idea?

 thanks!

 

 

Maria Ilieva
Telerik team
 answered on 22 Apr 2015
1 answer
154 views

Hi, all my RadWindows on my Web Project in Framework 2.0  are rendering incorrectly in Internet Explorer 11 runing in Visual Studio(localhost) or in Windows Server 2008 . The same app running in Firefox or Explorer 8,9, 10 or IE 11 with compatibility mode works perfect.

Any Idea or posible solution , I have already tried multiple solutions but neither work for me.

 

Thanks in Advance

 

Marin Bratanov
Telerik team
 answered on 22 Apr 2015
2 answers
66 views

When a user selects to paste from text from the editor toolbar then some of the area for pasting displays behind the toolbar. How do I make the toolbar stay behind that popup to paste text?

 

Lynne
Top achievements
Rank 1
 answered on 22 Apr 2015
7 answers
112 views

Hi,

I am trying various methods for adjusting the minor grid line step value and each one fails.  What is the current JS that I could use to change the minorgridline step value?

Sample code that I have been trying is shown below.

Regards

Jon

 

var kendoWidget = $find("<%=uxRadHtmlChart.ClientID%>").get_kendoWidget();
kendoWidget._plotArea.valueAxis.options.minorGridLines.step = 10;
kendoWidget._plotArea.valueAxis.options.minorUnit = 10;
kendoWidget.redraw();

Danail Vasilev
Telerik team
 answered on 22 Apr 2015
5 answers
92 views

Hello fellow dev-people,

I'm curious if anyone has seen/implemented a win/loss spark chart with Telerik for ASP.Net...

 

I've seen that its available for Silverlight, but can't seem to find it for ASP.Net. Thoughts?

 

 

Thanks!

Danail Vasilev
Telerik team
 answered on 22 Apr 2015
1 answer
42 views

hi,

i'm using code from documentation 

http://www.telerik.com/help/aspnet-ajax/htmlchart-important-changes-regarding-the-series-declaration.html

 

 Programmatic creation of the Area chart with the SeriesItems collection.

and i have error wich it's apear in pic  

plz help

Danail Vasilev
Telerik team
 answered on 22 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?