Telerik.Web.UI: 2017.3.913.45
I am using RadTextBox and trying to load the content of the XML file using c# code. This works fine without any issues and loads the XML content. After loading it, the partial just work and it fails. It post at all. I was able to repro this issue and it's very simple to do that. Is this a known issue? Any fix?
Hello,
I'm using the Load On Demand Scenario & I'm attempting to force all child nodes to collapse when its parent has collapsed. Here is the code that I have so far. Any help on this would be greatly appreciated.
Private Sub iTeam_DynamicOrgChart_Load(sender As Object, e As EventArgs) Handles Me.Load Dim oConn As New System.Data.SqlClient.SqlConnection(ConfigurationManager.ConnectionStrings("Connection").ConnectionString) Dim oCmd As New SqlCommand Dim oData As SqlDataReader Dim oAdapter As New SqlDataAdapter(oCmd) Dim oDataSet As New DataSet Try oConn.Open() 'get employee hierarchy With oCmd .Parameters.Clear() .Connection = oConn .CommandType = Data.CommandType.StoredProcedure .CommandText = "EmployeeHierachySP" .Parameters.AddWithValue("@NameOnly", NameOnly.Checked) End With oAdapter.Fill(oDataSet) With OrgChart .DisableDefaultImage = True .LoadOnDemand = OrgChartLoadOnDemand.Nodes .EnableDrillDown = True .PersistExpandCollapseState = True .DataTextField = "UserName" .DataFieldID = "UserID" .DataFieldParentID = "ManagerUserID" .DataCollapsedField = "Collapsed" .DataSource = oDataSet '.GroupColumnCount = 4 '.GroupEnabledBinding.GroupItemBindingSettings.DataTextField = "UserName" '.GroupEnabledBinding.GroupItemBindingSettings.DataFieldID = "UserID" '.GroupEnabledBinding.GroupItemBindingSettings.DataFieldNodeID = "ManagerUserID" '.GroupEnabledBinding.GroupItemBindingSettings.DataSource = oDataSet '.GroupEnabledBinding.NodeBindingSettings.DataFieldID = "UserID" '.GroupEnabledBinding.NodeBindingSettings.DataFieldParentID = "ManagerUserID" '.GroupEnabledBinding.NodeBindingSettings.DataSource = oDataSet .DataBind() End With Catch ex As Exception Response.Write(ex.ToString) Finally oConn.Dispose() oConn = Nothing oCmd = Nothing oData = Nothing oDataSet.Dispose() oDataSet = Nothing oAdapter.Dispose() oAdapter = Nothing End Try End Sub Protected Sub OrgChart_NodeDataBound(sender As Object, e As Telerik.Web.UI.OrgChartNodeDataBoundEventArguments) Handles OrgChart.NodeDataBound ''e.Node.CssClass = "SmallNode" 'If e.Node.Level = 1 Then ' e.Node.Collapsed = True 'ElseIf e.Node.Level > 1 Then ' 'e.Node.Collapsed = False 'End If e.Node.CssClass = "Level" & e.Node.Level For Each oGroupItem As OrgChartGroupItem In e.Node.GroupItems If NameOnly.Checked Then oGroupItem.CssClass = "SmallNodeNameOnly" Else oGroupItem.CssClass = "SmallNode" End If Next End Sub Private Sub OrgChart_NodeExpandCollapse(sender As Object, e As OrgChartNodeExpandCollapseEventArguments) Handles OrgChart.NodeExpandCollapse Try If e.State = OrgChartNodeExpandCollapseState.NodeCollapsed Then For Each employee As OrgChartNode In e.SourceNode.Nodes employee.Collapsed = True Next End If Catch ex As Exception End Try End SubHi, we're trying to use the ASP.NET AJAX controls in our SharePoint pages as visual web parts. We've only used the RadGrid, RadComboBox & RadAjaxManager and they seem to work for the most part. We're trying to incorporate the RadScriptManager as well. We can't add it inside the web part as SharePoint throws the error "Only one instance of a ScriptManager can be added to the page". Which makes sense as the MasterPage (seattle.master) uses a ScriptManager. So, we've tried removing the ScriptManager and replace it with RadScriptManager like:
<!--SPM:<asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true"/>-->to
<!--SPM:<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true"/>-->
The <!--SPM:--> tag is used in the seattle.html because MS don't recommend you edit the seattle.master file directly in SharePoint 2013. But it throws the same error "Only one instance of a ScriptManager can be added to the page" in the ULS logs. It's like SharePoint is ignoring the RadScriptManager control.
Any thoughts?
We're using version 2018.1.117.40 of the ASP.NET AJAX controls and SharePoint 2013 (15.0.4569.1000) with the latest patches as at 2018/02/16.

Hi
Is there a way to check (boolean) if the file is pass / fail clientside validation in OnClientFileSelected?
I want to create a form which the submit button is disabled if RadAsyncUpload has files that failed at client side validation. Then enable submit button when there's no fail validation in the list (OnClientFileUploadRemoved event).
I know failed file won't appear in UploadedFiles but still, I need that validation check which boolean.
Any idea?
thanks
<telerik:GridBoundColumn HeaderText="Message Date" DataField="messageDate" UniqueName="messageDate" SortExpression="messageDate" ShowSortIcon="false" DataFormatString="{0:MM/dd/yyyy hh:mm:ss tt}" DataType="System.DateTime" ></telerik:GridBoundColumn>
Hi all,
i want to have a repeated table with forms. One guy sayd, that i should use grid for this. So i want to create something like:
<grid ID="Grid1" runat="server" DataSourceID=???>
<MasterTableView DataKeyNames="fldId" DataSourceID=??? AutoGenerateColumns="False">
<form runat="server" ID=??? DataSourceID=??? DataKeyNames="fldId">
</form>
</MasterTableView >
</grid>
The form is created with fields from DB based on the fldId and i want to have repeated forms with all fldId's. I hope your can understand my idea.
Thank you in advance!
Hi,
is it possible to diable the automatic calculation of a summary task. My goal is it to have a specifiv start and end for the summary task not depending on the start and end of the child-tasks.
best regards
Thorsten
RadGrid grSampleWorkSheet = new RadGrid(); grSampleWorkSheet.ID = WSheet.Name + "-" + m_LoopCount.ToString(); //grSampleWorkSheet.Columns.Remove(0);// = false; grSampleWorkSheet.ShowGroupPanel = Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["ShowGroupPanel"]); grSampleWorkSheet.AllowPaging = Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["AllowPaging"]); grSampleWorkSheet.ShowFooter = Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["ShowFooter"]); grSampleWorkSheet.ShowStatusBar = Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["ShowStatusBar"]); grSampleWorkSheet.Skin = Convert.ToString(System.Configuration.ConfigurationManager.AppSettings["TelerikSkin"]); grSampleWorkSheet.MasterTableView.PagerStyle.Mode = GridPagerMode.NumericPages; WorkSheetID = WSheet.ID; strWorkSheetID = objWorkSheet[0].Name; //if (ddlWorkSheets.SelectedValue == strWorkSheetID) //{ dtworksheet = GenerateNormalizedRateSheet.GenerateDomesticSampleData(objRateSheet, WorkSheetID, out ErrorCode); if (string.IsNullOrEmpty(ErrorCode)) { if (dtworksheet != null && dtworksheet.Rows.Count > 0) { grSampleWorkSheet.DataSource = dtworksheet; grSampleWorkSheet.Columns.Remove(0); grSampleWorkSheet.DataBind(); grSampleWorkSheet.MasterTableView.DataSource = dtworksheet; grSampleWorkSheet.MasterTableView.Columns.Remove(0); grSampleWorkSheet.MasterTableView.DataBind(); Label lblDomesticTitle = new Label(); lblDomesticTitle.ID = "lbl-" + WorkSheetID; lblDomesticTitle.Text = "<h5>" + strWorkSheetID + "</h5>"; PhSampleData.Controls.Add(lblDomesticTitle); PhSampleData.Controls.Add(grSampleWorkSheet); btnNextStep.Enabled = true;
}
}