Solved

Is there a Dock.Fill comparable in Webforms?

Posted on 2016-08-10
3
74 Views
Last Modified: 2016-08-10
In a Winform, I have Dock options in properties, where I can dock to the top, bottom or even fill.  I am converting a Winform to a Webform.  I can't seem to find this option in properties.  

What is the secret to docking a textbox in a table cell so it fills it up (can grow if someone maximizes the screen)?
0
Comment
Question by:Karen Wilson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 41751050
Sadly there s no Dock property, because the UI (html markup) depends on web technologies like HTML and CSS.
Regarding your question you can add a container div and set the width and height to 100%.

Please remember that conversion is like to like but there is no 100% win form equivalents (contrary to popular demand a desktop app has a far more rich UI experience than a web app) and layouts are different. I am currently converting a Delphi app into ASP.NET and we try to keep it simple by using CSS frameworks like bootstrap. I know it takes a bit to learn but the time savings of dealing with all the different CSS behaviours  of IE versions and other browsers is learning time worth spending.
0
 

Author Closing Comment

by:Karen Wilson
ID: 41751065
Thanks for answering.  I have never worked with some of the new options available in webforms (panels etc.) so didn't know if there was a secret docking source somewhere.
0
 
LVL 36

Expert Comment

by:Miguel Oz
ID: 41751311
You are welcome, happy coding
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question