all groups > asp.net > april 2004 > threads for friday april 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
Graphic HotSpot ?
Posted by WJ at 4/23/2004 10:59:26 PM
I have a page banner in GIF format and it is to be displayed on top of every
aspx page on my site. This banner is a one graphic file and it has different
pictures shown on the banner itself. How can I specify "hot spots" on this
banner (I have 3 sites to be visited using each banner hot spot). Li... more >>
Are thread-local variables retained after processing?
Posted by Steve - DND at 4/23/2004 10:51:24 PM
If I declare a property as ThreadStatic, or I use the thread Context to set
values on, will they be retained after a page processes? When a page
finishes, is all data on the thread wiped before it is returned for use by
another page request?
Thanks,
Steve
... more >>
datagrid - new record
Posted by thomas kern at 4/23/2004 8:53:44 PM
hello,
i would like to add a new record using a datagrid.
the numbers of my columns varies ( can be 4 columns or 10, differs every
time).
now i tried to put a textbox in the footer and do a autocolumn.
problem here is that i would have to add a template-column programmatically
or am i wron... more >>
RegisterRequiresPostback failing to call LoadPostData
Posted by John Burke at 4/23/2004 8:07:03 PM
I am getting a curious problem where LoadPostData is not being called after
registering the control using RegisterRequiresPostback. Other controls not
requiring postback registration are having LoadPostData called. Each
control calling RegisterRequiresPostback does have a uniqueid and exists fo... more >>
Granting ASP.NET write access to a file
Posted by Tom C. at 4/23/2004 7:56:02 PM
Hi
I'm trying to create a web form that will print a MS Word doc from the web form. I'm using VB.net.
This is the code example
Dim WordApp As New Word.Applicati
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Clic
Dim thisDoc ... more >>
Change user for ASP.NET process
Posted by Guinther Pauli at 4/23/2004 7:28:38 PM
Hi All
How Can I change the default user (ASPNET) used to launch aspnet_wp.exe?
guinther
... more >>
Together Vs.Net & Macromedia Dreamweaver MX 2004
Posted by Ian at 4/23/2004 7:23:33 PM
Hi there,
Has anybody got any tips or recommendations for using Vs.Net and Dreamweaver
2004 together?
I like to use dreamweaver as the layout tool as for me it just seems a
little more powerful but Vs.Net is the best for coding..
Any advice for anybody with tips or pitfalls to watchout fo... more >>
MSDN Subscription
Posted by Karl Hungus at 4/23/2004 7:21:27 PM
Im a freelance developer. Any thoughts (or faqs) on which version of an MSDN
subscription is worthwhile for someone working solo?
TIA
Karl
--
you know when you think you know something
and then you realize you know nothing
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to create Dynamic Controls
Posted by RSB at 4/23/2004 6:28:46 PM
Hi Every one
Having tuff time creating web controls Dynamically. All i am trying to do is
read a table and generate a list of ASP TEXT Box.
So how do i create this Control dynamically and where do i add the
EventHandler to it.
Thanks
RSB
... more >>
LoadPostData not being called at the right time for controls dynamically added at page load
Posted by samgeribo NO[at]SPAM yahoo.com at 4/23/2004 5:49:38 PM
I have a custom control (MyTextBox - taken from Microsoft website)
that implements the IPostBackDataHandler interface. It is added to
the controls collection of a placeholder control during the Page Load
of a main ASPX page. Now if we debug the MyTextBox, we find the order
of events like so (du... more >>
Actual URL
Posted by A.M at 4/23/2004 5:11:37 PM
Hi,
I underestand that if I use :
Response.Redirect("~main.aspx");
The request will be redirected to main.aspx in the root of application
folder which can be an IIS virtual directory.
How can I know where is the exact path of "~main.aspx" on web server. Is
there any helper function is ... more >>
Drop-Down List forgets values in Windows 2003
Posted by R-D-C at 4/23/2004 3:55:12 PM
Hi,
got a drop-down list on a windows form in VS.NET2003.
In the form load when NOT a postback, we add four values to the drop-down
list. These appear in Internet Explorer.
When you click a button on the form, the value selected in the drop-down is
supposed to be put in a label's Text pr... more >>
Can't set all border colors in datagrid..using CSS
Posted by Amil Hanish at 4/23/2004 3:16:28 PM
Don't answer this if you don't know what you are talking about.
I have lots of datagrids on many pages. I want to use a css stylesheet so
color changes can be easily made via a single file. I can't figure out how
to use the css to modify ALL the border colors of the datagrid. I DON'T
WANT T... more >>
Page.IsPostback & Validation
Posted by Murphy at 4/23/2004 2:50:38 PM
What is the best way to perform a 2 stage user input, for example in the
scenario where the user has forgotten their password:
Stage 1:
Request and validate the user's email address
Lookup the email and retrieve the secret question
Stage 2
Request and validate the user's answer to the se... more >>
How do I dynamically add a <style> to the <head> section of ASP.NET page?
Posted by Ken Varn at 4/23/2004 2:45:26 PM
I want to add my own custom <STYLE> section in the <HEAD> section of my
ASP.NET page within a custom control. Can someone tell me how I can have my
custom control add tags to the <HEAD> section of the page dynamically when
the page is rendered?
--
-----------------------------------
Ken Va... more >>
Problem redirecting to pages when SmartNavigation is active. Why?
Posted by Peter Rilling at 4/23/2004 2:08:35 PM
Past threads on Google do not offer much help or explanation, so maybe
someone can offer a fresh perspective.
I have a website that is installed on both a test and production
environments. This site uses SmartNavigation on some of the pages. The
test environment works as expected. When you ... more >>
how to carry special charchters in querystring
Posted by buran at 4/23/2004 1:42:19 PM
Dear ASP.NET Programmers,
How can I carry special characters like + sign in querystring? Thanks in
advance,
Buran
... more >>
How do I access frameproperties in vb.net?
Posted by Bengt-Erik Eliasson at 4/23/2004 1:36:46 PM
Hello!
In my mainpage i have two frames (MENU and MAIN). In the MAIN I load another
page with frames (Sub_Frame.htm). It contains TOP and BOTTOM frame. In
BOTTOM frame I have a page with a button (Result.aspx). What I want to do is
from that button, change the SRC in a frameset two levels up (SR... more >>
mysterious asp.net errors
Posted by rhashemian NO[at]SPAM hotmail.com at 4/23/2004 1:35:22 PM
hi all,
i've got a multi-page form that requests a bunch of stuff
and saves the info in viewstate as it goes from page to page.
finally the data is saved to sqlserver and an email is sent
to user.
here's the problem:
the page fails occasinally. the reason i know is that i have
a customerror i... more >>
Problem with "Cannot redirect after http headers have beent sent" error
Posted by chsakda at 4/23/2004 1:16:03 PM
In my Page_Load Method, I call a method by asynchronous callback to do some work. It's working fine until it calls back. Here is the problem in my callback method. Basically, I cannot redirect because it keeps on saying that the http headers has already been sent. It looks like it keeps on telling m... more >>
LDAP and ASP.Net
Posted by Big E at 4/23/2004 1:00:35 PM
I'm using ASP.net, LDAP, and SQL Server.
We are using forms security for most of the ASP.Net internet site. So it
uses the generic ASPuser account but then uses forms security to check SQL
Server for username and password.
What I would like to do on another form is using Active Directory and LDA... more >>
open new browser window
Posted by Kent at 4/23/2004 12:41:04 PM
I have a webpage with a datagrid on it with a button for one of the columns for each row displayed, currently when you click on the button the I use response.redirect to navigate to the next page I want to show. Is it possible to open a new browser window and display this page instead
Thanks
Ken... more >>
Security- access to Event Viewer
Posted by Patrick at 4/23/2004 11:44:17 AM
I have the following code, which regardless which works fine and logs to the
EventViewer regardless of whether
<processModel/> section of machine.config is set to username="SYSTEM" or
"machine"
---Start of test.aspx----
<%@ Page language="C#" AutoEventWireup="false" %>
<!DOCTYPE HTML PUBLIC... more >>
RedirectFromLoginPage
Posted by Shawn at 4/23/2004 11:31:31 AM
Hi.
I'm using RedirectFromLoginPage to redirect the user if the login was
successful. The problem is that I don't want the user to be redirected to
the page he requested. I want him to be redirected to my startup page. Is
that possible?
Thanks,
Shawn
... more >>
ASP.Net Datagrid get Cell Contents on mouse click or mouse down
Posted by Davisro at 4/23/2004 11:23:31 AM
I would like to get the cell contents of an asp.net datagrid when the mouse
is down? Mouse Click, cell click etc...
Is there a way to get this?
Thanks,
Rog
... more >>
Best way to get row data in a DataGrid delete handler
Posted by Alex at 4/23/2004 11:21:48 AM
I'm trying to retrieve some data out of a row when a user clicks the delete
button in a row.
Here is my handler as found in examples:
protected void DataGrid1_Delete(Object sender, DataGridCommandEventArgs e)
{
string key = DataGrid1.DataKeys[e.Item.ItemIndex].ToString();
....
}
Howe... more >>
Gather Local ComputerName
Posted by Joseph at 4/23/2004 11:20:08 AM
Has anyone had any experience gathering the local computername through a web
application with no client side program. I've been researching different
avenues and have been coming up blank so far. I'm working in a Intranet Env
with Active Directory and all Windows XP clients. My end goal is to
... more >>
Error Handling
Posted by Jim Heavey at 4/23/2004 10:56:06 AM
I want to create a common class which will provide standard error handling. I want to be able to use the class across all my ASP.Net applications
I thought I could create a "Class Library" with the appropriate Class and methods. I wanted to be able to dedirect the applciation to a standard error... more >>
Get External IP
Posted by Marc Rivait at 4/23/2004 10:52:15 AM
I have been struggling this one. As part of a application we want to
control IP addresses which come to our site.
On the web page we get the IP of the client computer using
Request.UserHostAddress(). However, if a user is coming to us from behind a
NAT, all we get is the internally assigned ... more >>
ViewState problem!
Posted by Eyal Zinder at 4/23/2004 10:46:08 AM
Hello All,
Here is a little problem I ran into. I'd like to see if anyone can help me solve it
I have an HTML table that I assign to a label control. I set my Response.ContentType = "application/vnd.ms-excel", so that I can present this html table as an Excel Document. If the amount of data (... more >>
JavaScript events and postbacks
Posted by dbeardsleyor NO[at]SPAM hotmail.com at 4/23/2004 10:35:19 AM
My web form has one edit box, a button, a list box and a combo box.
When the button is clicked the text in the edit box is added to the
list box and the combo box. After the new text is added I want to
clear the text of the edit box and set focus back to the text box.
I setup the event here:... more >>
Best practices for uploading ASP.NET site to host?
Posted by deko at 4/23/2004 10:21:35 AM
Newbie ASP.NET question:
Now that I've created an ASP.NET site, how to I get it to my hosting
provider?
I've developed sites with Dreamweaver MX in the past - with Dreamweaver,
it's very easy. The ability to link to the remote site (via FTP) is built
into the IDE and all you have to do is ... more >>
project stops at imaginary breakpoint, but no breakpoint exists
Posted by Mark at 4/23/2004 10:20:27 AM
Almost every time I start up my project (in debug mode), my project stops at
an imaginary breakpoint. I have to press F5 to continue. The default page
in my project is a .HTM file containing links to different pages, all of
which are opened using JavaScript in a new window. It always breaks on... more >>
Datagrid + Tooltip question
Posted by me NO[at]SPAM privacy.net at 4/23/2004 10:07:57 AM
I have a datagrid on a web page that has several columns in it.
Is there a way to provide a tooltip for each of the columns (i.e. to say how
they were calculated or what a specific literal in the column means)?
Thanks
SC
... more >>
Netscape Issues - is there a complete list of what to avoid?
Posted by David Laub at 4/23/2004 10:03:42 AM
I have stumbled across various Netscape issues, none of which appear to be
solvable by tweaking the clientTarget or targetSchema properties. At this
point, I'm not even interested in "solving" these problems - I'm more
interested in isolating them, .i.e. finding a "complete" list of issues.
Her... more >>
Global.asax
Posted by ruca at 4/23/2004 9:53:27 AM
Hi,
How can I Redirect my web application to a page when a session ends? (I've
set a timeout)
I have this in my Global.asax in Session_End Event:
Context.Response.Redirect("login.aspx")
but it doesn't work
--
Programming ASP.NET with VB.NET
Thank's (if you try to help me)
Hope this... more >>
Remove From Cache Prior to Expiration
Posted by Jeff at 4/23/2004 9:22:53 AM
Is it possible to explicitly remove an aspx or ascx from the output cache
prior to its normal expiration?
... more >>
Error loading Global
Posted by JTrigger at 4/23/2004 9:22:03 AM
When I compile using the IDE, my web project works just fine. When I
compile using csc.exe I get an error trying to brows the web project. It
gives me an error about Glocal.asax not able to load a Reference in Global.
I used resgen on the global.asax.resx and then included it as a resourse.
Am... more >>
Create my own batch file to compile ASP.NET assemblies
Posted by Raterus at 4/23/2004 9:18:28 AM
Hi,
Is there a way I can see what commands VS.net is using to compile my =
asp.net projects? I'm sure its using the vbc/csc programs, but I'd love =
to see the command-line options it is using.
Here is what I'm after. There are many programmers in my department, =
but only I use Visual St... more >>
Everytime I hover cursro over a posting, it crosses out with red mark on it.. on every posting
Posted by alanb at 4/23/2004 9:11:38 AM
I am helpless! How do I get rid of that? I dont know how I got there!!
--
alan
... more >>
Lose state information when using __doPostBack from Javascript
Posted by aphillpotts NO[at]SPAM hotmail.com at 4/23/2004 8:47:39 AM
I appear to be losing ViewState information when calling the
__doPostBack function.
I am attempting to use the showModalDialog to load a new web page
which confirms that a user wishes to save a query.
The showModalDailog returns a value to the original page which is used
as a parameter in _... more >>
Include vs user controls
Posted by Murphy at 4/23/2004 8:35:31 AM
I have a number of pages that include basic html such as "About" and I have
delegated the upkeep of these pages to various staff.
I am concerned about having the staff edit the aspx file directly as there
is more than just the html page content in there and I don't want it stuffed
up. Until now ... more >>
Win2003 Server and Visual Studio
Posted by Wardeaux at 4/23/2004 8:16:19 AM
Is there an article on how to configure Win2003 so that I can use with
Visual Studio for ASP.NET development? I loaded Win2003, copied over my
previous ASP.NET code, and still can't load the projects... any hints on
what I'm doing wrong?
MTIA,
wardeaux
... more >>
WebConfig and Sessions
Posted by brian at 4/23/2004 8:12:12 AM
I have a webconfig file in my root directory in IIS with
session state set for 100 minutes. All login information
is stored in session variables for the site.
I have a page that is used by our production department
to track production that requires a session login. Is
there a way to pre... more >>
Returning Excel Spreadsheet as web page
Posted by KeithRaginF NO[at]SPAM newsgroups.nospam at 4/23/2004 7:56:03 AM
Hello
I am trying to return the contents of an Excel file. However, I don't want to just redirect the request to the Excel file since it does not reside in a location where that is appropriate. I am trying to write the contents of the file to the response but am having trouble. My code resides ... more >>
IDE in HTML mode: newline after closing tag? Add In?
Posted by Timo at 4/23/2004 6:57:23 AM
Working in HTML mode in the IDE can be frustrating to the point of
temporary insanity because of the need to scroll horizontally
across extremely long strings, as the editor doesn't put a newline
after the closing tag. Is there a third-party add-in to VS.NET
that formats the HTML in a more f... more >>
UTF-8 with signature & UTF-8 without signature
Posted by jasonjbwalton NO[at]SPAM hotmail.com at 4/23/2004 4:44:06 AM
Hi
I am creating some aspx files in Visual Studio 2003 for a Danish web
site.
The page is encoded as UTF-8 - However, when I save the the aspx file
as "UTF-8 without signature" the Danish characters Å Æ Ø are not
displayed correctly, when I choose to save the file as "UTF-8 with
signature... more >>
question about best practices
Posted by Karl Hungus at 4/23/2004 4:19:45 AM
Ive been trying to get an answer on this for a while but I can't seem to get
a clear answer.
If I want to use external c# classes, accessed from my codebehind page, what
is the best way to set that up?
Currently I have the following setup.
-Shared hosting that supports asp.net
-Im plac... more >>
ASP.NET Calendar control's selected date
Posted by Peter at 4/23/2004 3:16:02 AM
Hi
Is it possible that in the asp.net calendar control the selected date would be by default current day. I mean that user would not have to click todays date if the user wants to pick it but current date would be selected by default
thanks
Peter... more >>
Deplying ASP.net application that references to shared assemblies
Posted by phil4ever NO[at]SPAM bigfoot.com at 4/23/2004 3:06:17 AM
Hello everyone,
I am looking into deploying this ASP.NET application which uses a
number of private and public assemblies.
When I compile the apllication does that automatically copy the public
assemblies from the GAC or do I have to do this manually.
I must explicity have this public ass... more >>
asp.net forms authentication for all content
Posted by paulbriancowan NO[at]SPAM hotmail.com at 4/23/2004 1:39:14 AM
Hi,
I am running framework 1.1 on iis 6.0, I have forms authentication
setup and everything is running really smoothly, but I do have a small
question that would make my life a bit easier, and give my client
great piece of mind.
When configuring mappings for which executable to use when par... more >>
What causes Application_End?
Posted by Philipp Schumann at 4/23/2004 1:09:02 AM
In one of my web developments, the Application_End event occurs several
times while a user browses the pages. Because I make use of extensive
session tracking and also provide a couple of services that need the session
state, that is highly problematic as the sessions are abandoned when the
appl... more >>
EventLog Problem
Posted by LaLaBoy at 4/23/2004 12:56:02 AM
Recently, I need to get the windows eventlog to do some validatio
I use the method geteventlogs to get all logs event. ( an array will be generated
I use for loop to read each record and get the target record with specified event ID
howerver, the process is very slow when getting large amount of... more >>
|