Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Is there a Dock.Fill comparable in Webforms?

Posted on 2016-08-10
3
Medium Priority
?
100 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

618 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