CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 8/21/2003 8:47:56 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 31 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
ipalfy
Asp.Net User
How to make the content of a UserControl visible in a page8/21/2003 8:47:56 AM

0/0

I've read a lot about Page Framworks the last days, but I did not find a way how to program a Control, that can be dragged and dropped into a page, where You can see its HTML-content, edit its content and when saving the page automatically save the content of the Control.

The Control should behave like a panel with one difference: The content of this "panel" should be loaded form a file and be visible and editable in the Designer.

Frontpage has a comparable feature, where you can include one page into page. However: it cannot be edited.

Has anyone done some research on this?
boogeiwoogie
Asp.Net User
Re: How to make the content of a UserControl visible in a page8/21/2003 8:33:58 PM

0/0

I don't really get what you're talking about.
Are you talking about VS.NET IDE?
Then, UserControl can never be edited or shown in a page(webform). That's what usercontrol does. However, Custom control can be shown and edited(this is somewhat different meaning, though.) in a webform. VS.NET and Frontpage are different technologies. They can not be compared each other.
a table in a table in a table in a table in a table...
ipalfy
Asp.Net User
Re: How to make the content of a UserControl visible in a page8/23/2003 6:51:58 PM

0/0

-- Are you talking about VS.NET IDE? --
Yes.

-- Then, UserControl can never be edited or shown in a page(webform). That's what usercontrol does --
I know, That's the Problem.

-- Custom control can be shown and edited(this is somewhat different meaning, though.) in a webform.
I know, and that's what I want to do.

-- VS.NET and Frontpage are different technologies. They can not be compared each other. --
I know.

Jonathan Goodyear from www.angrycoder.com wrote

5) Inline display of user controls in Visual Studio .NET
Instead of dragging gray boxes onto the web form designer in Visual Studio .NET, it would be wonderful if the contents of the user-control would appear inline. That would allow page designers to get a better feel for what the final page is going to look like, without having to launch the page in a browser.

.... this is what I want to do by writing a custom control maybe using some vs.net extensibility stuff.

Ideas?
[email protected]
Asp.Net User
Re: How to make the content of a UserControl visible in a page8/25/2003 3:20:01 PM

0/0

So you want to add a kind of "FrameControl", and than you want to add subcontrols of type "SubControl" into FrameControl visually by drag and drop?
Furthermore I guess you want to be able to either select the FrameControl or the SubControls to edit their specific properties in the F4-window?

Is that your question?
ipalfy
Asp.Net User
Re: How to make the content of a UserControl visible in a page8/25/2003 4:43:24 PM

0/0

ok, let me clarify the task:

- First of all. I am talking about a vs.net IDE problem

If you drag a usercontrol (.ascx) on a webform (.aspx) then you get a gray box on Your webform saying, that this is a usercontrol. (This is "by Design")

Since it might take until asp.net 2.0 before this behaviour changes ...

I want to find a way how I can:

- drag a usercontrol (or something similar) onto a webform
- see the HTML-content of the usercontrol (not a gray box) in the IDE
- let the content of the usercontrol be editable right in the page (like a panel control)
- also let me drag other controls into it (a textbox or even another Usercontrol)
- when saving the page, the IDE should save changes made inside the usercontrol also (after a confirmation)

I am aware of the fact, that the content of a usercontrol cannot be exactly the same at designtime as at runtime, because the web application is not running.

- In other words: A Control that behaves like an "include" that is visible in the IDE
- or: A Panel Control that gets its Controls or HTML from a separate file
- or: A MasterPages Solution that "lives" in the IDE

I noticed that many programmers do not use the WYSIWYG-IDE at all, they just use the Code-Editor. This is not a surprise, most of them are tired of all its shortcomings ...
distieDistimica
Asp.Net User
Re: How to make the content of a UserControl visible in a page8/27/2003 5:55:14 PM

0/0

>>I noticed that many programmers do not use the WYSIWYG-IDE at all, they just use the >>Code-Editor. This is not a surprise, most of them are tired of all its shortcomings ...

This is the first time I see this said politely and clearly. I am seeking a solution to the same problem you are.

I recall having heard something in an overview of something that was out of the scope of the course I was having. This does exist, but I really can't remember how it is done. I'll keep looking and come back with an answer if I find it.

Best Regards,
Distimica.
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0 Website Programming: Problem-design-solution Authors: Marco Bellinaso, Pages: 576, Published: 2006
Pro ASP.NET Web Forms Techniques Authors: Alex Homer, Pages: 580, Published: 2003
Microsoft Content Management Server 2002: A Complete Guide Authors: Bill English, Olga Londer, Todd Bleeker, Shawn Shell, Stephen Cawood, Pages: 1092, Published: 2003
Perspectives on Free and Open Source Software Authors: Joseph Feller, Brian Fitzgerald, Scott A. Hissam, Karim R. Lakhani, Michael Cusumano, Pages: 538, Published: 2005
ASP.NET 2.0 Instant Results Authors: Imar Spaanjaars, Paul Wilton, Shawn Livermore, Pages: 456, Published: 2006
CHI 99, Human Factors in Computing Systems: The CHI is the Limit : CHI 99 Conference Proceedings Authors: Marian G. Williams, Steven Pemberton, Mark W. Altom, SIGCHI (Group : U.S.), Kate Ehrlich, William Newman, Pages: 629, Published: 1999
Programming Microsoft ASP.NET Authors: Dino Esposito, Pages: 1165, Published: 2003
CSS Hacks and Filters: Making Cascading Style Sheets Work Authors: Joseph W. Lowery, Pages: 266, Published: 2005
Avatars of Story Authors: Marie-Laure Ryan, Pages: 275, Published: 2006

Web:
How to make the content of a UserControl visible in a page - ASP ... How to make the content of a UserControl visible in a page. Last post 08-27-2003 2:02 PM by distieDistimicavlov. 5 replies. Sort Posts: ...
Master Page , User Control,Content page - ASP.NET Forums Visible = false;. But I am getting following error in deployment ... Make sure you add a reference to your user control in your page aspx: ...
InformIT: Creating Reusable Content in ASP.NET > Building a ... If you are using multiple copies of the same user control in a page, you have to make sure that the client-side script can identify which instance it should ...
Microsoft: ASP.NET - programatically putting a user control into a ... The problem is that a user control appears when any button is ... your visible logic won't work because controls visible by default. instead ...
Using AjaxManager.AjaxRequest updates too much content on the page ... Then, when the content of the User Control was updated, ... I make a hidden DIV visible, have it overlay the entire contents of the user ...
Socialize your ASP.NET Pages with the Social Bar User Control Apr 14, 2007 ... If you like to support this site, feel free to make a donation to support ... If the page content is static, then you can call AddSocialLink ...
CodeProject: ASP.NET Page Lifecycle. Free source code and ... The reason being that all controls placed in the Content Page are within a ..... During Page load of main page, I make the user control visible false, ...
Using FindControls and Type casting error: Only Content controls are allowed directly in a content page that contains Content controls. ... Can't make usercontrol visible ...
How to work with User control when set its property "visible=false ... The issue is both user control are not working when made visible. .... ********************* code behind of webpage: protected void ...
Make html visible on page - WebDeveloper.com Make html visible on page HTML. ... <head> <title></title> < ;meta http-equiv="Content-Type" content="text/html; ...




Search This Site:










mspress book 5728 samples

need help with control events in page template archtitechture

resize of custom controls

postback displeasures

user control events

loadcontrol(usercontrols/info.ascx) error, but i don't know the reason! please help chinese friend!

probleme with created a personnal compannent

how to auto generating your own partial classes

viewstate in server controls

amazing low rates asp.net, sql 2005 hosting plans here..

assembly, second try.

default button

customer control in design view?

per-user odbc?

getting id from a child control

webcontrol as a property of a custom control

anything new for control licensing?

style to string

where to create applications under iis

reusing a property from several derived classes?

displaying child controls of a template item at design time

displaying an icon or image in design view?

godaddy, deployng aspnetdb users and roles database....

hosting accounts

editing style in template columns

sorting a hybriddictionary?

support validation

inamingcontainer has change my controls event order.....

help with 1and1 setup

invoking property editor from custom designerverb

  Privacy | Contact Us
All Times Are GMT