all groups > asp.net > january 2004 > threads for friday january 9
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
how create Session string array in global.asax
Posted by tony collier at 1/9/2004 11:51:17 PM
Can someone please tell me how to create a session string array in
global.asax (not code behind please). Thanks ... more >>
Checking IP
Posted by Hai Nguyen at 1/9/2004 11:45:30 PM
Hi everyone
I'm making a page which needs to identify users comming from a certain IP
address. I've never have experience with this.
Would anyone give me any hints?
Thanks
... more >>
Forms authentication - credential store
Posted by Martin at 1/9/2004 11:42:14 PM
Dear fellow ASP.NET programmer,
I stared using forms authentication and temporarily used a <credentials> tag
in web.config. After I got it working I realized this wasn't really
practical. I cannot write to web.config so I cannot dynamically update the
credentials while the site is up. Since th... more >>
need sample code for ASP.NET using WMI
Posted by Slimo at 1/9/2004 10:31:32 PM
Hello,
Can someone post a sample code for ASP.NET using WMI (retrieve harddisk
space, network card name,...) no matters I just need an example to see how
it works. I prefer code using VB. Thanks
... more >>
radio button & javascript attribute
Posted by Marcelo Oliveto at 1/9/2004 9:29:35 PM
Hi ....
I have a radiobutton list and a label in a webform.
<asp:radiobuttonlist id="one" runat="server" CssClass="text"
AutoPostBack="False" RepeatDirection="Horizontal">
<asp:ListItem Value="one">one</asp:ListItem>
<asp:ListItem Value="two">two</asp:ListItem>
<asp:ListItem Value="thre... more >>
Access denied error when using Microsoft Outlook library
Posted by Saifee at 1/9/2004 9:19:27 PM
hi,
I am using Microsft Outlook library in aspx.vb page,
but when i run the function i get error of access denied
and some user accounts.
Please help!!!!!!!!!
rgds,
Saifee.
... more >>
Dropdownlist anyone ???
Posted by Hai Nguyen at 1/9/2004 8:02:08 PM
Hi everyone
I'm developing an wep application, I got stuck into a problem.
My database has a table which has 2 fields
Table1
X Y
A Apple
B Banana
C Cat
D Dog
I would like to ask if there is a way so that I can add these two columns
into my dropdown list which will look like this
... more >>
Multiple dynamically added link buttons
Posted by Fredrik Rodin at 1/9/2004 7:45:05 PM
All,
I have a sub that generates a number of link buttons depending on the number
of records returned by the SQL.
Do While dReader.Read
Dim tr As New TableRow
Dim td As New TableCell
Dim lnkbtn_grp1 As New LinkButton
lnkbtn_grp1.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
dynamic loading of images by linkbutton clicks
Posted by sef at 1/9/2004 7:29:51 PM
i have a server-side script that executes this:
linkbutton1.Attributes.Add("onClick", "linkClicked();");
the client-side code has an html image control
<img id="image1">
the client-side javascript function linkClicked looks like
this
void linkClicked(object sender, System.EventArgs e){
... more >>
How to acess mdb from a remote machine in ASP
Posted by Rajesh R. at 1/9/2004 6:48:30 PM
Hi,
I have developed an application in asp with backend as ms-access database.
The mdb file is on a one machine and my IIS is running on a different
machine. The code which I tried is as follows
<%
set con = server.CreateObject("adodb.connection")
I tried both ... more >>
passing information between ASPX pages
Posted by francois at 1/9/2004 6:26:49 PM
I would like to pass information between ASPX pages.
For now, my navigation are hardcoded links.
In some case I do a Response.Redirect("pages.aspx")
Now I wonder is this is a good way to do.
For exemple when I log out of my website, i go back to the logon page but I
would like to write on... more >>
Problem Accessing Web.Config File
Posted by Chris at 1/9/2004 5:52:17 PM
I have some appsettingin my ASP file. I try to do the following:
Colors(0) = ConfigurationSettings.AppSettings("AltColor1")
Colors(1) = ConfigurationSettings.AppSettings("AltColor2")
TitleColor = ConfigurationSettings.AppSettings("TitleColor")
This works fine in my development directory but... more >>
DataGrid Need Help
Posted by Roy at 1/9/2004 5:38:07 PM
I am very, very new to ASP.NEt and have never done ASP.
I have been trying to get a datagrid to work for about 5 days with very
limited results.
When I use property builder, bind the control, set the paging and populate
it from the page_load event it works.
However, if I set it as unbound, then... more >>
Client TimeZone
Posted by Allen Davis at 1/9/2004 4:10:12 PM
Is there no way in ASP.NET to retrieve the client's timezone (or even local
time, I'd settle for that) and passing it to the server? There must be a way
of determining the timezone from which the web browser is coming from...
mustn't there?
... more >>
IE treeview control viewstate -> sessionstate
Posted by rickpayne at 1/9/2004 4:08:31 PM
I've noticed the IE treeview asp.net web control has a heavey viewstate. I
have been trying to use session variables to store its state instead of
storing it in viewstate. Has anyone successful used session state to store
state info?
... more >>
debugging
Posted by ally at 1/9/2004 4:00:45 PM
When I debug the project Icant into class.How can I do this??? asp.net c#
Tahnks
... more >>
Deployment ?
Posted by John Cantley at 1/9/2004 3:53:03 PM
I have a webserver with various sites on it with no default website. So I am
trying to install too www.farmemories.com and instead it installs as
www.farmemories.com under www.jasco.com site_root directory. How do i tell
the deployment package how to get it to install to the correct site. I tried... more >>
Session/Login still times out at 20 minutes even after changing defaults
Posted by Andy Green at 1/9/2004 3:41:18 PM
Hello! I've got a problem with an ASP.NET app...
The app is running in conjunction with the Session State server, and they
both run on the same machine.
I've changed the default timeouts in my Web.config file to be
timeout="120" for 120 minutes, but the users still time out (and thus
... more >>
Datatable find performance
Posted by Alvin Bruney at 1/9/2004 3:29:23 PM
Anybody know for sure if the data table find is faster than building a loop
routine. I'm thinking the find is syntactic sugar because it can't really
build an index table can it? But then again what is the primary key for if
it doesn't really build a table. I suspect it is more for filling the
d... more >>
setting default button
Posted by Richard Roche at 1/9/2004 3:24:09 PM
What are the ways to set default (activiated on enter)
status for buttons?
i've tried:
TabIndex
and
Page.RegisterHiddenField("__EVENTTARGET", "cmdWhatever")
but the first button seems to be default always. I must
be missing something.
Thanks for any assistance.... more >>
don't understand error
Posted by m miller at 1/9/2004 3:06:52 PM
..NET 2003, Win XP and Win 2000 Pro, IE 6.0 SP1
I have a webform with a button, an html input a dropdown list and a data
grid. Users may use the drop down to choose a part number which then
posts back to the input and populates the grid.
In testing I can choose about 20 or 30 part numbers a... more >>
Problems during reload/refresh
Posted by Hans Meier at 1/9/2004 2:52:29 PM
Hi,
i have done a shopcart application and I have the following problem:
The event "itemcommand" (Datalist.button) is fired every single time the
user reloads/refreshes the page (after he once pressed the right button).
Postback is always true (cause this error occurs only after the user onc... more >>
Problems with Image.FromStream()
Posted by Detlef Huettenbach at 1/9/2004 2:44:21 PM
I was trying to convert a Windows Forms prototype
application to an ASP.NET solution that makes use of
loading data streams into the Image Web/Windows control.
For WinForms no problem. However in ASP.NET, the image
control does not display tiffs,pngs,.. still it does
display gif-streams. Me... more >>
Where to store config settings in Web Service
Posted by Chris Dunaway at 1/9/2004 2:37:54 PM
I have a web service that references a data class library which performs
SQL Server access. Since the web service is also a class library, there is
no App.Config, only Web.config. Is Web.Config the place I should store the
connection string?
If I call System.Configuration.ConfigurationSettin... more >>
ASPNETMENU errors
Posted by Diogenes Dilone at 1/9/2004 2:13:11 PM
Can anyone help me I keep getting this error on our web application.
Access is denied: 'ASPnetMenu'.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in t... more >>
.ascx file question
Posted by Rob Meade at 1/9/2004 2:04:07 PM
Hi all,
Still very new to ASP.Net so please bare with me.
I have created several .ascx controls which I have dragged and dropped onto
my page in a table, looks very nice - each of the controls contains HTML
code which is re-used across several pages.
One on the controls places a navigatio... more >>
Compact and Repair wizard problem
Posted by SOS at 1/9/2004 1:43:33 PM
Hi guys,
i use of an Access database in my web project .
i run "Compact And Repair database" wizard in access on this database.
but after it , i get this error when i trying to run web project :
The Microsoft Jet database engine cannot open the file
'c:\inetpub\wwwroot\ff\Database.mdb'. It is... more >>
Win2k3 .NET Error
Posted by Jim Rackley at 1/9/2004 1:28:36 PM
I'm running Win2k3 Enterprise on a Compaq ML370G2 and I'm getting the
following error when I try to access my ASPX pages via a browser. Normal
ASP pages work fine.
Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET Files\procurementmockup\5037ef28\302fd907\hash... more >>
ASP.NET User control in Datagrid Footer
Posted by Chamindu R Munasinghe at 1/9/2004 11:54:24 AM
Hi,
I use the asp.net datagrid footer to add new records. In the footer I
use a web user control to read a date. it is made of a text box, a required
field validator and a compare validator. When the grid is in edit mode I
hide the footer. The problem is when the datagrid footer is hidden th... more >>
Paging DataGrid Checkbox Persistence
Posted by dontspammenow NO[at]SPAM yahoo.com at 1/9/2004 11:50:20 AM
Have a paging datagrid with a checkbox control in column(0).
ViewState is enabled.
I check the checkbox in first row of the grid on a page and then
the program hits this event:
Private Sub dgRegGrid_PageIndexChanged(ByVal source As Object, ByVal e
As System.Web.UI.WebControls.DataGridPage... more >>
problem with owc10 and late binding
Posted by PatLaf at 1/9/2004 11:29:22 AM
?????????????????????????????????????????????????????????????????????????=
?????????????????????????????????????????????????????????????????????????=
?????????????????????????????????????????????????????????????????????????=
????????????????????????????????????????????????????????????????????????... more >>
Hide message before redirect to another .aspx page.
Posted by J.B. at 1/9/2004 11:26:05 AM
Greetings all -
I have been working on this issue for a while now and it has been frustrating to the point where I'm reaching out to the gurus of .NET for any suggestions.
I have a webform where when a user selects an item from a dropdown box and attempts to run a report, if a date is not fou... more >>
Export data to Excel
Posted by Grey at 1/9/2004 11:25:21 AM
is it possible to export excel directly from ASP.NET to Excel? My =
requirement is that the data on the datagrid is exported to MS Excel =
file after user clicks the button on the web page. Excel will be open =
automatically with imported data. If so, is need to add any additional =
controls or ... more >>
cannot establish project reference to WMIScriptUtils 1.0
Posted by davidz NO[at]SPAM oz.net at 1/9/2004 11:23:00 AM
I'm developing an ASP.NET solution, and one of the things I need to do
is to have it return system information for various servers on our
network. I wanted to do this using the various methods of
WMIScriptUtils 1.0. I have previously done this in a VB application,
so I know it is do-able. The... more >>
Repeater Difficulties
Posted by Philip Townsend at 1/9/2004 11:00:00 AM
I have a repeater control that writes an HTML table. Itv needs to
display a header in the first row, then a list of records produced from
a SQL table. The header text is also produced from the SQL query. The
items within the <ItemTemplate> section appear as needed, however, the
header text (whic... more >>
XML and DataSets
Posted by Binny at 1/9/2004 10:53:19 AM
Iam new to xml and datasets,xslt. Iam learning web
services.
Everyone knows keeping/querying data in database is more
efficient than in a xml document.
Just want to know the practical application of having data
in xml file.
Thanks
... more >>
information regarding asp.net on multiple plateforms
Posted by Sridhar .M at 1/9/2004 10:36:14 AM
Any can help me,
is ASP.net application run on any platform?
or If i want to make an asp.net application Platform
independent ( other than windows) is there any way to do
it.... more >>
Uploading Files and Folders
Posted by Mauro at 1/9/2004 10:31:10 AM
Hi,
we are putting together an application that will allow a user to upload
files or folders via a browser to the server. We know how to do this for
files but have never done it for whole folders. Is there a way to do this
with existing .NET methods? I have had a very quick look in MSDN but ha... more >>
Message Boxes to Browser for Code Behind
Posted by Troy Whitlow at 1/9/2004 10:05:52 AM
I am developing a web application using aspx web forms and
would like to send message boxes to the client browser
when certain conditions and checks are performed.
*********************************************************
Example:
Try
Perform some actions
Catch ex as system.excepti... more >>
Server Variable in Client Script
Posted by Bob T at 1/9/2004 9:54:12 AM
Hi All,
I am trying to pass a variable from my VB asp.net script (from for example
Sub Page_Load in mypage.aspx.vb) to my Client side script.
I have found and looked at a very good example "Client and Server Scripting
in Web Pages" but it only shows server side scripting that is written in
... more >>
Visual Studio .NET cannot create or open the application
Posted by Matthew Louden at 1/9/2004 9:45:15 AM
When I open an existing ASP.NET application developed by another machine, it
has the following error messages: I am sure .NET framework is installed and
have the same version as another machine.
Visual Studio .NET cannot create or open the application. The likeliest
problem is that required co... more >>
XML and Dataset
Posted by Binny at 1/9/2004 9:39:06 AM
I just started learning XML and datasets and web-services.
What's the advantage of having data in xml files rathar
than querying database.
appreciate any help
thanks!!!... more >>
refreshing problem
Posted by JN at 1/9/2004 9:30:49 AM
Hi all,
I have some pages where I need to delete/update database
records. Everything is fine until I hit the refresh button
on the browser (IE). This will cause the pages to repeat
the last action, which is deleting/updating the records
that have been already deleted/updated. Is there any... more >>
dynamically fill fields in a word document : Templates
Posted by Zameer Syed at 1/9/2004 9:30:35 AM
I have a webform in which users enter their information
and there is a button at the end of form,which when
clicked should open a word document with fields filled in
dynamically with the information the user enters in the
webform.I hope you understand what i mean.I am trying to
do that.Cou... more >>
Dropdownlist
Posted by André Almeida Maldonado at 1/9/2004 9:22:01 AM
Hy Guys,
I'm receiving this error and I don't know why...
A DropDownList cannot have multiple items selected.
What can I do??????????
Thank's
... more >>
How to enumerate sessions?
Posted by Arsen Vladimirskiy at 1/9/2004 8:54:05 AM
Hello,
Is there a way to enumerate (or iterate through) all the current sessions of
an ASP.NET application?
For example, I want to write a file current-session.aspx that will tell me
the number of currently connected sessions and will also show me that
information about the data that is sto... more >>
Referencing user control variables from page
Posted by martin at 1/9/2004 8:49:50 AM
Hi,
I am a web page and a web user control. My web user control is placed in my
web page using the following directive
<%@ Register TagPrefix="uc1" TagName="Header" Src="WebControls/Header.ascx"
%>
The web user control contains the following server controls
<asp:Literal id="pageTitle" ... more >>
Garbage Collection in ASP.NET
Posted by IDoNothing at 1/9/2004 8:49:48 AM
How does garbage collection work for custom objects
instantiated during a Page_Load or during some other
processing of an ASP.NET page?
Are objects garbage-collected in the same manner using
generations 0, 1, 2, the finalization list and the
freachable queue? Does this apply for the Page... more >>
Please help - Client/Server communication with VB.Net/ASP
Posted by John Howard at 1/9/2004 7:55:59 AM
I am writing my first VB.Net ASP application and would like to set up
another computer for testing.
On the "host" computer I have installed IIS and used VB.Net to create an
HTML member in the c:\ root directory called Index.htm. This module is a
simple "Hello World" HTML file. This machine i... more >>
PDF -> TIFF.
Posted by George Ter-Saakov at 1/9/2004 7:44:26 AM
I need to convert various document types (xls, doc, pdf, ..) to TIFF format.
Then TIFF file is going to be faxed so there is some restriction on
resolution/dpi i can use.
There are plenty of solutions on internet but when i tested couple it
produced pretty bad faxes.
1. Can anyone recommend... more >>
how to kill DLLHOST.exe from ASPx page
Posted by Manoj S at 1/9/2004 7:09:09 AM
Hello,
I have two aspx pages. In the page load of one of the
page, I have a com+ component being initiated and used.
Due to this, DLLHOST.exe gets loaded. After the usage of
the object is over, Im disposing the obj by assigning null
values to the obj in the page unload event at the server ... more >>
Compiler failed with error code 2000 (VB.Net)
Posted by sunil NO[at]SPAM volcanomail.com at 1/9/2004 7:00:52 AM
Dear All,
At some customers we are facing a problem when the user tries to
launch any aspx page from IE. We are getting "Compiler failed with
error code 2000". Is this bcos of some missing resource?
I read in the newgroup that said:
1. Re-install IIS ( I applied Windows 2000 SP3 after that)
... more >>
Simple ASP.NET Forms Question ASP Migration
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 1/9/2004 6:48:21 AM
I have a .net form. based upon data submitted, another should page is
called (I think), sent the arguments, etc. I see I cannot use the
action= argument like old asp. so how do i call the other page with
the arguments?
What is the model here - coming from old ASP. Thank you.... more >>
SQLException
Posted by Dave at 1/9/2004 6:08:35 AM
Hi,
I am trying to trap a SQLException erro in my Global.asax
file but I am unable to do it. In my Application_Error
code block I have a simple response.write followed by a
response.end but when a SQLException error (violation of
primary key) occurs this code does not execute, however it... more >>
Question about ASp.NET Architecture
Posted by Robert Millman at 1/9/2004 5:49:29 AM
I have a question about the ASP.NET architecture and how
classes are instantiated.
When a web page invokes a static class and the class uses
some static storage within the class, does the static
storage exist beyond the invocation of the web page? Is
the static storage global and availab... more >>
Align text in text box
Posted by acko bogicevic at 1/9/2004 5:19:38 AM
Hi
How can I align text in textbox to right, left or center
Thanks
alex
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
need help
Posted by hussein at 1/9/2004 5:04:29 AM
heelo
please i'm facing a smaal problem in asp.net, my program
sends reports to the mails of the customers so i used the
following:
Dim mailMsg As Mail.MailMessage = New Mail.MailMessage()
mailMsg.BodyFormat = Mail.MailFormat.Html
Mail.SmtpMail.SmtpServer = "exchange"
i used this code ... more >>
Syntax error in FROM clause
Posted by kabdelhafid NO[at]SPAM hotmail.com at 1/9/2004 4:05:31 AM
I use an .aspx (user control) page as follow:
<script runat="server">
Public Sub BtnSave_Click(byval obj As Object, e As EventArgs)
ReadRecords()
End Sub
Private Sub ReadRecords()
Dim conn As New OleDbConnection _
("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
... more >>
Tabindex
Posted by kai at 1/9/2004 4:04:03 AM
Hi, All
I try to setup Tebindex in ASP.NET page like in Windows form, using
Tabview, but cannot fnd it. In the properties windows in ASP.NET, change
Tabindex does not change
the tab order. How can setup the tab order in ASP.NET?
Thanks
Kai
... more >>
information bet. aspnet pages
Posted by Raja Balaji R at 1/9/2004 3:49:05 AM
Hi,
Is there is way to pass data from one page to another
asp.net page without using for form posting, querystring,
session and application variables.
Thanks & Regards
Raja Balaji R... more >>
Stored proc with asp.net
Posted by Mark at 1/9/2004 3:10:41 AM
Hi
I have a stored proc that inserts values into a db, now i
want to give that stored proc a row Id for it to update.
cant get it working though
heres the code
<code>
ALTER PROCEDURE dbo.AddPay
(
@Pay VarChar(50)
)
AS
Insert into TestFile
(
Pay
)Values (
@Pay
where Id =... more >>
Authentication using ASP.NET
Posted by Sriram Venkataramani at 1/9/2004 3:02:46 AM
In our application we have to authenticate users using
Forms authentication, but using the username and password
of the Windows 2000 Active Directories. That is, the user
will enter his username and password in the WebForm and
our code behind will have to authenticate the user.
Futhermore ... more >>
Authentication using ASP.NET
Posted by Sriram Venkataramani at 1/9/2004 3:02:37 AM
In our application we have to authenticate users using
Forms authentication, but using the username and password
of the Windows 2000 Active Directories. That is, the user
will enter his username and password in the WebForm and
our code behind will have to authenticate the user.
Futhermore ... more >>
ASP.Net Not Working on Win2k Server
Posted by Sheze at 1/9/2004 2:37:59 AM
Hello
Plz help me to Execute ASP.Net Pages on Windows 2000 Server. It is not at
all executing on it.
I have registered ASP.Net with IIS using "aspnet_regiis -i" command, but all
in vain.
Plz help me out.
Any suggestions would be appreciated.
Thanks,
Sheze
... more >>
Problems converting a string to SQLDateTime
Posted by damon.f at 1/9/2004 2:14:44 AM
I've got a classic ASP application that I'm migrating
to .NET. In the client script we used to use the
following code to help build up the sql string. It
converted a text date to the SQL Server Date format.
sSQL = sSQL + SQLServerDate(Request.Form
("PLANNEDEXITDATE")) + ","
I'm now tr... more >>
|