First is a multi-column dropdownlist which I already created.
Second is a gridview with filters per column, with selection for no. of records per page in the footer.
My inspiration to do something like this is Obout. If you have heard and seen Obout controls before, then it would be easier for you to understand. It is a third party control with a lot of great features similar to telerik I suppose but I have not used telerik before.
So the case is I do not want to use third party controls. This is for practice and exploration's sake.
I have a pretty good idea of how to do the two things I mentioned. In fact, I have already coded a simple program and it works. The problem is I want to place it inside a usercontrol so that I can call it anytime without coding everything from scratch. Now, I am confused of how to create the columns and assign the headertext and the datafields.
If I expose the usercontrol property, for example "TableCaption", then that would be
<uc:UserControlName id="ucTest" runat="server" TableCaption="Test" />
But how do I achieve adding the child tags <Columns></Columns> like in gridview or <ItemTemplate></ItemTemplate> for repeater.
I want that when I call the usercontrol, it would have something like those. Any idea of how to do it?
This post has been edited by November-06: 19 November 2012 - 02:54 AM