all groups > asp.net > july 2004 > threads for friday july 30
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
<INPUT type="file" runat="server" - attach to email
Posted by SibAndela at 7/30/2004 11:51:02 PM
Is there a way that I can attach the uploaded file from a client web site to the web server without first storing the uploaded file on the server?
Currently on my local PC (local host) the following code works but not when I run the app from a web server it fails:
private void StoreFile(HttpPo... more >>
Disconected Dataset & dataTable
Posted by Wance at 7/30/2004 10:45:01 PM
Hi everybody,
I have datatable and stored in dataset. The dataset Never connect to datasource before. How can I move mydata in dataset into the table in data souce? For instance my table say it Temp_table have fields EmpID, Name and age and my Table in datasource, say it Origin_Table have t... more >>
Unable to start debugging on the web server
Posted by usamedb208 at 7/30/2004 10:38:43 PM
Hi.
I have two versions of visual studio.
One of them is 2002 enterprise edition , another
is 2003 Pro evaluation version.
I 'm able to debug using version 2002 and can't do that usin version 2003.
Any ideas how to fix this problem without uninstalling 2002?
Thanks in advance.
---
Ou... more >>
How to upload file > 4GB on web server from ASP.NET
Posted by DotNetJunkies User at 7/30/2004 10:37:15 PM
The HTMLInputFile control works fine up to 25 MB with changing MaxRequestLen in web.config but didn't work for greater size of the file..does anybody have the idea how to do that.??
---
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.DotNetJunkies.com/newsgroups Our ne... more >>
replacing CR with <BR>
Posted by Saber at 7/30/2004 8:35:17 PM
I'm using a multiline textbox as a simple editro.
I want to change all CRs in textbox with <BR>,
Is there a way better than using For loops and replace CR with <BR> one by
one?
... more >>
any caching experts please?
Posted by suzy at 7/30/2004 8:10:35 PM
hi,
i know that when i browse to a website for the 1st time the code gets
compiled into a dll and is cached. but this dll gets removed from cache
after a period of inactivity, right?
someone told me it is possible to control the length of time the dll is
cached in the web.config file?
i... more >>
HTTP Modules and global.asax
Posted by Norton at 7/30/2004 7:56:34 PM
I understand how to create HTTP modules that can be used to add
functionality to a website but there are a few things I don't understand.
If I create an HTTP Module and I want it to intercept a call to
AuthenticateRequest, I know that in my init function for my HTTP module, I
can add a hand... more >>
How do I populate td tags from code behind
Posted by benmatt_1999 NO[at]SPAM yahoo.com at 7/30/2004 7:48:24 PM
I am converting an ASP page that used iframes for dynamic content to
populate td tags in an html table. The parent page called the iframe
page and then populates a parent table via Javascript
(window.parent.....)
In asp.net, since I am on the server (code behind page), short of
using a datag... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Help converting from ASP to ASP.NET and turning components on
Posted by Wayfarer at 7/30/2004 7:38:57 PM
XP Pro w/SP1
IIS 5.1
Microsoft.NET Framework 1.1.4322
Two things:
--
1. I'm currently converting from ASP to ASP.NET. I used Microsquash's
Migration Assistant and, after trying to run the app on my home
computer, I get the following error message. Obviously, it can't find
System.FileS... more >>
C# Ascx in VB.net Web App
Posted by George Durzi at 7/30/2004 6:48:52 PM
So I'm working on a VB.NET web application, and I'd like to build a user
control in C# and use it within my VB .NET web app.
What kind of project do I need to create that user control in. Are they any
examples of how I would "reference" that user control in my project?
Thank You
... more >>
Intermittent failure to read registry key in ASP.NET application...
Posted by akhare1 NO[at]SPAM my-deja.com at 7/30/2004 4:37:42 PM
OK, before I start, let me clarify a few things here. This is not the
run of the mill failure to read a registry key while trying to write
to the Event Log.
Here's our setup:
a) IIS 6.0 server w/ SharePoint installed
b) ASP.NET application w/ NTLM authentication running under an account
(a... more >>
DataGrid Footer
Posted by Alexandre Soares at 7/30/2004 4:33:14 PM
Is it possible to access the footer item in the render method of a datagrid?
So far, I can only find the FooterText of each column using the columns
collection, but that doesn't allow me to find out how many cells are
contained in the Footer item.
Thanks in advance for any hints!
... more >>
Dynamically Created DataGrid's Cancel/Update Button Not firing
Posted by Lucas Tam at 7/30/2004 4:25:55 PM
Hi all,
I have dyanmically created a datagrid and the cancel/update buttons do not
fire. All buttons are "edit".
Also, it seems the item indexes are off as well.
Does anyone have a tutorial on how to build a dyanmic datagrid and bind the
events properly?
--
Lucas Tam (REMOVEnnt... more >>
How to create on/off rolloverimage button with non-image text
Posted by strout at 7/30/2004 4:17:01 PM
It's a pain to create each button with 2 images: button_on.gif button_off.gif
I am looking for a control that have on/off two states, preferred as BACKGROUND images and with button text on it.
Any hint?... more >>
Server-side validation and mozilla
Posted by Frédéric Mayot at 7/30/2004 4:13:37 PM
Hi,
I have some VS.NET 2003 validators in a page. When I use IE, OK. With
Mozilla, as it's supposed to behave, the validation doesn't occur on the
client-side. The problem is the server-side validation doesn't work
(Page.IsValid is true in the validation button event handler) ?
Fred
... more >>
Caching Unique Values For Update
Posted by Mark Whitton at 7/30/2004 4:05:19 PM
Hi, I am developing using ASP.Net using SQL Server and also have several
layers in between, eventually producing a custom business object that is
used to populate the web form. I don't use datasets because of performance
issues and also they just aren't proper business entities.
When it comes... more >>
Re: IIS caching output of pages
Posted by Nick Gilbert at 7/30/2004 3:54:04 PM
I'm still struggling with IIS caching pages when they've been modified:
http://support.microsoft.com/default.aspx?scid=kb;en-us;832139
Is there any way I can get this hotfix? I don't see why I should spend
£80 to get a hotfix for something which MS has acknowledged as a bug in
a knowledge ... more >>
Catching events from ctls programatically added to a web asp:table
Posted by stb at 7/30/2004 3:52:19 PM
I have an empty asp:table on a form.
Rows and cells in the rows are added programatically. At the end of each
row, there is a cell with a button inside it.
How do I catch the button's click event?
dim dr as sqlDataReader
Dim tempCell As TableCell
dr=........
While dr.Read
Dim tempR... more >>
Custom Errorpage
Posted by Lars Netzel at 7/30/2004 3:35:38 PM
Hey!
I use a custom error page in my solution, ErrorPage.aspx. Which I have
styled so it goes well with the rest of the appliction... it's currently all
static...
Is there anyway in that page to actually access the error messages and
infroamtion given by the IIS? To at least give the user f... more >>
Problem with Controls...
Posted by Raphaël Désalbres at 7/30/2004 3:35:08 PM
Hello, everybody,
I'm having a problem creating a control...All I want to do is a simple poll
system, so I need to input (trough a ListitemCollection) the values from the
user.
The problem is I'm getting an error each time I try to modify the elements,
I don't know why....
If anyone can ... more >>
DataView RowFilter
Posted by Ryan Moore at 7/30/2004 3:18:01 PM
I have a dataset (called adset) which has a column called "Large" which is
either an integer 0 or 1.
I am creating 2 dataviews, one which should display the 1's and one which
should display the 0's using the following code:
DataView largeview = new DataView();
largeview.RowFilter = "Large=1... more >>
using email template asp.net
Posted by gdc at 7/30/2004 2:41:12 PM
Hi,
I want to create a custamizable e-mail template which will contain place
holders to fill the data from teh database and i want to use these templates
to send mails.
How do i create these templates?.
How do i use the templaes to send mails in asp.net?
thanks
gdc
... more >>
handling events inside a userControl
Posted by Xaviero at 7/30/2004 2:09:01 PM
I have a webform that contains a placeholder control that is filled with various usercontrols.
I have an error/info message label on the webform (for interface clenliness). Sometimes the the usercontrol has to populate the message label on the webform. How can I have the webfrom respond to this ty... more >>
ASP.NET/C# question
Posted by Viktor Popov at 7/30/2004 1:57:15 PM
Hi,
I'd like to ask you for using session.
Let's say that we have StartWebForm. A user who has opened it want to Search
the site and he/she click on the link Search.But he/she is not logged on, so
LogInWebPage is openning. After he/she input his/her username and password
and they are correct, h... more >>
Update 2 different Tables from one record?
Posted by gthompson at 7/30/2004 1:41:01 PM
Is this possible:
Read fields(rows/columns) from one sql database table (TableA). Then edit/update the same 'field' in TableA; and in TableB edit/update a different field - all at the same time?
This is the current situation in an Access Form using Sql for the backend. We would like to conve... more >>
Why am I getting this error?
Posted by William Gower at 7/30/2004 1:32:52 PM
I am trying to display a page that has a data grid on it. I get this
message
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.
Parse... more >>
Access to the path "C:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\test\c40279d3\f7471ca7" is denied.
Posted by James at 7/30/2004 12:55:03 PM
I am still having permission problems, but it has changed from a blanked
'Access Denied' error to this.
I have ensured ASPNET user has 'full control' of the Temporary ASP.NET Files
folder.
However, there are no folders within this folder, so to me it looks more
like the files are missing ra... more >>
Newbie to XML
Posted by Sorin Sandu at 7/30/2004 12:49:15 PM
It's my first time when I use XML and it's not working.
I have the following code.
WindowsIdentity MyIdentity = WindowsIdentity.GetCurrent();
string IdentName = MyIdentity.Name;
string suser = IdentName.ToString().Substring(4);
XmlTextReader reader = null;
reader = new XmlTextReader("f:\\int... more >>
Getting username
Posted by Vik at 7/30/2004 12:21:11 PM
An ASP.NET page uses Windows authentication method for the user log in. How
can get the username by code in this page?
Thanks.
... more >>
table field names vs. display names
Posted by Bob at 7/30/2004 11:59:13 AM
When displaying data from the database, very often the field names are not
suitable so custom headings have to be created, For example, the column
storing zip code may be named zip, but when displayed, it may need to be
displayed as "Zip", "Postal Code", "Zip/Postal Code" etc. DataGrid/DataList... more >>
How can I edit image...
Posted by Ather Ali Shaikh at 7/30/2004 11:57:12 AM
Hi all,
How can I edit an Image opened in the browsers and saves it with a new
name.
The scenario is that I received an email having some attached documents in
the image format.
I read that document but there is some problem in the scanning or
overwriting. So, I need to mark that place w... more >>
Question on AppDomain
Posted by A at 7/30/2004 11:43:20 AM
Hi all,
Since Asp.net creates a distinct application domain for each application it
hosts in its worker process does that mean that each request is processed
through that application space until the last request at which time a new
application domain is created? In other words, do all session... more >>
server equivalent
Posted by TJS at 7/30/2004 11:36:14 AM
is there a server side equivalent to this ??
Inherits System.Windows.Forms.Button
... more >>
aspnet_wp.exe
Posted by Vai2000 at 7/30/2004 11:11:27 AM
Hi All, I am just baffled up with the Memory Usage of the ASP.NET worker
Process..
On the servers its almost 500MB..... also I am unable to kill this
process.... :(
How do I resolve this? I am doing output cache on one of the pages....
TIA
... more >>
Open New Window and Redirect Old
Posted by Greg Collins [MVP] at 7/30/2004 10:51:40 AM
I've searched around and can't seem to find an answer to this... maybe =
someone has already done it.
I want to create a redirection page for hyperlinks which point to an =
external site or file. This is so that I can keep track of how many =
visitors are linking to external resources from the... more >>
3-5 Key Concepts
Posted by Robert at 7/30/2004 10:44:01 AM
I've been working with ASP.NET for about a year and I think I'm on the verge
of "getting it." I suspect that if I came to understand a few key concepts
it would all come together. One of those "key concepts" undoubtedly is the
"pipeline" I see mentioned over and over again in this group. If one w... more >>
OWC ASP.Net Chart Problem
Posted by Ben at 7/30/2004 10:41:55 AM
Hi, I have a line chart that I'm creating in asp.net c#. I'm supplying data
to the chart with a tab delimited string. The problem I'm having is that if
data is missing, it isn't displayed in the correct spot.
For example if I have a, b and c with data 1, 2, 3 some have the data some
don't. ... more >>
Uploading file more than 5 mb, sound files, mediafiles.
Posted by news microsoft at 7/30/2004 10:12:50 AM
Hello all,
In my ASP.Net , C# web Application I have used the traditional upload code
i.e. HTTP Method and it works fine for files and images up to 5 MB but once
the size of file is more than 5 MB it gives a error mostly time out error
and also uploading sound files (.mp3, .wma, .dat) is ... more >>
Popup Window Location
Posted by Paul Ross at 7/30/2004 9:49:41 AM
Is there a way to open a popup window with a specific location relative to
the parent window. For example, centered on the parent window, or near a
specific control on the parent window.
It seems like there should be a way to do this.
Paul
"It was I who allowed the alliance to learn the loc... more >>
Problem with DropDown in EditItem of Datagrid!
Posted by Lars Netzel at 7/30/2004 9:44:27 AM
Hello!
When you Click Edit of a DataGrid row I, in EditCommand sub, set the right
Index and recnid the DataGrid.
In ItemCreated (of that Bind) I fill a DropDownlist ( buy adressing it with
ItemIndex and FindControl) and set the Selected Value to the Value I want.
So Far everything is Fine,... more >>
RegisterHiddenField() Not Updating After PostBack
Posted by landerud.pete NO[at]SPAM students.uwlax.edu at 7/30/2004 9:33:09 AM
I have a datagrid with a button column that displays some partner
info. i.e. PartnerId, PartnerName ... The button column has a button
that when the user clicks it they are redirected or server.transfer to
a different page where I would like to pass the PartnerId. I could do
this very easy wi... more >>
Validators
Posted by Bart Schelkens at 7/30/2004 9:29:31 AM
Hi,
I created a login-screen.
I put 2 requiredfieldvalidators (one for the username and one for the
password).
I also put a validationsummary.
Now when I leave username or password blank the error is displayed in the
validationsummary.
What I would like to do now, is when I'm trying to lo... more >>
Embed Control to display HTML while using No Touch Deployment???
Posted by tale NO[at]SPAM juno.com at 7/30/2004 9:26:44 AM
Does anybody know if it is possible for me to display a web page from
within my windows application when using No Touch Deployment.
Currently, we do almost everything in the windows client. However, we
have a few reports on our website that we make available through the
windows client for conv... more >>
a simple question about project dll
Posted by Alexandre Soares at 7/30/2004 8:56:21 AM
Hi,
When I work on a project, I often have another instance of vs.net open to
edit a project containing custom controls. When I make a change in the
controls, I compile the control assembly and then I copy over the dll to my
main project's bin folder, overwriting the older version. Sometimes thi... more >>
Copying a web form within a project
Posted by epaetz41 NO[at]SPAM hotmail.com at 7/30/2004 7:43:40 AM
Couple of general webform questions. Most are about html code
created/managed by the editor. I work in GridLayout Mode.
1. Is there a reference or guideline for how the html should appear
when viewing a web form in HTML format, after you've added elements in
design view? Can I change they way ... more >>
Include file from other server
Posted by rja4096 NO[at]SPAM yahoo.co.uk at 7/30/2004 6:28:51 AM
Is it possible to include a file from another server in html? I have
typed
<!-- #include file="http://Nlg-info/PESE/PESE.asp" --> is this the
correct code?
I cannot have the files together as we are developing in asp.net while
the intranet server does not have the framework loaded.
Many ... more >>
Oracle SP question
Posted by IGotYourDotNet at 7/30/2004 5:09:03 AM
I have a SP I'm calling to talk to the Oracle Back end, I want to split up the data (columns) be returned and display them in labels and not on a grid. How can i do that?
here is the call to the sp:
cn.Parameters.Add("carCursor", OracleDbType.RefCursor, DBNull.Value, ParameterDirection.Output)... more >>
Shared aspx files
Posted by kimpton at 7/30/2004 4:49:04 AM
Hi,
I'm trying to create a library of shared code, some of which are ascx and aspx files. I'm pretty much following the procedure outlined in http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q324785 . This has been working fine when working on my local machine. I have moved the shared code... more >>
Handling dynamically created controls
Posted by PeteBr at 7/30/2004 3:11:01 AM
I am dynamically generating a number of button controls based on the results returned from a search carried out on another machine. When one of these buttons is selected I want to be able to go through the same event handler for each button but I can't seem to get to happen unless I regenerate all m... more >>
Generating base classes from sql server
Posted by Poppy at 7/30/2004 3:04:53 AM
I have to develop some code which will create base classes
from a sql server database, for each of the tables.
I have to develop this myself and cannot use a third party
control but have absolutly no idea where to start.
Can anyone point me in the right direction ?
A difficult one I kno... more >>
Dynamically Apply CSS
Posted by Robert at 7/30/2004 2:47:57 AM
Are there any other ways to dynamically apply CSS styling to a page (without
using inline CSS)?
I'm sure I could dynamically generate a new and uniquely named CSS file "on
the fly" when users log in, and then dynamically associate that css file
with the requested pages - but I'm looking for so... more >>
Formatting Radios
Posted by Angela at 7/30/2004 2:32:10 AM
Hi everyone,
At the moment I am using the syntax of:
<asp:radiobuttonlist id="rdDrive" runat="server" RepeatLayout="Table"
RepeatColumns="2">
<asp:ListItem Value="1" text="Yes"></asp:ListItem>
<asp:ListItem Value="0" text="No"></asp:ListItem>
</asp:radiobuttonlist>
But w... more >>
Upload and save image to DB
Posted by ThanhThanh at 7/30/2004 12:53:02 AM
Hi all,
I need to build a form which allows the user to select an image file . This file will be saved to DataBase. Another form will get the file from DB and display it.
Any suggestion! Thanks in advance!
--
TH... more >>
Make Reports that can pass parameters at Run-time? :: ASP.NET + CR.NET
Posted by Don Wash at 7/30/2004 12:47:50 AM
Hi There!
I've posted a few days back about this issue but no solutions has been found
and that's why I'm re-posting this.
I'm using built-in CrystalReport that comes with VS.NET 2003 to create
reports for use it ASP.NET.
How do I configure a graph in the Report (*.rpt file) so that I can... more >>
Binary file open error
Posted by Thomas Scheiderich at 7/30/2004 12:44:33 AM
The following code works fine. It opens file reads the data and then
closes.
****************************************************************************
****************
Dim objFileInfo As FileInfo = new FileInfo(strFilePath)
Dim objStream as StreamReader = objFileInfo.OpenText()
Dim strCo... more >>
paging and sorting
Posted by Guoqi Zheng at 7/30/2004 12:02:21 AM
Sir,
The default paging of datagrid is somehow use too much resource, so I am
using Stored procedure for the paging. You can find my Stored procedure at
the end of this message.
It works fine to do paging like this, however, I have found it difficult to
do paging and sorting at the same ti... more >>
|