all groups > asp.net > june 2004 > threads for friday june 11
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
IP Regex and persistant datagrids
Posted by Wayne M J at 6/11/2004 11:18:37 PM
1) I have half sorted out the IP Address reg-ex:
\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}
That works perfectly well, but I need narrow down the options. Can anyone
offer a suggestion on how to implement limitation? This is not real
critical, as I already test for the limitations in the code as it is.
... more >>
Pie Chart control
Posted by Cliff Harris at 6/11/2004 7:11:09 PM
Can anyone recommend a good Pie Chart control for ASP.NET? Preferably free,
but I'd also be willing to pay if it's nice enough and won't break the bank.
Thanks in advance,
-Cliff
... more >>
Weirdness... huh? (specified web server not running ASP.NET version 1.1)
Posted by VB Programmer at 6/11/2004 6:16:45 PM
My development machine has been working perfectly, writing ASP.NET apps,
etc...
I just went to open a project and it said:
"Visual Studio .NET has detected that the specified web server is not
running ASP.NET version 1.1. You will be unable to run ASP.NET Web apps or
services."
I reran "a... more >>
IE Treeview Runtime Error
Posted by Alphonse Giambrone at 6/11/2004 5:46:24 PM
I have been using the IE Treeview for several months and it has been working
fine until recently.
Now on my development machine I get a runtime error when the page loads or
the mouse moves over the node link.
When viewing the webpage from via the webhost, I don't get any error, but
when clickin... more >>
ASP.NET IIS Timeout
Posted by Wardeaux at 6/11/2004 5:19:24 PM
I have a web application... sessions timeout after the default 20 mins
requiring the users to re-login... getting lots of complaints. What's best
approach around this? I have other sites running on this server so raising
the session.timeout is not a good option...
MTIA
wardeaux
... more >>
Error using the infoUSA mailing list webservice
Posted by Ashish Gupta at 6/11/2004 4:52:04 PM
Hi Guys
I am using mailing list web service of infoUSA.com.
Sometimes it gives the following error :
System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> System.IO.IOException: The process cannot access the file
"\\arwen\share\listbazaar_logs\sms_live.log"... more >>
how to get the new identity ID just after insert a new row?
Posted by Quentin Huo at 6/11/2004 4:51:51 PM
Hi:
I have a table which key is an identity integer ID named "readerID", so the
readerID is created by system after I insert the new record. I use the
following code to insert a new record:
strng sql = "INSERT ......";
OleDbConnection conn = new OleDbConnection();
conn.ConnectionStri... more >>
Generated Code Confused
Posted by G. Dean Blake at 6/11/2004 4:48:19 PM
I have a project with many DataAdapters and Datasets generated via the
Wizard. DAs and been deleted and more DAs have been added. The Generated
code has become somewhat of a mess.
Now when I try to add a new SQLDataAdapter I get an error box saying that
there is already a SQLSelectCommand12.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
cannot open web project
Posted by mimi at 6/11/2004 4:35:23 PM
I get the project from sourcesafe to my computer. The path is as
c:\inetpub\wwwroot\mywebproject, I set it to be virtual directory. When I
choose open -> project from web, there is nothing under mywebproject folder.
If I go to window explorer
c:\inetpub\wwwroot\mywebproject\mywebproject.csproj... more >>
Create a pdf file
Posted by Russell at 6/11/2004 3:43:56 PM
Hi, I have an asp.net web page using vb.net to code with. I have to create a
report using pdf format to display online. can anyone help me with this.
Thanks in advance
Russell
... more >>
Re: Web Service example
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/11/2004 3:30:37 PM
John,
Take a look at this: -
http://abstractvb.com/code.asp?A=1006
Hth,
Phil Winstanley
Microsoft ASP.NET MVP
http://www.myservicescentral.com
... more >>
Re: how to get the new identity ID just after insert a new row?
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/11/2004 3:14:13 PM
Quentin,
You'll need to use SCOPE_IDENTITY() (SQL Server) or SELECT @@IDENTITY
(SQL Server and Access) at the end of your INSERT Statement, as so: -
INSERT INTO .............; SELECT SCOPE_IDENTITY();
Hth,
Phil Winstanley
Microsoft ASP.NET MVP
http://www.myservicescentral.com
... more >>
Re: Submit Form in ASP.net
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/11/2004 3:01:57 PM
Miguel,
If you want to post the relevant database code we'll take a look.
Phil Winstanley
Microsoft ASP.NET MVP
http://www.myservicescentral.com
... more >>
Cookie in class
Posted by hansiman at 6/11/2004 3:01:28 PM
When I use the sub code below directly in the code behind page it
works. However, if I move the code into a sub and place the sub in a
class file I get a building error "Name 'Response' is not declared."
I figure it has to do with the imports .... but I have tried both
system.web.ui and a coup... more >>
Why can I still hit the break point without the pdb file
Posted by Jazz at 6/11/2004 2:54:02 PM
Hi,
I did the following several steps, and am confused why I can hit the breakpoint in the code behind file even after the pdb file is removed.
(1) I build an ASP.net project in release mode with 'Generate PDB file' checked by using VS.Net 2002
(2) I remove the pdb file from the bin directory.
... more >>
Problem with runtime compilation of aspx files. Register Directive ignores Assembly
Posted by dan NO[at]SPAM meridium.se at 6/11/2004 2:38:37 PM
Hi,
I have a problem using an aspx page with a Control on it. I get the
following error message
Compiler Error Message: CS1595: 'Test.Class2' is defined in multiple
places; using definition from
'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files\root\1f575646\ad3a161b\asse... more >>
IFRAME with .aspx
Posted by Rich at 6/11/2004 2:29:01 PM
Is there any reason why I should not be able to use an .aspx page with an IFRAME? I want to do something like this: <IFRAME ID="AFrame" SRC="PMSTAuth.aspx" ... </IFRAME>. I took a quick run at it - the page that contains the IFRAME renders OK (it, too is an .aspx page) but the IFRAME just shows ... more >>
How can i read MaxLength properrty in a JavaScript CustomValidator function
Posted by RSB at 6/11/2004 2:24:03 PM
Hi Everyone,
I have this TextBox with the TextMode="MultiLine". so now it does not
validate the text in the TextBox for the MaxLength
SO i have decided to execute a CustomValidator for this Textbox and run a
CLientSideFunction. now i was making this clientsidefunction generic so that
i can v... more >>
asp.net worker process user
Posted by Jiho Han at 6/11/2004 1:50:32 PM
I see on my XP machine the aspnet_wp.exe is running as ASPNET user.
However, on one of the W2k3 machine, w3wp.exe is running as System. Wasn't
it supposed to run under NETWORK SERVICE user? Do you suppose someone had
changed the default behavior?
... more >>
Saving web project to disk
Posted by Ryan S at 6/11/2004 1:34:50 PM
I feel like I'm missing something obvious here...
Is it possible to copy an entire web project to a CD to take to another
computer?
Thanks!
-Ryan
... more >>
Real Problem
Posted by Big E at 6/11/2004 1:28:02 PM
Okay here is my code. I'm using ASP.Net and SQL Server 2000. When I run this
code the selecteditem.value is 1 the selecteditem.text is ALABAMA. This is
correct. But when I try and get the value once this procedure has run my
selecteditem.value is ALABAMA and the selecteditem.text is ALABAMA. It's... more >>
session vaiables lost randomly
Posted by rich00 at 6/11/2004 1:00:03 PM
i am developing an asp.net web based application using javascript as the server side scripting language. The application makes constant use of an access database and session variables. in a random way, the session variables are lost causing the application to break. The only software on the xp-pro b... more >>
Problem with sql statement in ASP.net
Posted by tina.pardi NO[at]SPAM nav-international.com at 6/11/2004 12:27:34 PM
I have a ddl list that displays Supplier Names, after a selection from
the list a datagrid is brought up from a sql table displaying only the
fields pertaining to that selection..
This is works fine, BUT now I have to add a sql statement that brings
up only the records that have have an "A" in... more >>
access textbox value without postback
Posted by Sam Miller at 6/11/2004 12:09:01 PM
I have several text boxes like FirstName, LastName, etc; the usual.
When the page is loaded I fill in the values from a member record.
Like:
Session("FirstName") = DS.Tables("Member").Rows(0)("firstName") & ""
Then show in the textbox like:
Me.tbFirstName.Text = Session("FirstName")
Then wha... more >>
Combobox Id
Posted by Big E at 6/11/2004 11:54:34 AM
I'm using VB in ASP.Net with SQL Server 2000.
I have a States Combobox that lists the State. The State has a StateId in
table states. When I do updates to various tables from the form I would like
to update the StateId not the StateName. I've looked at the datamember and
datavalue stuff but do... more >>
Secure page with Insecure Elements
Posted by Vince Mele at 6/11/2004 11:19:01 AM
We are having a small problem with a couple of reports we developed for a
client website.
On two of the reports, sometimes (most of the time) we receive a warning
message before the output of the report is presented in the browser. The
warning message says "This page contains both secure and n... more >>
print in aspx
Posted by simon at 6/11/2004 11:13:44 AM
How can I print the <asp:panel > contents to the printer on the client?
If I use vbscript and window.print then all page is printed not only panel.
Thank you,
Simon
... more >>
Using Page Object in VB Class File
Posted by Bijoy Naick at 6/11/2004 11:06:46 AM
My project contains multiple aspx pages. Many of these pages have
code-behind that use several helper functions.
Instead of copying each helper function into each aspx page, I am
thinking of using a VB Class file to store these.
Questions -
- How would I "include" this class in each aspx ... more >>
Connection Pool Issue
Posted by Guadala Harry at 6/11/2004 10:37:22 AM
I have an ASP.NET/C# app that connects to SQL Server 2000. I recently
started getting the following error message during development (i.e., when
launching the app from the VS.NET 2003 IDE):
Timeout expired. The timeout period elapsed prior to obtaining a connection
from the pool. This may have... more >>
Multiple Case
Posted by Andre at 6/11/2004 10:14:54 AM
Hi,
Is there a way to make this work.
The Select case always enter in "Case Is > 0, Is < 1".
myReader.GetValue(0) return 8.4, but 8.4 is not between 0 and 1, so it
seem that the second part of the case does'nt work.
Select Case myReader.GetValue(0)
Case Is > 0, Is < 1... more >>
Setting Control Properties before postback
Posted by Angel at 6/11/2004 9:43:01 AM
I have a button, combo, and custom control that i created. When I click the button i want to set certain display properties of my custom control depending whats in the combo. I set those properties in the Click_Event in the button control. Unfortunately postback is triggered in the click event befor... more >>
Properties setting in postback
Posted by Angel at 6/11/2004 9:43:01 AM
I have a button, combo, and custom control that i created. When I click the button i want to set certain display properties of my custom control depending whats in the combo. I set those properties in the Click_Event in the button control. Unfortunately postback is triggered in the click event befor... more >>
Delay without blocking CPU
Posted by A.M at 6/11/2004 9:40:32 AM
Hi,
I my web application, I wnat the application have 10 seconds delay upon any
invalid login.
What would be the best way to have 10 second delay without blocking and
using CPU time? Probably having a loop is not a good ida.
Thanks,
Alan
... more >>
Request.Browser.MajorVersion returns wrong version
Posted by Roger Twomey at 6/11/2004 9:37:08 AM
I have an application that checks for browser, version and active X enabled.
It uses the result for a simple if then.
The issue I have is that Request.Browser.MajorVersion is returning the
wrong value. I was not getting the result I wanted (no IE browser was
version >= 5) even when the brow... more >>
GetString for .net
Posted by DaveF at 6/11/2004 9:18:35 AM
Is there an equivalent
String = recordset.GetString(StringFormat, NumRows, ColumnDelimiter,
RowDelimiter, NullExpr)
--
David
... more >>
global.asax and pre-compilation
Posted by gemel at 6/11/2004 9:09:37 AM
I had a fully functioning application until a couple of weeks ago when
my ISP ugraded their system. Now when I access the application I get
the standard remote error page. Changing the <cutomErrors> to "Off"
doesn't help because the application behaves as if it doesn't even get
as far as reading... more >>
Javascript in VB class
Posted by Brian Henry at 6/11/2004 8:59:20 AM
Is there a way to launch a javascript command from within VB code? For
instance, to issue a window.open(some url) if a certain condition is met. I
know you can add the javacript to a control event at runtime, but i need to
just launch it, not wait for the user to click something.
Thanks
... more >>
data item with two rows in datagrid
Posted by jhoge123 NO[at]SPAM yahoo.com at 6/11/2004 8:48:29 AM
I have a datagrid displaying a number of narrow columns and one very
wide one. It would make sense from a layout perspective to have two
rows per dataitem, and to put the long descriptive field beneath all
of the short, narrow ones in one large table cell that spans multiple
columns. Is there a ... more >>
PHPDocumentor for ASP.NET
Posted by nickgieschen NO[at]SPAM hotmail.com at 6/11/2004 8:42:52 AM
Hi, does anyone know if there is something like PHPDocumentor for
ASP.NET? That is, is there anything which will parse your files, look
for comments with a particular syntax, and output an API?
Thanks,
Nick... more >>
.NET and php integration
Posted by mikieg_99 at 6/11/2004 8:03:33 AM
Hi,
One of our clients has a PHP site, running on Apache on redhat.
We'd like to integrate asp.net web forms, hosted on another server, into
the php site.
Obviously it's possible with pop-ups.
Is there a way to integrate the asp.net forms directly into the php
pages?
Thanks in advanc... more >>
Save a Recordset to an ASCII file with custom field separators
Posted by Edward Grosso via .NET 247 at 6/11/2004 7:44:39 AM
Hi to all the dotnet community,
I'm actually trying to figure out how can I save a Recordset to an ASCII file with custom field separators, in a fast way, without loops. Perhaps there is some way with a streamwriter object ?
Any idea ?
Thanks in advance
--------------------------------
From: ... more >>
Confirm Delete popup from a LinkButton in a repeater
Posted by sandy NO[at]SPAM murdocks.on.ca at 6/11/2004 7:12:45 AM
I have a repeater which shows Group names.
(Skip this part if you want rather irrelevant)
The groups are ordered and formatted:
Parent
---Child
------Grand Child
(okay start reading again please)
The code (html side) looks like this:
<table id="Table1">
<asp:Repeater ... more >>
Request.Browser.MajorVersion returns wrong version
Posted by sandy NO[at]SPAM murdocks.on.ca at 6/11/2004 6:48:53 AM
I am stumped.
I use IE 6. I have a User Control that I use. One part of the User
control checks the browser type and version for compatibility control.
I use this line for the version:
Request.Browser.MajorVersion
I go to a page with the control in it,it shows the version as 4.
... more >>
See all session variables
Posted by brian at 6/11/2004 6:36:13 AM
Is there a way to display all session variables in memory
on a server?
Thanks
... more >>
Session Variables
Posted by brian at 6/11/2004 6:34:46 AM
I have my session timeout at 20 minutes. Is there a way
to set session time per variable. For instance: I
create session("TEST") and I want it to expire in 2
minutes of no activity...Is that possible?
For Clarification:
If session time out in the web.config file is set to 20
minutes t... more >>
Add a picture to an imagebutton control at runtime
Posted by Jason at 6/11/2004 6:32:43 AM
I am trying to add images to my image at runtime and for some reason it is
only showing part of the image. It seems that people with slower
connections to the internet load less of the image before it stops. The
only relevant code I am using is:
Image1.imageURL = "picdirectory/picname.jpg"
... more >>
problem at debugging
Posted by shirin nili via .NET 247 at 6/11/2004 6:32:18 AM
(Type your message here)
I have installed IIS and visual studio 1.1 and after designing a asp.net web page ,when i hit the debug, this error appear:
unable to start debugging on the web server.the web server dosn't debugging of asp.net or atl server.
what can i do ?
----------------------------... more >>
Leaving a Page
Posted by brian at 6/11/2004 6:31:40 AM
Is there an event that can be fired when a user navigates
to another page. If a user is at page 'A' and navigates
to page 'B' I want code to excute. I am not looking for
browser exits.
Thanks... more >>
Getting content from three different tables
Posted by jatzzi at 6/11/2004 5:10:01 AM
Hi
I really really hope someone can help me out with whis - since Im fearly new in this world.
I want to build up a navigation with elements from my main category table. Then, for each kategory there may be one ore more products with a title defined in another table. The relations between my pr... more >>
IE AutoComplete doesn't work with ASP.NET page
Posted by Peter at 6/11/2004 3:36:01 AM
Hi,
Internet Explorer's AutoComplete feature is not working with my ASP.NET page and its form. Can anybody tell, what could be the reason for that?
Thanks,
Max... more >>
directory as application in IIS gives Could not load type
Posted by Thomas D. at 6/11/2004 3:04:01 AM
Hello,
Where to start? Well, I was creating a little back office for a website. That website is in fact a virtual directory in an existing website. So, I have this:
-- WEBSITE1
|---- [Some Files & Directories]
|---- WEBSITE2 (Virtual Directory -- dirname: "koea")
|------ [Some Files & Direc... more >>
General .Net Question
Posted by Jolly Student at 6/11/2004 2:16:22 AM
Dear Colleagues:
I am a systems guy who has been working with hardware, networking and basic
scripting for ten years or so. I have been given the opportunity to attend
..Net classes of all sorts as part of the MSDN training track. I already
have the MCSE track under my belt and that is where... more >>
Server.Transfer To Same Page Not Preserving Control Values
Posted by pants75 NO[at]SPAM hotmail.com at 6/11/2004 2:14:42 AM
Hi all...
I sincerly hope one of the MS guys can clear this up for me...
First some background...
Ok, I have a web site which is fully translatable into several
languages. All the strings for the web site are held in a database and
all the labels, buttons etc are populated at run time in ... more >>
Pressin back on browser toolbar refetches the page
Posted by interuser NO[at]SPAM hotmail.com at 6/11/2004 1:52:19 AM
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="pagexxx.aspx.vb" Inherits="pagexxx"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- #include virtual="/CommonUI/Include/Headers.htm" -->
<HTML>
<HEAD>
.....
"/CommonUI/Include/Headers.htm" has these content... more >>
upload only *.xls file...
Posted by Asha at 6/11/2004 12:12:28 AM
helo, how can i control from the client side to only upload *.xls files?
i want the upload box to only see xls file... thanks
Asha... more >>
TAB KEY
Posted by Veeresh at 6/11/2004 12:06:00 AM
In my ASP.Net application when the user hit Backspace key(except when the
focus is on text box) browser takes them to the previous page. I am using
..net 1.1 and IE5.x.
Please advice.
Gireesha
... more >>
|