Hello!
I am attempting to send the an ID value from one RadGrid Row to a RadGrid in a modal window as a DataKey using rowIndex.
I sucessfully get the cell value but right now it is just sending it to OwnerTableView rather than my modal window grid.
aspx.cs code:
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
I only want the modal Grid to populate with values that also have that ID (multiple values).
Any thoughts on this?
Hi
Im using Radgrid ExportToExcel() but getting this vulnerability caused the exported file to be broken
is there any workaround for this?
Hi Team,
Telerik 2021.3.914.45,Edge Browser,.Net FramworkVersion- 4.8
Getting error with ArrayList GetAllNodes()
ArrayList allNodes = _treeView.GetAllNodes(); //Gettting error
for (int i = 0; i < allNodes.Count; i++)
{
RadTreeNode node = allNodes[i]; //Getting Error
if (node.Checked && node.Parent == null)
}
Tried with below changes:
List<Telerik.Web.UI.RadTreeNode> allNodes = (List<Telerik.Web.UI.RadTreeNode>)_treeView.GetAllNodes();
Can anyone help me out to resolve the above issue with sample code?
I am preparing dynamic grid using VB.net and RAD grid where columns are getting generated in Run Time. I am trying to apply filter (inbuilt filter) on multiple column at time but application is throwing exception (is neither a DataColumn nor a DataRelation for table Table). This error occurs when I try to apply filter. I am unable to identify root cause. Any input would be appreciated. I am using NeedDataSource() event of Radgrid and this event is throwing above mentioned exception on applying filter.
.Telerik page setting:
<telerik:RadGrid ID="gridData" runat="server" OnGridExporting="grid_GridExporting" RenderMode="Auto" ClientIDMode="AutoID" >
</telerik:RadGrid>
Code-behibd setting:
On page_load():
If Not ds Is Nothing Then
DefineGridStructure(Session("DynamicResultReportGridData"))
gridData.DataBind()
end
--------------------------
Private Sub DefineGridStructure(ByVal allCloumnData As DataSet)
'Dim grid As New RadGrid()
gridData.DataSource = allCloumnData
Session.Add("DynamicResultReportGridData", allCloumnData)
gridData.Skin = "Default"
gridData.Width = Unit.Percentage(100)
gridData.PageSize = 15
gridData.AllowPaging = True
gridData.AllowFilteringByColumn = True
gridData.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric
gridData.AutoGenerateColumns = False
'Add Customers table
gridData.MasterTableView.Width = Unit.Percentage(100)
Dim intVal As Integer = allCloumnData.Tables(0).Columns.Count
For a = 0 To intVal - 1
Dim boundColumn As New GridBoundColumn()
boundColumn.DataField = allCloumnData.Tables(0).Columns(a).Caption().Trim().ToString()
boundColumn.HeaderText = allCloumnData.Tables(0).Columns(a).Caption().Trim().ToString()
boundColumn.UniqueName = allCloumnData.Tables(0).Columns(a).Caption().Trim().ToString()
boundColumn.ItemStyle.CssClass = "text2"
boundColumn.HeaderStyle.CssClass = "GridHeader"
boundColumn.AllowFiltering = True
gridData.MasterTableView.Columns.Add(boundColumn)
Next
End Sub
----------------------------------------------------
Protected Sub gridData_NeedDataSource(ByVal Source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles gridData.NeedDataSource
gridDiv.Visible = True
gridDiv1.Visible = True
gridData.Visible = True
Dim allCloumnData As DataSet = Session("DynamicResultReportGridData")
If allCloumnData Is Nothing Then
Else
gridData.DataSource = allCloumnData
End If
End Sub
Thanks in advance
Rajeev
Hello.
Does telerik:RadGrid have this InsertAt ?
// Adjust the Data Table to add Grid Rows to arbitrary positions. int insertRowIdx; DataTable dt = (grvItemPrice.GridControl.DataSource as DataTable); DataRow dtRow = dt.NewRow(); dt.Rows.InsertAt(dtRow, insertRowIdx); dt.AcceptChanges();
====================
I want to add GridView-B Rows to the row below 8 o'clock in GridView-A.
How should I program the algorithm for the GridView?
there are InsertAt of telerik:Radgrid ?
attached file : radgrid.png
Hello.
I want to add GridView-B Rows to the row below 8 o'clock in GridView-A.
How should I program the algorithm for the GridView?
there are InsertAt of telerik:Radgrid
attached file : radgrid.png
I am using radgrid.
How do I clear DataSource or delete old data in DataSource?
Is the source below correct?
please tell me another way.
DataTable dt = null;
gv.DataSource = dt;1. platform used : ==== > telerik:radgrid on ASP.NET
as the Attached File, I want to input text by adding a txtBox to a column in telerik:radgrid
Is there an ASP.NET version of the source code I can refer to?
Telerik : radgrid on ASP.NET
Please Help me.
Attached File : GridtxtBox.png
I need the asp.net version of the ASP.NET Version example source files. Because I'm not good at programming.
Please check the file I attached.
I need ASP.NET Version Souce Example File.
Please Help me
Hi Team,
We have migrated all RadTreeView Classic to RadTreeView Ajax Controls.
Modified existing skin as per above document but could not find anything related to SingleSelect_Hover,SingleSelect_Select,Disabled.
Code before migrating existing default skin: private const string SINGLE_SELECT_HOVER_CSS_CLASS = "TreeNodeOver_SingleSelect";
private const string SINGLE_SELECT_CSS_CLASS = "TreeNodeSelect_SingleSelect";
private const string DISABLED_CSS_CLASS = "TreeNodeDisabled";