|
Rank: Advanced Member Groups: Member
Joined: 8/22/2009 Posts: 30
|
I have tried to set programmatically LoadingPanelID for ImageZoom but it didn't work.
Is it possible to do that?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Theoratically every property you can set in .aspx you can set with code because ASP.NET always compiles your .aspx to code first. So there should be no case where a property can not be set with code.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 8/22/2009 Posts: 30
|
eo_support wrote:Hi,
Theoratically every property you can set in .aspx you can set with code because ASP.NET always compiles your .aspx to code first. So there should be no case where a property can not be set with code.
Thanks! Yes, but this is the case where I have dynamically added ImageZoom control and set LoadingPanelID programmatically, and it didn't work. It is possible that when adding dynamically it doesn't work.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
It is the same. Once ASP.NET page compiler compiles your .aspx into code, everything is dynamically created. There is no difference from the control point of view. Everything is always done dynamically with code.
|
|