all groups > asp.net > august 2003 > threads for thursday august 7
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 31
JavaScript in ASP.NET
Posted by Jenny at 8/7/2003 11:48:25 PM
Hi all,
where can I find a good introduction on adding JavaScript
dynamical to my asp.net page? All books about asp.net
contain only little information on this!
Thx
Jenny... more >>
ASP.NET server notifications
Posted by sundeep at 8/7/2003 11:06:52 PM
I am working on a ticker kind of a application using
asp.net. The issue is that we are not allowed to install
anything on the client. All what i can do is to show a
aspx page to the clients and auto refresh for the latest
data after some time.. just being curious if any other
option to sen... more >>
question about a contact sales program???
Posted by Davef at 8/7/2003 11:00:19 PM
Scenario: I keep all the sales in a table with an id to a contact table, but
if I delete the contact, the sales information is wrong. What is the best
way to do this?
--
______________________
David Fetrow
HelixPoint LLC.
http://www.helixpoint.com
davef@helixpoint.com
Interested in A... more >>
Another Dumbass Question: Table not found
Posted by Child at 8/7/2003 10:07:50 PM
Sadly, I am learning this using Access, no cracks please, its certainly not my
preference:
I am attempting to connect to the database using OLEDB, but it returns that the table
cannot be found. The table is there and the name is correct. Several other tables yeild
the same results. Is... more >>
ASPX Dropdownlist
Posted by Sean at 8/7/2003 8:42:57 PM
Hi,
I have an ASPX Dropdown list.
I am unsure how to set my datasource.
I have a table that has 2 columns, an identity column and
a description column.
Has anyone got some sample code on how to do this.
I find it hard to get any sample code on the web.
Thanks,
Sean... more >>
Tricky postback
Posted by Matt at 8/7/2003 7:22:07 PM
Hello,
In an aspx page i have webform with some textboxes and a simple
button. When the button is clicked, there is a postback and then the
code in the click event of the button is executed.
However in this code (click event of the button), i'm processing an
online payment, which takes abou... more >>
DateTime function
Posted by TaeHo Yoo at 8/7/2003 5:03:46 PM
First of all thanks all guys for your time to look at my problem.
The problem I am having is datetime function.
Basically, I would like to have a datetime function that works machine
independently.
So regardless of the format of datetime string(ie,
d/MM/yyyy,dd/MM/yyyy,yyyy/MM/dd), this funct... more >>
Reading ASP.NET Response Header
Posted by google.1.jgilbert NO[at]SPAM xoxy.net at 8/7/2003 4:57:58 PM
Hi,
I need to read (& store) all the custom response headers in an
HttpResponse. I am writing an HttpModule and hence do not know what
headers could have been added (but need to cache them for later use).
The only relevant methods that I can see are
AppendHeader/AddHeader(string, string) and ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
picking up value in code behind
Posted by Scott Collens at 8/7/2003 4:36:18 PM
Hi there, does anyone know if it is possible to set a value in a user
control and pick it up in the code behind.
I'm trying to reuse the same user control and code behind for multiple
pages but I don't want to use a querystring param. Thanks for
listening...Scott... more >>
css not applied + lost image
Posted by Ian Gordon at 8/7/2003 4:01:01 PM
Hello,
Here's a weird one that I can't quite put my finger on, but wonder if anyone
may enlighten me?
My ASP.NET site is all working functionally on site, but for some reason,
none of the images are being shown in the browser when it's running, and
also the style sheet referenced in the htm... more >>
BUG - web service proxy generation
Posted by Marty McDonald at 8/7/2003 3:38:06 PM
Using Visual Studio.Net...
I have two classes, one derives from the other.
My web service accepts the base class as input, it returns the derived class
as the return value.
When I set a web reference to that web service, the web service proxy is
incorrect! It creates its own version of the bas... more >>
Client Validation without Js
Posted by Johny at 8/7/2003 3:33:17 PM
Hi....I have a problem with my asp page, when it have
diferent controls and some validation control...but i want
to validate just some controls if the user select a
checkbox i have to control just two control and if the
user select the other checkbox well i have to control the
another...
... more >>
Security problem
Posted by lostman at 8/7/2003 3:30:19 PM
Hi,
I have a problem with some user of my web site.
I display a list of object on a datagrid, with a "Detail" button for
each of them, when the user click on it, another datagrid is displayed on
top of the original datagrid with the detail of the selected object. But for
some user n... more >>
Newbie to ASP.net
Posted by clemorama NO[at]SPAM yahoo.com at 8/7/2003 3:25:32 PM
Hi All,
As stated above, I am new to ASP.net. I have been using ASP2/3 for
about 6 years now. Bought some books on ASP.net. I was wondering, do
most of you guys use the Server and/or Web Controls. I guess the
thought of no more coding HTML is "mind-boggling". Has ASP.net become
like VB6 WinForm... more >>
Elegant way of returning FieldNames?
Posted by Jay Balapa at 8/7/2003 3:11:55 PM
Hello,
Iam creating a query page, in which a Drop Down List will have collection of
fieldnames.
Is there a elegant way of doing it?
Currently Iam opening up a datareader and using GetName()/FieldCount() to
get to fieldnames.
I feel is is a waste, why would you need a resultset to get... more >>
Web browser control
Posted by Marcelo at 8/7/2003 3:07:08 PM
Is there any way of using the web browser control within asp.net?
thanks in advance
marcelo
... more >>
Cannot send email using SMTP
Posted by Bob Jones at 8/7/2003 2:36:17 PM
We have developed a commercial ASP.net application
(personal nutrition management and tracking); we want to
send smtp email from within it.
For our development box, we use WinXP Pro, IIS 5.5,
VisualStudio2002, VB as programing language. Our
test/development version of the web app as host... more >>
Outlook Tasks from ASPX
Posted by George Durzi at 8/7/2003 2:31:11 PM
From within an ASPX, does anyone know of a way to create an Outlook Task for
a given user?
George
... more >>
issues with database class
Posted by Scott Collens at 8/7/2003 2:29:41 PM
Hello,
I am having issues returning the results from the database using a data
access class. The class is called dbconnect.vb.
Imports System
Imports System.Data
Imports System.Data.SqlClient
Namespace articles
Public Class DBConnect
Public Shared Function GetReader(By... more >>
Question: Try,Catch,Finally
Posted by VB Programmer at 8/7/2003 2:22:18 PM
I 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 ... more >>
Prevent 'Chr(13) + Chr(10)' from Being Executed in String
Posted by crjunk NO[at]SPAM earthlink.net at 8/7/2003 1:50:31 PM
I have the following code in my web page.
Dim tmpReplace As String
'Giving tmpReplace the value from the textbox on the
webform.
tmpReplace = txtComments.Text.Trim
'Prevents report from crashing when a single quote is in
string
tm... more >>
Could not load type VTFixup Table from assembly Invalid token in v-table fix-up table.
Posted by David Williams at 8/7/2003 1:24:33 PM
We are getting this error after clearing the web.config of database
infomation - even after using the wizard to re-enter the information.
I could find nothing (other than one other person asking about it back in
Nov) on google or MSDN.
Any help would get great!
TIA
David Williams
... more >>
refreshing main window after editing in popup
Posted by Konrad R. at 8/7/2003 1:22:33 PM
Hi all
i have 3 popup windows, in which i can add, edit and
delete records from a table, now after user is done, i
want to refresh main window, i am using
window.opener.form1.btnRefresh.click(), and have handler
in codebehind which refreshes dataset, this works. One and
only problem is... more >>
[Product Annoncement] ADO.NET driver for FileMaker
Posted by Lloyd Dupont at 8/7/2003 1:21:48 PM
============== MEDIA RELEASE ================
Wednesday 5th August 2003
5D Services, makers of the ihook IT Management solution announce the
immediate release of FM.NET.
ihook's FileMaker ADO.NET Connector is a data provider for .NET connecting
to FileMaker. It allows applications to co... more >>
Paging Lists in ASP.Net
Posted by Colm at 8/7/2003 12:54:43 PM
Hi,
I write out a list of users to an aspx page.
Does anyone know how I can page this list.
Thanks
Colm.... more >>
Dropdownlist prepopulation
Posted by Reddy at 8/7/2003 12:51:12 PM
I am trying to prepopulate two drop down meus with results of two differnt
SQL queries. I have written the following code. But I am getting errors. Can
anybody please help me how to do this. I also doubt whether this is the most
efficient way to have maximum performance when lots of users access ... more >>
DataAdapter
Posted by Shalini Noronha at 8/7/2003 12:22:56 PM
Hi
I use a DataAdapter. To which is pass a Stored Proc and
Connection
SqlDataAdapter DA = new SqlDataAdapter("storedProd",Conn);
how do i pass parameters to my stored proc
Kindly Help... more >>
Database Connection
Posted by Reddy at 8/7/2003 12:00:50 PM
Is there any way to connect to a Foxpro database to display results in
asp.net (c#) application.
Any sample code would be nice.
Reddy
... more >>
HELP with ASP.NET DropDownList Box ! : )
Posted by Lucas Tam at 8/7/2003 11:49:46 AM
Hi all,
I have a DropDownList on my page created in Design Time calledddlDate. In
code, I do the following:
1 ddlDate = New DropDownList() <- To Clear the drop down list
2 ddlDate.Items.Add("HELLO")
3 ddlDate.Items.Add("WORLD")
When the page loads, how come my drop downlist is empty... more >>
Good ASP.Net Forum
Posted by Nick Berardi at 8/7/2003 11:46:01 AM
I am looking for a good ASP.Net forum that will support aynonomouse
users. I don't care if I have to pay for it or not, but if I don't have
to pay for it, it would be so much sweeter. :)
Any suggestions from the community.
Nick
... more >>
Famous error - Unable to start debugging on the webserver: Details inside
Posted by loser at 8/7/2003 11:43:24 AM
Hi,
I made the unfortunate mistake of installing Windows 2000 Service Pack
4 and .NET Framework 1.0 Service Pack 2 on a development machine
(1.0.3705.288). This broke the Visual Studio .NET IDE. However, the
Fixxml.exe at Microsoft.com fixed that issue. We developed without
issue for the ... more >>
Bytes to Integer
Posted by Govind at 8/7/2003 11:35:23 AM
Hi All ,
I have converted a Integer to Byte and Written in to the file. After
that i read the file byte by byte then I want to Convert th Bytes to Integer
.. If any method is available to convert Bytes to Integer pls Let me Know.
Regards,
Govind.
... more >>
How to view error message instead of "internal server error"?
Posted by Peter Rilling at 8/7/2003 11:29:41 AM
I have some COM+ components that seem to be throwing some exceptions.
However, IIS to just displays the "insernal server error" message. How can
I get the actual error to display?
... more >>
Client side validation in aspx page
Posted by Paul at 8/7/2003 11:29:37 AM
Can anyone tell me how I can perfor client side validation in javascript on
a form in an aspx page.
All the scripts I use to use in classic asp dont seem to stop the submision
of the form. Is this because of the runat="server" in the form tag ?
Any ideas, urls e.t.c would be much appreciate... more >>
CustomErrors statusCode 500
Posted by Jesse Napier at 8/7/2003 11:07:18 AM
I have a customerrors section in web.config something like the following:
<customErrors mode="On" defaultRedirect="/errorPage/errorpage.aspx" >
<error statusCode="404" redirect="/errorPage/errorpage404.aspx" />
<error statusCode="500" redirect="/errorPage/errorpage500.aspx" />
</customErrors>
... more >>
Setting Session State timeouts
Posted by Justin Dutoit at 8/7/2003 10:50:21 AM
Hey. For lower security situations, like a home shopping site used from a
secure home environment, how long should the session timeout be? I'd like
people
to be able to take all day to shop if they want- I wonder if they should
have to log in
again every half hour of inactivity. I guess you wou... more >>
JavaScript validation of a DataList
Posted by Hrvoje Vrbanc at 8/7/2003 10:40:56 AM
Hello all,
I have a DataList control displaying data from the database (some products).
There are also TexBox controls and ImageButton controls in the two columns
of the DataGrid. I would like to implement client-side validation so that
when user clicks ImageButton (with add to basket function... more >>
Calling a .NET COM+ component from an ASP page.
Posted by Peter Rilling at 8/7/2003 10:30:21 AM
I created a COM+ component (ServicedComponent) in .NET. The component has a
single method Connect() which returns a reference to a SqlConnection object.
This component works fine when the world is centered around .NET. Now I
want this component to work when called from inside an ASP page.
I ... more >>
What issue will HIT me hard when I convert an Access 2002 MDE application to Web Application?
Posted by Sean at 8/7/2003 9:57:19 AM
Hi All,
Current Access 2002 MDE application:
- has no tier
- has neither business object nor any kind of object (Except MS Form object
and Report object)
I feel that I'll face uncountable issue but I've no experience in ASP.NET.
Hope you guys can help me by pointing out a general overvie... more >>
Excluding certain files from forms authentication
Posted by paul1664 NO[at]SPAM hotmail.com at 8/7/2003 9:50:42 AM
Hi
I have a website which uses forms based authentication. However, I
need to exclude a file from authentication so that all users can view
it. How?
Thanks, Paul.... more >>
Question on the FormsAuthentication.Encrypt method
Posted by Tommy NO[at]SPAM WebSoftwares.net at 8/7/2003 9:39:36 AM
I want to encrypt the values of my cookies. I found out that I could
create a FormsAuthenticationTicket, and use the
FormsAuthentication.Encrypt method to encrypt the cookie.
However, I do not want to use FormsAuthentication feature. I already
have custom code to redirect the use back to the l... more >>
Email RegularExpression not working
Posted by Learning SQL Server at 8/7/2003 9:36:17 AM
The email reg exp that ships with the RegularExpressionValidator doesnt like
this email address:
user@blah.ru
Or any other email domain that contains only 2 letters after the dot.
It *looks* like it should (I notice the qualifier at the end of the
statement for 2 or more letters), but the... more >>
aspx in IFRAME starts multiple session
Posted by Jakob Ehn at 8/7/2003 9:35:15 AM
I have a html portal page, where there are several IFrames. All IFrames
point to aspx pages
that belong to one aspnet web application.
The problem I am having is that when I first go to the html page, a new
aspnet session is started
FOR EACH IFrame!! This means that 7-8 sessions are started. ... more >>
Display Build Version of Application at runtime
Posted by Karsten Grombach at 8/7/2003 9:23:34 AM
How can I display the current build version of my webapplication at runtime?
i.e. the version I set in my web deployment project.
regards and thanks
karsten
... more >>
ASP and ASP.NET co-existence on the same Web server
Posted by Tamara at 8/7/2003 9:16:39 AM
I am looking for an article or book to give me a jumpstart
on ASP.NET within my existing production asp site on
Windows 2000 Server. I would like to start introducing
ASP.NET into it by porting some isolated parts of it
to .NET.
Any suggestions and recommendations will be greatly
apprec... more >>
Paypal question...
Posted by John Buchmann at 8/7/2003 8:43:02 AM
I know this is kind of off topic, but i am thinking of
integrating it in my asp.net site...
My question is: If someone buys something from my site
(using Paypal), and they are NOT a registered PayPal
user, can they buy my product immediately, or do they
first have to sign up, wait a few ... more >>
Stacktrace with line numbers
Posted by Karsten Grombach at 8/7/2003 8:41:08 AM
Hi,
I'm trying to implement a custom error page for testing purposes.
When an error occurs, I catch it in the global.asax and store it in a
session object, so that the custom error page can display it.
so far so good.
my problem is, that i would like to have a detailed error message like the
s... more >>
OT: Math help
Posted by Mark at 8/7/2003 8:18:09 AM
Hi all, I have a small math problem I am hoping someone can help me with.
Basically I have to align an image in the middle of a page but I have to
specify the left coordinate for the image.
I know the width of the page as well as the width of the image so I just
need to work out how far in f... more >>
Accessing controls within a datalist footer template
Posted by Paul Maidment at 8/7/2003 8:11:53 AM
Hi,
I am a bit green when it comes to .net development so
please excuse me if this question is obvious or has been
asked before...
I am trying to programmatically access a label control
within a datalist footer template using asp/vb.net. I have
been searching
through the documentatio... more >>
Repost: Save file on Server - with a twist.
Posted by Mr Gordonz at 8/7/2003 7:44:29 AM
Hi All,
I am reposting this because I need some guidance/advice fairly quickly.
I currently have the following setup for saving a file on the server:
The user runs a VB app on his/her PC. Among other things, the app
prompts the user to select a file (or files). The app then uploads the
... more >>
ASP.NET freezing
Posted by John Kievlan at 8/7/2003 7:36:47 AM
Ok, I realize this is a fairly open-ended question, but
I'm not entirely sure what caused this or how it
happened. My application draws a graph using "image/png"
content on a web page. That is, it draws a .PNG file to
the page. The first time I go to the page within a
single session, ev... more >>
Uploading an Image from a web page
Posted by Paul Gorman at 8/7/2003 6:54:48 AM
I am using the control type = file to perform a file
upload. When I click on the browse button to go select
the image I want to upload it places in the text box a
local path (C:\images\image.jpg for example). This is
where the image resides that I want to upload. Then I
proceed to click... more >>
Using Calendar as a popup
Posted by merex NO[at]SPAM cox.net at 8/7/2003 6:35:58 AM
Hello all,
I want to use the Calendar control as a popup window. I would like
each day's link to execute some javascript which would set the value
of a textbox on the window which opened the calendar and then close
the calendar window. So basically I want to customize the <A> tag for
each d... more >>
Conditional HTML Building
Posted by Demetri at 8/7/2003 6:03:16 AM
Lets say I want the page to build a certain way based on a
querystring value and I need to do it within the HTML
(aspx not cs file).
In classic asp using vb I could do something like:
<%if request.querystring("msg") = "hello"%>
<div>Hello world</div>
<%else%>
<div>No message</div>
<%en... more >>
Database cursors in .NET 2003
Posted by Kenneth at 8/7/2003 4:28:23 AM
Hi,
What was lacked in .NET 2002 was a database cursor that
did the same thing as in traditional ASP, i.e. .MoveFirst,
MoveNext and so on.
I've been reading articles and books where it's been said
that in a future version of ADO.NET there should come
these cursors that where you can mo... more >>
datatable question
Posted by Mike P at 8/7/2003 3:33:28 AM
How do you determine if a datatable is empty?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
NEWBIE has a prob
Posted by Hugo Bohorquez at 8/7/2003 3:01:05 AM
Hello, I have just picked up a book on ASP.NET and installed the .NET
framework 1.1. I run Win XP Pro SP1 and IIS 5.1.
The problem:
I 've tried to run two different .aspx files and the browser displays simple
html (text) but no forms or anything like that. IE keeps giving this error
"Line: 4,... more >>
TabStrip controls
Posted by Mark Fox at 8/7/2003 2:59:22 AM
Hello,
Could anyone recommend a good ASP.NET TabStrip
server control? The IE webcontrol requires IE 5.5 and
higher but I have to support as many browsers as possible
on multiple platforms. I looked at the VisualASP one but
it seems they lack a lot of basic .NET stuff like
templat... more >>
data reader question
Posted by Mike P at 8/7/2003 2:15:51 AM
I'm using 1 connection to open 3 separate data readers to read data into
3 data grids. However, when I try to use the 2nd reader it says that
the first reader must be closed. So I use Close() to close it and now
it says that 'Object reference not set to an instance of an object' on
that line o... more >>
|