| create a new template based on an other template |
|
 |
Index ‹ Web Programming ‹ Frontpage Client
|
- Previous
- 1
- Frontpage Client >> FrontPage 2002 and AccessWe just switched to server 2003 in my company and at the
same time we obviously switched all the software over
(e.g. FrontPage 2002) Anyway on our intranet when we
submit something to a form we get a confirmation page
saying everything worked but when you go to the database
the data was not written. We came from NT 4.5 and this
worked. I loaded the 2002 FP Extension kit and that
didn't seem to help.
Any ideas???
-John
- 2
- ASP.Net >> Question: Try,Catch,FinallyI usually put my declarations for db connections, datasets, datareaders,
etc... above the Try portion. Inside the Try is where I open my connection,
executereader, etc... In the Catch portion I usually "clean it up", with
closing the datareaders, connections, etc... Is this the best way to do it?
The reason I ask is that if something fails (in the Try) and it didn't, get
to open the db connection yet, it will jump to Finally and that will give me
an error because I cannot close a db connection that is not open. Is there
another way around this?
- 3
- ASP.Net >> newbie: problem with menuitemshey
asp.net 2.0
My webportal consist of 2 menus (a header menu which goes horizontally
across the top of the page. And a sidebar menu to the left. The menuitmes
shown in the sidebar menu is dependent on what menuitem is selected in the
main menu.)
This is my sitemap (or a part of it)
<siteMapNode url="~/Network.aspx" title="Network" description="" >
<siteMapNode url="~/Search.aspx" title="Search" description="" />
<siteMapNode url="" title="Invite" description="" />
</siteMapNode>
<siteMapNode url="~/Member.aspx" title="Member" description="" >
<siteMapNode url="" title="ItemA" description="" />
<siteMapNode url="" title="ItemB" description="" />
<siteMapNode url="" title="ItemC" description="" />
<siteMapNode url="" title="ItemD" description="" />
<siteMapNode url="" title="ItemE" description="" />
<siteMapNode url="" title="ItemF" description="" />
<siteMapNode url="" title="ItemG" description="" />
</siteMapNode>
My problem now is that the sub menu items of "Member" isn't displayed when
Member.aspx is the active page....
This scenario involves 3 web pages. "search.aspx", "result.aspx" and
"Member.aspx". It works like this: The user opens the search.aspx file to do
a search (He enter some values in a textbox and clicks on a button). The
result.aspx file is shown, displaying the result of the search... Now I can
click on one of the rows in the repeater control of "result.aspx" to bring
up Member.aspx (displaying detailed info about the member)
I use Server.Transfer to go from search.aspx -> result.aspx -> Member.aspx
The code in the search.aspx file calling the result.page:
Server.Transfer("~/Result.aspx?name=" + txtFullname.Text);
After the transfer to result.aspx my browser shows still the same URL as it
had on the search.aspx page (http://localhost:2773/Search.aspx)
The code in the result.aspx file calling Member.aspx:
protected void OnClick(Object o, ImageMapEventArgs e)
{
string id = e.PostBackValue; //will use this variable later, when the
menu works
Server.Transfer("~/Member.aspx");
}
After the transfer to Member.aspx my browser shows this URL
:http://localhost:2773/Result.aspx?name=l
It looks like the URL for member.aspx show the URL for result.aspx...
BTW I enter entered "Member.aspx" directly in my browser URL and then it
displayed to the correct sub menu items in the sidebar menu..
So I guess my problem is related to the URL problem mentioned above. Any
suggestions to solve my problem with submenu items/URL mentioned above are
greatly appreciated!
Jeff
- 4
- ASP.Net >> Exception handlingHi,
I have a web application in which I have implemented exception handling â?? my
own custom exception etc.
My question is - what do I do with exceptions in the Global.asax event?
I don't want to redirect users to an error page - I want to keep unity in my
exception handling (I don't do it for other exceptions).
Any suggestions?
Thanks
Yoav
- 5
- Frontpage Client >> browserwhen I try to view my page in the browser front page freezes up completly but doesen't happen in preview, how can I fix the problem
- 6
- ASP.Net >> Handling NULLs in a DropDownList EditItemTemplateI'm trying to accomplish the equivalent of the code below, but with a
two-way data binding. GetReportsTo() will just return a default
selection in the case of a NULL DB entry. I thought I could just
replace Eval with Bind, but that gives me: "The name 'Bind' does not
exist in the current context."
Is it possible to do this in the control, or do I need to modify the
DataSource?
<EditItemTemplate>
<asp:DropDownList ID="DropDownList2" runat="server"
DataSourceID="SqlDataSource2" DataTextField="Name"
DataValueField="EmployeeID"
SelectedValue='<%# GetReportsTo(Eval("ReportsTo")) %>'
AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">(none)</
asp:ListItem>
</asp:DropDownList>
</EditItemTemplate>
- 7
- IIS >> FTP & SUSI found on the SUS docs that FTP Services in IIS are
disabled when SUS is installed. Is it possible to
reactivate this service or isn't?
Thanks
Charles
- 8
- Frontpage Client >> Hyperlinks form a text frameI am using FP 2002. If I set up a text frame, and place
hyperlinked text inside the frame, the links do not work in
Netscape.
Any ideas how to get around this?
Don't get too tech. I'm a beginner.
Thanks
Ray
- 9
- IIS >> Application Pool Issue - Service UnavailableHi,
I created an application pool with domain account (this account is a domain
admin) and also created a virtual directiory and assign the above created
application pool. When I try to access this virtual directory, I gor
"Service Unavailable" error.
I tested on a DC and also on a member server (I could make it work on
workgroup machine with local user) - there got to be something undocumented
permission not setting correctly. Here is the error when I tried to start
the application pool - this tells me when the system is checking something
when the application pool is started and found out it's invalid but without
specifying why it's invalid.
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 1021
Date: 12/24/2004
Time: 10:06:18 AM
User: N/A
Computer: DEEDEE
Description:
The identity of application pool, 'MyPool' is invalid. If it remains
invalid when the first request for the application pool is processed, the
application pool will be disabled. The data field contains the error
number.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 2e 05 07 80 ...?
Could someone give me a hint how to resolve this problem?
Why creating an application pool w/domain account nd use that application
pool for a web application is such as hassle? should be very easy to do - I
remembered it's very easy at windows 2003 beta ...
Thanks very much!
John
- 10
- ASP.Net >> Potentially dangerous Request.Form value for Cancel button ClickHello all
I have simple edit form. When user saves data that contains restricted
characters such as (< > , etc.) , regular expression validator will display
a warning message. It all works fine, but if users decides to exit the form
using Cancel button then error occurs: A potentially dangerous Request.Form
value was detected from the client. The Cancel button has CausesValidation
set to false.
Is there any way to avoid this error without setting <%@ Page
validateRequest="false" %>?
All I want to do is just exit the screen. I could probably clean all
textboxes on Cancel button click event using JavaScript. Is there better way
to handle this?
--
Programmer
- 11
- ASP.Net >> strugling with Atributed XML parsing.I have XML in following format
<ORDER>
<HEADER> ... </HEADER>
<LINE> ... <LINE>
<LINE> ... <LINE>
<LINE> ... <LINE>
</ORDER>
Can someone suggest how will i parseout such document using XmlSerializer
and attributes.
There can be different amount of lines in different documents.
I have
class clsOrder
{
clsHeader _header;
clsLine [] Lines;
}
How do i specify that <line> goes into Lines array?
Thanks.
George.
- 12
- Frontpage Client >> WMP use in FP 2003I just installed the Windows Media Player 10 add-in for FrontPage 2003,
however when I attempt to insert the media player to the webpage I am
constructing I get the following.
A box opens on the screen which is titled [ FrontPage FP_WMP Component
Properties] Followed by a section labeled [Description] with the following
listed after it [ No description is available for this FrontPage component]
then there is a section labeled [Settings] which says [There are no settings
for this FrontPage component] and at the bottom of the box is [No value
selected]
It certainly doesn't insert the Media player so what is the problem and how
do I fix it? I removed the add-in downloaded a fresh one and re-installed it
with the same results.
Any help would be greatly appreciated.
--
Commosgt
- 13
- IIS >> Network Computers not showing upI have Windows 2003 server With SP1.
Approximatly 20 client workstations all running 2000 pro or XP pro.
The issue is when I browse the network the only computer that appears
under the domain is the server. Some of the workstation were migrated
from an NT4 domain, some where just purchashed and added new to the
network. The computers did show up before. I can not recall anything
that has changed to break this behavior. I checked the Computer browser
service on the workstations.
Am I missing something obvious? A new security measure?
Thank you in advance.
-SLA
- 14
- ASP.Net >> Need to know how to grant SQL login for the ASPNET account on a remote host via a VPNThe MSDN article "How To: Use Forms Authentication with SQL Server 2000"
located at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT03.asp
provides a SQL script for granting login, datbase access, and execute
permissions for stored procedures to the ASPNET user on the local machine
where the web application is being run. However, I want to be able to grant
permission to the web application when launched from my Visual Studio
debugger on a remote machine via a VPN. When I try to use the computer name
of the remote machine, then the statement:
exec sp_grantlogin [RemoteComputerName\APNET]
cannot identify the user. How can I correct this problem?
Thank you,
Tim
- 15
- ASP.Net >> HttpHandler QuestionSo I wrote an HttpHandler that does a bunch of processing then writes a gif
to the HttpContext.
What I want to do is have my handler intercept any requests for *random.gif
How might I go about getting this to work? Of course my handler works
perfect on my dev machine....because I added this to the web.config:
<add verb="*" path="*random.gif" type="Assembly.Handler" />
So all the requests for normal images works, and *random.gif gets picked up
by my handler...But as soon as I put it on a test server it didn't work
(assuming it is because I have to add the ISAPI extention). As a result I
associated the gif extention to the aspnet_isapi, but then it executes on
all images (as I expected but tried anyways).
Hopefully I got my point across. Any suggestions on how to get my handler
to intercept *random.gif.
Paths can be anything from http://blabla.com/what/is/this/random.gif or
http://blabla.com/random.gif
Any suggestions would be appreciated.
|
| Author |
Message |
EJo

|
Posted: Mon Dec 06 14:27:27 CST 2004 |
Top |
Frontpage Client >> create a new template based on an other template
Can i (or how do i) create a template based on an other template, so when i
modify the main template the sub template (and inherited pages) should be
modified automaticaly.
Web Programming292
|
| |
|
| |
 |
Thomas

|
Posted: Mon Dec 06 14:27:27 CST 2004 |
Top |
Frontpage Client >> create a new template based on an other template
FP doesn't have a function to do that.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"aron" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> Can i (or how do i) create a template based on an other template, so when i
> modify the main template the sub template (and inherited pages) should be
> modified automaticaly.
|
| |
|
| |
 |
Stefan

|
Posted: Tue Dec 07 04:33:35 CST 2004 |
Top |
Frontpage Client >> create a new template based on an other template
Depends on what you are using for the template
DWT or Include pages?
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________
"aron" <EMail@HideDomain.com> wrote in message news:EMail@HideDomain.com...
| Can i (or how do i) create a template based on an other template, so when i
| modify the main template the sub template (and inherited pages) should be
| modified automaticaly.
|
| |
|
| |
 |
aron

|
Posted: Tue Dec 07 09:25:15 CST 2004 |
Top |
Frontpage Client >> create a new template based on an other template
I'm using DWT, is Include pages a better option? and if so, can yuo tell mee
how I'm doing it with Include pages?
I appreciate your reply
"Stefan B Rusynko" wrote:
> Depends on what you are using for the template
> DWT or Include pages?
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> _____________________________________________
>
>
> "aron" <EMail@HideDomain.com> wrote in message news:EMail@HideDomain.com...
> | Can i (or how do i) create a template based on an other template, so when i
> | modify the main template the sub template (and inherited pages) should be
> | modified automaticaly.
>
>
>
|
| |
|
| |
 |
Stefan

|
Posted: Wed Dec 08 03:03:16 CST 2004 |
Top |
Frontpage Client >> create a new template based on an other template
You can not have "nested" DWT, but you can make copies of your main DWT and modify it for the different "templates" you want (and
apply different DWT to different pages)
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________
"aron" <EMail@HideDomain.com> wrote in message news:EMail@HideDomain.com...
| I'm using DWT, is Include pages a better option? and if so, can yuo tell mee
| how I'm doing it with Include pages?
| I appreciate your reply
|
| "Stefan B Rusynko" wrote:
|
| > Depends on what you are using for the template
| > DWT or Include pages?
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > "aron" <EMail@HideDomain.com> wrote in message news:EMail@HideDomain.com...
| > | Can i (or how do i) create a template based on an other template, so when i
| > | modify the main template the sub template (and inherited pages) should be
| > | modified automaticaly.
| >
| >
| >
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ Frontpage Client |
- Next
- 1
- 2
- 3
- 4
- ASP.Net >> Open Excel files outside of Internet ExplorerHi
I'm rendering my datagrid to a HTML stream with a .xls extension to open in Excel however it opens in the browser. Is there a way to programatically force it to open Excel? I know you can configure a setting in windows explorer to do this but i want to do this without any client interaction
Thanks
- 5
- Frontpage Client >> Why is my site not publishing to the remote web site side?As a rookie builder please be patient.
In FP2003 I am republishing my site with changes. However, the changes are
not happening.
When I right click on the page which is on the 'Remote Web Site side and try
to preview that page in my browser I get that page that says "this page
cannot be displayed."
When I preview the page on the Local Web site page I can view it just fine.
I have retried and retried to publish with no success.
Any help is very much appreciated.
Thank you,
Michael
- 6
- 7
- 8
- Frontpage Client >> Not able to allow annonomous users to upload to my folderI am trying to place an upload form into my website. I followed the
instructions given by frontpage until I get to where it says right click on
the folder and deselect the option for allowing scripts. I can not do this
because that selection is "dimmed" as well as the options to allow annonomous
users to upload to the folder and for uploaded files to write over files that
are already there. How do I make these things come out of "dimness" so that I
can chose these options? By the way the allowing scripts option is not
choosen in its present form. Thanks
- 9
- 10
- Frontpage Client >> Auto resize of background pictureHi,
I've put in my own background picture on my webpage. It looks fine when I am
in a lower resolution, however, when I am on a higher one, it tends to tile,
making it look bad. Is there a way to make the pciture automatically fit the
screen?
I'm using Frontpage 2003.
- 11
- 12
- ASP.Net >> Hide DataDrig column at run timeHi,
I want to set visible to false in my datagrid to all fields that are an ID.
How can I do this?
I'm using ItemDataBound event but it gives me an error: "Index was out of
range. Must be non-negative and less than the size of the collection.
Parameter name: index"
I have this code:
---------------------------------------------------------------------------------------------
Sub Item_Bound(ByVal sender As Object, ByVal e As DataGridItemEventArgs)
Try
Dim i As Integer = 0
Dim lCol As Integer = dg.Columns.Count()
Dim strH As String
For i = 0 To lCol
strH = dg.Columns(i).HeaderText().ToUpper()
If Left(strH, 2) = "Id" Then
dg.Columns(i).Visible = False
End If
Next
Catch ex As Exception
lblMsgErro.Text = ex.Message()
End Try
---------------------------------------------------------------------------------------------
--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this help you (if I try to help you)
ruca
- 13
- Frontpage Programming >> "Embedded" Pagination, how do I?I want to prepare a site that, when printed, the pages are all paginated to
A4. During composition I also wish to prepare a A4 pages.
The rationale that not all those who will need to access the material will
do so via a PC so I want a quick way of being able to produce a hard copy
version that is page for page like the website.
Any ideas please?
--
73
Brian
G8OSN
www.g8osn.org.uk
and
www.qsl.net/g8osn for FREE training material for the UK Foundation and
Intermediate Licences
- 14
- IIS >> http File Downloads...I have a file that I'm trying to access via web. ie. www.mydomain/myfile. There is no extension on my file. I want the user to be prompted with the familiar open...close...save..download dialog box. This use to work with NT 4. I've since move the site to a Win2003 server. Why doesn't this work anymore?
- 15
- ASP.Net >> Get Web.Config sectionHello,
How can I get the value of an element of a web.config section?
For example:
<A>
<B>
<add name = "Name1" value = "Value1" />
<add name = "Name2" value = "Value2" />
<add name = "Name3" value = "Value3" />
</B>
</A>
I want to get the Value2 given the name of the section "B" and the
name "Name2".
Could you please tell me how to do this?
Thanks,
Miguel
|
|
|