Solved

Is there a Dock.Fill comparable in Webforms?

Posted on 2016-08-10
3
49 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
  • 2
3 Comments
 
LVL 35

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 35

Expert Comment

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

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with error in Query 2 31
"Emulate" TAB key when press Enter Key 3 48
exporting html table data 4 28
Access/Visual Basic Question 3 26
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 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