Hi Friends,
Could you plz help me for creating an example for dynamically loading a repeater control retrieving records via stored procedures from code behind code on button click.
Thanks and Regards,
Nikita
Refer
http://msdn.microsoft.com/en-us/library/aa719636(v=vs.71).aspx
thanks for the reply but in the above mentioned link, repeater control is been added in the aspx page but I wanted to build repeater control dynamically in code behind page using asp.net.
I don't think you can do that. Still I managed to find something
http://xaeryan.blogspot.in/2009/09/dynamically-adding-removing-textboxes.html
Declare a repeater control and create a object for that.
Say Repeate rptr=new repeater();
rptr will act as a normal aspx repeater.
Do the operation what you need in the repeater rptr.
Finally just render the repeater to the htm tag.
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.