Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
215 views
Hello,
             I am having issues with Telerik ComboBox and TabSrip controls in STAGE environment. It shows 'Telerik' is undefined error message in IE. I am using verion 2009.3.1314.20. However, the ditto copy of code is working on other environments e.g., my local machine, development server, my colleauge's machine! Please send me a resolution at the earliest since we are planning to move PRODUCTION environment next week after fixing UAT issues. I have attached the screen shots herewith.

Thanks,
Raja
Kalina
Telerik team
 answered on 31 Jan 2011
3 answers
127 views
Hi all,

I am attempting to have a fully-functioning copy of the Sales Dashboard demo on my computer.

I downloaded the source code. Converted it to Visual Studio 2010.
I had a lot of DLL reference errors. I resolved them all by updating the references to the files located in the ReferencesTRIAL folder.
I had an error with automatic creation of the DB because I was not using SQLExpress. I manually created the DB and it seems to be working fine.

In ISS the SalesDashboard seems to not have been created/configured at all. If I go into my SalesDashboard solution and go to:

Telerik.SalesDashboard.Statistics/Service References/SalesDashboardService -> Right Click -> Update Service Reference I am given the following error: 

"There was an error downloading 'http://localhost/SalesDashboard/SalesDashboardService.svc'. The request failed with HTTP status 404: Not Found. Metadata contains a reference that cannot be resolved: 'http://localhost/SalesDashboard/SalesDashboardService.svc'. The server committed a protocol violation. Section=ResponsesStatusLine"

I feel like this is a relatively simple error. I just need some steps to follow on how to set this up. The SalesDashboard webpage loads properly excluding the fact that the statistics for the SalesDashboard do not load.

Regards,

Sean Anderson
Iana Tsolova
Telerik team
 answered on 31 Jan 2011
1 answer
149 views
In this demo I edited an occurrence of a recurring event. The event is to run from 1100-1200 the 2nd day of every month. I opted to create an exception and set the event to run from 1200-1300. Then I clicked the recurrence checkbox and clicked save.

As you might expect from the date of the initial exception forward I have 2 copies of the envent. One running 1100-1200 and the other from 1200-1300.

I seems to me that we don't really want recurrences set up as exceptions to existing recurrence events. I've (obviously) not been able to examine what has been written to the recurrence rule of the master event, but I'll bet it doesn't match the events that my actions caused to be created.

Is this a bug?

Do I win a prize? :-)

In the short term, why might be the best way, when adding/editing a recurrence exception, to hide the recurrence checkbox?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 31 Jan 2011
3 answers
140 views
Hello,
i'm using with RadGrid for edit by EditMode="InPlace".
i have a GridDropDownColumn and the source of the combo is:
class MyData{int Id, string Description1, string Description2}
i want that every item in the combo will display Description1 + " " + Description2
i have tried to use with the  ListTextFormatString but i dont know how set to ListTextField two columns.
is it possible? or any solution?
thnaks.
Iana Tsolova
Telerik team
 answered on 31 Jan 2011
3 answers
439 views
By default, ASP.Net form submission will not pass back disabled field during postback.  To get around this, we can set the form property "submitdisabledcontrols" to true and it will pass back the value of a disabled field.  However I am having a problem with an Ajax postback as it does not contain the updated value of a disable field.

For example, I have a disabled checkbox when the form load.  Through javascript, I enable the checkbox.  Then I fire an event that makes an Ajax call to lookup a value.  The Ajax call does a server side postback but the state of the checkbox is disabled.

Please help.  Thanks.
Iana Tsolova
Telerik team
 answered on 31 Jan 2011
3 answers
116 views
Hi
i am using context menu in my radtreeview.i can able to get the menu items text in client side. but i want to get the sub menu items text. 
how can i get the sub context menu items text in client side.

regards,
geetha.
Veronica
Telerik team
 answered on 31 Jan 2011
2 answers
93 views
Hello,

I've got a grid with a custom EditForm in place for inserting records (update and delete are not allowed).  Rather than requiring the user to press the Add New Row button, I'd prefer to just have the edit form displaying by default when the screen loads.  They should be able to type in the form, commit it, and it will refresh itself with the new data and once again show another new item form.

I assumed there would be a C# command that I could call in Page_Load that would show this form but I was not able to find it.  I would highly prefer to do this in C# rather than calling the client-side API with Javascript.

I did begin to create a separate form outside of the grid, but because of my layout it really makes more sense for the insert form to be inside the grid control itself.

Thanks in advance to anyone who can tell me how to do this!

Chris
Chris McGrath
Top achievements
Rank 1
 answered on 31 Jan 2011
1 answer
90 views
I am trying to look for an example in VB on how to create a Self-referencing hierarchy grid dynamicaly.  I have created one where i declare all the columns and parameters.  However I want to create it entirly dynamicaly.  I am already creating a standard grid in this manner, however I wish to add this option into the user control created.

I included some code, however would like to see an example if possible. 
' the nestedDatasource is a dataset with a relation added  
 
 
  If NestedTable Then
            RadGrid1.EnableLinqExpressions = False
            RadGrid1.ClientSettings.AllowExpandCollapse = True
            RadGrid1.MasterTableView.HierarchyDefaultExpanded = False
            RadGrid1.MasterTableView.HierarchyLoadMode = GridChildLoadMode.ServerBind
            RadGrid1.MasterTableView.SelfHierarchySettings.KeyName = NestedTableKey
            RadGrid1.MasterTableView.SelfHierarchySettings.ParentKeyName = NestedTableParentKey
            ' RadGrid1.MasterTableView.SelfHierarchySettings.MaximumDepth = 0
 
            Dim expandCollapseColumn As New GridExpandColumn
            expandCollapseColumn.HeaderStyle.Width = 20
            RadGrid1.MasterTableView.Columns.Add(expandCollapseColumn)
 
 
            RadGrid1.MasterTableView.ShowHeader = False
            RadGrid1.MasterTableView.HierarchyDefaultExpanded = False
 
 
            Datasource = NestedDatasource.Tables(0)
        End If
 
....
 
'create the columns dynamicaly from the dataset
                            boundColumn = New GridBoundColumn
                            RadGrid1.MasterTableView.Columns.Add(boundColumn)
                            boundColumn.DataField = column.ColumnName
                            boundColumn.HeaderText = column.ColumnName.Replace("_", " ").ToLower()
                        If colDataType = "int32" Then
                            boundColumn.DataFormatString = "<nobr>{0:N0}</nobr>"
                            boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center
                        .....
.....
 
 
 
    Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource
 
        If NestedTable Then
            RadGrid1.MasterTableView.VirtualItemCount = NestedDatasource.Tables(0).Rows.Count()
            RadGrid1.DataSource = NestedDatasource
            RadGrid1.Visible = True
        Else
            If Not Datasource Is Nothing Then
                RadGrid1.MasterTableView.VirtualItemCount = Datasource.Rows.Count()
                RadGrid1.DataSource = Datasource
                RadGrid1.Visible = True
            Else
                RadGrid1.Visible = False
                Exit Sub
            End If
        End If
    End Sub
Just a snippet, the issue I have with this is that when I click on the arrow, nothing expands.  Not sure where I am going wrong here.  Like I said I can get it working when not creating it dynamicaly.  Also like to add, I am plugging this into a usercontrol that already creates a normal grid dynamicaly. 

Just wondering If I need to do something extra?
Daniel
Telerik team
 answered on 31 Jan 2011
3 answers
275 views
Hi,

            Am using RadGrid in my page,having skin for that grid.Skin having client events like RowSelecting,deselcting,RowSelected and Deselected events. Now i want ask the user a java script confirm when ever a user Un check the check box,So i overrided that RowDeselecting event alone in my page.

But the issue is 

    1) whenever i click on that row it is deselecting the records even am preventing RowClick event,i declared RowClick event in skin.
    2) After deselecting the row ,again when i select the row now also it firing RowDeselcting Event.

This issue arises only after overriding the RowDeselecting event.

Please help me to fix this or Suggest me some other solution.

Thanks and regards,
John
Iana Tsolova
Telerik team
 answered on 31 Jan 2011
2 answers
237 views
Exist a Callback to OnAjaxRequest ?

I'm using the ClientEvents-OnResponseEnd="responseEnd".

function

 

 

responseEnd(sender, eventArgs) {
    alert(
'Response complete');
}

This execute when the request END, that's OK, But how i get the return if i want to return some STRING ?

 

Maria Ilieva
Telerik team
 answered on 31 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?