473,401 Members | 2,139 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

user controls and html(like frames)

Hi,
heres what I have:
a page broken up into several user controls. (nav, header, footer). I would
like to create another one called 'content' that would contain the content
of the requested web page.

What I'm after is : can I create one 'content' control and vary the html (or
more precisely an aspx page) that is loaded into the user control as the
user requests any given page?

Say a user requests 'info.aspx', can I load this page (or I guess code) into
the user control? If so, how?

I am after the frame effect mainly for ease of update, so my staff can edit
and upload content (usally just html) withtout messing up my other controls
or general page design.

Thanx,
Mark
Nov 18 '05 #1
1 1101
if you want to just edit and upload html connect use this control
www.freetextbox.com

as for loading controls dynamically yes you certainly can. Create a new
instance using new keyword
and say you want to load it into a TableCell
using
MyControl objControl = new MyContro();
myCell.Controls.Add(myControl);
if you want some excellent loading and uploading usage download the starter
kits from www.asp.net (portal or community)

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Mark" <py*******@hotmail.com> wrote in message
news:Og**************@TK2MSFTNGP10.phx.gbl...
Hi,
heres what I have:
a page broken up into several user controls. (nav, header, footer). I would like to create another one called 'content' that would contain the content of the requested web page.

What I'm after is : can I create one 'content' control and vary the html (or more precisely an aspx page) that is loaded into the user control as the
user requests any given page?

Say a user requests 'info.aspx', can I load this page (or I guess code) into the user control? If so, how?

I am after the frame effect mainly for ease of update, so my staff can edit and upload content (usally just html) withtout messing up my other controls or general page design.

Thanx,
Mark

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: A.M | last post by:
Hi, I have been told that I should avoid using html frames as much as possible in ASP applications. Why is that so? Thanks, Ali
7
by: Mike Stephens | last post by:
How can I make a usercontrol host other controls, such as the Groupbox and Panel.
5
by: Rado | last post by:
Hello. Somewhere I read that In visual studio 2003 will be posible set in controls e.g. : button like button in Windows Xp ......., without makeing manifest file. Thank for answer.
3
by: Nish | last post by:
Is HTML frame is an old technology? Will the modern web application are developed using the HTML frames? Does all the browsers support them? Thank you for your suggestion, Nish
1
by: Laszlo Nagy | last post by:
Hello, I'm looking for a library that can do the following: * Parse a simple structured text file (XML or HTML etc.) * Render its output to an image * I would like to give the maximum width...
1
by: veinnz | last post by:
hi guys.... So basically this is what i have in mind....I hv created the website which is html and php base...then i hv create a frame in such a way that when i click at the left navigation...
1
by: =?Utf-8?B?QXJuZSBHYXJ2YW5kZXI=?= | last post by:
I have only one page in my asp.net app that requires frames. How can I navigate away from the page with frames and load a page with no frames? I have tried with javascript. In the past I have been...
1
sujathaeeshan
by: sujathaeeshan | last post by:
Hi all, I need to provide shortcut keys for controls like text box and buttons etc... That is i dont want to go for tabspace or mouse click for perticular controls.. By having shortcut keys i...
1
by: Theadmin77 | last post by:
Currently i have a DEFAULT.htm file that display 2 htm frames , FRAME1.htm and FRAME2.htm. 1.FRAME 1.htm present a form to fill up a sql query and pass info to a "MYQUERY.cfm" 2.MYQUERY.cfm...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.