P
Piyush Bhatt
Hello,
I remember reading somewhere that using ASP style in ASP.NET is not
recommended.
For example, there is following situation:
<% If x = y %>
Some ASP.NET controls
<% End IF %>
V/s.
<panel id=mypanel runat=server>
Some ASP.NET controls
</panel>
And then code behind can turn 'mypanel' on or off!.
Now, is the 1st and 2nd are same from processing point of view or they
are different? I read somewhere that 2nd one has some advantage. But I
dont remember what!
Can you help!
Thanks,
Piyush
I remember reading somewhere that using ASP style in ASP.NET is not
recommended.
For example, there is following situation:
<% If x = y %>
Some ASP.NET controls
<% End IF %>
V/s.
<panel id=mypanel runat=server>
Some ASP.NET controls
</panel>
And then code behind can turn 'mypanel' on or off!.
Now, is the 1st and 2nd are same from processing point of view or they
are different? I read somewhere that 2nd one has some advantage. But I
dont remember what!
Can you help!
Thanks,
Piyush