all groups > asp.net > march 2004 > threads for tuesday march 30
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
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 >>
Using MS Agent in ASP.NET
Posted by ericvdb at 3/30/2004 11:36:49 PM
Hi all,
is it possible to use MS Agent in ASP.NET pages using VB???
Any examples out there?
Greetings Eric
... more >>
XMLDocument.Load vs Session
Posted by Neil at 3/30/2004 11:31:08 PM
Hi
I'm overloading the onInit event in my custom page class and checking the requested Id in the Url is present in my XML file and also checking a couple of attributes for that Id. I'm using the XMLDocument.Load method and the SelectSingleNode method to check for my Id. I'm wondering whether it wo... more >>
Reponse.redirect to new browser window
Posted by Bill Borg at 3/30/2004 11:31:06 PM
I would like to do the equivalent of Response.Redirect, but to a new instance of the browser window. Is this an easy one? I'd also like to suppress as much of the standard toolbars, etc. as I can. All thoughts are appreciated
Thanks
Bill... more >>
How to control Bandwidth - Please kindly advise
Posted by Alex at 3/30/2004 11:08:39 PM
Hi,
Does anyone knows of anyway to control network bandwidth based on per
session with the web server? We have a ASP.NET application that does upload
of files and it really consume all the network bandwidth and we wanted to
control it. I know I can set bandwidth throttling on the IIS web sit... more >>
Crystal Report and asp.net
Posted by JL at 3/30/2004 10:43:03 PM
Hi,
How to save the Crystal Report softcopy in client computer under asp.net
environment?
Thanks a lot
... more >>
Results from fileinfo - how to return, case-sensitive
Posted by Nathan at 3/30/2004 10:42:48 PM
I'm getting results from Indexing Service and the problem is that all the
results are returned in lowercase; if a file has capital letters in either
its name or its path, Indexing Service doesn't return the file this way,
thus the file path cannot be used in a link (since http *is*
case-sensitiv... more >>
How to place iherited control's subcontrols to parent's(UserControl) PlaceHolder?
Posted by sergi79 NO[at]SPAM ukr.net at 3/30/2004 9:31:17 PM
I created base my own UserControl with PlaceHolder on it.
Now I am inheriting this class and on child UserControl in designer i
place few controls, how to do when I want to see theese controls in
PlaceHolder of the parent?... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
System.UnauthorizedAccessException
Posted by James at 3/30/2004 9:21:07 PM
Hi,
I am trying to call a dll (unmanaged) from an asp.net application. But I
am getting the following error:
Access is denied.
Exception Details: System.UnauthorizedAccessException: Access is denied.
Other information:
II6.
Windows 2003 server.
Can someone help to find out how ... more >>
High CPU for aspnet_wp
Posted by Robert Strickland at 3/30/2004 9:18:32 PM
During certain times during the day our production server, where a asp.net
application runs, reaches a high cpu usage for the aspnet_wp.exe (anywhere
between 50% to 70%). Browser request to our application during the high cpu
never get the first page up. Eventually, I either do a iisreset or a pa... more >>
start a aspx script without browser
Posted by TJS at 3/30/2004 8:40:27 PM
Is there a way to run an aspx file on a remote webhost without opening a
browser window to that address?
I have a script that needs to execute after an upload and I don't want to
hang around while it runs and I don't want to leave a browser window open
after it completes.
... more >>
global.asa?
Posted by Rudi Ahlers at 3/30/2004 8:30:11 PM
Can anyone tell me what the use of global.asa is, especially when it comes
to website performance, but also usability.
For instance, instead of putting session.timeout = "45" in every page, can I
put it in the global.asa file? And what would this do to the site's
performance?
--
Kind Regar... more >>
Globalization: This is driving me crazy. Can u help me out?
Posted by Miguel Dias Moura at 3/30/2004 8:04:07 PM
Hello,
i am having problems in displaying some characteres from a database: á, è,
?, etc
After consulting Globalization information in Microsoft web site i added the
code <system.web> ... </system.web> to the web.config file, as follows:
<configuration>
<system.web>
<globalizat... more >>
first web application and cs0016
Posted by Marc Pelletier at 3/30/2004 8:02:06 PM
Hello all,
I've been putsing with c# for a few months now, and have finally built
something I would like to expose via the web. So I have created a new
solution, with a new web application, changed the name of the page to
start.aspx and put a label on it. I know, not much to show for 3 mont... more >>
loop through controls to get text values not working
Posted by Steven K at 3/30/2004 6:04:38 PM
Hello,
I using the following to loop through my controls to get the text value for
each text box. However, I am getting the following error. Even if I
comment out the code "strTextBox = ctl.Text", I still don't get any comments
("hello").:
'Text' is not a member of 'System.Web.UI.Cont... more >>
referencing a User control through vb code
Posted by EO at 3/30/2004 5:30:39 PM
Summary:
I have a user control containing 1 dropdownlist that's using
selectedindexchanged to raise a custom event. In the hosting page, I can't
get the raised event to fire (though the base event does fire within the
user control). The chief suspect is that in the hosting page, I haven't
found... more >>
asp.net page to modal window?
Posted by Cheryl at 3/30/2004 5:16:22 PM
BlankHi,
=20
Currentl, I am design a page using a asp.net but I would like to convert =
it into modal window instead. How do I do it?
Thanks
Cheryl... more >>
Custom 404 error message on .NET shared hosting. How Do I do it for HTML files?
Posted by midevilone NO[at]SPAM thekingdom.org at 3/30/2004 5:03:12 PM
Is there a way to trigger a custom error for a 404 tripped up by a
missing html file? (the old site was html, the new site is .NET)
We cannot do it through IIS, because it is shared hosting.
I contacted tech support for the host. verio.com
They said to do it in .NET.
However my though... more >>
.aspx.resx file
Posted by Mark at 3/30/2004 4:14:34 PM
I have a sompage.aspx.resx file, but it shows as a separate file in VS.NET
2003 Pro rather than as a "child" of somepage.aspx and somepage.aspx.cs.
Any ideas on how to get it back where it is supposed to be?
Thanks!
Mark
... more >>
"Enable ASP Client-Side Script Debugging" not needed?
Posted by Klas Mellbourn at 3/30/2004 4:06:16 PM
Is there any point to the setting IIS settings "Enable ASP Client-Side
Script Debugging" and "Enable ASP Server-Side Script Debugging" when
developing an ASP.NET application on Windows XP (to be deployed on Windows
2000 or Windows 2003)?
Klas Mellbourn
... more >>
user.config deal
Posted by Harry Simpson at 3/30/2004 3:56:23 PM
Trying to redirect to the local.config file for a few app settings as in:
In the regular Web.config:
<?xml version="1.0" standalone="yes"?>
<configuration>
<appSettings file="local.config">
<add key="ServerIP" value="10.0.0.32" />
<add key="SQLServerIP" value="10.0.0.32" />
......... more >>
Problem with writing to file
Posted by Lauchlan M at 3/30/2004 3:23:01 PM
Hi
I retreive a BLOB from my database and want to write it to file, like:
<<
// load imgECGImage from the BLOB
string SQLText = "SELECT ECG_Image FROM SessionData WHERE SessionID = "
+ Request.QueryString["SessionID"] + " and HospitalID = " +
Request.QueryString["SessionDataID"];
... more >>
How can I change an element's class in the code behind?
Posted by moondaddy at 3/30/2004 3:16:43 PM
I have some table cells with the runat attribute set to server. In the
codebehind I can see these cells but I don't see any properties to change
their class. How can this be done from the code behind?
--
moondaddy@nospam.com
... more >>
DataList and Prompting User To Confirm Prior to PostBack
Posted by Jeff S at 3/30/2004 3:08:04 PM
I have a DataList that includes a <table> definition in the <ItemTemplate>.
The <table> includes an asp:Button that, when clicked, causes a postback
during which some data is deleted (it's a button labeled "Delete"). The
<table> also includes a second button that, when clicked, enables the user
... more >>
Help with Using a DataSet in Session State
Posted by jaka at 3/30/2004 2:52:50 PM
Hello... I need some help/advice regarding using a dataset in session =
state.
When a request first comes to my ASP.NET application, I have code in the =
Session_Start event to query the user table, which return a dataset. I =
then add this dataset to a Session variable.
This works, but m... more >>
Sudden and fatal error in my project. Please help! (and debug watching gives 'error: cannot obtain value')
Posted by Lars-Erik Aabech at 3/30/2004 2:47:27 PM
Hi!
I'm on the 42'nd version of a Web Form that's been working swell since we
started. There's some advanced dhtml that populates tables with data on the
client side, and then post everything to be saved by iterating through
Request.Form. All of a sudden the functionality I use to parse a date... more >>
DateTime is null
Posted by Mark at 3/30/2004 2:37:27 PM
I have a variable of type DateTime. It's captured off a asp.net web form,
and the date field on the form is optional. However, you can't create an
instance of DateTime and assign it a value of null. I realize I could
capture the date as a string from the textbox, and then check to see if the
... more >>
Web.config for Production
Posted by Mark Frishman at 3/30/2004 2:35:07 PM
Is there a way to have some kind of an install modify Web.config when
installing on the production server. One obvious use is to flip
<compilation debug="true"> setting. I want to be able to reuse the
development version of that file from source control on the production
machine with a small s... more >>
How to load temp page for a few seconds and then redirect to another page
Posted by moondaddy at 3/30/2004 2:14:20 PM
I want to load a temp page for a few seconds such as when a use logs in, let
it have for a few seconds, and then have it automatically redirect to
another page. How is this done?
--
moondaddy@nospam.com
... more >>
Adding rows of text box and combobox
Posted by bitslottery NO[at]SPAM hotmail.com at 3/30/2004 2:10:38 PM
Hi
I have a requirement to add rows containing 2text and 2 dropdown.The
initial display will contain rows from the database (ofcourse 2 rows
and 2 columns).
What is the best control to use in asp.net datagrid
/datalist/repeater.
If datagrid then how to use it?
Thanks
Lot... more >>
file download question
Posted by Craig Buchanan at 3/30/2004 1:51:50 PM
I store files with a unique name on our company's server. Is there a way to
change this name to something more friendly (the 'real' name of the file
stored in a database) if a user clicks a link to download the file? Perhaps
redirecting to another aspx page that sets the content information?
... more >>
Wierd Server Problems Need Adjustment to Make showModalDialog work
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 3/30/2004 1:22:39 PM
I have a parent .aspx and a child page .aspx.
The parent calls the child via showModalDialog.
The window opens.
In the modal dialog, I have:
window.returnValue = o;
window.close();
When the web pages are on XP Pro. using its IIS, the page returns the
value and closes - all is well.
... more >>
How to format the time field?
Posted by Miguel Dias Moura at 3/30/2004 1:11:57 PM
Hello,
in an ASP.net page i have the following lines:
Dim Time As DateTime = Ctype(row("Time"),DateTime)
strEvents.Append("<br>" + Time + "-" + row("Event"))
In my access database the time is with the following format: hh:mm (It
doesn't include the seconds)
However, when i show strEven... more >>
Have to hit LinkButton twice to get ItemCommand event
Posted by jhcorey NO[at]SPAM yahoo.com at 3/30/2004 1:02:53 PM
I have an app with a single page with a placeholder where I load user
controls for different reports.
On one control which holds a summary report I have a datagrid with
linkbuttons
that cause a detail report to load (I always call the same function in
the main page to load a report.)
From th... more >>
Resizing Validator Controls
Posted by brian at 3/30/2004 12:49:26 PM
When I drop a validator control on a page I am unable to
make the control smaller. I change the width property to
lets say 10px from the default of 97px and the validator
control remains the same size. I am looking to make this
control small enough to only contain an *. Can someone
expl... more >>
Can't create or open new ASP.NET Projects
Posted by hnguyen NO[at]SPAM pplant.usf.edu at 3/30/2004 12:49:08 PM
Hi everybody,
I am having problems opening up existing or creating new projects.
Everytime I try I get this error...
---------------------------
Microsoft Development Environment
---------------------------
The Web server reported the following error when attempting to create
or open th... more >>
How to open a new browser window and close it?
Posted by Miguel Dias Moura at 3/30/2004 11:44:16 AM
Hello,
i have 2 questions but they are somekind related:
1. I have an image in my web site that when clicked i want to do the
following:
Open a new browser window with 400x200px, no scrollers, no buttons bar
or addrtess bar. Just the content area and the window title.
This window w... more >>
Response.Flush()
Posted by fleimeris at 3/30/2004 11:11:24 AM
hello,
private void Page_Load(object sender, System.EventArgs e)
{
this.Response.Write("1<br />");
this.Response.Flush();
Thread.Sleep(5000);
this.Response.Write("2<br />");
}
when i run this page, it just loads for 5 seconds and then displays "1 2". i
want to write it "1", then wai... more >>
Excel automation
Posted by tangolp NO[at]SPAM yahoo.com at 3/30/2004 10:46:14 AM
I'd like to know if there is a way to read the worksheet name of an
excel file.
Here is my code:
foreach(Excel.Worksheet sheet in thisworkbook.Sheets)
{
Response.Write (sheet.Name);
}
This code works if the names are like Sheet1, Sheet2, etc.. But if I
change the sheet1 to testsheet, ... more >>
sub windows, popups, passing data
Posted by Marcel Balcarek at 3/30/2004 10:37:53 AM
I have a Windows application that I am converting to the web. In Windows it
uses many dialog popups to OPTIONALLY gather information IN ANY ORDER and
return it to a central window.
The central window processes the selected information.
I considered using sub-windows and javascript, but most ... more >>
Attempting to Export to Excel..."Class 'System.Data.DataSet' cannot be indexed"?
Posted by D. Shane Fowlkes at 3/30/2004 10:29:37 AM
Hello all.
I'm following the example found at
http://mikepope.com/blog/DisplayBlog.aspx?permalink=344 in an attempt to
export to MS Excel. I'm getting a "Class 'System.Data.DataSet' cannot be
indexed because it has no default property." error whenever I try to read
the DataSet I've attempted ... more >>
Page_Load event firing twice when loading PDF
Posted by andrei at 3/30/2004 10:24:50 AM
Hi Group,
I'm having a problem with the Page_Load event firing twice when loading and
displaying a pdf.
I've seen other people here encountered the same problem, but unfortunately
the discussion thread did not end with a positive answer/solution.
(see thread with subject "Page_Load Event ... more >>
Server setup ?
Posted by Murphy at 3/30/2004 9:51:53 AM
We have a simple server:
NT Server 4.0 SP 6a
Option Pack (Includes IIS)
..NET Framework 1.1
The problem is that aspx scripts do not run correctly, HTML is displayed
however no code is executed.
We have a simple tutorial from asp.net that includes code that simply posts
to itself, the code i... more >>
aspnet.exe crash
Posted by z. f. at 3/30/2004 9:48:10 AM
if an aspx page call server.execute on itself, the aspnet.exe process
crashes.
i know this should not happend or is not a good programming habbit (i found
it out by mistake), but i also know that running a method on a managed code
class like asp dot net server utility object should not cause the... more >>
Combo box control problem
Posted by Jim Mace at 3/30/2004 9:11:11 AM
I am creating a Dynamic HTML menu system, and one of my menus is so long as to extend down into my form elements. This is all good and happy since my text boxes stay behind the menu that is on a different z-index (100), but my combo boxes, that are user controls, always stay on top of my menu even ... more >>
Recording WAVs
Posted by Brian K. Williams at 3/30/2004 9:05:53 AM
Does anyone know where I can find any reference or code samples on recording
WAV files using C#?
Thanks in advance..
Brian K. Williams
... more >>
Can someone help me out?
Posted by dinoo at 3/30/2004 9:01:08 AM
The problem is the current application which is developed, making to many calls to webservice
in no of files in the project. I want to identify the webservice or webmethod names which are called but i don't want to debug or run through the code, because it involves lot of time
Is there any way
... more >>
Seeking opinions on asp2aspx (Netcoole software) - Converting asp to aspx
Posted by me NO[at]SPAM privacy.net at 3/30/2004 8:54:31 AM
I have a fairly in-depth website that uses traditional ASP, which needs to
be converted to dotnet.
I had been looking for some info on migrating the code (VBScript in the asp
pages) to dotnet and came across the ASP2ASPX conversion tool.
Has anyone used this? What were the results? How muc... more >>
Web User Control not accepting Property...Set calls
Posted by Wayne M J at 3/30/2004 8:47:56 AM
WUC: PageHeader
Prop: Heading (Get/Set)
I have dragged and dropped an instance of the WUC onto the webform, and have
referenced it:
Protected PageHeader1 as PageHeader
If I do a `Return PageHeader1.Heading` I successfully get the current
heading in this case I get a string of nothing per-s... more >>
Multiple projects
Posted by Chad Crowder at 3/30/2004 8:45:21 AM
Recently I took some smaller .net projects and placed them all in one "main"
project. I essentially took the project folders, moved them physically
under one project (called the "master" project), and then went through each
of the "sub" projects directories and removed the global.asax file, and
... more >>
Calling web service from web page; concurrency problems?
Posted by tale NO[at]SPAM juno.com at 3/30/2004 8:18:14 AM
Hello all,
I really need an answer to this post, so I'm trying to repost it. My
question is below. I've included all of the original posts below.
Here is my questions to the last response.
> actually this limit applys to asp.net. the default behavior for asp.net page
> making webservice... more >>
CurrentUICulture problems en-GB
Posted by mlohoar NO[at]SPAM hotmail.com at 3/30/2004 6:36:40 AM
I have put the following code in two pages:
Thread.CurrentThread.CurrentUICulture=new CultureInfo("en-GB");
Response.Write(CultureInfo.CurrentUICulture.EnglishName);
Response.Write(CultureInfo.CurrentUICulture.DateTimeFormat.ShortDatePattern);
Response.Write(DateTime.Now.ToShortDateString());
... more >>
memory leak (windows 2003, asp.net, sql2000)
Posted by jzink at 3/30/2004 5:46:09 AM
Just implemented a production system using asp.net, iis6, sql2000 running on windows2003. Due to the iis6 settings of recyclying worker process every "n" minutes I didn't pick up during testing that there is a memory leak with the app. Narrowing it down even the following code causes a memory leak... more >>
Reporting tool
Posted by JG at 3/30/2004 4:37:06 AM
Hi,
Does anyone use Crystal Reports Report Application Server in ASP .NET
applications? How is the performance? I heard it's throttled. What's the
disadvantage of it? The full processor licence is $25000 for each
distribution, kind of expensive. Is someone using a better and more
affordable rep... more >>
Response.Redirect Fails
Posted by Rajesh at 3/30/2004 4:11:06 AM
Hi
In my ASP.NET project, I have used Response.Redirect to redirect to aspx pages. Some of the Response.Redirect calls consistently fail to redirect to the desired aspx. I am using IIS on Win2K with IE 6.0 and have all the latest SPs installed
I tried re-installing IIS and my application but the... more >>
Targeting an <IFRAME> in code
Posted by carlos.cruz NO[at]SPAM algeco.pt at 3/30/2004 4:00:49 AM
Hi,
I manage to open a PDF file in an <IFRAME> by "clicking" on an HyperLink
with:
HyperLink.NavigateURL = "file:///C:\file.pdf"
HyperLink.Target = "iframename"
The question is... How can I do the same thing by "clicking" on a
button????
I searched in the System.Web.UI.HtmlControls ... more >>
Accessing Request Object in Page Class
Posted by Neil at 3/30/2004 3:26:06 AM
Hi
I have my own implementation of the Page class which inherits from System.Web.UI.Page. In the constructor ( or as soon as possible) I want to access the query string and get the Id of the page being requested but it doesn't look like I can access this information in the constructor, I get a "Re... more >>
How to change the format of the calendar control?
Posted by Miguel Dias Moura at 3/30/2004 3:22:10 AM
Hello,
i created a calendar control and i format all the items of it.
However i want to change the way the calendar is displayed.
Instead of showing in the standard way each day to have a line.
For example, when the calendar is in May it will show 31 lines. Each line
will be a day.
Can... more >>
Where to start?
Posted by Sam Carleton at 3/30/2004 1:53:17 AM
Folks, I am not new to programming. I have been a C/C++ Windows
programmer for eight years now. Over the years I have dabbled with web
programming, but real web programming has always eluded me. It still
eludes me, even with .Net.
Call me crazy, but for some reason I get the impression th... more >>
HttpWebRequest and Firewall
Posted by Garnet at 3/30/2004 1:41:11 AM
Hi
I am trying to POST to a URL using the HTTPWebRequest object
straight forward
ASCIIEncoding encoding = new ASCIIEncoding()
string s = "username=66"
HttpWebRequest wreq = (HttpWebRequest)WebRequest.Create("http://url:8081/sendSMS/SendSMS";)
wreq.Method="POST"
// Set the content type of... more >>
Where to store images
Posted by carlos.cruz NO[at]SPAM algeco.pt at 3/30/2004 1:19:20 AM
Hi,
If I want to associate an image to a database record which is the best way
to store it. In a database field or in a folder (as a file) ?
Can I change the dimension or resolution of an image file (JPG) in code?
Could anyone tell me where to start (sample code or URLs)?
Thanks
CC... more >>
How to POST and Redirect from the server
Posted by tsides NO[at]SPAM intelligentsystemsconsulting.com at 3/30/2004 1:01:55 AM
I have been searching this site for hours, and I have not found the
answer I am looking for.
I would like to send users to PayPal from my ASP.NET site. However, I
do not want the users to be able to change the price they'll pay for
their items. This is not as easy as it seems.
The standar... more >>
Using VB6 objects from .NET
Posted by PaulR at 3/30/2004 12:51:06 AM
Hi
I have some old VB6 code and I need to automate some testing from .NET by using the VB6 objects and interrogating the results. The VB6 object basically just does some work and returns an XML string which I need to validate
An asp page using the VB6 object would be something like..
set myOb... more >>
target schema?
Posted by Paul at 3/30/2004 12:16:08 AM
Can anyone explain what the target schema of a page is used for as I thought asp.net pages rendered according to the browser dynamically at runtime. Is it for designtime restrictions
TI
Paul... more >>
|