all groups > asp.net > november 2003 > threads for friday november 21
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
Re: Re: Sending emails through Asp.net
Posted by Patrick Santry at 11/21/2003 11:25:57 PM
I think the issue may be there is a mail server on another machine, and the
web server needs to be able to send mail using this SMTP gateway.
Yes you will need to enable relaying on the SMTP gateway in order for your
application to send mail to it, but most mail servers support restricting
... more >>
Cannot retrieve images from SQL Server
Posted by <-> at 11/21/2003 10:42:07 PM
Hi,
I have a SQL Server database table where one of the columns is of type
Image.
The problem occurs when I try to retrieve images from the table. I'm using
the following C# code:
SqlDataReader dr = sqlCommand.ExecuteReader();
while (dr.Read())
{
Response.BinaryWrite(dr["Imag... more >>
How to email the content of a dynamic page from server side
Posted by Bob at 11/21/2003 10:15:50 PM
I have a website with a dynamic home page that I would like to email to the
users occationally, similar to those promotional junk emails everyone
receives all the time. Is there a way to render the page content into a
string so it can be emailed out directly from the server? So far the only
wa... more >>
2nd Post - No Data in Recordset Field
Posted by George Addison at 11/21/2003 8:10:28 PM
I'm able to query an Access database on my server
(remote), and I can even successfully get the number of
records returned in my recordset. BUT when I try to
access a field value, I get an error indicating that an
instance is required (referring to the recordset).
Can anyone point me in ... more >>
Bill Gates Is Donkey
Posted by Samridhi Kumar Shukla at 11/21/2003 6:22:41 PM
How to know that viewstates a control save ? for example a DropDownList control.
Posted by xu at 11/21/2003 6:15:47 PM
Are multiple developers possible?
Posted by Daniel at 11/21/2003 5:51:04 PM
How does ASP.Net handle multiple developers? Do you use Source Safe?
In classic ASP it wasn't really an issue because the site did not need to be
built prior to viewing/running. However, now if I'm in the middle of
something and a coworker wants to test the changes he's made to another part
... more >>
Virtual Directories can't see bin/ in root
Posted by Michelle at 11/21/2003 5:30:33 PM
I have a website with 6 virtual directories under it who dont "see" the bin/
directory in the root.
If I create a /bin directory in each virtual directory and then copy my
dll's in there, it works.
Any idea what I'm doing wrong? Or any other way to reference a dll?
I know a solution is to c... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
setting timeout for session
Posted by Scott Walters at 11/21/2003 4:55:47 PM
Hi,
I have an asp.net webapp that uses some javascript in a hidden frame on
the browser to poll the server every 30 seconds, using an http post.
I also want my sessions to timeout in the normal fashion. The way I'm
trying to get around this is by manually setting the timeout property
fo... more >>
RESX Files and command line compilation
Posted by Todd Acheson at 11/21/2003 4:43:52 PM
TOOLS: Visual Studio.NET 2003
.NET SDK
GOAL: Reproduce the DLL's that our Visual Studio.NET development boxes
create, by using the SDK command line compilers
DILLEMA: RESX Files, how to handle
How does VS.NET handle RESX files when a developer builds the solution?
Does VS.NET use ... more >>
How To Create The Asp.net Tree View Control(Sam)
Posted by Samridhi Kumar Shukla at 11/21/2003 4:26:21 PM
Can anybody tell me how to use asp.net tree view web control
... more >>
System.Web Not Found
Posted by Ryan Nash at 11/21/2003 4:06:23 PM
I've got an ASP.NET app that is running just fine on a
production IIS server. I needed to setup a development
server to test some changes that are being made to the
app. I tried to copy the production server as closely as
I could. Same version of W2k Server, same version of
the .NET SDK... more >>
Add Checkboxes to Calendar control
Posted by Hardy Wang at 11/21/2003 3:59:00 PM
Hi all:
I have a calendar control and a button in ASP.NET page. I will add one
checkbox to each day cell in DayRender event. And based on some database
values, some boxes will be checked dynamically.
From this page, users can check/uncheck each box, on submit button is
clicked, I need t... more >>
Create Client side Excel Object from ASPX
Posted by Jiang at 11/21/2003 3:55:33 PM
Does anybody know how to create client side
Excel.Application objects from aspx code?
I know in vbscript you can put into
<script language="vbscript">
Dim oXL, oBook
Set oXL = CreateObject("Excel.Application")
Set oBook = oXL.Workbooks.Add
....
Even though you will ge... more >>
ASP.net application does not build in correct DEBUG or RELEASE mode
Posted by Do at 11/21/2003 3:52:31 PM
Hi,
We currenly have two users working on an asp.net application.
One user is experiencing the same problem all the time.
When he tries to change the Active Solution Configuration in the Build
Manager (Debug or Release), whatever is chosen does not change.
For example, if the project is... more >>
Detecting Internet Connection?
Posted by Elizabeth Harmon at 11/21/2003 3:23:01 PM
How can i detect if a user is connected to a newtork or the internet using
..Net? are there any examples out there?
Any Help or links Greatly Appreciated
TIA
Samantha
... more >>
How can i do to clear all the textbox using controls?
Posted by Ricardo Corsi P. Cesar at 11/21/2003 3:19:09 PM
I have many textbox in my webform, but i want clear all of them with on
single step.
Someone have the code ?
Thks
... more >>
Possible to terminate a sub that loads another sub?
Posted by Kathy Burke at 11/21/2003 2:41:22 PM
Hi, I'm tired, so this question may be silly. I have a fairly long sub
procedure. Based on one condition, I load another sub with the
following:
If Session("GRN") = "complete" Then
txtScan.Text = Session("SN")
txtScan_TextChanged(sender, e)
Session("GRN") = ""
Exit S... more >>
vb.net - event handler
Posted by Bob at 11/21/2003 2:31:45 PM
In the VB.NET Page_Load() function , how can I know which control causes the
page postback?
... more >>
Language Calendar
Posted by bart wyckmans at 11/21/2003 2:25:43 PM
Hi,
Anyone know how to set a default language to the calendar control.
Thanks
... more >>
PLACEHOLDER NOT RENDERING CONTROLS... PLS HELP :-(
Posted by michaelspeak NO[at]SPAM hotmail.com at 11/21/2003 2:18:20 PM
I have a user control that I want to use to render 4 menu items
(retrieved from db) on the top of each of my asp.net pages.
The user control defines a table, with one TR and one TD. Within the
TD I have a placeholder defined:
<asp:PlaceHolder ID="categoriesPlaceHolder" Runat="server" />
I... more >>
asp page history
Posted by Mike at 11/21/2003 2:14:21 PM
Greeting to all,
How i can in my web page ignore the page history?
Thanks
Mike
... more >>
ScriptTimeout
Posted by Ted Burhan at 11/21/2003 2:14:13 PM
Can anyone please explain to me what Server.ScriptTimeout actually is?
I don't quite understand the explanation in the documentation.
In my aspx page, I typed in the following codes:
private void Page_Load(object sender, System.EventArgs e)
{
Server.ScriptTimeout = 2;
for (in... more >>
Client side scripting with ASP.net server controls
Posted by Charlie NO[at]SPAM CBFC at 11/21/2003 1:49:50 PM
Hi:
I would like to avoid a round trip to server for small things like changing
enabled status of a dropdown list ASP.NET control. Can I apply client side
scripting to change this property? Using the client side debugger, I see I
can get a reference to control, but enabled property is not su... more >>
Acessing mdb file from a network share!!
Posted by Jay at 11/21/2003 1:44:23 PM
Hello,
Iam trying to access a mdb file from a shared drive \\mycomputer\files from
ASP.NET and OLEDB.
It works locally
Computer A hosts IIS/ASP.Net.
Files reside in ComputerB under a network share.
Web.config has the following-
1. One which works-
<add key="NEWVIP" value="PROVIDER=Mic... more >>
Protecting documents
Posted by Shawn at 11/21/2003 1:20:58 PM
Hi.
I have a folder that contains a lot of different documents. xls, .doc, .pdf
etc. Different users have access to different documents. The problem is
that if a user knows the name of a document then he can just write the path
into IE and get access to it anyway. Is it possible to prevent th... more >>
Accessing Active Directory
Posted by Remco Bosman at 11/21/2003 1:17:43 PM
Dear Developers,
I am building a little WebPart for the new sharepoint 2003 services. The
webspart simply has to show a list of users and their phonenumbers, which
come from our main domain. This all works....for me, when others users
viewed the webpart is gave me a (them rather than me actual... more >>
Authentication
Posted by ktuel NO[at]SPAM streck.com at 11/21/2003 1:09:16 PM
I see this message posted a lot, but not a lot of responses. I am
quite stumped. Here is my situation: I have a web server, a SQL
Server (on a different machine). I need clients, all on the same
domain as the web server and SQL server, to be able to run the web
application, loggin the user i... more >>
Run method only on first load?
Posted by dkode NO[at]SPAM cfl.rr.com at 11/21/2003 1:07:19 PM
Here is my scenario:
I have two methods that I only wish to have run the very first time a
user hits the default.aspx page. This page is protected with Forms
protection. default.aspx is the base page for the entire app which
will probably end up being 100 different tools/modules.
The first ... more >>
PageIndexChanged not firing in DataGrid
Posted by Rick Strahl [MVP] at 11/21/2003 12:38:31 PM
Hi all,
I'm loosing my mind <g>...
I have a datagrid and I can't for hte live of me not get the
PageIndexChanged event to fire in my codebehind form.
<asp:datagrid id="dgErrorLog" runat="server"
onpageindexchanged="dgErrorLog_OnPageIndexChanged"
enableviewstate="False" allo... more >>
N-tier
Posted by p988 at 11/21/2003 12:29:15 PM
If I have a web app which provides interface to customers for ordering items
of goods through IE browsers. The interface is built on ASP.NET. The
interface calling bunch of DLLs and the DLLs in turn link to a database on a
SQL server.
Should this be regarded as 3 tiers or 2 tiers?
Is ther... more >>
Concurrency and static function and web application
Posted by homaneag NO[at]SPAM yahoo.com at 11/21/2003 11:32:39 AM
Hi,
It just come to my mine about conncurreny and static functions. This
would not be a problem in window application because each thread has
it own stack (and heap? forgot...).
I'm using some static function in a web application. If the function
take a bit of time to complete and when tw... more >>
1.1 Framework
Posted by Frank at 11/21/2003 11:23:03 AM
I just did an upgrade from the 1.0 framework to the 1.1
framework but I did a side-by-side installation so none
of the script mappings were updated. I just updated the
script mappings on one particular site and now all of
the .aspx pages give the following error.
Server Application Unava... more >>
Projects show only garbage when running
Posted by marcelo at 11/21/2003 11:17:37 AM
Hi,
I have a problem when running ASP.NET projects done with
VS... they only show garbage (info from HTTP headers)...
Does any1 know what could be wrong?
tia
Marcelo... more >>
Response.Buffer and Resonse.Flush
Posted by Brian at 11/21/2003 11:13:38 AM
I'm trying to execute a DTS package through an ASP.Net web page. I want it
to output the successful completion of each step. I have pasted my code
below. It executes and output what I want, but only when the DTS has
finished executing.
Please help...
Dim oPackage As New DTS.Package
Di... more >>
SelectedIndexChanged won't fire
Posted by Brent Burkart at 11/21/2003 11:02:26 AM
I have a dropdownlist that won't fire .The autopostback is set to true and I
do a ispostback check before population the ddl.
Can anyone help please?
Brent
... more >>
Rotated text in a datagrid
Posted by akodoshujun NO[at]SPAM earthlink.net at 11/21/2003 10:21:15 AM
Does anyone know of a way to rotate text in a datagrid?
I have tried this :
http://msdn.microsoft.com/workshop/samples/author/dhtml/refs/writingMode.htm
but this technique did not work for me.
I can create a Drawing.Image.Graphic but once you do that how do you add the
image to the page? ... more >>
Beginner Question
Posted by Jeremy at 11/21/2003 10:10:11 AM
How can I call another webform as a new window, as opposed to replacing the
content of the current window?
I need to be able to do this from code (eg. Server.Transfer) or implicitly
behind a hyperlink.
Thanks in advance.
... more >>
Sending emails through Asp.net
Posted by mark NO[at]SPAM barkerspecialty.com at 11/21/2003 9:57:33 AM
I need to send order confirmation emails through my asp.net
storefront. With my Asp 3.0 sites I use cdonts with no issues. I've
researched the system.web.mail asp.net way and haven't got it to work.
It boils down to the online smtp server declaration. I say a
solution to active relay on the ... more >>
global variables question
Posted by Steve Klett at 11/21/2003 9:48:31 AM
This is probably a commonly asked question, but I can't find a good way to
search for it, so I will ask here.
I assumed that there had to be an easy way to access a page level variable
from a user control.
IE. default.aspx has a variable "gName"
default.aspx has a user control, "Navigation"
... more >>
ASP.Net with .Net FWK 1.0 over windows 2003
Posted by Lucas Campos at 11/21/2003 9:47:56 AM
Hi,
I have an ASP.Net application that was developed with VS.Net 2002, Net FWK
1.0 and win 2000 platform. Is there any known drawback to execute it over a
Win 2003 server?
Does we have to migrate to Visual Studio .Net 2003 and .Net FWK 1.1 in order
to allow it to work?
Thanks a lot
Lucas ... more >>
ASP.NET Extensions
Posted by Lee Forst at 11/21/2003 9:41:26 AM
What is all required to run an ASP.NET application on an
IIS server? Of course you would need to have the .NET
Framework installed, but do you have to have the ASP.NET
Extensions installed? What do the extensions give you.
Thanks... more >>
Template ? Or whatever...
Posted by Zeljko at 11/21/2003 9:25:42 AM
Hi,
How can I do this:
- Create a file that will contain a table with the menus on the left,
some header on the top and define background picture.
- Include that file in all my aspx pages
TIA,
Zeljko... more >>
Server.Transfer
Posted by Moheb Missaghi at 11/21/2003 9:15:43 AM
Hi,
I am getting the following error when using
Server.Transfer:
System.ArgumentException: Invalid path for child
request 'https://....'. A virtual path is expected
I am using Server.Transfer("https://...", true). The path
in question is a valid url on the internet. Any idea?
Thank... more >>
Not able view Custom Headers in ASP.NET
Posted by Jacky at 11/21/2003 8:33:19 AM
hi,
I am trying to view the custom headers in an ASP.NET page.
I am able to view all the standard headers using the
method Request.Headers.Get(). But if i set a custom header
using Response.AddHeader("ID","value"), the key or value
doesnt appear in the Request.Headers collection. What
c... more >>
Stopping post backs possible??
Posted by ALPO at 11/21/2003 7:44:37 AM
I would like to work in a grid, paging, calculations on a
dataset cached in viewstate, etc without posting back.
Basically I would like to operate on the page without
having to go back to the server for a response. I am
thinking that could take out the "runat=server"
declarations in HTML... more >>
1 web form, 2 buttons, how set which button fired when press return
Posted by foldface NO[at]SPAM yahoo.co.uk at 11/21/2003 7:23:09 AM
Hi
Subject says it all I think.
I know there is an AceeptButton method for non web forms but
I need a similiar method for web forms. Searching google
doesn't seem to reveal one... more >>
How to build connect string to the second instance of SQL Server \ database
Posted by Krishna at 11/21/2003 6:58:14 AM
Hi
Could some one tell me how to build connect string to the
second instance of SQL Server \ database on the same
machine using ASP.NET environment
Is it
"Data Source='server name\SQL server instance name',
Initial Catalog='datanase name' Integrated
Security='sspi" ?
or some thi... more >>
asp.net now showing as a user on my computer
Posted by James at 11/21/2003 6:41:36 AM
Recently on my list of users in Windows XP there is a
limited user for ASP.NET Machine A... that was never
there before. Since this showed up my computer is running
very slow. Can anyone tell me what this is and why it
suddenly started appearing in my user list.... THANKS
for any help.... more >>
Programically envoking a Post Back Activitiy
Posted by Paul Perot at 11/21/2003 6:32:19 AM
Hi All:
I was wondering if it was possible to evoke a post back event during code
execution. I have a form that contains file specific information. I would
like to iterate through an array of files and have the information on each
file posted and displayed on my form as I pragmatically manip... more >>
GetObjectContext Returns Null
Posted by Michael Vanhoutte at 11/21/2003 6:07:45 AM
We have an ASP.NET website written in C# that accesses a
VB6 COM component. That component accesses the ASP-objects
in the following manner:
Set objContext = GetObjectContext
Set objRequest = objContext("Request")
strAddress = objRequest.ServerVariables("REMOTE_ADDR")
Set objContext = Nothin... more >>
DataGrid abilities
Posted by Paul K at 11/21/2003 5:07:04 AM
I was wondering if anyone could point me to any links
explaining how to customize the DataGrid. I need to have
data laid out in cells which are split horizontally in
half (see mywebpages.comcast.net/shaul_ahuva/example.jpg)
and was wondering if this type of customization is even
possible ... more >>
TemplateColumn Width
Posted by Edward at 11/21/2003 4:36:00 AM
Hello,
Does anyone know how to set a TemplateColumn width to 0 to
hide the column? When I try this it only decreases to the
length of the longest control within the column? I can't
set the visible property to false because I still need to
access the values within the column
Thanks
E... more >>
Dyanamic User Controls.
Posted by Sundar at 11/21/2003 3:57:51 AM
I've a requirement to load User Controls dynmaically on a
page. I also need to be able to process post back values
from one user control in another.
How can this be done ? Appreciate any insights into this.
-Sundar... more >>
ASP.NET Dropdownlist
Posted by Kevin Quigley at 11/21/2003 2:30:51 AM
Hi,
I am writing to ask if anyone knows if it is possible to create a
dynamic, searchable dropdownlist in ASP.Net.
I have a questionnaire with a dropdownlist that is populated with a list
of countries from a database table. I want to the user to be able to
type the first few letters of th... more >>
Use enter key to click button?
Posted by Steve at 11/21/2003 2:16:36 AM
Hi,
Is it possible to make hitting the enter key in an ASP
textbox run the code behind an ASP button on a form?
I have a search page which users tend to type in the
query then just hit enter rather than actually clicking
the search button, but this does not run the search code
behind... more >>
Stopping AutoComplete
Posted by Lloyd Sheen at 11/21/2003 12:46:29 AM
Is there a way to stop autocomplete for text boxes for just one form. I
don't want to do it for browser?
... more >>
Checkbox inside a repeater control..
Posted by Thomas R at 11/21/2003 12:29:34 AM
Is is possible?
In VS.NET 2003, Binding data to the repeater is easy, but when I try to add
an ASP:checkbox to the .aspx page, the designer won't recognize it, hence
the code view doesn't allow me to access it. The funny thing is that it
compiles fine, and the checkboxes are there, I just can'... more >>
|