Ask a Question related to ASP, Design and Development.
-
Tor Inge Rislaa #1
Showing an HTML file in part of a Webform
Showing an HTML file in part of a Webform
Hi I have a Webform with some buttons on the left side of the form. What I
want when clicking one of the buttons is to show an HTML document in a part
of the Webform (as if it was a Frame page). Any suggestions?
(I am an VB programmer)
T.I.Rislaa
Tor Inge Rislaa Guest
-
Loading part of the HTML page?
When you answer a feedback guestion in Google with a radio button, only that section of the page reloads and says "thankyou," not the entire page.... -
Part of website not showing
A small section of my website www.vvdopsterland.nl is not loading when i visit my site trough internet explorer. It also doesn't show in the... -
Displaying part of HTML before and after system() command
Consider my (simplified) code below: With my old ISP it used to display "Archiving database images ..." then paused for a while (30 secs to a few... -
Showing only first part of the field in datagrid
Hi, I have a XML file as datasource, and I bind it to datagrid. Size of one of the columns in the dataset is quite long and I would like to show... -
PDF file from existing WebForm
You might want to check out ABCpdf for that ability: http://www.websupergoo.com/helppdf3net/4-examples/17-htmlimport.htm "mg" <mg@theworld>... -
Bob Barrows #2
Re: Showing an HTML file in part of a Webform
Tor Inge Rislaa wrote:
This has nothing to do with ASP. Webforms are a .Net thing right? Try> Showing an HTML file in part of a Webform
>
> Hi I have a Webform with some buttons on the left side of the form.
> What I want when clicking one of the buttons is to show an HTML
> document in a part of the Webform (as if it was a Frame page). Any
> suggestions?
>
> (I am an VB programmer)
>
> T.I.Rislaa
posting your question to one of the dotnet groups. Perhaps
microsoft.public.dotnet.framework.aspnet.
Bob Barrows
Bob Barrows Guest
-
Tor Inge Rislaa #3
Showing an HTML file in part of a Webform
Showing an HTML file in part of a Webform
Hi I have a Webform with some buttons on the left side of the form. What I
want when clicking one of the buttons is to show an HTML document in a part
of the Webform (as if it was a Frame page). Any suggestions?
(I am an VB programmer)
T.I.Rislaa
Tor Inge Rislaa Guest
-
Steve C. Orr, MCSD #4
Re: Showing an HTML file in part of a Webform
Use a frame? Or maybe you'd prefer an IFrame?
Here's more info on IFrames:
[url]http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/IFRAME.asp[/url]
--
I hope this helps,
Steve C. Orr, MCSD
[url]http://Steve.Orr.net[/url]
"Tor Inge Rislaa" <tor.ingenospam@rislaa.no> wrote in message
news:%23yL%23BeIWDHA.388@TK2MSFTNGP10.phx.gbl...part> Showing an HTML file in part of a Webform
>
> Hi I have a Webform with some buttons on the left side of the form. What I
> want when clicking one of the buttons is to show an HTML document in a> of the Webform (as if it was a Frame page). Any suggestions?
>
> (I am an VB programmer)
>
> T.I.Rislaa
>
>
Steve C. Orr, MCSD Guest
-
Matt #5
Re: Showing an HTML file in part of a Webform
What you could do is to use a table within an aspx page with 1 row, 2
columns. The first column would contain your buttons, and the second
one would contain a simple Label. When a button is clicked, you set
the text of the label with the html code you want.
In this example DynamicInclude is called when a button is clicked. The
parameter FileName is the name of the html file you want to display.
Note that this html file would not have header or body tags, since
these are already in your .aspx file.
LabelHTML would the label in the second column of the table in your
..aspx page. This kinda act like a frame. Hope this helps!
public string DynamicInclude(string FileName)
{
StreamReader FSO = new StreamReader(Server.MapPath(Filename));
LabelHTML.Text = FSO.ReadToEnd();
FSO.Close();
}
On Sat, 2 Aug 2003 01:49:15 +0200, "Tor Inge Rislaa"
<tor.ingenospam@rislaa.no> wrote:
>Showing an HTML file in part of a Webform
>
>Hi I have a Webform with some buttons on the left side of the form. What I
>want when clicking one of the buttons is to show an HTML document in a part
>of the Webform (as if it was a Frame page). Any suggestions?
>
>(I am an VB programmer)
>
>T.I.Rislaa
>Matt Guest



Reply With Quote

