There is a UserControl page named as UcGridUI.ascx in my WebApplication, below is the code:
<div>
<cc1:XamGridEx ID="grdXamGrid" runat="server">
</cc1:XamGridEx>
</div>
I have dragged and dropped this UserControl in Test.aspx page, below is the code:
<div>
<asp:ScriptManager ID="sm1" runat="server"></asp:ScriptManager>
<uc1:UcGridUI ID="UcGridUI_1" runat="server" /> //dragged and dropped usercontrol
</div>
I need to know how shall I call and bind the Grid grdXamGrid (using Linq) which is inside UserControl page into Test.aspx.cs page using C# code.
I am using Asp.Net Kindly let me know how to achieve this, considering me as a fresher.
Any help would be appreciated. Thanks in advance.