all groups > asp.net > march 2004
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
pop window appearing behind main window
Posted by Ollie at 3/31/2004 10:34:38 PM
I have a popup window displayed when the user clicks on a button in an
asp.net. It uses the following code to display the popup window.
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append("<script language='javascript'>");
sb.Append("faq = window.open('");
sb.Append(Requ... more >>
aspnet_wp.exe - Application Error
Posted by Chris Marsh at 3/31/2004 8:42:49 PM
I am continually getting this error and my VS.Net interface somewhat
locks-up. The addresses are both 0x000000000. I find myself resetting
IIS frequently, closing VS.Net and a few reboots a day.
Any ideas why this is?
Thanks,
Chris
... more >>
XslTransform problem
Posted by Ruprict at 3/31/2004 8:35:52 PM
I am trying to transform a dataset with xslt, and it continually fails
with a NullReference Exception after the transform when I try to read
the result into another dataset I have tested the XML and stylesheet,
so you can assume (ahem) that they are valid. I am using 1.1
The code is bel... more >>
Webcontrol Property...Get fails to return updated textbox
Posted by Wayne M J at 3/31/2004 8:27:04 PM
I have a webform that is hosting a Web User Control that is feed through the
Property...Set all its required data.
When I make changes to said data, I then fire off the Button_Click event to
grab that data back, however the only information that I do retrieve is the
original data from the abov... more >>
GetThumbnailImage Question
Posted by jrp210 NO[at]SPAM yahoo.com at 3/31/2004 8:18:43 PM
I am trying to convert the regular sized images in a directory to
thumbnails and then display the thumbnails in a datalist. My code
below is displaying the first image and nothing else after it. What
do I have to do to have the thumbnails displayed in my datalist?
Thanks.
Dim strFile As St... more >>
Deleting File from HardDrive
Posted by Arvind P Rangan at 3/31/2004 8:09:42 PM
Hi,
After uploading a file i wish to delete the file which has been uploaded.
Can anyone help me on this.
Or give me links for the available Example.
Thanks
Arvind
... more >>
Add C# web project to VB Web project
Posted by Brad at 3/31/2004 8:01:10 PM
I am somewhat of a "newbie" when it comes to programming, so please bear
with me <grin>
I have completed the "Editing an Access Database with ADO.NET" walkthrough
and now want to incorporate it into my VB.NET web project.
Does this work well for combining dissimilar language web projects?... more >>
Send Email
Posted by Miguel Dias Moura at 3/31/2004 6:44:56 PM
Hello,
i am changing a web site from ASP to ASP.net.
I wrote some code using my old standard ASP code and some information from
my hosting service.
I want the email, with the form values, to be sent when the button OK is
pressed.
Should i place this script on the form page or on a new pa... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Excel File Handling
Posted by Jaydeep at 3/31/2004 6:06:46 PM
Hi All,
My requirement is, user should be able to edit excel file already
uploaded and save the same to the server without downloading the file.
Normally what we do is, first download any file make the changes and upload
the latest version. But user wants this to be happen online i.e without... more >>
#define in aspx?
Posted by mirek at 3/31/2004 6:00:49 PM
Hi,
Sorry for quite dumb question, but is there a way to make conditional
compliation of aspx pages? I wish I have a page that will have some
modification when build type is different (e.g. i will set a global
flag, in the project settings or code). I could mark the fragments with
#define b... more >>
How can you offer image files as download... ...and not have browswer window open it?
Posted by ScriptNFool NO[at]SPAM hotmail.com at 3/31/2004 5:57:18 PM
I need to offer a list of files for download that are Images. Is
there a way to put a link or javascript something in, so the file is
offered as a file, and not interpretted by browswer as a file to be
displayed?... more >>
IIS installed *after* dot NET framework
Posted by Pavils Jurjans at 3/31/2004 5:45:26 PM
Hello,
Please, what should I do, if dotNET framework has been installed before the
IIS 5.1, and now, when IIS is installed, it does not support aspx files, of
course. I am worried that adding all the application configuration settings
for asax, ascx, ashx, etc files could be claying with fire.... more >>
IE6 = Unknown Browser?
Posted by George at 3/31/2004 5:42:44 PM
VS.NET 2002/VB
I am checking for browser type and version on my .aspx page, and I have one visitor that can't
access the page because his IE6 browser is returning an "Unknown" when I do my check.
I am using IE6 (as are a few hundred others) and none of us is having an access problem; only th... more >>
Newbe: Howto post values between webforms??
Posted by Anders Sundberg at 3/31/2004 5:16:12 PM
Hi there, I'm a new to this ASP.Net and is trying around.
I know how to use $_POST and $_SERVER ['varablename'] to retreive values
between webpages, sendpage.php and receivepage.php
But I don't seem to figure out how it works in ASP.Net (use language=VB)????
I've got a default .aspx page t... more >>
Installed Dot Net Framework 1.1 but asp .net is not working
Posted by Vanga Sasidhar at 3/31/2004 4:46:56 PM
I have installed Dot net framework 1.1 and dot net framework SDK and also
IIS in Windows XP. But i am not able to run any aspx file in my internet
explorer. why this happened. how should i configure so that i can run aspx
files in my internet explorer? i am not able to see any asp .net text box
... more >>
Retrieving IIS App Name
Posted by Doug Thews at 3/31/2004 4:46:03 PM
How can I retrieve the IIS Application Name (set using the IIS MMC Manager)
within an ASP.NET application? I tried using AppDomain.GetData("APP_NAME"),
but that appears to be just a hex string associated with the dynamic id
created by ASP.NET when creating app domains and names within the app
d... more >>
Change color of an item in a listbox
Posted by rctereza NO[at]SPAM hotmail.com at 3/31/2004 4:02:26 PM
Does anyone know how to show a listbox with different colors on its
itens?
Here goes what I've been trying to do:
On Page_OnLoad event I fill the dropdownlist and then I perform a FOR
to read this dropdownlist to change the color of some items in it but
this doesn't seem to work.
The line ... more >>
OLAP Web Client
Posted by Boris Condarco at 3/31/2004 4:00:33 PM
Hi gurus,
Does anyone can suggest me about some OLAP web clients?
Thanx
... more >>
Find if value exists in drop down
Posted by MattB at 3/31/2004 3:27:55 PM
I have some drop-down lists I'd like to pre-populate from values in a
database. I've found that if I just blindly assign the SelectedValue, I run
into problems if what I'm trying to assign isn't a choice for that dropdown.
So what I need to know, is how do I test for the existence of a va... more >>
add user to group metaphor
Posted by Craig Buchanan at 3/31/2004 2:53:49 PM
Has anyone seen a metaphor for managing group membership? I'm primarily
interested in the user interface. I've looked at what windows has done in
the Computer Management console. I was hoping someone would have something
more web-based.
Thanks,
Craig
... more >>
tilda (~) does not redirect to correct page
Posted by jharris NO[at]SPAM securitytrustco.com at 3/31/2004 2:32:26 PM
For some reason when I use the tilda as such:
Response.Redirect("~/Admin/TabLayout.aspx") in the iBuySpy portal, it
redirects to DesktopDefault.aspx instead. This does not always
happen, I have several implementations of the IBuySpy Portal, and it
is only happening on one of the websites, any i... more >>
Problem using panel controls in form
Posted by simon ames at 3/31/2004 2:27:51 PM
Hi
I have a large form (over 150 feilds) that i have decided to break up into
sections for using the panel control.
I show and hide parts of the form by changing the visibility of the panel
controls as the user progresses through the form.
When the user reaches the end of the form i inte... more >>
AOL Problem with Windows Server 2003 - URGENT
Posted by Ross Terman at 3/31/2004 2:11:08 PM
Our ISP just upgraded our web server from Windows 2000 to Windows 2003. My code was built with VS 1.0 since Framework 1.1 was not on the old server
We are running into problems with AOL users. They are being sent to our site's custom error page. This happens randomly from various pages
Is there ... more >>
js script block outside form tags...
Posted by Alex Wagner at 3/31/2004 1:58:00 PM
I'm trying to programmatically write a javascript script block *outside* the
<form> tag. Both RegisterClientScriptBlock and RegisterStartupScript will
render them inside... how can I do that?
Thanks
... more >>
Deriving from C# ASPX Pages
Posted by Dmitri Shvetsov at 3/31/2004 1:00:15 PM
Hi,
Does anybody know how to create a root class with ASPX page to derive from
this class later? The idea was to create the "root" page with all
evaluations, restrictions, basic interface, etc., then derive a new class
from it.
Maybe URLs, documentation?
Dmitri.
... more >>
tools or utilities
Posted by Mike at 3/31/2004 12:34:19 PM
I have a classic asp app that i'm getting ready to convert to asp.net using
C#, is there any tools or utitlies out there to convert asp to C#/asp.net
code or doI have to re-write the pages from scratch?
I'm learning C# and not sure how something work in asp.net.
thanks
... more >>
Why are my Line numbers not showing when Exceptions get thrown?!
Posted by M K at 3/31/2004 12:26:09 PM
When my web app throws an exception, my try... catch adds ex.tostring to a label at the bottom of the page. This has been working great. But now, I do not see the Line number of the source of the error. WHY!!!!!!!!! Very frustrated with several things today, and this is not making debugging any easi... more >>
javascript from codebehind
Posted by Rick Morayniss at 3/31/2004 12:22:59 PM
Can I call a Javascript from codebehind. If so, How?
... more >>
Open default.aspx without toolbar or address bar
Posted by ericvdb at 3/31/2004 12:15:48 PM
Hi all,
how can I open the default.aspx and disable/hide the toolbar, address bar,
statusbar (IE) ?
Thanx Eric
... more >>
let users logon only once??
Posted by Victor at 3/31/2004 12:11:06 PM
Hi,
I am trying to find out what's the best practice if you wan't to restrict users to logon just once on an asp.net app with forms authentication.
So If someone starts a new session he is not able to logon again. Also from another computer
What should I do, store it in a db or hold it in a app... more >>
RequiredField Validator options
Posted by MattB at 3/31/2004 11:58:57 AM
I have a form that uses a bunch of required field validators. I want to
have an option to pre-populate the fields based on a lookup on the same
page. My problem is that the validators prevent me from submitting the form
for the lookup.
What I think I need to do is somehow make the valida... more >>
Dynamically adding a linkbutton to a page
Posted by Mark at 3/31/2004 11:58:13 AM
Hi all, I have a datalist that will contain a number of ASP.NET link
buttons.
Code below
======================
<asp:DataList id="DataList1" runat="server" GridLines=None
ItemStyle-Height="10px" ItemStyle-CssClass="menu" CellSpacing="1">
<ItemTemplate>
<asp:linkbutton id="btnRedirec... more >>
Stop Enter Key from Clicking Button
Posted by Barry at 3/31/2004 11:43:41 AM
How can I stop the EnterKey from clicking the button on my form? I am using
a scanner to enter one of the textboxes and it keeps sending an Enter which
clicks the button on my form before the rest of the data has been entered.
--
Barry Fitzgerald
... more >>
Cannot create asp.net web projects. (Yes, again)
Posted by Bill ROwell at 3/31/2004 11:26:07 AM
I've read lots of excellent posts here about this problem. Mine is similar but will not yield to any of these fixes.
When I try to create a new web project, I get the error message "VS Cannot create or open the application...The likeliest problem is that required components are not installed on the... more >>
Hitting the "Submit" button multiple times by mistake
Posted by domtam NO[at]SPAM hotmail.com at 3/31/2004 11:14:04 AM
Hi there,
Suppose there is a "Submit" button on a ASP.NET page. Normally, after
a user hits the submit button, the code-behind will insert a row to
the database (or some database operations). Once it is completed,
another page will display.
Assume that the database operation takes a long ti... more >>
multiple button column in one datagrid
Posted by BK Kim at 3/31/2004 10:52:59 AM
Is it possible to make multiple select command on one datagrid?
I want to execute method1 when column 1 was selected and execute method2
when column 2 was selected.
Anyone know how???
Thanx in advance
... more >>
Validating Password w/o script
Posted by Ernest Griffin at 3/31/2004 10:38:51 AM
Does any one know of a method to use the range (or any) validator to
determine the minimum and maximum password length with out using JScript
(or any other scripting language) in an ASP.NET form?
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET..... more >>
Check session state
Posted by MattB at 3/31/2004 10:24:27 AM
Is there a simple way to see if a session is expired? I'd like to just
have an easy Boolean test (IsExpired or Not IssExpired kind of thing)
instead of looking for specific values in the session state. Is there a
method to just simple do that? Thanks!
... more >>
SMTP Email Address - Exchange 2000 - ASP.NET
Posted by Tersia Ehlert at 3/31/2004 10:22:29 AM
Hi All
I am running a ASP.NET Web form on which I ask the user to complete a new
employee's name, surname, SMTP email address and some other fields...
I need to verify that the SMTP email address exists on the company exchange
server before the form can be submitted for further processin... more >>
Dynamically include client-side javascript 2
Posted by Andrea Williams at 3/31/2004 8:58:03 AM
So I'm using a tweaked version of the code below, but when my page doesn't
have a form, the script doesn't seem to be registering. Is that by design?
and if so, is there another way to get a JS file to be registered when the
page doesn't have a form?
Andrea
submitted by Hugo:
You could re... more >>
gradient.aspx. how does it work
Posted by go_d2 NO[at]SPAM yahoo.com at 3/31/2004 7:38:55 AM
hi all,
Have you noticed that there is a gradient.aspx in many microsoft web
pages. It's used to create table cell background colors. and looks
very nice.
<img src="/library/toolbar/3.0/gradient.aspx?a=FFFFFF&b=3568CC&w=250&h=22&d=ltr&c=RkWooiSyZq0Yx5DIezuYpFhZ%2ffA%3d"..... more >>
_dopostback() in Javascript having problems with ctl prefix
Posted by Steve Steve at 3/31/2004 7:38:41 AM
Hi there
I'm trying to add a couple of calendars to a web control so that a
client can view all the transactions they made between two dates. I use
one I found on the internet where there is a textbox with a button and a
calendar - you click the button which makes the calendar drop down and... more >>
Problem when opening an aspx page from Ms. Word 2000
Posted by Jorgen at 3/31/2004 6:53:48 AM
H
We are having problems with the Session_Start function in global.asax. If you call an aspx page from word. The Session_Start is called and that's fine. But if you click on a internal link on the site. The Session_Start is called again!!!!! and you also get a new SessionID
So every session objec... more >>
Service unavailable ASP.Net
Posted by sunil159 NO[at]SPAM yahoo.com at 3/31/2004 6:29:07 AM
I have an issue here with our website. It sometimes returns a big
"Service unavailable" message when I access the site. But after some
hits on F5 the page is served correctly. Not sure what is going on.
The site is hosted on a remote server. Checked up with their support
group and they said th... more >>
Event logging permissions
Posted by Andy Rose at 3/31/2004 3:41:09 AM
I have been looking at tutorials on event logging and utilising the EventLog class. The code shown in these tutorials will typically be as shown below:
EventLog ev = new EventLog()
ev.Log = "Application"
ev.Source = "Test"
ev.WriteEntry("test entry")
When I try and run this on my ... more >>
End Session and Start New One?
Posted by jeff_carver NO[at]SPAM hotmail.com at 3/31/2004 3:10:38 AM
I know this sounds like a "why the heck would you want to do that?"
sort of thing, but I'm curious to know if it's possible to start a new
session (with a new session ID) after calling Session.Abandon. Any
takers?... more >>
Probelm with COM-interop in a webservice
Posted by Marco at 3/31/2004 3:07:51 AM
Hello!
DESCRIPTION
===========
I've registered a COM DLL containing several coclasses:
coclass PlainVanillaObj
{
[default] interface IPlainVanillaObj;
};
[
uuid(AA2715F9-6EF6-40D3-9CFF-04069358221D),
helpstring("PathTableObj Class")
]
coclass PathTableObj
{
[default] interfac... more >>
Closing the browser window after a File Download
Posted by Martin Lee at 3/31/2004 12:46:08 AM
I'm trying to download a file that is created on the fly from a string, and am using the following code in a new page
_PrintJobData = // a string returned from a metho
_FileName = "PrintJobs_" + System.DateTime.Now.ToString() + ".txt"
Response.Clear()
Response.ContentType = "application/oc... more >>
Design question business-tier
Posted by J.Bijleveld NO[at]SPAM analyze-it.nl at 3/31/2004 12:37:54 AM
Hello,
I have a design issue I would like to discuss with anyone interested.
I am wondering what kind of design pattern would fit my situation,
perhaps not a standard (GoF) pattern but what I mean is just a
standardized way to solve this problem.
This is the issue:
I'm involved in the C# d... more >>
ListBox / Table?
Posted by Mike at 3/30/2004 11:37:01 PM
Hi,
Is there a chance to show various columns in a ListBox control, =
something like a ListView in VB6? Or should I use a table web control =
instead?
Thanks
Mike... more >>
|