all groups > asp.net > november 2003 > threads for thursday november 6
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Why are all my asp:textboxes different?
Posted by Child at 11/6/2003 11:59:18 PM
I want all of these to have a white background, but even if i set the
property, some remain yellow. If i give them all the same class they take
on the correct border, the correct fonts, etc, but the damn background
color is yellow on some.
http://apca_server/ruralhealthconference/Abstrac... more >>
Escaping ' in Javascript ?
Posted by Ben at 11/6/2003 11:36:43 PM
I tried to pass in a query string to a open window via
the following codes :
string strName = tbName.Text.Trim();
Response.Write("<SCRIPT> javascript:window.open
('Search.aspx?Name=" + strName
+ "', 'Search', 'width=600,height=550,left=280,top=100,scr
ollbars=1,resizable=1,status=1') <... more >>
how to set focus on a textbox after onclick of a button
Posted by sumit at 11/6/2003 10:40:47 PM
Hi,
I want to set focus on a textbox after i click on a button
on .aspx page.
I have written it in java script but it sets before
page_load event occurs and after event of buttonclick it
goes off!!
can anyone suggest how to set it!1
thanks
sumit... more >>
Drop down behavior
Posted by shimonsim NO[at]SPAM talamus.com at 11/6/2003 9:22:39 PM
I have two pages on one if focus is on the drop down that has numbers from 0
to 10 (select html) and user presses a number, element shows next matching
number. In an other page it seems to be the same generated html (different
css) and client side behavior of the element changes - it only changes... more >>
System.Web.UI.Control
Posted by tascienu NO[at]SPAM ecoaches.com at 11/6/2003 9:14:51 PM
Guys,
I am trying to run through the page controls, if the controls' id is
found in the database, then I change the corresponding text from the
database. but, the system is coming back with error:
BC30456: 'Text' is not a member of 'System.Web.UI.Control'.
how. I am sure the label control... more >>
calling a COM object in ASP.net
Posted by k at 11/6/2003 6:39:39 PM
Access is denied.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Access is denied.
AS... more >>
Possible Session State Problem
Posted by Brian Mahloch at 11/6/2003 6:23:35 PM
Hello,
I have an ASP.Net application that seems to hiccup every so often for 10 -
15 minutes. The situation is that the controls on the web form (loading
dynamically from SQL Server) will come back blank. Every user will
experience the same issue and then lose all their session state informa... more >>
Operator is not valid for type 'ArrayList' and string "".
Posted by Marc Bishop at 11/6/2003 6:16:21 PM
can anyone help me with this?
Code Snippet:
Dim ArrCart As New ArrayList()
if NOT Session("sesCart") = "" then
ArrCart = Session("sesCart")
Error:
System.InvalidCastException: Operator is not valid for type 'ArrayList' and
string "".
Line 26: if NOT Session("sesCart") = "" then
Thanks... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
export crystal reports help needed!!!
Posted by Benny at 11/6/2003 6:15:16 PM
hello all,
currently im working on a asp.net web application using c#, and im able
to export a crystal report in the code to a pdf file. however, what i
want now is serveral crystal report into a sing pdf file. how can i do
this?
thanks,
benny
*** Sent via Developersdex http://www.dev... more >>
asp:panel, Submit Button, Database
Posted by harrysingh1976 NO[at]SPAM hotmail.com at 11/6/2003 6:06:14 PM
Hi,
Slight problem in asp.net. (c#)
I have a asp:panel page set up, with two different panels both of
which contain a form.
On the second page the user presses submit and the form details are
automatically entered into a SQL database.
Problem is, when the user presses the next button on... more >>
asp.net and pws
Posted by Rafael Pivato at 11/6/2003 5:58:15 PM
(Sorry if this is not the right group.)
Can I have ASP.NET with the Personal Web Server running at a Win98 ?
--------
Rafael Pivato
... more >>
Enter Key envoking button without being over it
Posted by Phillip Kennedy at 11/6/2003 5:54:36 PM
Hi,
HELP!!!! we are having a problem where we have a web page
with a number of buttons and form fields, unfortunately
whenevr we hit the enter key in a form field it is
envokingthe 1st button, WHY??? this is a major issue for
us please help......... more >>
Date Formatting
Posted by Jeff S at 11/6/2003 5:20:03 PM
I simply want to format a date that originatges as a string.
Dim strTemp as String
strTemp - "2/6/2003"
I want to format it so that it is "Feb 06", and separately format it to be
"02/06/2003"
Thanks.
... more >>
ot: App Needed
Posted by John at 11/6/2003 5:09:32 PM
Hi
I am looking for an asp.net web app that allows clients to enter their
orders online which are then sent to us via email.
Any recommendations would be appreciated.
Thanks
Regards
... more >>
asp.net vs asp
Posted by John at 11/6/2003 5:06:39 PM
Hi
Is it quicker to develop using asp.net than with asp?
Thanks
Regards
... more >>
How to read input from a textfield in a datagrid !?!
Posted by Remco Groot Beumer at 11/6/2003 5:02:24 PM
Hello,
I'm working with a datagrid control in ASP.NET. The datagrid shows a list of
products. One column shows the productnumber, one column shows the
productname, one column shows a picture of the product and the last column
shows an empty textbox with an 'OK' button.
People can enter a qu... more >>
Mozilla client side validation does not work
Posted by Robert Wagner at 11/6/2003 5:01:38 PM
I've created a page using VS.NET and page validator controls. The client
side validation works fine on IE, but does not even activate under
"alternate" browsers like Mozilla, Opera, etc. Why is this? I can't find any
differences on the pages produced, and Mozilla should be able to handle
everyth... more >>
Can creat asp.net apps
Posted by John at 11/6/2003 4:49:24 PM
Hi
When I try to cerate an asp.net web app I get this message; '...the
specified server is not running asp.net 1.1..."
I have installed vs.net 2003 (net framework 1.1). What else do I need to
develop and run asp.net apps on my localhost?
Thanks
Regards
... more >>
DataGrid contains no data after postback of edit button click...
Posted by Andrew Connell at 11/6/2003 4:31:23 PM
This is specifically what is going on in my application:
http://msdn.microsoft.com/asp.net/using/building/webcontrols/default.aspx=
?pull=3D/library/en-us/dnaspp/html/aspnet-commondatagridmistakes.asp#aspn=
et-commondatagridmistakes_topic6
However, regardless of how I bind my dataset... it kee... more >>
Crystal TreeView doesn't display properly
Posted by SWu at 11/6/2003 4:01:06 PM
Hi all,
The treeview that displays on the left side of the report viewer doesn't
display properly on my production server (it displays properly on my
development machine). I see the X's (crosses) where I should be seeing the
+/- symbols of the treeview -- which would apparently mean that the ... more >>
Problem with IIS 6
Posted by Janaka at 11/6/2003 3:57:44 PM
I've recently set up IIS6 on a Windows 2003 server and am trying to migrate
over my ASP.NET applications. I'm not using VS and my page's aspx file
ususally contains something of the following: <%@ Page Src="Default.cs"
Inherits="MyNamespace.Default" %> which worked fine previously. However
n... more >>
Multithreading with HttpWebRequest
Posted by Fieldadvice at 11/6/2003 3:50:21 PM
Hi,
Im starting a new thread in my main aspx page, but when I run it, it always
runs through the main code first THEN the workerthread. Can somebody shed
some light on the problem??
Here is the code:
public class WebForm1 : System.Web.UI.Page
{
private FeedAsync Feed1;
public Xml... more >>
How to mark first occurence of value in a datagrid?
Posted by jmk NO[at]SPAM larvikbanken.no at 11/6/2003 3:45:06 PM
This should be an easy match, but I'm lost. I want to perform a kind
of grouping of the data in a datagrid object, so that only the first
occurrence of a value in column one is visible. The following equal
rows should be blanked in column one, se example:
Col.one Col.two Col.three
A ... more >>
HTML Email.
Posted by Alex at 11/6/2003 3:31:46 PM
Hi,
My booking system sends a HTML formated email as a recipt to the client
on completion of their booking. All is working well however it has been
pointed out to me that not all people's email clients will display the
reciept as HTML, if for instance the person has chosen to view email's a... more >>
DropDownList values are case sensitive?
Posted by Boban Dragojlovic at 11/6/2003 3:30:00 PM
Say I have a dropdownlist control of the US State Codes
<asp:dropdownlist id=ddlStateCode ...>
<asp:listitem value="AL">Alabama</asp:listitem>
<asp:listitem value="CA">California</asp:listitem>
etc...
In my codebehind, I have something like this:
ddlStat... more >>
DataGrid with Checkbox: Need both OnCheckedChanged and onclick client script
Posted by homaneag NO[at]SPAM yahoo.com at 11/6/2003 3:18:49 PM
Hi,
I have a Datagrid that uses as a shopping cart and have a checkbox
template column in it. I can't add both OnCheckedChanged Event and
onclick client script for it.
I want to do two things:
1. I want the checkbox fires CheckedChanged event. I did this as
follows:
In the DataGri... more >>
Call server side code from client side
Posted by Borr at 11/6/2003 3:09:03 PM
Hi,
I have an ASP .NET page, that runs client side timer that
does something on the Server side and after that loads
another page. So I have on client side something like :
function OnPageLoad()
{
setTimeout("OnTimer()", 10000);
}
function OnTimer()
{
ServerMethod();
... more >>
How to make a new version of a program?
Posted by Bucko at 11/6/2003 2:52:33 PM
Hi guys,
All I want to do is make a seperate version of my current asp.net
program to work with a different database and other slight changes. I
still want to keep the old version.
Hope this makes sense...just wanting to make a slightly different
version of my old program but still kee... more >>
Compiler Error Message: CS0006
Posted by Invalidlastname at 11/6/2003 2:39:17 PM
Hi,
Our developer team recently started getting the compilation error, see =
below, once a while running the asp.net web application from Visual =
Studio 2003 (in debug mode), and we have to rebuild the solution or =
deleted the VsWebcache to get rid of this error
I suspect this error is rela... more >>
Need help comparing dates
Posted by Duppypog at 11/6/2003 2:37:06 PM
I'm trying to compare a date stored in a database with today's date using an
If statement, but it's not returning true. Example, value in database is
11/5/2003 with today being 11/6/2003. Can someone spot the problem?
Thanks,
Lynnette
Here's the code:
sSQL = "Select PWExpire FROM tblUser... more >>
Autofresh and persistant checkboxes
Posted by Paul at 11/6/2003 2:27:03 PM
Hi I'm trying to implement a 30second auto-refresh of an ASP page, I've
tried using the meta tag but if I do that my checkboxes don't remain
persistent, they do remain persistent if I programmatically cause a
postback.
Any better way of doing auto-refresh?
Paul
... more >>
Add script tags to page at run time
Posted by WFB at 11/6/2003 2:17:22 PM
Hi,
I need to add a set of common javascript functions to pretty much every page
on my site. Currently each page inherits from a base page. Is there an easy
way to do this, or am I going to end up editing each page?
Thanks
Joe
... more >>
dropdownlist in a datagrid - allow for no value to be selected
Posted by Mark at 11/6/2003 1:33:55 PM
I'm using TemplateColumns in a datagrid to allow a record to be edited. The
record contains several columns that are dropdownlists that pull from
"dictionary/ code-decode" tables. However, these columns are NOT required
in the underlying table. Given that I'm using TemplateColumns, what is the... more >>
Using MSXML asynchronously?
Posted by Pat Friedl at 11/6/2003 1:24:58 PM
Hey all. I'm trying to use an ASP or dotNet page to use the MSXML object to
perform a "fire and forget" post to aURL asychronously.
In the documentation for MSXML, MicroSoft states that you can set up a
connection to be asynchronous, but I haven't been able to pull it of in a
web app. The reas... more >>
IIS Setup Guru Wannabe Question
Posted by Mythran at 11/6/2003 1:22:15 PM
Just a question that I keep forgetting to ask "off-topic" to others in the same
field of work or hobby...
Yes, I know this isn't a group specific question, but would like to know how
y'all setup yer IIS applications, whether it be a .Net Web Application, or an
older ASP X.X application.
Und... more >>
Newbie Questions
Posted by Meir Rotfleisch at 11/6/2003 1:20:32 PM
HI
Well I again have some initial questions.
I have created an app that connects to a MDB file. It runs fine in
development but when I put the files onto the live site it doesn't run my
quess is that the ConnectionString needs to be changed What or Where should
I be placing the MDB on the L... more >>
Help ThreadAbortException for Response.Redirect!
Posted by VB Programmer at 11/6/2003 12:53:51 PM
I have a default.aspx page that simply does this (in the "Try" block):
Response.Redirect("MyStartPage.aspx")
I keep getting this exception on this line:
"System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Threa... more >>
Can anybody help with this code?
Posted by Catalin Porancea at 11/6/2003 12:49:00 PM
Can anybody tell me what is wrong with this code? I would really appreciate
some help here.
The data grid has 4 columns (0,1,2,3), and 1 is not visible.
Whenever I click Edit, I get this error:
_____________________________
Specified argument was out of the range of valid values. Parameter n... more >>
Web Deployment
Posted by Dave Rettberg at 11/6/2003 12:33:39 PM
I am attempting to deploy my ASP.NET app to a web server.
I had deployed it once, but realized I hadn't included the
source files in the setup. I uninstalled it from the
server, rebuilt my setup with the source files and re-
installed it on the server. During the installation, I
now get ... more >>
Need to restart WWW services?
Posted by LL at 11/6/2003 12:29:27 PM
Hi,
I use Applicaiton lever variable like this: Application["MyVal"] = xxx;
Do I need to restart the WWW service every time to reset it?
I also have several Session variables. When Session_End event fire, all of
them are null, right?
Thanks.
... more >>
Open a file in a a new window
Posted by Anita C at 11/6/2003 12:25:40 PM
Hi,
On a web form, in the click event of a button I want to open a .htm file in
a new window. However I only know the path of the shortcut which points to
file that needs to be viewed in the new window. What server side code do I
use to do the above ?
Thanks a ton.
... more >>
Could not use ''; file already in use.
Posted by M K at 11/6/2003 11:54:36 AM
I get the message: 'Could not use ''; file already in use.' on my pages if I
am working in the database. I used to be able work in the database (Access)
and users use the site, but I tried to install Remote Debugging tools from
VStudio 2k3 and since then it has been messed up.
Please, this is ... more >>
ASP.NET performance benchmark
Posted by zhangke NO[at]SPAM yahoo.com at 11/6/2003 11:35:44 AM
Hi,
We are building a portal web site using ASP.NET, the peak number of
users is expected to be around 1 million. Is there good information
about ASP.NET performance benchmark? Is there any recommendation like:
what would be a good size of a page, how large viewstate can be and
how many datag... more >>
Taking the plunge - first .net question
Posted by D. Shane Fowlkes at 11/6/2003 11:33:33 AM
I'm a traditional ASP developer and am experimenting with asp.net. I
installed .NET Framework 1.1 and make a quick and dirty test page called
random.aspx . Can anyone tell me why this page doesn't write the value of
"X" to the page AND why I can view the <% %> source code in the browser? It
m... more >>
Server error in blank webservice
Posted by Daniel Rimmelzwaan at 11/6/2003 11:26:28 AM
Hello all,
I don't know what to do anymore, I thought I was not coding my stuff
correctly, but I am having problems with Visual Studio it seems. When I
create a new webservice on my local machine, remove the comments around the
Hello World service and build it, everything works fine. Then, whe... more >>
Update an image URL without refreshing the page
Posted by a_muthiah NO[at]SPAM hotmail.com at 11/6/2003 11:17:16 AM
Hello,
I have a seemingly basic question about ASP.NET. I would like to
create a page containing an image, which keeps swapping the url of the
image source, without refreshing the entire page. So when the page
first loads I'd like the image url to be "img1.gif"; then 20 seconds
later "img2.gi... more >>
Server.Execute vs Include?
Posted by Keith Chadwick at 11/6/2003 10:44:38 AM
I have several small pieces of common code that get applied to each page.
Which is better a better way of including them in other pages? Use the
traditional include statement or go with the Server.Execute("pagename")
method.
Thanks
Keith
... more >>
Adding a carriage return to text in a multiline textbox in design view.
Posted by Simon Middlemiss at 11/6/2003 10:41:44 AM
I have a multiline textbox which I would like populated in the following
manner.
"Line1
Line2
Line3
Line4"
etc. I know how to do it in code, but is there a way to do it in the design
view?
Cheers
Simon
... more >>
web application development
Posted by androger at 11/6/2003 10:10:17 AM
hi,
I'm using win2k professional, and i'm having trouble
whenever i try to open a web service project in VS.NET
2003, I'm always getting this message:
"Visual Studio .NET has detected that the specified Web
server is not running ASP.NET version 1.1. You will be
unable to run ASP.NET ... more >>
Class design - minimize DB calls
Posted by H Branyan at 11/6/2003 9:28:06 AM
I have a User class that takes a UserID as a parameter in the constructor,
and then looks up the record in the DB and stores the values into the User
class properties. Often when a page loads, I have to grab the same User
several times to display information on several different places on the
p... more >>
Question: Write file to "Secured" dir in website
Posted by VB Programmer at 11/6/2003 9:02:36 AM
I want to write a file to the "secured" dir that is on my website. The full
path is: C:\inetpub\wwwroot\MyWebSite\Secured
I tried this, but it didn't work:
Dim strFileName As String = "Secured\MyFile.txt"
Dim sw As New StreamWriter(strFileName)
sw.WriteLi... more >>
Connection to SQL fails, OK from ASP and VS.NET
Posted by Tom Kaminski [MVP] at 11/6/2003 8:51:05 AM
My SQLConnection fails from an aspx using Basic authentication and an
integrated authentication connection string. An ASP in the same folder
works 100% OK and I am also able to connect to and work with the database
using my Windows account through Visual Studio 2003 as well as SQL
Enterprise Ma... more >>
codebehind error
Posted by ani at 11/6/2003 8:42:00 AM
When I try to open the web form page, I get a designer
error which says:
'the file could not be loaded into the web forms designer.
Please correct the following error and then try loading it
again:
The @Page or @Control directive contains a src=attribute,
which is not supported in V... more >>
ServiceController and "Access Denied" errors
Posted by Ron at 11/6/2003 8:38:30 AM
I have a asp.net application that uses the above class to
open, get status and start/stop a service. I can get the
Status of my Service, but can't start/stop it. I keep
getting Access Denied errors.
System.ComponentModel.Win32Exception: Access is denied
I see ServiceControllerPermissio... more >>
Cannot find server or DNS Error
Posted by dblist2003 NO[at]SPAM yahoo.com at 11/6/2003 7:50:44 AM
I have developed an ASP.NET application (VB.NET) using Visual
Studio.NET 2002 and .NET Framework 1.0 Version 1.0.3705
This application is being hosted on a dedicated web server 2.4GHz
machine with 768 MB of RAM. Server operating system is Windows 2000 Server.
The application uses MSDE which i... more >>
Rendering a new page without openning it in a Window - II
Posted by HVG at 11/6/2003 7:39:58 AM
My previous post on this didnt quite find a solution, so can we try again
please?
My senario is that from the codebehind in "page1.aspx", I wish to render
"page2.aspx"
(ie. a totally a different page) to html.
I'm after something like:
...
dim p2 as new Page(page2.aspx) ' <--... more >>
Access to the path Microsoft.NET Framework ASP.NET Files is denied.
Posted by M. Jerine at 11/6/2003 6:54:59 AM
Anyone know how to fix this problem? I'm running Windows
Server 2003 with MS Sharepoint Portal Server 2003. After
installing, I'm trying to access the "Sharepoint Central
Administration" web page and I get this error:
Access to the
path "D:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\Temp... more >>
Pass ASP Array variable to Javascript
Posted by Augusto Cesar at 11/6/2003 5:41:08 AM
Hello people.
How can I Pass ASP Array variable to Javascript;
I´m to trying this:
<script language="JavaScript">
var x = new Array(10);
x = <%= myArrayAsp %>;
</script>
but return error to me...... more >>
Throwing Exceptions
Posted by C at 11/6/2003 4:06:11 AM
Hi,
I my ASP.Net app when an error occurs I throw an Exception.
How do I get the error number from my exception object?
C... more >>
Unable to start debugging on web server
Posted by rams at 11/6/2003 2:52:28 AM
Hai all!
When ever i'm trying to run a web application it's giving
error " Unable to start debugging on web server, access
denied " or Unable to start debugging on web server,
catastropic failure "
I'm using a system which has Windows 2000 professional and
i'm( user id) there in administr... more >>
Unable to start debugging on web server
Posted by rams at 11/6/2003 2:51:38 AM
Hai all!
When ever i'm trying to run a web application it's giving
error " Unable to start debugging on web server, access
denied " or Unable to start debugging on web server,
catastropic failure "
I'm using a system which has Windows 2000 professional and
i'm( user id) there in administr... more >>
Rendering a page Without openning it in a Window
Posted by HVG at 11/6/2003 2:46:14 AM
Hi, is it possible to render a whole page (ie. a aspx webform) to a string
_without_ actually loading the page in a window? Eg if Iam executing
page1.aspx at the server, I would then like to render page2.aspx to a string
_without_ returning to the client.
I currently happily override the Rend... more >>
Server controls are not displayed run time
Posted by Ashish at 11/6/2003 2:11:08 AM
Hello
I created simple ASP project, and put server controls on the pages such as textbox, button , label
When I run the project the page is displayed with only lable control visible, rest of the server controls are not diaplayed.
Please help... more >>
How to Avoid Flickering?
Posted by Manohar at 11/6/2003 2:05:15 AM
Dear All
How to avoid flickering when server control is posted
back?
Thanx
Manohar... more >>
CheckBox in DataGrid
Posted by Sebi at 11/6/2003 12:50:12 AM
Hello all
is it possible to add a checkbox in a DataGrid for
Boolean Data?
Thanks in advance... more >>
Database connection string in web.config
Posted by refer_to_website NO[at]SPAM nospam.com at 11/6/2003 12:46:50 AM
How can I use the Server.MapPath(".") value inside of the web.config?
For example, when I add the following just before the
</configuration>, and run via CTRL-F5, I receive error
The '&' character, hexadecimal value 0x26, cannot begin with a name.
<appSettings>
<add key="ConnectionString... more >>
Operation must use an updatable query - user problem
Posted by Mr. x at 11/6/2003 12:42:23 AM
Hello,
I have hosted my site in an hosting server.
I got the following message, while trying inserting a record to the database
:
Operation must use an updatable query.
For what I know, I need to change the permision for the user name :
IUSR_MACHINENAME, that can change the database file.
... more >>
Inheriting from base form
Posted by Andy Breward at 11/6/2003 12:12:15 AM
Hi
I have created a base web form that all other pages
inherit from which is really nice as all my session and
seurity stuff goes in here and works well.
My issue is with the source code that the IDE creates,
this function: -
override protected void OnInit(EventArgs e)
{
//
// ... more >>
|