Hello,
I have read a little on the subject of Dynamic Controls.... I realize you have to recreate dynamic controls after the page is postback..... The question I have deals with a custom pager for a datalist.....
My problem is this..... I create the dynamic pager.... fine....
I click on the pager and it postsback..... this is where I am struggling to find efficiency....
??? - In my situation I have the application working but I have to create the pager twice(onpostback) in order to get what I want....
onpostback
1) PageLoad - I create the old pager so that I can cause the onclick event to fire....
2) Onclick - the old pager is erased and a new pager is created....(I have to change the view based on what the user clicked)
(basically I have to recreate the old pager just to get the value of the page clicked and it bothers me)
Is there any way to get arou ...
Go to the complete details ...