ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,506 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I added a Calendar control to my webforms but the control is only staying at the left, I am not able to move it to the center. I found nothing on the web. Pls help! Even treeview, menu, gridview are not moving
If you switch to Source view and add a <div> like this:
<div style="margin-top: 100pt; margin-left: 200pt">
<asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
</div>
then the calendar will be moved. You can then switch to Design view and adjust the margins using the mouse.
It is also possible to use <asp:Panel> or <table> elements, or Format>Position menu, or other techniques. However, I am not sure that you read answers.