all groups > asp.net > october 2004 > threads for tuesday october 12
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
whidbey expiration
Posted by Manny at 10/12/2004 11:27:18 PM
I just got this whidbey demo thing.
When does it expire?
Will the pages I create with it expire somehow?
Is it safe to dance?
... more >>
The viewstate is invalid for this page and might be corrup
Posted by Jason at 10/12/2004 10:13:50 PM
Can anybody help on the following error :
The viewstate is invalid for this page and might be corrupted.
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 ... more >>
singleton in an aspx app?
Posted by Sergei Shelukhin at 10/12/2004 10:00:39 PM
Suppose I want to supply a singleton class object that will sit between my
intranet asp.net app and MS SQL database, doing al the chemistry with
connections etc inside of it.
The problem is that I don't really know how to keep the object persistent
for all the requests nade within the app.
... more >>
ASP.NET 2.0 Web Site Search Page
Posted by sloveridge NO[at]SPAM adelaidebank.com.au at 10/12/2004 9:46:16 PM
Does anyone know of a way to create a search page under ASP.NET 2.0?
I have started out by configuring a catalog in Index Server,
registering the aspx, ascx extensions in the registry to allow them to
be indexed and built the catalog as per KB article, but I've run into
an interesting problem... more >>
HTTP_REFERER not there when coming from an ASP Response.Redirect
Posted by Drebin at 10/12/2004 7:56:32 PM
I am retrofitting a central login application and want to be able to read
the Request.ServerVariables["HTTP_REFERER"] so that when they have logged
on, I can send them back to wherever they were trying to go..
If you try to load a legacy ASP app, I do this:
If Len(SessionID) <> 40 Then
... more >>
Send email message with attachments
Posted by Aleksei Pashin at 10/12/2004 7:18:44 PM
Hi
I am trying to send email message from my ASP.NET page using MailMessage É
SmtpMail.
Message must have the attachment file.
When its size grows 150K I get an error message
System.Runtime.InteropServices.COMException: Unspecified error
TargetInvocationException: Exception has been thro... more >>
Naming controls problem
Posted by Nikolay Anestev at 10/12/2004 6:52:48 PM
Hi all. I have the following problem: In an ASP.NET (C#) application i wrote
some client-side script which works with some of the page controls. When the
page content is rendered i see that some of the controls' ids have been
prefixed with "_ctl" and this caused errors in my script. I'm sure my
... more >>
vb .net variables in asp .net
Posted by mattmerc NO[at]SPAM bellsouth.net at 10/12/2004 6:46:00 PM
Hi,
I have a simple question about vb .net variables. There is so much
info on variables out there I had trouble finding exactly what I am
looking for. Here is the question:
When I use a variable (for example Dim strWhatever As String) in
server code, is a new instance of the variable creat... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
insert record in Ms Access database AND retrieve the autonumber (ID)
Posted by nicholas at 10/12/2004 6:01:21 PM
I would like to insert a new record in a Ms Access database and retrieve the
newly created ID (autonumber).
I would like to do it in VB.NET for an ASP.NET page. ( no asp)
I found several examples on the net, but most of them just work with
sql-server (@@indentity), or use just asp with inclu... more >>
Help - New Project
Posted by Stu at 10/12/2004 5:42:25 PM
I've been asked to produce a web site with varying levels of membership e.g.
Free, Silver and Gold.
Each level allows you access to more content than the previous level and a
charge would be made for the Silver and Gold levels.
I therefore need to produce a site that has a log in facility,... more >>
create file at client side
Posted by GDURAN at 10/12/2004 5:21:04 PM
How can create a file at client-side?
I need verify (find, create and delete) a temp file at client side.
How search a path(file) in differents OS (mac, windows) ... more >>
How to reset a StringBuilder?
Posted by ESPN Lover at 10/12/2004 5:13:39 PM
I've got stuff in my StringBuilder (System.Text) and I need to clear it all
out. How do I do that?
... more >>
How to develop an ASP.NET application with a Limited account (IIS problem?)
Posted by DotNet Ed at 10/12/2004 4:58:27 PM
Hi,
I have an issue I have not found a way to get around. First of all, I use
Windows XP Professional. I have a user account for administrative & security
purposes (install software, share things, etc.) and then a regular/limited
user account which is the one I use for my every day tasks such... more >>
Dates in SQL Query
Posted by Kenneth Keeley at 10/12/2004 4:57:15 PM
Hi,
I am trying to get the results out of an SQL database where the date is
greater than todays date.
this is thecode that I am trying to use.
SQLQuery = new SqlDataAdapter("SELECT Id, Title, Publication, InsertDate,
NoPages, Colour, Status " +
"FROM Features WHERE InsertDate >#" +
Da... more >>
urgent server side question
Posted by Green at 10/12/2004 4:49:33 PM
Hi,
I have a problem confuses me for awhile that i have a web application
(asp.net) which requires without postback will still get the information
from the server. For instance, i want to update the time from the server. I
heard like server side javascript, but i don't know how to do it. And ... more >>
Queryinterface Error
Posted by Malcolm Klotz at 10/12/2004 4:33:31 PM
Hi,
I am developing an ASP.Net application that uses a VB6.0 COM+ dll. When I
try to debug the VS.NET application with VB6.0 running (and registered in
COM+) I am receiving a QueryInterface Error when the application attempts to
instantiate any of the classes in the COM+ dll. If I remove th... more >>
writting excel files
Posted by Boris Condarco at 10/12/2004 4:31:20 PM
Hi gurus,
I'm using excel 2000 to show data that comes from datagrid. The problem is
that for any reason the asp.net application maintains the excel open, even
though, i do close it. Besides, does anyone know any third party compononet
to write excel files without having it installed?
My co... more >>
Unable to generate code...
Posted by A Traveler at 10/12/2004 4:22:52 PM
Hello, i am having this problem. The exact error message is:
"Unable to generate code for a value of type 'System.Web.UI.Page'. This
error occurred while trying to generate the property value for Page."
After a lot of googling, all i can find that this applies to is when trying
to use enum... more >>
FreeTextBox & ASP.NET2.0
Posted by Lloyd Dupont at 10/12/2004 4:16:33 PM
has any FreeTextBox user manage to get it to run with ASP.NET 2.0 ?
I downloaded the latest version available (2.0.7) and I kept having problem:
Exception Details: System.InvalidOperationException: Failed to map the path
'/aspnet_client/FreeTextBox/Languages/en-US.xml'.
Source Error:
... more >>
Not able to page datagrid within the datalist
Posted by c.verma NO[at]SPAM gmail.com at 10/12/2004 4:00:40 PM
Hi,
I have an embedded datagrid within a datalist. I am not able to
perfrom paging in the datagrid. Any ideas? Here is my code:
Here is my Simplegrid.cs file:
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
... more >>
Checking version of ASP.NET on IIS
Posted by harry at 10/12/2004 3:20:48 PM
How would I check to see which version of ASP.NET my IIS is running. And how
would I change it?
On one machine, I am running XP and the IIS was running ASP.NET 2.0. My app
was written using 1.1 and when I started VS.NET, I got an error saying that
my webserver was running a different version t... more >>
Reusing data controls
Posted by Vik at 10/12/2004 3:17:53 PM
I use the same dataadapters and datasets on a few aspx pages. Currently I
create these data controls on each page. Is it possible to create these
controls only once and then use them on the different pages?
Thanks.
... more >>
ASP.NET Poor performance with long-running COM object calls
Posted by Bill Thorne at 10/12/2004 3:13:02 PM
We have a COM object that has been wrappered for use in .NET and which can
make calls which can take a while to execute. These are mainframe
integration calls that might perform a lot of data entry and gathering,
returning the results to the ASP.NET caller.
I have tried an AsyncPage class ... more >>
Design & CSS
Posted by Griff at 10/12/2004 3:04:52 PM
Are cascading style sheets (CSS) still as relevant with ASP.NET?
If so, any book recommendations? I've come across Sitepoint's "HTML Utopia:
Designing without tables using CSS" - any thoughts on that book?
Thanks
... more >>
Which way is best to read from a file?
Posted by ESPN Lover at 10/12/2004 2:55:07 PM
Below is two snippets of code from MSDN showing how to read a file. Is one
way preferred over the other and why? Thanks.
using System;
using System.IO;
class Test
{
public static void Main()
{
try
{
// Create an instance of StreamReader to read fr... more >>
Format Date in a DataGrid
Posted by Kenneth Keeley at 10/12/2004 2:53:47 PM
Hi,
I am reading in results from an SQL database one of the fields is a date
value. I wish to be able to display the date as only "dd/mm/yyyy" can some
body give me an example. Here is the code I am using at the moment.
<asp:BoundColumn HeaderText="Date" DataField="InsertDate"
SortExpressio... more >>
Problems Consuming Web Services
Posted by bob garbados at 10/12/2004 2:29:30 PM
I'm new to web services and I'm trying to interface with a payment gateway
for an online store. I'm trying to do this without Visual Studio and I'm
stuck...
I created my proxy class from the command line with the following statement:
wsdl
https://webservices.innovativegateway.com/igspayments... more >>
System.ArgumentException: An entry with the same key already exists.
Posted by George at 10/12/2004 2:24:22 PM
I am getting the following error when trying to set up and adrotator. I'm a
newbie can anyone point me in the right direction. Thanks
... more >>
How to integrate securely?
Posted by Olav Tollefsen at 10/12/2004 2:22:57 PM
I'm building an ASP.NET based web application. I have a need to deliver
content to another web site which is developed by another company using the
old ASP programming model. My content is not freely available. The other web
site would have to provide username / password in order to get the co... more >>
I am Getting Prboblem with Cultures In Windows XP Mechine
Posted by Karunakararao at 10/12/2004 2:11:11 PM
Hi All
DateTime populaing based on regional settings In ASP.NET Application
Iam using this Code:
Thread.CurrentThread.CurrentCulture =
CultureInfo.CreateSpecificCulture(HttpContext.Current.Request.UserLanguages[0]);
Thread.CurrentThread.CurrentUICulture = new
CultureInfo(HttpContex... more >>
datagrid-how to get cell value(hyperlink column)
Posted by Paul at 10/12/2004 2:03:10 PM
Hi I have a data grid with a hyperlink column. the colum has numbers like
00001,000002, ect. Just wondering how to get the text value of the cell as
tempstring = datagrid.Items(rownumber).Cells.Item(column number).Text
returns a blank string. It seems to work ok for the other columns that are... more >>
Handle RadioButtonList click event by Clientscript
Posted by strout at 10/12/2004 1:45:02 PM
I want to do some client-side operation by click different radiobuttonlist.
I tried to add "onclick" event for each itemlist, by register startup
clientside javascript. But the problem is I cannot get
document.getElementById work, because the list item id generated by ASP.net
is like myRdoL... more >>
How do I disable a bound hyperlink in a datagrid?
Posted by Mark at 10/12/2004 1:17:12 PM
Hi all, I have a datagrid with a few bound columns.
I have one column where for each row, I would like to check a condition and
disable the individual hyperlink associated with the datarow if the
condition is met.
How can I do this in the codebehind when the datagrid is created? I have
been... more >>
ListBox and Javascript
Posted by Henrik Holle at 10/12/2004 1:00:55 PM
Hi,
i have a serverside listbox but i modify the value with javascript on the
clientside. On postback my changed/added values are all lost? what am i
doing wrong? Is it not possible to change the listbox content on the
clientside?
regards
henrik
... more >>
Event ID 1084
Posted by Alvin at 10/12/2004 12:13:18 PM
I am very new to .NET so bear with me please.
I started getting this error message in my event log last week:
Source: ASP.NET 1.1.4322.0
Event ID 1084
Description:
aspnet_wp.exe could not be started. The error code for the failure is
80070545. This error can be caused when the worker process... more >>
Buttons Don't Work
Posted by Josh at 10/12/2004 12:06:06 PM
Hi Guys,
I have reciently installed windows sp2 and now alot of the button click
events don't work in internet explorer.
Does anyone know how to fix this problem ?
Cheers,
Josh
... more >>
Is this possible? Session sharing etc.
Posted by HG at 10/12/2004 12:02:05 PM
Hi gurus
Sorry the rather long post...
I am facing a real world problem here, and I dunno how to approach it.
Don't even know if this is the right group...but since my app is ASP.NET I
tried here first.
I have an ASP.NET WebApp running, database tier is SQL Server 2000 in a
intranet envi... more >>
problems with ListBox 's event
Posted by dagriq NO[at]SPAM yahoo.ca at 10/12/2004 11:51:51 AM
Hello ,
In an ASP.Net page, there are some DropDownLists used
for adding some conditions to a Select statement, a
button (server-side, too).
And in the same page there is a ListBox that must be filled by Click
event
handler of my button. Everything is ok, but ...
it is something very st... more >>
Strange problem submit button not working
Posted by jbhan at 10/12/2004 11:33:06 AM
Hi,
I have encountered a strange problem with an asp.net application. I have the
same code deployed on staging and production. On clicking the submit button
the app is supposed to send an email.
This works fine on staging environment for both netscape and IE.
But on production (it has mul... more >>
Get Requesting Clients Subnet Mask
Posted by glenn.mantle NO[at]SPAM bt.com at 10/12/2004 11:29:39 AM
I know how i can use request.userhostaddress to get the requesting ip address.
is their any way i can get the requesting clients subnet mask also?... more >>
"Loose" compile after reboot?
Posted by Lasse Edsvik at 10/12/2004 11:20:32 AM
Hello
was wondering, lets say i have like 1000 asp.net pages on a serv, and i need
to reboot server, will all pages need to be recompiled with that jit-thing
so it would take 1-4 secs to load pages for first time since reboot? if so,
is it possible to take it compile all pages when starting?
... more >>
Cookies & Localhost
Posted by Goober at 10/12/2004 11:14:23 AM
I have an application where we have a limited number of users and a set
requirement for web access. An app that I have inherited uses cookies to
set certain values (i.e. what would correspond to session variables in
regular ASP) that we use to run reports from a SQL database and display them
in... more >>
Jet database access problem from web service
Posted by Sonya at 10/12/2004 11:11:11 AM
Hello,
I have trouble connecting to Access database from my web service. Database
is located in a subdirectory of where service pages are. Code below produces
the following exception: "No error information available - E_NOINTERFACE".
[WebMethod(Description = "This method tests con... more >>
asp.net 2.0 in VS '05 to generate dll's & not exe's?
Posted by Jason Shohet at 10/12/2004 10:31:40 AM
I'm trying to figure out *why* VS.NET is creating exe's for us instead of
dll's now...
And how we can set it back to create dll's during the build.
TY
jason shohet
... more >>
Catch error message
Posted by tshad at 10/12/2004 10:22:37 AM
I am trying to do:
*************************************
Try
objCmd.ExecuteNonQuery()
Catch e As Exception
response.write("We have a message: " & e.Message & "<br>")
End Try
************************************************
And I get the error:
******************************... more >>
Session Variables - Good or Bad
Posted by Harry Simpson at 10/12/2004 10:21:04 AM
I've come from the old ASP camp where session variables were not used. When
i started using ASP.NET in 2001, I started using them again because it was
ok from what I'd read.
I've been merrily using Session variables for three years now and i'm
entering a project with my new boss who has ne... more >>
Save Data in Database; reload opener window from Popup window ASP.
Posted by JJ at 10/12/2004 10:07:02 AM
Hi All,
How in ASP.NET, from PopUp window:
1) - save Data in Database;
and after
2)
a) - Reload the opener window
b) -close PopYp window.
Note:
for Question 2)
I did it without problem:
<script>window.opener.location.reload();window.close();</script>
But the problem is I need to s... more >>
date parameters and null
Posted by tshad at 10/12/2004 9:57:54 AM
I have the following code:
***************************************************************************
Dim CommandText as String = "INSERT INTO ftsolutions.dbo.position
(client,dateposted) VALUES ( @client,@dateposted)"
Dim objCmd as New SqlCommand(CommandText,objConn)
with objCmd.Pa... more >>
windows authentication but still getting Login box
Posted by Dan Nash at 10/12/2004 9:57:05 AM
Hi
Any ideas on this... having moved the web app to another server, and setup
all the WebApp data (disable anonymous access etc), locally my site still
asks me for a Username/Password, even though I've got
authentication="Windows" in web.config.
On another machine on the network, I don't... more >>
Javascript / C# variable syntax
Posted by Dale at 10/12/2004 9:54:23 AM
I have two questions about the passing of "variables" between ASP & Java:
1. I create an ASP "TextBox" control:
<asp:TextBox ID="txtName" Runat="server"></asp:TextBox><br />
I need to be able to set the "text" property of txtName from Javascript
2. I have a standard HTML TextBo... more >>
DropDownList SelectedIndexChanged window.showModalDialog
Posted by Scott Lee at 10/12/2004 9:50:07 AM
I am displaying an ASP.Net generated form in a popup opened with
window.showModalDialog.
The form contains DropDownList controls. The first ddl is populated via
databinding to a datatable, has its AutoPostBack set to true and has its
SelectedIndexChanged event being handled in codebehind. Th... more >>
Dropdownlist automatically selecting
Posted by Dave at 10/12/2004 9:29:52 AM
Hello.
I want to provide users with one textbox and one dropdownlist, there will be
countries in the dropdownlist.
Now when user types some letters in textbox I want automatically select
country from dropdownlist.
For example: if user types "en" I want to select first country from the list ... more >>
Application object
Posted by Nikhil Patel at 10/12/2004 9:20:02 AM
Hi all,
If I read the contents of a file in the Application_Start event and store
it in the Application object so that the contents is available to all
sessions, what is the best way to remove the contents from memory when all
sessions have ended? Is there any better alternative to do this... more >>
Creating scheduled job programmatically
Posted by RJN at 10/12/2004 9:10:47 AM
Hi
I want to create a scheduled job through code. In VB we would do this
using the Win32 API class "Win32_ScheduledJob"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set objNewJob = objWMIService.Get("Win32_Sch... more >>
Find Matching Tag
Posted by jeff_carver NO[at]SPAM hotmail.com at 10/12/2004 7:42:56 AM
A lot of program editors allow you to jump back and forth between the
beginning and closing tags in a pair (e.g., <tr> and </tr>) by placing
the cursor on one of the tags and pressing Ctrl-M or some other key
sequence. Does anyone know if this capability exists in the VS.NET
IDE's editor?... more >>
Animated GIF affected by location.replace
Posted by Al at 10/12/2004 7:39:08 AM
Hi all...
I have created an aspx page that contains an animated GIF. I am using
javascript and location.replace to redirect from this page to another aspx
page which takes several seconds to load. When location.replace is called the
animated GIFs in the first page stop animating.
Is this... more >>
Resizing a web control
Posted by onemachete NO[at]SPAM gmail.com at 10/12/2004 6:48:58 AM
Hi,
I have developed a composite control that needs to support resizing in
designer. My research turned up no guidance on the best approach for
this, and I've found no mention of any design-time events fired upon a
control resize or layout change.
SO, my current thought is to put recalculatio... more >>
Datagrid pagination, both styles (Next/Prev and numbers) at same t
Posted by RB at 10/12/2004 6:47:08 AM
Hi All,
The ASP.NET Datagrid's pagination capability allows me to display either the
Next/Prev buttons or the Page numbers to allow the user to navigate through
the datagrid page by page as follows: 1) Prev Next, or 2) 1 2 3 ...
Is there any easy way on how to display both styles at the sa... more >>
vs.net cant open moved web project
Posted by Dan Nash at 10/12/2004 6:33:08 AM
Hi
Further to the IWA question, I'm also having a problem connecting to the
project from Visual Studio.
I've moved the entire contents of the folder to the Win2k machine, and
deleted the webinfo file and the slo (user) file. I've also edited the
solution to point to itself (ie 10.0.0.254... more >>
Export a Web Page to .XML or CSV
Posted by Sam at 10/12/2004 4:11:06 AM
Hello,
Does anyone know how i can export an .aspx page (webForm) to an .XML or .CSV
file.
Thanx,
Sam... more >>
Passing data across applications..
Posted by DotNetJunkies User at 10/12/2004 3:25:08 AM
Hello,
I have a scenario. In my application, login page is in different application and after validating the user I have to pass the user
credentials to another asp.net web application. How can we pass information from one web application to another?
Thanks,
Praveen
---
Posted using Wimd... more >>
Sending emails
Posted by Arek at 10/12/2004 2:40:40 AM
Hey,
I have a question, what are the possibilities of sending emails using
ASP.net. (and VB.net)
What I think is that user can send automatic reminder if he check box on
the form and submit. Do I need to have SMTP server? Can it be done
without using of SMTP, something similar to automation i... more >>
Code behind read Java variable?
Posted by Dale at 10/12/2004 12:58:27 AM
Hi All-
I have a Javascript routine that sets a variable. I need to pass the
variable to my C# code behind page (or bind it). Is this possible?
Thanks in advance,
Dale Lundgren
... more >>
My session-object dies way to early
Posted by salviakrydda NO[at]SPAM yahoo.se at 10/12/2004 12:50:04 AM
Hi
Im quite new to web programming and I'm buildning this ASP .net page.
I use VS 2003 and C# + IIS 5. The page consists of a login page that
leads to a frame page (with some pages, reading from a MSDE-database)
In the projects web.config-file I have
sessionState mode="InProc"
cookiele... more >>
Set Focus
Posted by Dave at 10/12/2004 12:48:03 AM
How do I set focus in some textbox at form load?
Thank You.
... more >>
smart navigation gives stack overflow
Posted by salviakrydda NO[at]SPAM yahoo.se at 10/12/2004 12:43:36 AM
Hi
Im quite new to web programming and I'm buildning this ASP .net page.
I use VS 2003 and C# + IIS 5. The page consists of a login page that
leads to a frame page.
I would like to use smartnavigation, so I figured, its just setting
smart navigation to "true" and your off surfing smart, ... more >>
Best way of databinding to a daragrid
Posted by Kivanç Karaca at 10/12/2004 12:38:18 AM
Hi all !
I want to ask you guys your opinions about the way you bind data to a grid.
I mean do you bind the dataset, datatable or a dataview? And do they
actually change anything?
Thanks
... more >>
|