all groups > asp.net > october 2004 > threads for saturday october 23
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
GDI+ & image map in asp .net
Posted by Paul at 10/23/2004 11:21:02 PM
Hi,
I would like to know how to create image map on an image created dynamically
by GDI+?
Please advice, thanks!
-P... more >>
FW: How to do a multiple select and update in a datagrid
Posted by Wolffang at 10/23/2004 10:34:41 PM
From: "Wolffang" <javid@techlite.co.uk>
Subject: How to do a multiple select and update in a datagrid
Date: 23 October 2004 21:28
Using Visual studio.net VB
I have a datagrid that brings records from a stored procedure.
Be selecting multiple datarows using a checkbox.
All i want to do ... more >>
DataGrid - Formatting a specific row
Posted by David Freeman at 10/23/2004 10:33:29 PM
Hi There!
Is there any way I can format a specific row?
For example, I want to format the row where customer name is "David" with
yellow background, or bold the text.
How do I accomplish this using DataGrid??
Thanks all in advance!!!
David
... more >>
ASPNET PROBLEM
Posted by Brian at 10/23/2004 10:19:01 PM
I have XP HOME installed on one of my 3 computers. I have WIN 2k Pro and XP
Pro on each of the other two. ASPNET is not installed on these computers.
For some reason ASPNET is showing up on the one with XP HOME. I do not
recall how this could have happened.
I would like to remove it f... more >>
ASPNET PROBLEM
Posted by Brian at 10/23/2004 10:11:01 PM
I have XP HOME O/S... recently I discovered through my Norton Internet
Security program that I have ASPNET installed on my computer. I do not know
how this happened, but I do not want it on my computer...apparently, it was
installed a couple days ago according to an ASPNETSetup.log I found.
... more >>
Submitting ASP.NET Forms
Posted by Mark Fisher at 10/23/2004 10:05:10 PM
Is there a way to submit an ASP.NET form to a different page, and not back
to itself?
Thanks
... more >>
Uninstall ASPNET
Posted by Brian at 10/23/2004 9:55:01 PM
I have XP Home O/S and recently noticed that my Norton's Internet Security
stated I have an ASPNET account. I found a log that states it was installed
on my computer a couple days ago, but I have no idea how. I am very
illiterate about this program or what it does or is used for, but it is n... more >>
Can't access the server control from .cs code!
Posted by Davíð Þórisson at 10/23/2004 9:45:34 PM
Trying to migrate from ASP... been scratching my head for almost 12 hours
now on this task that should be so easy, wtf can't I access the asp:label
control from my .cs code??? It returns no errors but simply no text is
inserted...
I have 3 pages;
*** default.aspx ***
<%@ Register TagPrefi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Cache Issues
Posted by Fernando Chilvarguer at 10/23/2004 9:20:33 PM
Hi,
I'm retriving data from a database and storing it on the Cache Object using
the following code:
HttpContext.Current.Cache.Insert(
cacheItemKey,
contentDS, //THE DATASET WITH MY DATA
null,
DateTime.Now.AddSeconds(600),
TimeSpan.Zero
);
It works fine but I'm having a strange behav... more >>
HttpContext in static functions.
Posted by Steve at 10/23/2004 9:18:33 PM
If I call HttpContext from within a static function will I always be
guaranteed to get the current HttpContext for the request/code that
called the static function? Is there ever a chance that a user might get
another user's request context instead?
Thanks,
Steve... more >>
Assign value from datagrid to a session variable
Posted by Jesper Pedersen at 10/23/2004 9:14:01 PM
This works fine:
<% Session["Session_player"]=1; %>
but this:
<% Session["Session_player"]=%> <%# DataBinder.Eval(Container.DataItem,
"playerID") %> <%; %>
do not work.
The playerID contains the value 1, so the values in both examples are the
same.
What do you suggest - where should i... more >>
Stop further execution in Page_Load
Posted by geeksgk NO[at]SPAM yahoo.com at 10/23/2004 7:52:12 PM
Folks,
My ASPX page uses a custom user control. What happens here is that
when a runtime error occurs in the ASPX page, the error is caught in
the error handler and then strangely, the execution continues to the
custom user control code and it blows there because of the error
occured initiall... more >>
20 sec delay opening tcp connection from within IE hosted control
Posted by mfeingold at 10/23/2004 7:33:02 PM
I am working on a system, which among other things includes a server and a
..net control sitting in an html page and connected to the server. I ran into
a couple of problems, you guys might have some insight about.
1) It takes 20 sec or so to open a tcp socket from the client to the server.
... more >>
Regular expression --> multiple line?
Posted by Arjen at 10/23/2004 5:18:13 PM
Hi,
If the users enters some data it must be have 1 ... 100 characters. These
characters may be placed on multiple lines. (textbox)
I use this: .{1,100}
But this only works with one line.
What do I have to change in this: .{1,100}
Thanks!
... more >>
Keeping state without the session object or the query string
Posted by Simon at 10/23/2004 4:50:59 PM
Hi all,
I need to maintain state between two pages but for two pissy reasons I can't
use the Session object and the Query String isn't ideal because its too easy
to tamper with.
I'm wondering what my options are?
As I understand it, I can either encrypt the QS on the way out to the clie... more >>
Login failed for user 'MachineName\ASPNET
Posted by pshiue at 10/23/2004 4:11:01 PM
I am developing ASP.NET application in VS.NET.
It gave me an error message "Login failed for user 'MachineName\ASPNET".
I tried to share the database directory but it did not work.
I look into the database connection when setting the properties. It tested
OK.
However, when I run the app... more >>
grabbing a variable from an XML file
Posted by Darrel at 10/23/2004 3:31:41 PM
I have a control that transforms an XML file using XSLT.
I also want to grab a particular variable out of the XML file. I thought an
easy way to do this would be no have the XSLT just find the variable, and
write it out as a hidden htmlInputHidden tag. I could then just grab the
value of th... more >>
How to Install ASP.NET 1.1?
Posted by paul at 10/23/2004 3:17:01 PM
I recently had a hard disk crash and have re-installed most everything. I
tried to fire up my .NET application from within VStudio and go the message
ASP 1.1 is not installed. I have Inetserver installed as well as the
framework installed. I am a Universal MSDN subscriber so I have every disk ... more >>
Creating a Form in a subdirectory
Posted by Scott Natwick at 10/23/2004 3:16:13 PM
This is probably a simple question, but...
I need to create a Form in a subdirectory. I've seen many examples of forms
in subdirectories refferenced on the web, but I haven't been able to find a
way to do this in VS. Can anyone help me out?
Thanks,
Scott Natwick
... more >>
Avoiding session activity?
Posted by RUSSELL MCGINNIS at 10/23/2004 3:07:02 PM
I have a web page which is periodically refreshing itself with data from the
server. However I dont want this activity to counted towards the session's
"activity counter" i.e. if a user does nothing on the page for 20 mins then I
want the session to time out even though the page has been refre... more >>
Best Practice: Label/String storage for language conversion
Posted by James Tillery at 10/23/2004 1:42:55 PM
We have an App which has hundreds of ASP pages with thousands of labels and
strings. We also sell this to all different countries. What we have done
is to create a txt file with a number and text pairs and have an object at
the app level which reads this and converts a given number to the st... more >>
Problem with quote in Datagrid
Posted by Francois Soucy at 10/23/2004 12:35:25 PM
Hi,
I've the following code in a Datagrid template column. The code work very
well but I cannot acces anymore to the design mode. VStudio.net tell me that
I must have Quote arround <% %> tag. They are there.. I've try many thing
but no more design mode. Someone can tell me more?
<ItemTem... more >>
Reading Datasets
Posted by et at 10/23/2004 12:09:52 PM
How do I read a dataset so that I get only one value of one field, then read
the entire database. For instance, I'm doing a database of bakery products,
want to list all cakes. General query, Select * from tblProducts where
Category = 'Cakes"
So I read the first row so tht I can get a heading,... more >>
trying to get data from user control - HELP!
Posted by Dan Nash at 10/23/2004 11:53:01 AM
Hi guys
Ok, Ive got a user control on my page, and basically all I wanna do is for
the page to grab one of the public variables.
The control is referenced as so in the .aspx file...
at the top...
<%@ Register TagPrefix="rolo" TagName="dartsUC_rolodexsearch"
src="dartsUC_rolodexsearch... more >>
webservice proxy namespace
Posted by Daniel at 10/23/2004 10:52:18 AM
hi ng!
i am developing an asp.net webservice with a test consumer and a
productive consumer.
now, if i import classes from test to prod, i have to change the
using localhost.xxx
stzatements for every project file, because the namespace under
localhost always depends on the client project.... more >>
Can you use forms authentication arbitrarily?
Posted by Darrel at 10/23/2004 9:59:38 AM
Or does it apply to the entire app?
I have a site with a sub-directory called 'admin' where there are a few
admin tools.
I'd like to have access tothe admin directory handled via authentication.
Can I set forms authentication so that it only applies to that subdirectory?
-Darrel
... more >>
really stuck on passing public variables between controls
Posted by Darrel at 10/23/2004 8:57:47 AM
I'm really stuck on the concept of using public variables to pass
information between usercontrols. I'm pretty sure I'm just flubbing up the
syntax.
This is what I want:
page
usercontrol 1 - set variable
usercontrol 2 - read variable
I haven't been able to find a tutorial that a... more >>
How to change /bin and /code in ASP.NET 2.0
Posted by aquila_deus NO[at]SPAM yahoo.co.uk at 10/23/2004 5:42:11 AM
Hi all!
Is it possible to rename the default /bin and /code in ASP.NET 2? Or
add directories which are not under them?... more >>
Webparts - in asp.net 1.1?
Posted by VB Programmer at 10/23/2004 3:32:27 AM
I know that webparts will be a big thing in asp.net 2.0. What is the best
way to implement this idea in asp.net 1.1 so that everything is as
maintainable/modular as possible? User controls? IFrames/frames wtih
content pages? Etc...?
Your opinion is appreciated.
Thanks!
... more >>
Scoping of components
Posted by No One at 10/23/2004 3:05:01 AM
Is there any mechanism in an ASP.Net application to scope components? I
know that forms and the like are set to a request scoping and that is
fine, but there are certain components I need to have a global scope and
some a session scope.
... more >>
Interesting one : Retrieve a list of files within a web folder
Posted by John at 10/23/2004 12:49:40 AM
Hi all,
I haven't a clue where to begin here (or more to the point - if it's even
possible).
I need to read the names of all the files inside a folder off my web site.
The catch here is that I don't know the absolute path here
(C:\inetpub\whatever\whatever\etc...) as it could be on any driv... more >>
move code behind file to module
Posted by Guoqi Zheng at 10/23/2004 12:43:57 AM
Dear sir,
If I need to use a function on xxx.aspx page, e.g. on a repeater control, I
have to define this function inside xxx.aspx.vb file, if I put it in the
module class, it will not work so I have to copy the same function into all
aspx page which may need it.
Is it possible that I defin... more >>
asp.net
Posted by maro at 10/23/2004 12:43:01 AM
hi
i'm working on project using sql server +asp.net in a win2003 server
enterprise edition and i have this error when i connect to the server ( Login
failed for user 'NT AUTHORITY\NETWORK SERVICE'.
Description: An unhandled exception occurred during the execution of the
current web request.... more >>
Read from a textfile and save in database
Posted by [ F e r n a n d o L o p e s ] at 10/23/2004 12:00:00 AM
Hello ALL,
I need to read data from a .txt file and save this data in a sql server
database table.
The .txt file format like this:
-----------------------------------------------------------
01851L. D. DISTRIBUIDORA DE S. M. LTDA L. D. DISTRIBUIDORA
73765034000140102622574 10008... more >>
|