D
dmitryslx2
Hi.
Is there any syntax in ASP.NET to bind some value to server control
without need of calling DataBind method?
I have this statement:
<att:timeZone id="timeZone" runat="server" SelectedIndex="<
%=UserManager.CurentTimeZone%>" />
So I want to set SelectedIndex to a value from global static field
UserManager.CurentTimeZone.
I know that this is possible by using bind syntax and calling
DataBind() method. But I want to set this property only in .aspx file
without using code-behind.
Thanks.
Is there any syntax in ASP.NET to bind some value to server control
without need of calling DataBind method?
I have this statement:
<att:timeZone id="timeZone" runat="server" SelectedIndex="<
%=UserManager.CurentTimeZone%>" />
So I want to set SelectedIndex to a value from global static field
UserManager.CurentTimeZone.
I know that this is possible by using bind syntax and calling
DataBind() method. But I want to set this property only in .aspx file
without using code-behind.
Thanks.