all groups > asp.net > april 2004 > threads for friday april 2
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
Server Events vs. DHTML
Posted by Antonio Ooi at 4/2/2004 10:15:18 PM
Hi,
I'm an application developer from Malaysia. I wanted to know how ASP.NET
server-side events vs. client-side DHTML for FORM manipulations, may be in
terms of performance and practicality? To my understanding, server events
will only work when user sends request to server. Any FORM object
m... more >>
Jump Menu (DropDown Menu) in ASP.net. Can someone help me out?
Posted by Miguel Dias Moura at 4/2/2004 10:12:29 PM
Hello,
i have a drop down menu in ASP.net with 5 options. I want to redirect to a
certain page when a certain option is selected.
I want to be redirected without having to click a button. Does anyone knows
how to make this?
Thank You,
Miguel
... more >>
[urgent]linking of database
Posted by blu3g85 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 4/2/2004 9:37:34 PM
in my database, i have friendA details, friendB details, friendC
details etc.
how do u add a friendA to the user database and then show the name of
friendA in "user details" page and when the user click on friendA it
will go to the page where it shows friendA details
----== Posted via New... more >>
recently joined member?
Posted by blu3g85 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 4/2/2004 9:37:11 PM
how do i make a recently joined members to show in page?
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encrypti... more >>
how to auto redirect a page?
Posted by blu3g85 NO[at]SPAM hotmail-dot-com.no-spam.invalid at 4/2/2004 9:36:45 PM
how to redirect a page? as in after a few sec, the page will auto
direct u to another page.
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized ... more >>
Stop client side validation for DataList cancel button
Posted by moondaddy at 4/2/2004 8:42:51 PM
I have a datalist that makes use of the edit template. In this template I
also have client side validation controls for required fields. My problem
is that when I click on the cancel button it won't do a postback to cancel
the update when the form's not valid. How can I bypass the validation f... more >>
web.config host error!! PLEASE help!
Posted by n3crius at 4/2/2004 8:10:12 PM
hi,
i just got a web host with asp.net , seemed really cool. aspx with the
c# or vb IN the actual main page run fine, but when i use codebehind and
make another source file ( a .cs) to go with the aspx (as you would
realistically) I get this :
Details: To enable the details of this spec... more >>
Closing database connection.
Posted by Brent at 4/2/2004 7:54:35 PM
I wrote a simple class to supply a datareader object (code at bottom of
post) back to a page. I access it on the APSX page like this:
Dim myDR as New getDataReader(strSQL)
If myDR.ResultFailed = True Then
MessageText.InnerHTML = "Internal err... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
TimeOut on SqlDataAdapter.Fill
Posted by Dan at 4/2/2004 6:00:15 PM
I've created a web form which fills a DataGrid with a DataSet generated from
the SqlDataAdapter.Fill method. The adapter's query takes about 30 seconds
to complete when I run it in the SQL Server Query Analyzer, but when I run
it from my web page I kept getting a TimeOut exception. So then, as ... more >>
set field to dbnull??
Posted by Gary at 4/2/2004 5:15:55 PM
In the following code the line: row("OrderDate") = DBNull is invalid. But,
how can I set the field to DBNull?
Thanks,
Gary
daClearOrders.Fill(DsClearOrders1)
Dim row As DataRow
For Each row In DsClearOrders1.Inventory.Rows
row("QuantityOrdered") = 0
row("OrderDate") = DBNull ... more >>
Calling one sub from another
Posted by Steven K at 4/2/2004 4:33:55 PM
Hello,
I have an image button that calls the sub "Image_Click". This in turn call
the sub "Submit_Click". I am getting the error:
Argument not specified for parameter 'E' of 'Public Sub Submit_Click(sender
As Object, E As System.EventArgs)
What and why do parameters need to be sent with t... more >>
How can I run asp.net in other computers....
Posted by Vanga Sasidhar at 4/2/2004 4:24:31 PM
I have four computers.
One computer - Win XP
Two computers - Win 98
One computer - Win ME
I designed some pages in my computer having Win XP operating system. I
installed dot net framework 1.1 and web matrix is used for asp .net code
editing. Now I want to access these pages in other t... more >>
aspnet_regiis
Posted by Brendan Ward at 4/2/2004 4:16:04 PM
I am currently running IIS 5.0 on my Windows 2000 domain controller. When I try to copy the asp.net client side scripts to the aspnet_client subdirectory of each IIS site directory using the command "aspnet_regiis -i" I receive the following error
An error has occurred (0x80070005
You must have ... more >>
IIS using port other than 80 makes VS complain
Posted by sklett at 4/2/2004 3:40:06 PM
Hi-
I needed to switch my IIS port to something other than 80 so that I could
get around my ISP's efforts to block port 80. Now, when I launch VS.net it
complains that it can't establish a connection with the server. Is this a
setting somewhere that will let me specify another port for it to... more >>
database table / column metadata
Posted by Daniel M at 4/2/2004 3:37:06 PM
I'm building a medium-scale data-entry web application, which involves
creating data entry forms, record listings and detail screens for lots of
database tables.
Rather than designing a series of similar web pages for each table I'm
looking into recording metadata about tables / columns in the... more >>
Session variable are shared between users
Posted by ton at 4/2/2004 3:02:29 PM
Hi,
I keep several variables in a statevalue like:
Dim session As SessionState.HttpSessionState =
System.Web.HttpContext.Current.Session
session("connect") = " FKHFSF "
I thought that these variables would be the exclusive use of one connected
user/connection. But it looks like that in a m... more >>
Compiled Code accessing New User Controls at runtime
Posted by Earl Teigrob at 4/2/2004 2:57:42 PM
I am writing an application that dynamically loads user controls at run time
based on user options. I would like to give my users the ability to build
their own user controls and add them to my user control folder so that they
can be selected and loaded at run time also. These new controls will n... more >>
Help - Recursively Opening & Closing All Nodes in Treeview
Posted by Lanny McDonald at 4/2/2004 2:37:02 PM
I have built a treeview that looks something like:
=20
Root
.....FolderLevel1a
.........FolderLevel2a
.............Page
.........FolderLevel2b
.............Page
.............Page
.....FolderLevel1b
.........FolderLevel2a
.............Page
.............Page
....... more >>
execute window.open without a button pressed?
Posted by cgian31 NO[at]SPAM katamail.com at 4/2/2004 2:34:17 PM
I would like to return error message in a pop up window. Window.open
would be great, but it can only be associated to the onclick event of
the button: button.Attributes.Add("onclick",...
Any ideas?
I thought of creating a invisible button on the form, pressing it
programmatically, and hopef... more >>
Repost: Allow certain area of a treeview webcontrol to post
Posted by John at 4/2/2004 2:17:41 PM
Hi all,
I've posted this before but received no answers and it is an issue . . .
One of my pages is using a treeview webcontrol. I load the treeview with
data which only has two levels (i.e. parents and their children).
My question is how can I code the treeview so only once a user has cli... more >>
Style Sheet CLASS
Posted by A.M at 4/2/2004 2:17:17 PM
Hi,
How can I change the CLASS property of a server control inside code behin's
Page_Load event?
I can see the class property in Properties window, but I don't have "class"
(the stylesheet class) as control's class (C# class) properties .
Thanks,
Ali
... more >>
Make Media Non Downloadable
Posted by Charles A. Lackman at 4/2/2004 2:06:51 PM
Hello, I have a web site that plays mp3's and wav files, I am using a media
player on the site which does not allow for downloading the media, but if
you go to properties within the player and copy the URL into Windows media
Player you can copy it to your hard drive. How do I prevent this from
... more >>
How to specify roles in web.config file
Posted by Siegfried Heintze at 4/2/2004 1:53:42 PM
I have an example of using Forms Authentication to specify roles stored in
an SQL database from 2002 May MSDN magazine.
Must I use a database to use the roles feature of forms authentication?
... more >>
Out of Process State - MSSQL
Posted by Chad Crowder at 4/2/2004 1:48:53 PM
I've taken a look at this article
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp12282000.asp
which someone posted a month or so ago regarding setting up SQL server to
handle state data.
The article references .Net beta, and the file state.sql in the
framwor... more >>
Coding a PushButton Event
Posted by Bryan G at 4/2/2004 1:48:22 PM
I need to send an event just like a button was pressed from the client side.
Any help would be great
Thanks,
BG
... more >>
how to use ActiveX in Asp .net?
Posted by FanTian at 4/2/2004 1:47:45 PM
I want to insert an ActiveX control into asp .net web page, but it seems I
fall in trouble now.
When I insert the ocx control into toolbox and drag it to the web page, I
can't get its ID. and if I use the interop dll transformed with aximp.exe
from the ocx, I can't insert it into the tool box.
... more >>
Passing data between 2 form !
Posted by John at 4/2/2004 1:46:05 PM
I have a frameset page with 2 frame, each with a form. Can I pass data (variable) between them ? Thank's... more >>
Error with Outlook.ApplicationClass
Posted by Chris Gatto at 4/2/2004 1:45:24 PM
Hello, I'm hoping that someone out there has a wonderfully simple answer for
this - it seems like it should.
I am using an ASP.Net application to try and create calendar appointments in
user's outlook mailboxes. I have a reference to the Outlook 11 COM object
in my project. Also, I am using i... more >>
reference USER CONTROLS label from aspx page...
Posted by Kruno at 4/2/2004 1:29:07 PM
Hi !
if anyone knows the answer I would appreciate it:
I have a user control for the header of the page with
one label in it..I want the label to change as the pages
are changing....
my question:
I want to reference a text property of a label in the control
from the page which holds the... more >>
Help! Client-side validation problem
Posted by Jim Brandley at 4/2/2004 1:27:51 PM
I have a required field with a client-side validator. It works as advertised
until I try to add code to block double submits and replace the image on
the submit button to give the users some feedback. I have localized the
problem to the definition of the form.onSubmit handler.
Without my block... more >>
User Controls in VS.NET 2003
Posted by A.M at 4/2/2004 1:05:17 PM
Hi,
When I drop a ASP.NET control from toolbox into my page, It automatically
puts something like this line in my code behind class defenition:
protected System.Web.UI.WebControls.TextBox TextBox1;
But it doesn't do same thing with user controls.
I have to drag and drop my user control ... more >>
Detecting the locale of the user?
Posted by Eric Caron at 4/2/2004 12:46:42 PM
Hi all,
In a web application, is there a way to detect the locale of the user (for
example, by sniffing some info off the navigator) and using that locale to
display the information on the site to the user?
Any information regarding how to do this would be greatly appreciated.
Eric.
... more >>
ASPX reads Word doc
Posted by Mark at 4/2/2004 12:46:03 PM
Can I read a word doc on the server from an aspx page
It will be no updates just read only
Thanks... more >>
DataSet is good for ASP.NET?
Posted by Quentin Huo at 4/2/2004 12:39:59 PM
Hi,
According to some people, DataSet is good for the N-Tier Aapplication
because it maks the logic layer seperated from the database. But a DataSet
object will be assigned a block of memory to keep the data. If there is a
dataset object created in an aspx page and this page will be accessed b... more >>
2 databinds in 1 parameter
Posted by Mike Johnson at 4/2/2004 12:05:16 PM
I am trying to create a panel control with a tooltip that contains dynamic
information in it. So, when the user hovers over the panel, it shows them
some information on the record. I can get it to work fine with 1 database
field with this statement.
<asp:Panel id="pnlInfo" runat="server" Too... more >>
Knowledge Base Article - 811319
Posted by EJS at 4/2/2004 12:03:25 PM
This is pathetic...
BUG: Debugger Does Not Stop at the Set Breakpoints in a .NET-Connected =
Web Application When More Than One File Has the Same File Name
RESOLUTION
To work around this problem, use one of the following options:=20
a.. Use unique file names for all files in your ASP.NET We... more >>
Form Field Type
Posted by Mohit Gupta at 4/2/2004 12:01:02 PM
Hello Friends
I have written a simple HTML page in aspx
I have added form elements like "textBox", "Hidden fields", "images", "radio buttons" to the html form
I am posting the data back to the same page
Is there a way to know the "Type" of a form element upon post back. Meaning in the code beh... more >>
Window Resize in IE 5.0?
Posted by grawsha2000 NO[at]SPAM yahoo.com at 4/2/2004 11:44:52 AM
Hi,
When Resizing (maximize and minimize actions) a window, does IE 5.0
adjust asp.net page controls so they are aligned, or do i have to do
it(aligning) in code?
MTIA,
Grawsha... more >>
When the connection to the database will be destroyed?
Posted by Quentin Huo at 4/2/2004 11:43:24 AM
Hi,
I want to create a class (named "classA") in which a connection to a
database will be built. In another class (named "classB"), an object of the
"classA" is created and data are retrieved from the connection of the object
of the "classA". But in C#, we never need explicitly destroy an obje... more >>
cutting down on postbacks
Posted by MattB at 4/2/2004 11:40:16 AM
I have a payment and shipping information entry page in my application that
has two sets of address fields. I have a radio button the users can set if
the addresses are the same. That radio button does an auto postback which
triggers an event to disable the second set of fields and fill in values... more >>
A frustrating problem. Help greatly appreciated! :-(
Posted by Simon Harvey at 4/2/2004 11:38:02 AM
Hi,
I'm hoping someone can help me witht he following problem:
I have a fairly simple page that has a sort form and a button for adding the
forms details to an arraylist.
When the button is pressed, the information from the form needs to be added
to a list in the bottom half of the page.
... more >>
How to pass an ID in hidden variable.
Posted by Frank Rizzo at 4/2/2004 11:30:29 AM
Ok, this is probably so simple...
Anyway, I'd like to pass a value in the hidden variable. I have code
like this:
<form...>
<input type="Hidden" name="zzz" value="1">
...
</form>
I want to replace the value with another when the page gets generated in
the code behind file. How do I... more >>
Refreshing a page programatically
Posted by Simon Harvey at 4/2/2004 11:24:11 AM
HI all,
Does anyone know how I can make a page refresh itself programatically if a
given event is fired.
I thought there would be some method like doPostBack() or something but I
can't see anything like that
Thanks
All
Simon
... more >>
What could cause left open SQL data connection
Posted by Paul at 4/2/2004 11:16:03 AM
Hi just wondering what could cause a left open SQL connection as this has only occured 2 times in the last week. The error it creates is when a web app tries to open a connection an error message states, it is already open. The process was then killed to close the connection. The usage is pretty ... more >>
Regex matching failure
Posted by Dan Hargrove at 4/2/2004 11:08:27 AM
I'm using the regex class to try and search a string for line feeds,
carriage returns, and tabs. In a windows test app, I can enter the
expression of \\[rnt] and this works fine. But in the ASP.net app, the same
expression does not work, even though the same process and test strings are
being us... more >>
POST question
Posted by Michael Tissington at 4/2/2004 10:37:01 AM
I have a web page that posts back to the server with credit card
information.
I then need to POST the information to my payment processing gateway, check
the result and then send information back to the client.
How do I do the POST from the server out to the gateway and process the
informat... more >>
Changing User Password - Credential Problem
Posted by - Steve - at 4/2/2004 10:22:45 AM
I'm trying to change a user's password using objUser.Invoke("setPassword",
"newpassword")
It works fine as a console application if I'm logged in with someone with
the correct permissions. If I'm logged in as a normal user it doesn't work,
even though call before that,
objUser.Username = "... more >>
Conditional Processing
Posted by Wayne Wengert at 4/2/2004 10:13:33 AM
In a Datagrid I have a field (<td>) in which I want to display a link if a
database field is still Null but I want to display a blank ( ) if that
DB field has a value. If I try to put the "..If ...Then..) within the TD it
simply displays that as text. I am not sure how to code this conditon?... more >>
cache at the page or at the DAL?
Posted by sklett at 4/2/2004 10:01:47 AM
Hi-
I am having a hard time decided where I should be implementing my Cache
code. I store most of the DataSet's that I need in the Cache. I was doing
it in the bind method of my pages, but then I thought it would be cleaner to
maybe at the Cache code directly in the DAL. So, for example I m... more >>
Decimal precision ?
Posted by Piotr at 4/2/2004 9:58:29 AM
Hi
I'm working with Datagrid containg decimal (editable) numbers. The
user-entered numbers are read by decimal.Parse() method. However, Datagrid
formats some decimals as "1", but some as (eg) "1.00" - depends on what the
user had entered. The page has DISABLED viewstate.
So, let someone exp... more >>
closing a popup form
Posted by SteveS at 4/2/2004 9:48:15 AM
Hello. This is a strange problem which does not make sense to me.
I open a popup page with the following javascript code:
function OpenDenyWindow(changeId) {
retVal=window.showModalDialog('DenialEmailForm.aspx?id=1234'',
'dialogWidth:650px; dialogHeight:700px; resizable:no;');
... more >>
How to make datagrid w/ 2 addresses in each row
Posted by moondaddy at 4/2/2004 9:47:23 AM
I have a page listing all the addresses for a customer and I want 2
addresses per row. Each address is in a template column so I can add
special formatting and buttons. My problem is that each address is a row of
data made of up many fields (line1, line2, city, state, etc.). So I can
populate... more >>
invalid characters in 'ID' web control property
Posted by Gabe Moothart at 4/2/2004 9:46:36 AM
Hi,
In my asp.net app, I create several controls dynamically, and set their
'ID' property to a value stored in a database, so I can reference them
later. So far so good.
This database field, however, might contain characters which are illegal
in the 'ID' property. It took me quite a while ... more >>
Limiting access to user files
Posted by Dave Taylor at 4/2/2004 9:35:02 AM
I have an old ASP application that I'm converting to ASPNET. The
application allows users to login, enter data, and run simulations on our
computers and the results are stored in a file the user then downloads. In
order to allow users to access only their files, in ASP I used to copy the
files... more >>
Question about persistence and a global variable
Posted by Simon Harvey at 4/2/2004 9:25:11 AM
Hi everyone,
Can anyone tell me if I declare a global variable in my pages code behind,
is it persisted if the page does a post back, or do I need to add the object
to the session object in order to persist it.
Is the session the best mechnism for persisiting this object
Thanks everyone
... more >>
I.E. blows after running my app
Posted by Gary at 4/2/2004 9:17:14 AM
When I kill the browser window while using my ASP.Net application I get an
Application error:
"The instruction at "0x01503e8d" referenced memory at "0x01503e8d". The
memory could not be "read".
This just started happenning. It doesn't seem to matter what pages I
exercise. The only thing ... more >>
what are correct clientTarget settings in machine.config?
Posted by Bill Rowell at 4/2/2004 7:26:04 AM
Can someone who uses only Internet Explorer look at their machine.config xml file and tell me what their <clientTarget
settings look like, just after the <processModel> tags? Mine look suspiciously like Netscape settings, but I'm not sure what they should look like. The machine.config is located in... more >>
Restrict access to resources like .doc, .ppt etc in .net forms authentication application
Posted by gaurav_kumar NO[at]SPAM infosys.com at 4/2/2004 7:11:07 AM
Hi,
We are developing a .NET app which has forms authentication. When the
user types in the direct URL of an aspx page on the browser, he will
be thrown to the login page. But if the URL points to a .txt or .doc
file, the document is displayed even though the user is not
authenticated.
How... more >>
Access network resources from aspx page
Posted by Mark Goldin at 4/2/2004 5:46:20 AM
Is it possible to access files on the network from an aspx page?
I need to read a bunch of word docs. that are stored on the network.
Thanks
... more >>
ASP.NET says "Could not load type 'MyProject.MyWebform'."
Posted by Kevin Parkinson at 4/2/2004 5:33:22 AM
Hello Eveyone:
I was wondering if someone can set me straight on this little
problem I am having which I believe must be a configuration issue. Everytime
VS.NET creates a new web form and puts this at the top:
Page language="c#" Codebehind="MyWebForm.aspx.cs" AutoEventWireup="false"
I... more >>
processmodel ?
Posted by jzink at 4/2/2004 5:06:04 AM
Trying to run a sample provided on the microsoft to help me determine my memory issues on iis6/2003 server
Here is the error I am getting
[HttpException (0x80004005): Process information is available only when the ASP.NET process model is enabled.
In my machine.config looks like process model... more >>
Display UserControl declared in another Class
Posted by Sebastian-Hiller NO[at]SPAM gmx.de at 4/2/2004 4:35:57 AM
Hello,
i'm new to .Net (i'm using VB as language and i'm working in the
code-behind mode) and i can't solve the following problem:
I have a WebForm and want to Add a UserControl
(classname:QuestionControl) as many times as there are rows in a
DataTable (also named Questions) in a DataSet. But... more >>
How to set innerHTML of an asp Label control
Posted by moondaddy at 4/2/2004 1:49:50 AM
I want to use a asp Label control (or a <div runat=server> element) in a
template column of a datagrid. In the code behind in the grid's
ItemDataBound event I need to dynamically set the innerHTML of this control
with data and line breaks (<br>).
The problem is that while working in the code ... more >>
Need help on blocking problems!
Posted by mantunez NO[at]SPAM mexware.com at 4/2/2004 1:00:43 AM
Hello,
Currently we have an ASP.NET 2003 app running, on one function the app
calls to a stored procedure to SQLServerONE, that stored procedure
creates some TEMP tables with the results of a stored procedure that
is remotely called con SQLServerTWO that generates TEMP tables that
are used to... more >>
Date/Time Format. I don't know how to solve this. Thank You.
Posted by Miguel Dias Moura at 4/2/2004 12:55:28 AM
Hello,
i am just finishing a web site in ASP.net / VB using Dreamweaver MX 2004 and
in all the pages i use the date/time format as follows:
Date: DD-MM-YYYY
Time: HH-MM (24 hours)
Anyway, everything works fine when testing in my computer. However, when i
uploaded the web site to my hosti... more >>
How to hide column in autogenerated DataGRID ?!?!?!
Posted by jax at 4/2/2004 12:22:44 AM
Hi All developers !
I have a datagrid which autogenerates columns by the
sql SELECT list... The list (for some reasons) must be the
same. So my question is
HOW TO MOVE OUT A COLUMN
FROM AUTOGENERATED DATAGRID?
I would really appreciated answer with some code ! :))
THANK YOU ALL !!!
... more >>
|