 |
 |
Index ‹ Web Programming ‹ Frontpage Programming
|
- Previous
- 1
- 2
- 3
- ASP.Net >> Events and Render mentodHello everyone,
I have come across a weird probloem and do not know whether it is a bug or
established design. I have some user controls which after an event will
cause chnaged to happen inside them. I then need to render my main page
after the page_load of all of the controls has occured.
I am trying to use the Render method. This seems to work fine apart from
the fact the when I click on the user event of the user control on psotback
asp.net does not go to my click event.
However after changing another control which involves a postback, the click
method in which the eent captured is found and is always called. It is an
the initrial load of the page the the event is not found on post back.
Does anyone have any ideas why and work around
Phil
To make
- 4
- ASP.Net >> Changing the Calendar Control's SelectedDate property using JavaScriptI have a small form on my ASP.NET page that contains a Calendar control. I
want to create a Reset button for the form using JavaScript. This is easy
for controls that map directly to html tags, such as TextBox, but is there
an easy way to reset the Calendar control without using AJAX? (I would
prefer to keep the reset process simple, since the form is just 3 TextBoxes
and a Calendar) Thanks.
--
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
- 5
- Frontpage Client >> just one simple questionI have never built a website before and have basically
completed my first at www.euroconnect.ca. Now when I look
at it from my home computer it looks fine, when I view it
from another computer there is space along the edges and
bottom...How can I fix this? Take a look at it please and
let me know what to do.
Thanks!
- 6
- IIS >> Page can't not displayedHi, We have installed SSL on the IIS 5.0 and pages are only accessable within
our intranet. Whoever from outside gets "page can't displayed". How can the
pages be available to everyone?
- 7
- ASP.Net >> DataRow?This is how I am dynamically adding a table to a DataSet:
<script runat="server">
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
'Create an empty DataSet
Dim dSet As New DataSet
'Create a new table & add columns
Dim dTable As New DataTable("Users")
dTable.Columns.Add("ID", Type.GetType("System.Int32"))
dTable.Columns.Add("First Name", Type.GetType("System.String"))
dTable.Columns.Add("Last Name", Type.GetType("System.String"))
dTable.Columns("ID").AutoIncrement = True
'Add the new table to the DataSet's Tables collection
dSet.Tables.Add(dTable)
'Define a Primary Key on the column named ID
Dim dColumn() As DataColumn =
{dSet.Tables("Users").Columns("ID")}
dSet.Tables("Users").PrimaryKey = dColumn
'Add a row to this table
Dim dRow As DataRow = dTable.NewRow()
dRow("ID") = 1
dRow("First Name") = "Patrick"
dRow("Last Name") = "Patterson"
dTable.Rows.Add(dRow)
End Sub
</script>
The output of the above code is displayed in a DataGrid (the code for
which I haven't reproduced here). What I would like to know is like the
DataSet & the DataTable, DataRow is also a class but if the following
line
Dim dRow As DataRow = dTable.NewRow()
is replaced by
Dim dRow As New DataRow
then VWD generates the following error:
'System.Data.DataRow.Protected Sub New(builder As
System.Data.DataRowBuilder)' is not accessible in this context because
it is 'Protected'.
The "New" keyword is used for creating a new instance of an object
(like New DataSet, New DataTable etc.) which, if I am not mistaken,
means that the "New" subs of the DataSet & DataTable objects aren't
protected but unlike the "New" subs of System.Data.DataSet &
System.Data.DataTable, why is the sub "New" of System.Data.DataRow
protected? Why aren't the "New" subs of System.Data.DataSet &
System.Data.DataTable not protected similarly? Or in other words, why
is the "New" sub of DataRow an exception as far as the scope is
concerned?
Moreover simply by using the keyword "NewRow" in the above code - does
that automatically create a new instance of the DataRow object?
I am not sure whether I have expressed myself lucidly enough!
Thanks,
Arpan
- 8
- ASP.Net >> updating datagrid problemI'm updating a datagrid which works fine, but after updating the
datagrid does not return to 'view' status, remaining in 'edit' status.
Has anybody else had this problem?
Thanks,
Mike
*** Sent via Developersdex http://www.developersdex.com ***
- 9
- Frontpage Client >> IMAGE FOLDEROn my web page creation, I have alot of images that were not placed in the
image file. I use the same buttons (images) on all of my pages. I did not
use shared borders. When I attempt to move the images (buttons) into the
image folder, I get a message that asks me if I want to overwrite all the
buttons. When I do that, my web page "buttons" are displaying wrong buttons.
How can I make this uniform with the images in the image folder. PLEASE HELP
- 10
- ASP/Active Server Pages >> Debugging - Visual Interdev 6.0Hi all,
I have Visual Studio 6.0 (Interdev only) installed on Windows XP
Professional (IIS 5.1 platform). I have also installed Visual Studio 2005.
I want to debug ASP applications on IIS. Because debugging under
non-administrative account doesn't work, I assigned my domain account into
Administrators local group. I installed Inderdev Server and Remote machine
debugging from Visual Studio 6 CD#2. I set appropriate user rights to Catalog
Class and Machine Debug Manager components like in Q192011. I also applied
changes described in Q312880.
When I try to debug asp application with F5 key in Visual Interdev,
Microsoft development Environmet asks me for user account and then message
box appears:
Can't attach to machine 'localhost'. Do you want to continue anyway?
Can anybody help me how can I set anythiong for right functioning? Thanks.
- 11
- 12
- IIS >> Internet Print ProtocolHi all,
before having installed the Sp2 the IPP works well, after having installed
left to work, i already tried everything, uninstall and install again but
didn´t work, wath i have to do more.
- 13
- 14
- ASP.Net >> State server and Unable to find assembly errorHi All,
Since I have choosen to use state server for my session variables , I
sometimes get this message
Unable to find assembly 'App_Web_4nsap3_u, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null'.
Note that I did not change any object that are stored in session.
I have to restart ASP .Net state Service to get rid of this error
Any idea of what is happening ?
Thanks
Jean-Michel
- 15
- ASP.Net >> initial load onlyHi
I want to set a value on the initial load of a asp page and only then.
What I have noticed is that every time I click on my Treeview control all of
the following are called -
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Init
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.PreInit
Protected Sub Page_PreLoad(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.PreLoad
Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.PreRender
So my question is where do I put code that will be fired when the page is
loaded but not every time it is refreshed?
Thanks in advance
--
nivekski
www.kevsbox.com
|
| Author |
Message |
clarinathan

|
Posted: Thu Apr 15 12:18:56 CDT 2004 |
Top |
Frontpage Programming >> Simple question.
When I click on an element in frontpage, like text area, 8 evenly spaced,
small black boxes appear around it, in a rectangular box.
What is this called?
Mike
Web Programming343
|
| |
|
| |
 |
MD

|
Posted: Thu Apr 15 12:18:56 CDT 2004 |
Top |
Frontpage Programming >> Simple question.
Resizing handles or grappers
--
Mike -- FrontPage MVP '97 - '02
http://www.websunlimited.com
"Mike Klick" <EMail@HideDomain.com> wrote in message news:%23k14R%EMail@HideDomain.com...
> When I click on an element in frontpage, like text area, 8 evenly spaced,
> small black boxes appear around it, in a rectangular box.
>
> What is this called?
>
> Mike
>
>
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ Frontpage Programming |
- Next
- 1
- Frontpage Programming >> how do I ensure usernames are unique in f'page & store in accessI am trying to set up a website where users need to register, not necessarily
login, but they need to be able to submit other forms which require their
username. I want to store the information from all forms in an access
database and therefore need the username registration information also stored
in the access database for data normalisation purposes and ease of data
manipulation within the database. The username field is indexed in the user
registration table and has a one to many relationship with many other tables
in the database (all of which attain their data from the website, and I need
to know which user submitted each record).
I cant find any info on how to link the frontpage wizards user registration
form to the database to direct it there, I also cant work out how to display
a more user friendly message from access than the indexation error message
which automatically comes up if the indexed field's new data is not unique.
How do I put my own message in there? Do I do this through frontpage or
access?
- 2
- IIS >> Using ASP Custom Errors from Different Application PoolI have multiple sites/virtual directories with each running under different
application pools. I am trying to set up all sites to use the same custom
error page 404.asp under a virtual directory.
These custom error page works fine as long as they run in the same
application pool but fail when running under different application pools with
403.18 error message: â??The Specific Request Cannot Be Executed from Current
Application Pool.â??
I found an IIS Insider article describing exactly same problem at
http://www.microsoft.com/technet/community/columns/insider/iisi0905.mspx#EJD.
However after I followed the instruction in the article to create a registry
key under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC,
IgnoreAppPoolForCustomErrors, with a DWORD value of 1 the w3svc service, the
problem still exists and nothing has changed. I rebooted the server, reset
IIS, still the problem is there.
Did I miss something? Could someone help? I''d greatly appreciate!
- 3
- ASP.Net >> w2k CDO AddAttachmentHello,
I am successfully sending emails with attachments using CDOSYS (CDO for
windows 2000). I use the AddAttachment method and pass a url to a web page
in our system that produces reports.
Is there any way the link used in AddAttachment can pass variables to the
body part or the message? The most obvious would be http header variables
returned in the response - but i haven't had any success with these, the
AddAttachment method seems to ignore them(inspecting ADO Fields collections
reveals the standard settings). Any ideas?
The reason I want to do this is to inspect a record count to determine if
the mail should be sent, at this stage it looks like I'll have to hide it in
the report and pull it out of the body part's ADO stream. Not the most
efficient method.
Thanks,
Andrew
- 4
- ASP.Net >> ASP.NET Impersonation over VPN?Has anyone had any issues using Impersonation over a VPN?
I work from home (have my own domain), and use Cisco's VPN Client (version
4) to connect to my company's domain. I have a section of code that I want
to execute as a domain user. But I cannot seem to get a token, as I get
logon failure errors.
<identity impersonate="true" userName="CompanyDomain\myname"
password="mypass" />
Anyone know how I can circumvent this issue?
--
Elliot M. Rodriguez, MCSD
*** It would take 227 cans of Mountain Dew to kill me***
- 5
- 6
- Frontpage Client >> Viewing pages on an Apple / MacWhen I designed my website, I used a large graphic for the back ground. When
I am in FP The window is expanded to the edge of the graphic and looks
corect. When I view it on my PC in netscape, mozilla, IE, it looks exactly
as I saved it or wanted it to be viewed. However when I veiw that same
website on an Apple computer using safari, mozilla or netscape. Any window
that is open larger than the graphic shows the backround tiled. One thing I
noticed was that using IE on the Apple displayed the site correctly. How do
I get it so when the site is opened on an apple using either mozilla of
safari, the backround or graphic is stretched to fit the browser window. If
you have a Mac and use mozilla, www.youdrinkwedrive.org is the site, maybe
someone could help me rectify this?
Bob
- 7
- IIS >> Idle TimeoutWe are running IIS 6.0 on Windows 2003 Standard Edition server. How do you
set the idle timeout when there is no client connectivity? Thanks.
- 8
- Frontpage Client >> Form ProblemI'm using FP2003 to attach to a local server MS Server 2000
with 2002FPE.
I have a form on one of my websites, and the form works fine
and mails the info to the correct e-mail account.
But when the person filling out the form hits the "submit" button
they get an error message even though the thing is working correctly.
Any ideas on what's going on, and how I can get rid of the error message?
Thanks for any help.
--
Bob Becker
bob@becker.org
www.becker.org
- 9
- ASP.Net >> Actual name instead of user name for "username" controlI am using of course the login membership manager in asp.net 2.0, and am
using the loginname control to display the current login name logged in,
however, I'd rather display the users "actual name" instead of this... is
there a quick way to do this? I have a custom membership provider I coded,
so I can make changes to that if needed... but then I have a database table
with this info
Username
RealName
Password
instead of the username showing, is there a quick way to replace it with the
real name? or is writing a custom control in order here? thanks!
- 10
- ASP.Net >> problem c# web report visual 2005i have problem with some report master detail
i been seing solutions to problem like this i follow recomendation in
other articule in wich menciones a trick
putting 2 report viewer and it aparently will run but send me message
missing parameter.
i want to know how can i aggregate my parameter i put this in my detail
report paameters but when in my master report put a subreport inner a
list i want to establieh the parameter for my subreport , but don't show
the parameter designed in my detail report could you help me please or
something other manner to solve this.
thanks allot
*** Sent via Developersdex http://www.developersdex.com ***
- 11
- ASP.Net >> Getting new session ID on each refresh!!!!I am getting a new session id on each refresh.
This is not the first time I have this problem. I have had this problem
with ASP.NET 1.0/1.1, and now with 2.0 beta 1.
The page is simple enough, which has:
void Page_Load(object sender, EventArgs e)
{
this.Title = Session.SessionID;
}
On each refresh (F5), it gives a different session ID! So everything
bascially not working in this way (especially session data).
I don't know the exact reason that is causing this.
Can Microsoft guys look into issue? Though this does not happen always,
but once it happens, it will be a nightmare!!!
- 12
- Frontpage Client >> Conflicts when PublishingI get this warning every time I publish. What is the root cause of the
problem.
Error message:
Some items have changed on both the local and remote web sites and are in
conflict.
_private/index.html.cnt
Now I realize what the message means but I don't understand how something on
the sever side can change. Nobody has the login and password but me. Also
this happens everytime I publish...even if I continue publishing with-in a
few minutes. I can complete a publish, make on little change and
republish...I will get the error again.
So far, I've always chose to Overwrite Remote Files.
I case of corruption, I even deleted the file on the server, to ensure that
It was transferring.
Any help.
- 13
- ASP.Net >> Update databse frxI have problems with updating access database from asp.net 2.0 application.
I use this code:
SQL = "UPDATE Tabela Set Polje1=" & CInt(Text) & " WHERE ID=" &
CLng(Session("ID"))
cmd = New OleDbCommand(SQL, odbConn)
cmd.ExecuteNonQuery()
No compile error, no run-time error but database is not updated!! How to
update record in access database?
- 14
- IIS >> COM+ Problems in One Site but not AnotherIn a web ASP application with IIS 5.0 that uses a COM+ application comprised
of 50+
components contained within about 30 DLLs (handles data access and business
logic) one of the components is throwing errors (ASP Timeout errors, Invalid
Use of Null error) even though it's been running fine for three years (and
was working fine this morning) and I haven't touched it in a year. It is
contained within a DLL that provides a DB-read component (which is working
fine and works with SQL Server) and a write-to-DB component which is the one
that suddenly does not work (it also uses transactions).
I've triend shutting down the entire COM+ application without effect. I have
not restarted the production server or IIS yet, since it is in high use
throughout the day. All of the other components, transactional and otherwise
are all working fine. And in fact, another identical ASP application (a demo
site) that uses
the SAME components works fine
Does anyone know what may be going on and how to resolve this one component
going crazy in one web application but works fine in another (identical
one)?
Thanks for any help.
- 15
- ASP.Net >> Deployment problemI created a very simple Web Form application with Visual Studio 2005
Professional Edition.
It just has some text on it.
On the test machine it works fine.
I deployed it to a production server by copying
all the files in the project to the Website.
It does not work on the Site.
There are no errors in the Event Logs
I tested be the production sever by creating a Default.aspx
page in Dreamweaver and copying it to the server. It work fine.
Questions:
1) Should I have not copied the App_Data directory?
2) Is there some preparation that must be done before the
project is copied to the Server?
3) Are there settings in web.config that must be changed?
Thanks.I
|
|
|