Palani Kumar.A
Top achievements
Rank 1
Palani Kumar.A
asked on 04 Mar 2015, 12:16 PM
Dear All,
I am using Telerik controls with Licensed version to my company, but some issue is occurring in RadGrid while we are using .net v4.0,
but it is working Good in .Net v2.0 with VS 2005 and same Radgrid dll for this.
When i click the RadGrid for sorting or Paging or Expanding Grid column in my application below error is occurred.
My Application is .Net Framework v4.0.(VS 2010)
RadGrid Version: 3.0.2.0
IE: 9.0
Operating System: Windows 7
Kindly solve this issue,
Thanks in Advance
Regards,
Palani Kumar.A
I am using Telerik controls with Licensed version to my company, but some issue is occurring in RadGrid while we are using .net v4.0,
but it is working Good in .Net v2.0 with VS 2005 and same Radgrid dll for this.
When i click the RadGrid for sorting or Paging or Expanding Grid column in my application below error is occurred.
My Application is .Net Framework v4.0.(VS 2010)
RadGrid Version: 3.0.2.0
IE: 9.0
Operating System: Windows 7
Kindly solve this issue,
Thanks in Advance
Parameter count mismatch.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.TargetParameterCountException: Parameter count mismatch.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[TargetParameterCountException: Parameter count mismatch.]
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +9353950
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +28
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
Telerik.WebControls.RadGrid.x61efa10fcd646105() +178
Telerik.WebControls.RadGrid.OnPreRender(EventArgs e) +728
System.Web.UI.Control.PreRenderRecursiveInternal() +103
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Control.PreRenderRecursiveInternal() +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1022
Regards,
Palani Kumar.A
6 Answers, 1 is accepted
0
Hello,
The provided information is not enough to say what is causing the error you pointed. Could you provide a bit more details on the matter - how is the grid populated, what the source is. What is the version of Telerik UI controls and Visual Studio? If you can send us the problematic code using Format Code Block would be of great help.
Regards,
Pavlina
Telerik
The provided information is not enough to say what is causing the error you pointed. Could you provide a bit more details on the matter - how is the grid populated, what the source is. What is the version of Telerik UI controls and Visual Studio? If you can send us the problematic code using Format Code Block would be of great help.
Regards,
Pavlina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Palani Kumar.A
Top achievements
Rank 1
answered on 04 Mar 2015, 03:17 PM
Hi,
This Telerik Rad Grid is Working fine in visual Studio 2005(v2.0) environment with below dll version,
After we convert to entire application to .Net framework version 4.0 (VS 2010). This above mentioned post issue is arriving.
When i Click in Rad Grid Sorting link or Paging link or Expand button , Error is occurred.
Details Below:
Visual Studio 2010 (.Net v4.0)
Telerik Grid dll info below:
Sample Code:
Regards,
Palani Kumar.A
This Telerik Rad Grid is Working fine in visual Studio 2005(v2.0) environment with below dll version,
After we convert to entire application to .Net framework version 4.0 (VS 2010). This above mentioned post issue is arriving.
When i Click in Rad Grid Sorting link or Paging link or Expand button , Error is occurred.
Details Below:
Visual Studio 2010 (.Net v4.0)
Telerik Grid dll info below:
Sample Code:
01.<
radG:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowPaging
=
"True"
PageSize
=
"100"
CssClass
=
"RadGrid"
02.
HorizontalAlign
=
"NotSet"
EnableAsyncRequests
=
"True"
Width
=
"930px"
AllowSorting
=
"true"
AllowCustomPaging
=
"True"
03.
DataSourceID
=
"XXX"
>
04. <
MasterTableView
AutoGenerateColumns
=
"False"
DataKeyNames
=
"XXX"
DataSourceID
=
"XXX"
OverrideDataSourceControlSorting
=
"true"
>
05. <
EditFormSettings
>
06. <
EditColumn
UniqueName
=
"EditCommandColumn"
>
07. </
EditColumn
>
08. </
EditFormSettings
>
09. <
Columns
>
10. <
radG:GridBoundColumn
DataField
=
"XX"
DataType
=
"System.Decimal"
HeaderText
=
"Task ID"
11.
ReadOnly
=
"True"
SortExpression
=
"XX"
UniqueName
=
"XX"
>
12. <
ItemStyle
HorizontalAlign
=
"Center"
/>
13. </
radG:GridBoundColumn
>
14. <
radG:GridBoundColumn
DataField
=
NAME
"
HeaderText
=
"Status"
ReadOnly
=
"True"
15.
SortExpression
=
"NAME"
UniqueName
=
"NAME_2"
>
16. <
ItemStyle
HorizontalAlign
=
"Center"
/>
17. </
radG:GridBoundColumn
>
18. </
Columns
>
19. <
ExpandCollapseColumn
ButtonType
=
"ImageButton"
UniqueName
=
"ExpandColumn"
>
20. <
HeaderStyle
Width
=
"19px"
/>
21. </
ExpandCollapseColumn
>
22. <
DetailTables
>
23. <
radG:GridTableView
DataKeyNames
=
"ID"
DataSourceID
=
"XXX_D"
AutoGenerateColumns
=
"False"
24.
runat
=
"server"
HierarchyDefaultExpanded
=
"True"
>
25. <
ParentTableRelation
>
26. <
radG:GridRelationFields
DetailKeyField
=
"XXX_ID"
MasterKeyField
=
"XX_ID"
/>
27. </
ParentTableRelation
>
28. <
ExpandCollapseColumn
ButtonType
=
"ImageButton"
UniqueName
=
"ExpandColumn"
>
29. <
HeaderStyle
Width
=
"19px"
/>
30. </
ExpandCollapseColumn
>
31. <
RowIndicatorColumn
UniqueName
=
"RowIndicator"
Visible
=
"False"
>
32. <
HeaderStyle
Width
=
"20px"
/>
33. </
RowIndicatorColumn
>
34. <
Columns
>
35. <
radG:GridBoundColumn
DataField
=
"XXX"
DataType
=
"System.DateTime"
HeaderText
=
"XXX"
36.
SortExpression
=
"XXX UniqueName="
XXX">
37. <
ItemStyle
HorizontalAlign
=
"Center"
/>
38. </
radG:GridBoundColumn
>
39. </
Columns
>
40. <
DetailTables
>
41. <
radG:GridBoundColumn
DataField
=
"XXX"
DataType
=
"System.DateTime"
HeaderText
=
"XX"
42.
SortExpression
=
"XX"
UniqueName
=
"XX"
>
43. <
ItemStyle
HorizontalAlign
=
"Center"
/>
44. </
radG:GridBoundColumn
>
45. </
Columns
>
46. <
DetailTables
>
47. <
radG:GridBoundColumn
DataField
=
"XX"
DataType
=
"System.DateTime"
HeaderText
=
"X"
48.
SortExpression
=
"END_TIME"
UniqueName
=
"X"
>
49. <
ItemStyle
HorizontalAlign
=
"Center"
/>
50. </
radG:GridBoundColumn
>
51. </
Columns
>
52. <
EditFormSettings
>
53. <
EditColumn
UniqueName
=
"EditCommandColumn"
>
54. </
EditColumn
>
55. </
EditFormSettings
>
56. <
HeaderStyle
CssClass
=
"HeaderNewAlt"
/>
57. </
radG:GridTableView
>
58. </
DetailTables
>
59. <
EditFormSettings
>
60. <
EditColumn
UniqueName
=
"EditCommandColumn"
>
61. </
EditColumn
>
62. </
EditFormSettings
>
63. </
radG:GridTableView
>
64. </
DetailTables
>
65. <
EditFormSettings
>
66. <
EditColumn
UniqueName
=
"EditCommandColumn"
>
67. </
EditColumn
>
68. </
EditFormSettings
>
69. <
HeaderStyle
CssClass
=
"HeaderNewAlt"
/>
70. </
radG:GridTableView
>
71. </
DetailTables
>
72. <
RowIndicatorColumn
UniqueName
=
"RowIndicator"
Visible
=
"False"
>
73. <
HeaderStyle
Width
=
"20px"
/>
74. </
RowIndicatorColumn
>
75. </
MasterTableView
>
76. <
ItemStyle
CssClass
=
"Row"
HorizontalAlign
=
"Center"
/>
77. <
HeaderStyle
CssClass
=
"Headerwhitespacewrap"
/>
78. <
PagerStyle
CssClass
=
"Pager"
Mode
=
"NextPrevAndNumeric"
Position
=
"TopAndBottom"
/>
79. <
FilterMenu
HoverBackColor
=
"LightSteelBlue"
HoverBorderColor
=
"Navy"
NotSelectedImageUrl
=
"~/RadControls/Grid/Skins/Default/NotSelectedMenu.gif"
80.
SelectColumnBackColor
=
"Control"
SelectedImageUrl
=
"~/RadControls/Grid/Skins/Default/SelectedMenu.gif"
81.
TextColumnBackColor
=
"Window"
></
FilterMenu
>
82. <
ClientSettings
AllowExpandCollapse
=
"True"
>
83. </
ClientSettings
>
84. <
AlternatingItemStyle
CssClass
=
"Row"
/>
85. </
radG:RadGrid
>
86. <
asp:sqldatasource
id
=
"XXX_B"
runat
=
"server"
connectionstring="<%$ ConnectionStrings:XXX %>"
87. providername="<%$ ConnectionStrings:XXX.ProviderName %>" selectcommand="SELECT XXXX " onselecting="XXX_B_Selecting">
88. </
asp:sqldatasource
>
Regards,
Palani Kumar.A
0
Palani Kumar.A
Top achievements
Rank 1
answered on 04 Mar 2015, 03:18 PM
Telerik Rad Grid Dll version Info below:
0
Palani Kumar.A
Top achievements
Rank 1
answered on 04 Mar 2015, 03:21 PM
Find the attachment for Rad Grid dll Version
Regards,
Palani Kumar.A
Regards,
Palani Kumar.A
0
Palani Kumar.A
Top achievements
Rank 1
answered on 04 Mar 2015, 03:27 PM
See the attachment for Telerik RadGrid dll version
0
Hello,
The assembly version you are currently using in your project is no longer supported. The Telerik UI for ASP.NET AJAX controls have not been supported under .NET 2.0 for almost 4 years:
http://blogs.telerik.com/aspnet-ajax/posts/11-03-03/telerik-ajax-controls-net-2-0-support-discontinued-as-of-q1-2011.aspx.
Therefore after converting your application to .Net framework version 4.0 (VS 2010) you should also upgrade the Telerik UI version to the latest one and you should not encounter the described problem. More information how to upgrade the version of Telerik UI for ASP.NET AJAX to the latest one is available in the article below:
http://www.telerik.com/help/aspnet-ajax/introduction-upgrading.html
Regards,
Pavlina
Telerik
The assembly version you are currently using in your project is no longer supported. The Telerik UI for ASP.NET AJAX controls have not been supported under .NET 2.0 for almost 4 years:
http://blogs.telerik.com/aspnet-ajax/posts/11-03-03/telerik-ajax-controls-net-2-0-support-discontinued-as-of-q1-2011.aspx.
Therefore after converting your application to .Net framework version 4.0 (VS 2010) you should also upgrade the Telerik UI version to the latest one and you should not encounter the described problem. More information how to upgrade the version of Telerik UI for ASP.NET AJAX to the latest one is available in the article below:
http://www.telerik.com/help/aspnet-ajax/introduction-upgrading.html
Regards,
Pavlina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.