all groups > asp.net > november 2004 > threads for monday november 15
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
Designing Multilingual Websites with ASP.net
Posted by Anthony J Biondo Jr. at 11/15/2004 11:46:50 PM
I am trying to design an application that supports multiple languages. I
have seen examples using an XML file and writing a custom function to import
the strings and I have seen examples of resource files. I am trying to see
what other people are using out there so I can decide what directio... more >>
Wait message...
Posted by f_z_s at 11/15/2004 11:19:29 PM
I have a aspx page that I allow users to enter some data, based on what they
enter we run some analysis on the server side.
The server side based on the analysis sends to the client browser a wav
media file.
My problem: i need to pop a message when the analysis is happening, and
remove it when... more >>
Export HTML to MS Word document
Posted by Danny Ni at 11/15/2004 10:26:58 PM
Hi,
Our company has a pretty large Intranet application, it has about 200
reports that mostly utilize xml and xsl to generate HTML format. We like
another option to do the reporting, specifically we desire a GUI interface
to design the reports and the outputs can be exported to pdf, Excel and
... more >>
ASP.NET Error - Object Ref Not Set...
Posted by Hrishi R at 11/15/2004 10:23:01 PM
The following code segment throws an "Object Reference Not Set to an Instance
of an Object" error.
-------
Public Sub Page_Load(Source As Object, E As EventArgs)
Dim viewCount As Integer
If ViewState("viewCount").ToString() = "" Then
viewCount = 1
Else
viewCount = CType(ViewState("viewCount... more >>
Error while using "State Bags".
Posted by Hrishi R at 11/15/2004 10:19:02 PM
Hi:
The following ASP.NET code segment throws an "Object reference not set to an
instance of an object" exception.
------------------
Public Sub Page_Load(Source As Object, E As EventArgs)
Dim viewCount As Integer
If ViewState("viewCount").ToString() = "" Then
viewCount = 1
... more >>
sql database connection string storage
Posted by IntraRELY at 11/15/2004 9:37:37 PM
I am building a standard ecomm shopping cart site. I usually store the
connection string w/in the code behind
page. I am not sure the best method is. I will be transferring the pages to
the live host after development and think that storing in a central location
maybe of benefit, so I do not ha... more >>
Connection String
Posted by IntraRELY at 11/15/2004 9:35:04 PM
I am building a standard ecomm shopping cart site. There are both public and
manage pages. I usually store the connection string w/in the code behind
page. I am not sure the best method is. I will be transferring the pages to
the live host after development and think that storing in a central ... more >>
caching problem
Posted by Rajani at 11/15/2004 7:24:01 PM
I am new to asp.net I coded simple login form and placed two textboxes and
button. I want to verify the uid and pwd in my database(access) with the user
entered. After entering the uid and pwd and clicking the submit button it has
to check the database. Where to write that code(same page or... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
508 Compliancy Tools for ASP.NET
Posted by VBDotNETCoder at 11/15/2004 6:56:03 PM
Does any one know of any 508 Compliancy Tools for ASP.NET to help automate
the process before deployment.
... more >>
ASPX Form Process
Posted by Armando Ruiz at 11/15/2004 5:16:29 PM
If I have the following:
<HTML>
<FORM ACTION="http://mySite/sample.aspx" METHOD="POST">
Enter your name: <INPUT NAME="FName"><BR>
Favorite Ice Cream Flavor:
<SELECT NAME="Flavor">
<OPTION VALUE="Chocolate">Chocolate
<OPTION VALUE="Strawberry... more >>
Enter Key
Posted by Ganesh Ramamurthy at 11/15/2004 5:03:21 PM
Hi Experts,
In my aspx page, I have a textbox, a button and a Header user control. In
the Header Conrol, I have a few ImageButtons. When I type something in the
textbox and press "Enter", the click event of one of the Image button is
getting fired. I dont want this to happen. Insted, I want th... more >>
Failed to start monitoring file changes.
Posted by jay.ge NO[at]SPAM intel-dot-com.no-spam.invalid at 11/15/2004 4:58:49 PM
I searched this issue in internet, but they still cannot solve my
issue, so your help/suggestion will be preciated.
this page is placed on serverA, and it will touch files on
serverB.(but it seems this is not double hop issue.) I use
impersonation <identity impersonate="true"
userName="domain... more >>
Getting the Button_Click Event before Page_Load?
Posted by Frank Schumacher at 11/15/2004 4:53:56 PM
Hi Folks,
I have a problem with the order of events fired by ASP.NET. I found many
articles which explaining the lifecycle of a site, but I found none
which took the event from a Control on the site into consideration.
Here is what I want to do:
I have a Button, which starts a new search ... more >>
iframe scrollbars in aspx page
Posted by Paul Fi at 11/15/2004 4:49:46 PM
i want the scrollbars of my aspx page to be the scrollbars of the iframe
i set inside the page
is that possible?
or is there any workaround on this issue?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
g_locked…
Posted by Joe at 11/15/2004 4:44:01 PM
Hi,
I am using MS Access DB in the backend of an ASP.NET login page. The DB is
small and has only two tables. I have noticed that besides using close() on
OleDBDataReader and OleDbConnection object, this database gets locked (.ldb
file). Religiously I use close() after I am done with the ... more >>
Using FireFox 1.0 on new ASP.NET projects brings up authentication dialog when there should be none
Posted by ~~~ .NET Ed ~~~ at 11/15/2004 4:01:42 PM
This is a strange problem and I wonder if anybody has experienced this
annoying anomaly.
I created a new ASP.NET project with its web-shared directory on my WinXP
Pro/IIS machine. I compile the project and everything is fine so far.
Accessing the default page with Internet Explorer 6.0 show... more >>
Setting id in a dynmaically generated checkboxlist
Posted by Eirik Eldorsen at 11/15/2004 3:57:48 PM
I'm trying to code a reapter that for each listelement show a checkboxlist.
I'm almost there. The only thing I can't figure out is how to set the ID of
the checkboxlists.
This is my code:
<asp:CheckBoxList id='<%#
Convert.ToString(DataBinder.Eval(Container.DataItem, "ID")) %>'
runat="ser... more >>
findcontrol to find in nested datalists
Posted by Greg Fischer at 11/15/2004 3:57:37 PM
I need to access the properties of a control that is nested in 2 datalists.
How do you use findcontrol method to do that?
what I have is like this:
<asp:datalist id="dlist" runat="server">
<edititemtemplate>
<asp:datalist id="dlistdet" runat="server">
<asp:dropdownlist i... more >>
Master / details grid
Posted by M NO[at]SPAM at 11/15/2004 3:55:14 PM
Hy,
I would like to create a master /detail datagrid,
that is a datagrid that (when I click on an item)
shows some other item's details
expanding the rows under the selected grid
Can someone help me with this?
Thanks!
M@
... more >>
Help please: Exception when with <input type="file"> but not with Textbox
Posted by Drew Berkemeyer at 11/15/2004 3:54:35 PM
I've encounted a pretty strange problem and I'm not quite sure what to make
of it.
I have a web service that consumes an XML file as well as a few other
parameters. This web service works fine if I use the web test interface. It
also works fine if I call it from an ASP.NET page that has a t... more >>
CSS problem
Posted by Brian Henry at 11/15/2004 3:46:43 PM
I am having a wierd problem with IE in CSS... I have a footer that is locked
to the bottom of the page with the bottom attribute set to 0px so it is 0px
from the bottom. but when you view the page in a new IE window the footer
div bar starts ABOVE the bottom, and when you refresh it, then it m... more >>
AddHandler for CheckBox is not working
Posted by RA at 11/15/2004 3:34:18 PM
I have simpe code as follows.
Private sub Page_load.....
FillTable()
End Sub
Private Sub FillTable()
'
Dim a As New CheckBox
a.ID = "chkTest"
AddHandler a.CheckedChanged, AddressOf ChkboxChecked
Dim tCell As New TableCell
tCell.Controls.Add(a)
Dim tRow As New TableRow
... more >>
Authenticate users using AD and LDAP
Posted by Sync Walantaji at 11/15/2004 3:24:56 PM
Hi,
I would like to write a asp.net winform program to authenticate users
on Active Directory.
Can I do this with asp.net if the IIS server is not part of the Active
directory domain?
Is there a working example link that you can point me to?
Thanks
--
sync... more >>
The compiler failed with error code -1073741502
Posted by Razzie at 11/15/2004 3:11:58 PM
Hi all,
I was working on a little project, worked fine, but now all of a sudden I
get:
The compiler failed with error code -1073741502
as an error message (when running the site, not building).
I have NO idea what's wrong. I changed some code (only very small, which I
did like 10 times... more >>
Problem changing the selected index property on a dropdown control
Posted by Simon Harvey at 11/15/2004 2:56:53 PM
Hi all,
Am I being really stupid here:
myDropDown.SelectedIndex = 2
I think this line should set the dropdown control's selected item to 2. But
nothing seems to be happening on the page. The dropdown just maintains its
default value (element 0).
Do I have to do something else to get ... more >>
Application Startup
Posted by weeerob NO[at]SPAM gmail.com at 11/15/2004 2:36:31 PM
Is there anyway to stop the application starting during the
Application_Start event in the Global.asax.cs file? I want to check a
license key at this point and not let the application start if it's
invalid. I've tried throwing an exception but that doesn't seem to
have any affect.
Thanks,
... more >>
website online
Posted by Bart Schelkens at 11/15/2004 2:24:18 PM
Hi,
I've put my first .Net website online (www.polytools.be)
On this site I use a treeview.
When you click on an item in the treeview, a products-page is displayed.
The problem is that sometimes it works and sometimes it doesn't.
On the computer where I developed the website, everything works... more >>
Moving an ASP.NET project to a different computer
Posted by Dave at 11/15/2004 2:13:42 PM
I copied the project files from an ASP.NET project on one computer and want
to create the project on another computer,
There is no connection between the two computers so I simply copied the
project files from the first computer onto a memory stick and then from the
memory stick into my Visual... more >>
Compile Problem: BC31011- Access is denied
Posted by Brad at 11/15/2004 2:06:40 PM
After compiling my asp.net project I'm receiving a "BC31011 - Access is
denied" error when attempting to run or debug. The only thing that seems to
resolve problem is IISReset. After a reset my project runs fine for several
compiles then the error starts up again...and another iisreset. I seem ... more >>
authentication: deny users=* problem
Posted by Dan at 11/15/2004 2:03:27 PM
hi ng.
i have a strange behaviour when i want to control who can access a web
application by setting web.config like:
<authorization>
<allow users="DOMAIN\ACCOUNT,..." />
<deny users="*" />
the authorization is working fine, but the user receives the standard
"The page can... more >>
Performance of .NET embedded forms controls
Posted by Oldman at 11/15/2004 2:01:02 PM
I have a simple embedded windows form control on a web page.
If I visit the page with the forms control for the first time it takes a
significant amount of time to show up. I understand this is the hit you take
the first time you visit a web application.
If I then close all browser instance... more >>
Need some help with login script
Posted by Joe at 11/15/2004 1:54:03 PM
Hi,
I have MS Access database with a small table that has four columns ID
(Primary Key), page, userid and password. The page column holds the name of
the page which has the login form. The userid and password column contain the
id and password that I am trying to check. You might wonder w... more >>
auth cookie/load balancing issue
Posted by Param R. at 11/15/2004 1:42:09 PM
Hi all, we are experiencing an issue with regards to the auth cookie and a
load balanced server farm. The user may randomly hit any box in the server
farm. If the users authenticates against 1 box but were to hit another, he
is logged out of the session. We are NOT using session state and just... more >>
javascript - Assigning an object to Session variable
Posted by RA at 11/15/2004 1:40:00 PM
Session("ListBoxHold") = document.getElementById("lstCodes")
The above statement gives an error "Object Expected"
Any Clue?
... more >>
OnBubbleEvent firing when it's not suppose to
Posted by dpoincelot NO[at]SPAM masonmadison.com at 11/15/2004 1:37:59 PM
Hi, I'm going crazy here, please help. I have a parent page that has a
user control on it that bubbles up data from a dropdown menu. The drop
down menus are populated by a set of radio buttons, each populates the
drop downs with unique data. All works well, you check a radio button
and the onbub... more >>
Can't access ASP.net pages from outside
Posted by ree32 NO[at]SPAM hotmail.com at 11/15/2004 1:34:09 PM
We have an intranet setup but when you try and connect from outside
the network using a windows login & the internet the ASP.net pages
(.aspx) on the intranet will not load but the old asp pages (.asp)
load. Whats more frustrating is the fact eventhe errors will not
show, I have even tried to c... more >>
INC
Posted by vinay at 11/15/2004 1:24:02 PM
How to restrict the .INC file being viewed using a Browser if we know the
path??
Thanks
vinay... more >>
Scan word doc on upload
Posted by Mark at 11/15/2004 12:56:20 PM
We want to allow users to upload a Word document on our site. Is it
possible to leverage Norton Antivirus in some way to scan the file AS it's
being uploaded?
Thanks in advance.
Mark
... more >>
reporting services - report viewer css?
Posted by Matt Swift at 11/15/2004 12:47:21 PM
Hi,
Am using the Report Viewer component in the Microsoft Reporting Services
assembly. I've compiled it, and am integrating it fine with my apps -
however 1 problem always remains. I can't seem to change the CSS for the
thing at all . I've tried it's attribute key 'class' , I've tried its
... more >>
Transferring Student Data Securely Between Servers
Posted by Jim Bayers at 11/15/2004 12:46:01 PM
We have a read only connection to the remote campus sql server. For
security reasons, my network nazi won't let me have a web server on our
local server that has this connection. Fine. He want's to isolate our
server with the connection to the remote server from the outside world.
------... more >>
POST and redirect
Posted by ETK at 11/15/2004 12:39:07 PM
Hi,
I need to POST data to some aspx page and after that redirect to this page
( page isn't on my local server where my page is). Is it possible to do this
from aspx code on server side?
Thanks,
Dalibor
... more >>
Cache Expiration Question
Posted by Brian Linden at 11/15/2004 12:39:06 PM
I cache a ton of stuff, and my application works great....but......
When I am stress testing it I'll get the "Object reference not set to an
instance of an object"
every once in a while...
It tends to happen when the cache is expired.....
I do a lot testing to make sure that it actuall... more >>
do JS 'Confirm' for Button web control
Posted by Paul W at 11/15/2004 12:16:14 PM
On my page I have a 'Delete Record' web control (with code behind). How can
I issue a JS confirm('Are you sure you want to delete?') and cancel the
postback (and button event) if the user clicks 'No'?
I know I can do
myBtn.Attributes.Add("onclick", "confirm('are you sure..')") but how ca... more >>
proper way to deploy a web app to IIS?
Posted by Flip at 11/15/2004 12:13:45 PM
What is the proper/suggested/best way to deploy a webapp to a Win2K3 Server
running IIS6?
I am coming from the j2ee world (easy on the flames please, I'm moving to
..NET remember :>), and I've created a solution that has my four web apps
contained in their own projects (correct me if that's no... more >>
passing parameters to hyperlink control
Posted by Lan H. Nguyen at 11/15/2004 12:10:51 PM
I have this line of code in my .aspx page
<asp:HyperLink ID="hrefView" CssClass="main" ForeColor="blue" Runat="server"
NavigateUrl='<%# "View.aspx?id=" + ID.ToString()%>'>View
Customer</asp:HyperLink>
But when the page runs it shows text only "View Customer" without hyperlink.
This is what ... more >>
Filename problems when downloading
Posted by Henke at 11/15/2004 12:04:23 PM
I have a web application that is used to transfer files to and from a
database. The files are streamed and stored in the database that is.
From one page I can download the files to the client, by clicking on the
filename.
The confirm download popup (the one built-in in IE) is displayed and I c... more >>
Check to see if Virtual Directory exists
Posted by patrik NO[at]SPAM blackberryphoto.com at 11/15/2004 12:00:47 PM
I have a page that I have the users uploading files from their local
machines. I take these files strip off their path and redirect it to a
new file on the web server. I have a virtual directory mapped to a
remote machine that has files in it named for the years for items that
the users are uplo... more >>
.NET vs. Java: ViewState
Posted by Kikoz at 11/15/2004 11:05:42 AM
Hi all.
It's a general question, just for the sake of curiosity:
..NET introduced ViewState as a way to keep the state across postbacks. I
love it, use it all the time, blah blah...
But Java has been around for much longer than .NET. I don't have experience
with it. Does Java have anythin... more >>
Session_End does not fire when user closes browser
Posted by Keith-Earl at 11/15/2004 11:04:46 AM
I thought for sure Session End would fire when the user closes his browser,
but no luck. The only way I can get the event to fire is to run a
Session.Abandon, but is that really practicle? When a user is down they
will probably close out the browser or navigate somewhere else.
I want to k... more >>
ASP.NET & Access Database!
Posted by brian.lantz NO[at]SPAM asahq.com at 11/15/2004 11:01:55 AM
I am trying to connect to an Access database on a network drive and
the web server is on the same network, i.e. G:\sample\test.mdb and
everytime I try to connect to it I get an error saying...
'G:\sample\test.mdb' is not a valid path. Make sure that the path name
is spelled correctly and that yo... more >>
GetValue
Posted by louise raisbeck at 11/15/2004 10:57:01 AM
Is there any way to use GetValue on a sqldatareader.Read() by specifying
column names instead of column numbers (or another method)?... more >>
NEWBIE - Crystal Report not Refreshing
Posted by Dave at 11/15/2004 10:53:14 AM
Greetings,
I have an aspx page with a CrystalReportViewer on it that displays
information fine. The problem is that the report is static. I want it to
change when data in the database is changed. I can change values in the
database (either inside of or outside of my web application) and ... more >>
AdRotator Control / Flash Banner Question?
Posted by Leon at 11/15/2004 10:50:18 AM
How to display flash banners using the built-in .net AdRotator control? Do I
have to extend the existing AdRotator control? if so than how?
If you know of any books or website that explain the above please include
that information in your response
..
Thanks
... more >>
datagrid fixed width columns
Posted by Craig G at 11/15/2004 10:31:04 AM
is it possible to set columns so that they are a fixed width?
... more >>
Parameters in Crystal Reports.Net
Posted by Sunil Sabir at 11/15/2004 10:26:02 AM
Dear All,
I am quite new to crystal reports.Net.I have made a web Form with a drop
down box in it. I load 2 values in the drop down box as follows in Form Load
event.
dropdownbox.items.add("Doctors")
dropdownbox.items.add("Dentist")
Now in front of this dropdown box I have a... more >>
LoginView Type Control
Posted by CJ Taylor at 11/15/2004 10:24:50 AM
Hey Everyone,
I know a few people have tried out LoginView from ASP.NET 2.0 and the
membership model which is absolutly outstanding.
Wondering if a control/system had been written yet in ASP.NET 1.1.
TIA,
CJ
... more >>
How to resize win form?
Posted by jiangyh at 11/15/2004 10:12:31 AM
hi there:
I have a win from that set then set the FormBorderStyle property to
None.My question is how to resize windows form at run time.
--
Jiangyh
http://bbqb.com/bbs/index.php
... more >>
Quick C# Question
Posted by McFly Racing at 11/15/2004 10:10:14 AM
I have a file being copied to my server from another server on the network.
My program needs to work with this file when it is received on my server.
The problem I have is that when I go to process the file it may still be
being written to the disk and thus I cannot get a valid handle on it to
p... more >>
Serwer Printing
Posted by Jacek at 11/15/2004 10:09:08 AM
I'm developing ASP.NET C# application. I need to implement server-side
printing for asp.net form on specified in DB printer. I know how to print it
on Client-side (window.print()). How can I print the same page (form) on
server side?
If I can use PrintDocument class, then how to pass dynam... more >>
SELECT TOP 1 equivalent on AS400
Posted by karen_hill NO[at]SPAM swn-dot-com.no-spam.invalid at 11/15/2004 9:58:22 AM
I am developing an ASP.Net app which hits an AS400 table. I have the
following SQL statement in ASP but get a token error when I execute:
Select TOP 1 prodmo, prodyr FROM AS400Table WHERE prprty = '11'
AND wlprdc = 'Product'
ORDER BY prodyr DESC, prodmo DESC
What is the SELECT TOP... more >>
Specifying location of web site using VS 2003 setup project
Posted by csgraham74 NO[at]SPAM hotmail.com at 11/15/2004 9:48:28 AM
Specifying location of web site using VS 2003 setup project.
I have an issue trying to install my asp.net website to a specific
location. I have several webistes in my IIS Manager and it keeps
creating a virtual directory in the wrong location on my server.
How do i specify the correct locat... more >>
Set Focus
Posted by Leon at 11/15/2004 9:39:17 AM
Does anyone have any idea how to set focus on any control inside of a user
control?
Any help appreciated.
Leon... more >>
posting to SQL
Posted by louise raisbeck at 11/15/2004 8:44:05 AM
Hi, I'm sure this is a standard thing. I have a web form with several input
boxes/drop down lists and checkboxes. They all represent a field within a sql
table and I need the user to update the values on hitting submit. I have put
a submit button on the form and tested it with one field, so in... more >>
calender in modal window
Posted by Mike at 11/15/2004 8:24:05 AM
i have a button that opens a modal window which has the calender control in
it. I allow the user to select a date then that date should be passed back to
the parent form. I'm having an issue with this. When I select a date, i keep
getting a JavaScript error and i debug it and it goes to this l... more >>
Web Setup Project
Posted by klj_mcsd NO[at]SPAM hotmail.com at 11/15/2004 8:12:15 AM
Do you have to install the DLL in the registry when creating a web setup project?
Thanks... more >>
Unable to see datasets on forms
Posted by Mike Moore at 11/15/2004 7:58:05 AM
I am able to see all of my forms datasets in the Solution Explorer window,
but I don't see them at all on the actual forms. Help..... what might be
wrong here?... more >>
UserControl - Textbox tag property looses value on postback
Posted by m_doolio NO[at]SPAM hotmail.com at 11/15/2004 7:50:35 AM
I experimented with a usercontrol (TagedTextbox), I added a tag
property.
The tag value however is not persisted on postback (text value's
fine)?
I worked around it with:
Me.ViewState("tag") = txtToelichting.Tag
but what's wrong with my code?
[Code Snippet:]
Imports System.Comp... more >>
Error messages for legacy ASP pages
Posted by Butch at 11/15/2004 7:18:17 AM
If I leave a legacy ASP page in my web app, ASP.NET serves the page just
fine. If an error is encountered on the page, however, it doesn't give me
the friendly error message that ASP did. The page I get is the 500 (Internal
Server Error) page. Is there a way I can trap errors in a legacy AS... more >>
newbie: preparing ASP.NET application for release
Posted by Stimp at 11/15/2004 6:22:42 AM
I have an ASP.NET application that I'm ready to upload onto a webserver
in a release format.
I just want to be sure of a few things first:
- I take it that I only need to upload the aspx files, the bin directory
files, stylesheets, global.asax and web.config onto the server?
(i.e. I don't... more >>
Validation controls
Posted by Jon at 11/15/2004 4:53:01 AM
Hello all,
I'm having a little problem with my page, it's more of a GUI thing than an
error but I really need some help!
I have an asp.net page which is quite long, I have text at the bottom and a
form with validators and a validation summary at the bottom. In order to view
the form you ... more >>
Search/index PDFs
Posted by P1ayboy at 11/15/2004 2:49:01 AM
Does anyone know of anyways to search or index pdf's using .net?... more >>
CSS not updating
Posted by scottf35 NO[at]SPAM hotmail.com at 11/15/2004 12:04:57 AM
Hi,
I am woring in VS.Net 2003. I am trying to make minor adjustments to
my webpage via my stylesheet.
However the changes that I make don't take effect until I close VS.Net
and open it back up again.
Of course this is very frustrating.
Can someone please let me know the trick to upda... more >>
|