Getting values from dynamically added controls

G

Guest

Hi,

I added a few link buttons in a function (loadControls) that is called only
on the first time the page is loaded. On the postBack I don't call this
function and want to retrieve the values of those controls (linkButtons). But
the only time I can see the values is if call the (loadControls ) on postBack
too.

How can I get the values of the controls without calling the 'loadControls'
function.

Thnx
 
G

Guest

Hey,

Did you call the method in Page_load???

If yes, call it in the Page_init method and hopefully everything should work
fine!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top