all groups > asp.net > june 2003 > threads for june 29 - 30, 2003
Filter by week: 1 2 3 4 5
unable to create Web project
Posted by John Baima at 6/30/2003 11:43:10 PM
I am unable to create Web project now. If I do a File | New Project |
ASP.NET Web Application, I always get a message like:
======
Unable to create Web project 'MyTestWeb'. The file path
'c:\inetpub\wwwroot\MyTestWeb' does not correspond to the URL
'http://localhost/MyTestWeb'. The two need t... more >>
hidden field
Posted by Joël at 6/30/2003 11:17:28 PM
hi!
Is it possible to have a textbox web server control as hidden ? and how ?
When I use the visible property the textbox isn't rendered.
... more >>
cookie lost when browing with Windows Explorer
Posted by Frank at 6/30/2003 10:17:40 PM
Hi all,
I am using Forms authentication with login.aspx page as below to issue a
ticket, then send the cookie to the client such that next request from the
client should bring the credential.
It works perfectly with Internet Explorer. But if I use Windows Explorer to
access the web site, ... more >>
Can ASP & ASP.NET Apps Be Hosted in Same Site?
Posted by Steve at 6/30/2003 9:28:14 PM
I have mixed ASP.NET and classic ASP apps environment,
ASP.NET needs to invoke classic ASP. I had problems to put
these two apps in the same site(or vir-dir). It seems
that IIS gets confused by the co-existing global.asa and
global.asax. If I removed global.aspx but left global.asa
with W... more >>
How do you centrally store and include reusable javascript functions into .aspx pages?
Posted by nikkinz NO[at]SPAM talk21.com at 6/30/2003 9:23:04 PM
Hi,
I would like to create a central storage place for javascript
functions that I can then access from any of my asp.net projects.
An example of what I need it for is as follows:
I have a class library that contains a function I use all the time (to
create a link around some text). That ... more >>
Cache a User Control?
Posted by DDK at 6/30/2003 8:34:48 PM
I am wondering how to go about caching a User Control for a set period of 24
hours starting at a certain time like 3am and lasting til 3am the following
day. I know you can put the Output cache directive in the User Control
but I need the cache to be permanent, and I don't think you can make i... more >>
Where can I find a newsgroup about ASP coding without .NET involved?
Posted by RP at 6/30/2003 8:00:01 PM
Hello, I haven't moved to NET yet. Still using good old ASP and ADO plain
vanilla. Is there a newsgroup that I can ask a question on? All I see are
the ..NET versions.
Actuall I have VS Net loaded but everytime I go in the Dev Env I get
overwhelmed. :) Can't get the Debugger to start(F5) . I ... more >>
shortcut to web application
Posted by Stoyan Stratev at 6/30/2003 7:58:31 PM
when i create a deployment project i want to make a shortcut on the user's
desktop that opens up internet explorer and goes to the start web page of my
project.
but all i can do is create shortcuts to files in the project. how do i
create an internet shortcut instead?
thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
HELP: Yellow TextBox ??
Posted by Jurjen de Groot at 6/30/2003 7:17:40 PM
I'm developing a ASP.NET/VB.NET web application. (VS.NET 2003)
I've created several webpages, but on two pages one textbox colors yellow
(the background) and I can't get the background to appear as White as it
should by default. Even setting the background to Red doesn't prevent it,
the textbo... more >>
How can I email the page
Posted by Mike John at 6/30/2003 5:21:08 PM
how can I execute "send page" method that is under Tools
then mail and news in the tool bar.
is any way to execute that method from aspx web form.
So, if there is such a method , how can I control the To:
text box, so I can pass the email address from within my
code.
Sincerely yours
... more >>
Item Cell Text in grid
Posted by dsoltesz at 6/30/2003 5:16:53 PM
I have a grid that has a couple columns all are bound
columns except one..which is a button column. I use the
code
TableCell IDColumn = e.Item.Cells[1];
FileName = IDColumn.Text;
if I set the cell index to any of the bound columns I get
the text out of the cell...if I set the cell i... more >>
Application restart
Posted by mike C. at 6/30/2003 5:12:38 PM
Hello Everyone,
I have a ASPNET application which does some file operation under application
folder. Sometime this file operation causes the application restarts, all
sessions are lost. I found some description in VS help:
"An application restart can occur because of changes to the Web.confi... more >>
customErrors 404
Posted by NRao at 6/30/2003 5:05:05 PM
Hi Everybody,
I have a problem tracking 404 error. When I configure
customErros tag it is only capturing .ASPX pages. For all
other file types it is returning IIS 404 page. Is there
any way I can capture all 404 errors with <error> tag in
web config. I mean .asp, .htm, etc..
Thanks
... more >>
How can I print the page
Posted by Mike John at 6/30/2003 4:47:51 PM
Is there any method that I can run to excute the print
dialog window
sincerely yours
Mike John... more >>
Selecting Certain Number of Characters from Table -- Simple SQL Question
Posted by Ron at 6/30/2003 4:23:58 PM
How can I select a certain number of characters from a string, without
selecting the whole string?
For example, I want the first 50 characters of a 500 character string in my
database. What would the SQL command to do this look like?
Thanks,
Ron
... more >>
Server side Window.open?
Posted by Robin Day at 6/30/2003 4:16:00 PM
Ok, this has to be either easy, or impossible...
I'd like to fire of a pop up window using serverside code...
Basically its a preview popup of a form.
The aspx pop up page goes through the session etc to display the information
entered so far.
Just a javascipt href will not work as when the... more >>
Sending Mail without CDO or JMail
Posted by Ron at 6/30/2003 4:15:46 PM
Does anyone know of a free distributable mail package that is capable of
sending simple mail messages from a web form?
The reason I ask is because the server I am using doesn't have CDO enabled,
and I don't want to use JMail.
Thanks for your help,
Ron
... more >>
IsNothing
Posted by CSharp at 6/30/2003 3:59:46 PM
Hi,
Whats the equivalent in C# for the IsNothing function in VB.Net
Thanks.
... more >>
Manual postback
Posted by dragonzfang NO[at]SPAM hotmail.com at 6/30/2003 3:55:43 PM
Hello:
I have seen several postings on this, but forgive me - I am having
difficulty understanding them.
I am trying to figure out how to manually cause a postback to happen
without a user having to click another button. I've seen a postings on
something called a __DoPostBack, but I don't k... more >>
Can't display trademark symbol in javascript and aspx
Posted by mrwoopey NO[at]SPAM yahoo.com at 6/30/2003 3:54:43 PM
Hi,
On my site I have "SomeProduct™", a name with the trademark symbol, in
a javascript menu. When the page (js) was refered in classic asp it
showed the trademark symbol. Now the page is aspx (.net) and the
traemark symbol displays as a "?".
I used String.fromCharCode(153) to display the "... more >>
TableCell
Posted by Serdar Kalaycý at 6/30/2003 3:50:36 PM
I create a TableCell by
TableCell cell = new TableCell()
but I could not find how to add a TextBox inside this cell. Any ideas?
Thanks in advance
Serdar KALAYCI
--
... more >>
local file download
Posted by dsoltesz at 6/30/2003 3:27:34 PM
I'm trying to download a local file from the server.
Went I get the save dialog box and save the file, its
saving the current aspx page and not the file I
specified. Here is the code I"m using. Any ideas why
this is happening?
Response.ContentType = "application/x-zip-compressed";
Sys... more >>
RegularExpressionValidator for money??
Posted by Helixpoint at 6/30/2003 3:24:59 PM
^\d+(\.\d{2})?$
The above works for 23.33 but I need it to work for....
23.3
2,333.33
2,333.3
--
______________________
David Fetrow
HelixPoint LLC.
http://www.helixpoint.com
davef@helixpoint.com
Interested in Affordable Email Marketing?
Check out the HelixMailer at http://www.hel... more >>
Need Help Passing SelectedIndex (Int32) to IE Tabstrip Control
Posted by Robert V. Hanson at 6/30/2003 3:07:36 PM
I have a user control built using the Microsoft IE Control.
I declared a public variable as int32 (DefaultTab) in the user control.
I can't seem to provide the correct syntax to the tabstrip property other
than SelectedIndex = 1 which works but if I try SelectedIndex = DefaultTab,
it fails s... more >>
Terminating a authenticated user
Posted by Kristofer Liljeblad at 6/30/2003 2:43:50 PM
Hi,
1. How can I "terminate" an authenticated user? (I would like the server to
redirect the user to the login page again. I'm using "forms
authentication".)
2. Is it possible to enumerate all sessions on a IIS? Is it possible to
enumerate all authenticated users on a IIS (without the use o... more >>
string search
Posted by tangolp NO[at]SPAM yahoo.com at 6/30/2003 1:59:11 PM
Is there a way to search a string within a string. For example, I
want to search for "world" in "Hello world" knowing that "world" can
be anywhere in the string. How do I do that? Thanks.... more >>
PLEASE IGNORE: TESTING
Posted by dotnetboy2003 NO[at]SPAM yahoo.ca at 6/30/2003 1:50:18 PM
Raising an Event via Code
Posted by Dane Dickey at 6/30/2003 1:43:37 PM
Our web application has a user control on a web page to
display hierarchical data and allow the user to "drill-
down" the hierarchy tree. The user control is a datalist,
with an image button("+" or "-" sign like windows
explorer), a checkbox and a label. Currently when the
page first lo... more >>
dynamic controls and viewstate?
Posted by Abel at 6/30/2003 1:35:11 PM
Hello -
How can I utilize ViewState when my webform has dynamically generated
controls?
Is there a way to add/retrieve values to/from viewstate so that I can use
ViewState? I'd rather not have to manually "manage state" in my webforms
for persistant control values if there is a way to use ... more >>
QueryInterface, with the object Excel.Application
Posted by Dominique MILLOT at 6/30/2003 12:39:15 PM
Hello,
With Asp.Net, I try to generat a document with an Excel object.
This is the begin of my procedure:
Dim xapExcel As Excel.Application
xapExcel = New Excel.Application()
xapExcel.Visible = False
At the last line I obtain th... more >>
Compact Privacy Policy?
Posted by charles at 6/30/2003 12:08:22 PM
My site works great on its own but cookies are rejected when it is Framed
into another site because (the messages tell me) I don't have a "Compatc
Privacy Policy".
Can someone suggest and example which shows how this is done?
thanks
charles
... more >>
Strange Request Size problem
Posted by Marina at 6/30/2003 11:42:15 AM
Hi,
When posting to a particular ASP.NET page from ASP, we get a generic DNS
error when one of the form variables gets beyond around 1290 characters or
so. The error can litterally be eliminated and reproduced by the deletion or
addition of a single character
Now, the maxrequestlength in ma... more >>
Server.Transfer to ASP.old pages?
Posted by Jon Sequeira at 6/30/2003 11:34:21 AM
Is there a way to redirect from an ASP.NET page to an ASP page without
showing the ASP page's URL in the client's browser?
This works perfectly with an HTML page, for example:
path = "~/cp/test.htm"
Server.Transfer(path, False)
But with an .asp extension, the I get an HttpExceptio... more >>
Access to Application object from exe
Posted by Woland at 6/30/2003 11:29:44 AM
Hi,
I have many virtual directory with my web app. I'd like to create one exe
appliaction to administrating these web apps. Is it possible to access
Application object of web appliaction from exe appliaction?
With regards,
Woland
... more >>
Bypass validation on cancel
Posted by Corey Olsen at 6/30/2003 11:21:37 AM
Can anyone point me to some documentation on bypassing validation controls
when a user selects cancel?
What I have is a user control with a form to fill out information on a
subject. The user should be presented with two buttons a "Submit" and a
"Cancel". When the "Cancel" button is selected... more >>
Smart Navigation Problem
Posted by Simone at 6/30/2003 11:13:01 AM
This problem appeared after we moved our application to the production
server.
On the test and development servers, the smart navigation feature works
well, and we don't even see the flash (flickering) on postbacks. But on the
production server, the smart navigation doesn't seem to work, and we ... more >>
Refresh Parent window from child window causes problems
Posted by phoenix_cbe NO[at]SPAM yahoo.com at 6/30/2003 11:01:23 AM
Hi All,
I have a problem with trying to refresh the parent window from
child window in order to update data in the parent window.
The sequence of events are
1) I click a button in the parent window to open a child window thru
javascript
window.open
2) I have some functionality in the... more >>
ASP.NET and HTTPS
Posted by John Peter at 6/30/2003 10:28:15 AM
is it posiible to send data to a HTTPS server using
ASP.NET
John... more >>
How is the best way to valid an entry ?
Posted by Edmilson at 6/30/2003 10:12:00 AM
Hi,
I´d like to know if there is a pattern to valid some input controls.
For example, I´d like to know which is the best way to valid an
textbox... should I use Javascript ? RequiredFieldValidator? or another one
?
By now, I´d like to know how to valid a textbox that need to hav... more >>
server.transfer to reload PARENT page (contains frames) -- how to retain values?
Posted by KathyBurke40 NO[at]SPAM attbi.com at 6/30/2003 9:47:38 AM
Hi,
Been reading a LOT about frames, variables, etc. I realize you can NOT
use server.transfer with target frames (which are client)...
I have a Parent frame containing Left and Right frames. IS IT POSSIBLE
(and HOW please) to do the following:
4 text controls filled in by user in Left fr... more >>
Validators and javascript
Posted by dmedina at 6/30/2003 9:45:20 AM
How I can from client javascript know when one of my
textboxes, Radio Button List, drop down box, etc...
Validated to False when submitting the form.
I can get the page_Isvalid==false but i need to know which
control is empty or not selected, so i can put the
cursor...
//Sample code
i... more >>
smtpMail Class
Posted by Renato Giron at 6/30/2003 7:33:31 AM
I am trying to use an aspx page to send email using the smtpMail class and
my smtp server . When I click send but when I check my inbox no messages
appear. The page doesn't give any errors. I doble checked and my code behing
seems find:
Dim objmail As New Web.Mail.MailMessage()
objmail.From... more >>
Auto letters (word ) from ASp.NET
Posted by srinivas at 6/30/2003 7:06:48 AM
HI All,
I am planning to use word object model for printing auto
letters for an ASP.NET application , I am not sure If its
the best way to do it .
The alternative would be use of Crystal Reports .NET and
export to word .
I want to know the best approach , I have read about some
dis... more >>
Can I run an ASP.Net Web Server on WindowsNT SP6+
Posted by Kevin Love at 6/30/2003 6:56:05 AM
I work in a corporate environment. We are stuck
on NT4.0 (with latest service pack). I want to put
up an XML web service on my workstation. Noticed this
release note on Visual Studio .Net.
#####
Following are the operating system requirements for
working with Web Forms and XML Web serv... more >>
Scrollable Container
Posted by Robert at 6/30/2003 6:24:38 AM
Is it possible to create a Panel with a vertical scrollbar?
Thanks
Rob... more >>
Debug Does Not Start
Posted by Luca Buratti at 6/30/2003 2:28:22 AM
I have an application that does not debug...but any other
application debug normally...
what can I check?... more >>
How to put header onto one file for quick editing
Posted by Kian Goh at 6/30/2003 1:20:27 AM
Hello,
I have about 6 webpages contain the same header and footer. Everytime I want
to modified my header/footer, I have to edit all 6 webpages.
Is there any way that I can put them in one file for quick editing (like
SSI)?
Thanks,
Kian
... more >>
State Server error 1074
Posted by Glen at 6/30/2003 1:09:14 AM
I cannot find any documentation on this state server error. Any
suggestions?
----------------------------------------
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1074
Description:
An error occurred in while processing a request in state server. Major
c... more >>
why the links appears as simple text?
Posted by diana.bcn.ttd.net at 6/29/2003 10:15:42 PM
I use a objectlist control and the links apperas at "pocketPC emulator" as
simple text??
Anybody can help me??
thanks.
... more >>
versioning of assemblies
Posted by medhanush NO[at]SPAM yahoo.com at 6/29/2003 9:37:24 PM
Hi,
I was reading a doc on versioning, and came to know that versioning of
assemblies are easier than ever. Can sb pl mention me, how this can be
achieved using config files and how runtime locates these assemblies
OR any pointers to these docs ?
TIA
Kishore... more >>
Designer refuses to load webform when some of base classes was changed
Posted by Anatoly at 6/29/2003 3:24:18 PM
We have some base classes library which includes also base web form class.
In every new project we adding one web form class which inherits from our
base class web form.
All other web forms in this application inherits from this Application
specific base form.
Now the problem is when some cha... more >>
Difference between classes and assemblies
Posted by Keith Tang at 6/29/2003 3:09:35 PM
Hi everyone,
I was wondering what the difference between classes and
assemblies are in .NET. Is an assembly a .DLL in the COM
sense? Or are they uncomparable? And is a class an object
in .NET? Someone please clarify this up for me. Thanks!
Keith
... more >>
Large Arrays of Strings
Posted by Maxim at 6/29/2003 1:14:39 PM
Hello,
I was wondering what the best data structure is to hold a large list of
strings?
Currently I am using the ArrayList, which seems to be terribly slow to add a
large number of strings.
Any help on this matter would be fantastic.
Thankyou.
Maxim.
... more >>
How to add Attributes in <asp:CheckBox> ?
Posted by Liu Xuesong at 6/29/2003 11:54:21 AM
I want to add Attributes into CheckBox in .aspx page
<html>
<asp:CheckBox id=3D"ChapterCheck" runat=3D"server" />
</html>
How to add Attributes in <asp:CheckBox> ?... more >>
Setting Focus on field when RequiredFieldValidator fails - This Works!
Posted by Steve Yerkes at 6/29/2003 4:24:36 AM
There seems to be way too much confusion over how to set focus on the a =
field using a field validator. I looked all over the web and found =
people trying to do this, but not getting anywhere. There are a couple =
of people selling components... but that is not really an option for =
me... ... more >>
Pack QueryString
Posted by Axel Dahmen at 6/29/2003 2:38:20 AM
I've got a (probably) long list of data which I want to send to an ASPX =
page by query string. To keep the URL short and compact I want to =
compress the data before I put it into the query string. The target page =
is supposed to unpack the data again.
I'm thinking about a technique similar ... more >>
How to submit form and change value with JavaScript function?
Posted by Jurij P at 6/29/2003 12:20:57 AM
I have a problem.
I would like to change a value from textbox with JavaScript before I submit
the form (submit updated value). Can anyone please help me?
thank you, Jure
... more >>
Need ASP Help
Posted by Abraham at 6/29/2003 12:13:09 AM
I want to design a system, for License regestration in MS
Access and i will get it into the web by ASP..
what i want to know is how to make a notification that
will be sent to a particular person by email , by using ASP
This notificatin is to notify that person before one week
for an applica... more >>
How to see what caused PostBack
Posted by Bisser Milanov at 6/29/2003 12:05:10 AM
I have few buttons on a page. In Page_Load I would like to determine which
one caused post back. How to do?
... more >>
|