Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can i create a repeater control using user controls in ASP.net ??? if yes , How can i create properties to manage these control such as giving header and sorting properties etc...??? I created a Repeater web controller but cant change its header while using in a new web form
Posted
Comments
Er. Puneet Goel 8-Apr-14 6:22am    
What actually you want to do with that UC?
Member 10732889 8-Apr-14 10:19am    
Respected Er.puneet Goel


Here we are using Repeater control in many applications , so we are just trying to create a User control for repeater with some properties to add header , Sorting etc.
Can we do a Control like that

Thanking you for your reply
Member 10732889 8-Apr-14 10:27am    
We created a repeater with html codes for binding data, but while using the controller in a new form these html codes are not accessible, So how can i manage that problems? That is if i want to use that controller having 4 column headings and need to use that UC in another form where there is 5 Column headings are there then how can i manage these problem since the html coding is not present

1 solution

Please have a look on the bellow link :
Repeater using a user control[^]
User Control Inside Repeater[^]
 
Share this answer
 
Comments
Member 10732889 8-Apr-14 11:37am    
We created a repeater with html codes for binding data, but while using the controller in a new form these html codes are not accessible, So how can i manage that problems? That is if i want to use that controller having 4 column headings and need to use that UC in another form where there is 5 Column headings are there then how can i manage these problem since the html coding is not present

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900