How to set the values to server side controls on pageload?
Hi,
I am having three combo boxes for the day, month and year. All three of them are server side controls.
These combo boxes are already been filled with the values, now i want to set the values depending upon the date from serverside.
I am trying to wirte the code on page_load event but its giving me error can't access webcontrol.
Now how to set the values in the controls? Will javascirpt be helpful in this?
I want the values to be set by page_load and not after any button click.
Any help will be appreciated.
thank you :wave:
Amit
Re: How to set the values to server side controls on pageload?
Can you post the code that you are using? It should work properly.
Re: How to set the values to server side controls on pageload?
hey,post your code and it should be work out soon,that is simple
<code>
</code>