Call UserControl in code behind c#
New DiscussionThere is a UserControl named as “UcGridMastersUI.ascx” in my WebApplication, below is the code:
<div class="row"> <div class="col-md-12"> <cc1:XamGridEx ID="grdXamGrid" runat="server"> </cc1:XamGridEx> </div> </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:UcGridMastersUI ID="UcGridMastersUI1" runat="server" /> </div>
I need to know how shall I call and bind the Grid “grdXamGrid” (using Linq) which is inside UserControl into “Test.aspx.cs” page using C# code.
I am using Asp.Net with WebDataGrid infragistics control and oracle database.
I am very new in infragistics. Kindly let me know how to do this.
Any help would be appreciated. Thanks in advance.
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
1 Created On
May 19, 2017 Last Post
8 years, 9 months ago