all groups > asp.net > august 2003 > threads for tuesday august 26
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
Unusual performance problem.
Posted by William A. Sempf at 8/26/2003 11:56:40 PM
Hi, everyone. Posting this in the IIS group, because I don't think it is an
ASP.NET question, crossposting because I am not sure. Apologizing in
advance.
I have a page with a datagrid that binds to a dataset that is generated from
an Oracle database. If I trace the page load, and run ACT,... more >>
Singleton pattern in asp.net application
Posted by bgy75 NO[at]SPAM lycos.com at 8/26/2003 11:51:13 PM
HI,
I have a singleton pattern to acess my database the following is
the sample code use to implement singleton pattern
public class DataAccessHelper
{
private static DataAccessHelper instance;
/// <summary>
/// public property that can only get the single instance of this
cl... more >>
DataTable in ViewState
Posted by Pradeep at 8/26/2003 11:14:16 PM
Hi,
I am storing the DataTable in a ViewState.
ViewState("mydata") = dsRedemption.T_Redemption_Dtl
Then I am casting the ViewState into a DataTable variable.
Dim x As New DataTable
x = CType( ViewState("mydata"), DataTable)
This is giving me a error where it's not allowing me to Cas... more >>
Title tag as control
Posted by Chris Becker at 8/26/2003 10:05:31 PM
Why is InnerText set to the correct value here:
<title id="tagTitle" runat="server">Divisions</title>
But not here:
<title id="tagTitle" runat="server">Divisions -
<%=Settings.GetLeagueName()%></title>
Why does the <%%> make the InnerText property of the tagTitle control be
blank?
... more >>
Viewstate error when Deploy on Server
Posted by sarvjeet Saini at 8/26/2003 8:32:52 PM
My application is working fine on our local server.We
tried on two local servers for testing purpose. But when
we host on our main server ,we got the following error:
some it work Fine but not always...
***********************************************************
Server Error in '/' App... more >>
Using derived/inherited components in C# / ASP.NET
Posted by Lauchlan M at 8/26/2003 7:52:33 PM
Hi.
Following the example at
http://www.codeproject.com/useritems/ooaspnet.asp?print=true, I have a
datagrid descendant class that shows a JavaScript confirm dialog before
deleting a row from the grid.
My first two questions are:
(i) Currently this class is in my project namespace.
I ... more >>
Unable to start debugging on the web server
Posted by Aivi at 8/26/2003 7:10:49 PM
Hi,
I am having some difficulty trying to debug a web
application.
Here is the error message that I am getting"
"Error while trying to run project: Unable to start
debugging on the web server. The project is not configured
to be debugged.
For ASP.NET projects, verify that you h... more >>
International web site architecture?
Posted by Stoyan at 8/26/2003 6:51:33 PM
I have to create international web site, which define content and
functionality per country and have to be localized in different languages.
/ASP.NET/
Something like:
http://www.harley-davidson.com
http://www.volvocars.com/
http://www.dell.com
For example it must be poss... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Secure shopping cart example?
Posted by Bruce W...1 at 8/26/2003 5:50:01 PM
There are lots of examples out there of ASP.NET shopping carts, but they
all stop short of SSL. If someone knows of a shopping cart example that
get in to code for digital certificates please show me where.
I've been researching SSL and digital certificates, not that I have a
specific applica... more >>
Problem with DataList using Custom Class
Posted by Jurjen de Groot at 8/26/2003 5:50:01 PM
I have an ArrayList with NewsItem objects wich have properties 'newsDate'
and 'newsText'
I can off course bind the ArrayList to the Datalist, but how do I procede
from there ?
In the ItemTemplate I've placed two labels wich should show the properties
of each NewsItem.
I'm trying to find ... more >>
Word/Excel needed??
Posted by Harry Simpson at 8/26/2003 5:01:21 PM
If i'm using :
Response.ContentType = "application/vnd.ms-excel"
or
Response.ContentType = "Application/msword"
Response.WriteFile(FilePath)
Does the user have to have Word and Excel installed on the client box to
view the files in IE6??
And if so, and they don't have a f... more >>
Auto Postback Issue
Posted by yoyo at 8/26/2003 4:57:03 PM
Hi,
I've added a button control in my webpage, and called a onClick event.
However it will always go back to the page load, then execute my onClick
event.
Is there a way which I can bypass page load??
Regards
... more >>
Indirect use of COM
Posted by George Ter-Saakov at 8/26/2003 4:43:04 PM
Hi.
I need to use the COM objects indirectly from ASP.NET pages.
I.E. ASP.NET calls Managed C++ class which makes the call to DOMDocument
( It has to parse out the XML file).
Do i need to do anything specific for that?
I do not keep COM objects alive. Just create DOMDocument parse out XML... more >>
Fomatting Text & Credit Card Validation
Posted by Michelle A. at 8/26/2003 4:34:22 PM
I have a form that takes in a credit card number, just a series of numbers
1234123412341234. When they get to the "Review" page and display all the
information a user has entered, I would like the number to be formatted in a
XXXX-XXXX-XXXX-1234 type of format.
Any good suggestions how to do th... more >>
ASP.NET Profiling
Posted by Mark Fox at 8/26/2003 4:14:18 PM
Hello,
In the VS.NET documentation
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/cpguide/html/cpconenablingprofiling.asp
it says that in order to profile an application you have
to have its CLSID. I am new to profiling and looking to
profile my ASP.NET applica... more >>
HELP
Posted by Blood... at 8/26/2003 3:52:54 PM
Visual Studio .NET has detected that the specified Web server is not running
ASP.NET version 1.1. You will be unable to run ASP.NET
Web applications or services
... more >>
Calling code-behind function from in-line code page
Posted by Fred Armitage at 8/26/2003 3:39:36 PM
I have a fairly complex application written using a vb code-behind dll.
However, I'd like to write one particular aspx page utilising in-line code
so that it can easily be modified as needed by the end user, and yet still
utilise some functions in the code-behind dll.
Is this possible? (How?)
... more >>
Progress Bar Problem
Posted by Chris Huddle at 8/26/2003 3:24:21 PM
I've got an aspx page with some vb code-behind. I want the page to display
a progress bar and then start the codebehind. The problem is that the page
wants to run the code-behind first. Is there any way to flush out the aspx
page to the user so that they see the progress bar (a simple gif) and... more >>
Returning to the same page using a DataGrid
Posted by Eric Caron at 8/26/2003 2:23:03 PM
Hi,
In a typical "show-list-click-one-and-edit" scenario, I use a DataGrid on
the "list" page using the pager option. Say I'm on page 2, click edit on an
item and click Cancel on the edit page (which is another web form), what
would be the ideal way to return to the same page in the list? I ... more >>
Why Java Script slowly
Posted by Yuriy at 8/26/2003 1:25:49 PM
Hello! I use a simple statement to call form
windowHandle=window.open(myform + '/?' + hdObj.id + "=" +
hdObj.value,'HouseholdMember', 'toolbar=no, location=no,
status=no, menubar=no, resizable=no, scrollbars=yes,
width=500, height=400');
In my form i put a couple dropdown controls and chec... more >>
Please illustrate how to omit null field from a DB using a datalist.
Posted by Troy at 8/26/2003 1:22:27 PM
I am at the end of my rope here. Would someone mind showing me some code
that would leave out all of the fields that are not null. In my Container I
have blank lines all over the place becuase it is returning the null fields
from the db.
I would like to then take it one step further and run so... more >>
REPOST Deploying project - **** VERY URGENT HELP ****
Posted by J at 8/26/2003 1:02:35 PM
I've changed the settings on my server, and now I'm still getting the same
'screen', put the error message now says...
Server Error in '/VN' Application.
----------------------------------------------------------------------------
----
Runtime Error
Description: An application error occu... more >>
<script>
Posted by JMMB at 8/26/2003 12:54:55 PM
The <script> tags work in a htm page, but when I convert it to .aspx page,
it stops working?
I get a IE script error.
What might be the mistake here?
thanks,
<HTML>
<HEAD>
<TITLE> Teste Menu </TITLE>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/structur... more >>
Creating JavaScript Dinamically
Posted by JMMB at 8/26/2003 12:38:58 PM
how can i generate JavaScript on the server to be delivered to the browser?
Just like the way the validators controls do.
thanks,
... more >>
parse error in ASP.NET using VB.NET
Posted by John Davis at 8/26/2003 12:37:43 PM
I created an empty web project in VB.NET, and created a simple WebForm1.
When I run it in URL, it throws this parse error. Any ideas what's going on?
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following spe... more >>
validation controls not consistent
Posted by chris NO[at]SPAM yahoo.com at 8/26/2003 11:56:38 AM
Hi,
We make extensive use of validation controls on forms across our sites. For
the most part they seem to work okay, but every now and again some data that
should never have passed through the validators gets inserted into the
database. We've tested and the validators always work for us whe... more >>
Page class in ASP.NET
Posted by ozie at 8/26/2003 11:41:07 AM
Hi ,
I am new to ASP.NET. I was reading about Page class in one
of the ASP.NET books and am confused with the way the Page
class is actually implemented.What is didnt understand in
when is this Page class created ? Is it when the ASPX file
is requested for the first time ? Is this executab... more >>
Hyperlink Files
Posted by brian at 8/26/2003 11:38:19 AM
I am grabbing file paths from a directory and storing
them into an array. The array then writes the data to a
single column table. (This works) Now I need that file
path in a URL format to navigate to the file. This
program is for an intranet and this will allow us to
click on the URL a... more >>
Cannot retrieve the value from the table
Posted by chanmm at 8/26/2003 11:30:25 AM
Dear all,
I cannot retrieve the cell value and row from table that I have added all
the rows and cells in. Why????
Regards,
MingMan
... more >>
Question: HTML char limit for aspx page???
Posted by VB Programmer at 8/26/2003 11:23:04 AM
Is there a limit as to how big an aspx page's html can be? (number of
characters)
Why do I ask? I have a webform with a lot of ActiveX controls (shows up as
OBJECT in html). When I place like 35 of these objects the form shows up
BLANK in a web browser. When I remove a few (ANY few) I can se... more >>
alert messages and deleting a datagrid row.
Posted by Lauchlan M at 8/26/2003 11:13:30 AM
Hi.
I have a delete column in an ASP.NET grid ie, users click on delete and it
deletes a row.
It currently has no confirmation dialog
ie it just goes ahead and deletes it.
I would like to add a confirmation dialog ("Are you sure you want to delete
this X? This operation is permanent an... more >>
application state in console app.
Posted by PCH at 8/26/2003 10:58:46 AM
is there any way to create a asp.net application object in a vb.net console
app?
ie.. store some values in the application (such as filepath info) so that
reference dll's can use those values?
been trying something like
Dim oApp As New Web.HttpApplication
but then i cant reference it s... more >>
Server.Transfer
Posted by Pradeep at 8/26/2003 10:27:12 AM
Hi,
I am using Server.Transfer to redirect to the different page. When I use
this option the URL of the IE does not refresh to the target page. It
remains as it is as the current page but the page has already traversed.
Beacuase of this i face some problem during passing variable through Q... more >>
Injecting image page element without calling ASPX page?
Posted by Christopher Ambler at 8/26/2003 10:15:37 AM
I'm wondering if there's a solution here -
I have an ASPX page with a sole purpose of scaling an image. The ASPX page
contains a single line with the codebehind tag, and the .cs file contains
the code to read an image, use GDI+ to scale it to a reasonable size, and
emit the image directly (set... more >>
Creating and Consuming XML configuration
Posted by Christopher Ambler at 8/26/2003 10:09:13 AM
Is there an example anywhere of how to create and consume XML configuration
information via code?
I've got a site for which I want to present the user with a web form for
configuration information and allow them to fill in the form and persist it
to an XML file on the web server. This XML file... more >>
ASP.NET Starter Kits
Posted by Darin.Molnar NO[at]SPAM rvkuhns.com at 8/26/2003 10:00:26 AM
Looking for an assessment of the reliability of the ASP.NET Starter
Kits. We're considering using one of them as the foundation for a
pretty significant client application and I don't want to get caught
with my pants down due to some unforeseen bug or complication (an "oh,
by the way...").
T... more >>
Deploying project - **** VERY URGENT HELP ****
Posted by J at 8/26/2003 9:32:26 AM
Can someone double check a few things for me as I'm having no joy in getting
my project to work on our webserver.
Out server is a Win2K box.
It does NOT have Frontpage Server extensions installed.
My project on my local machine is called HBITL_UMC
The files needed to run my project have... more >>
Server Set Up
Posted by Chris at 8/26/2003 9:30:54 AM
I am runnig IIS 5.0 on W2k.
I am not able to run asp.net pages.
Application mappings show all .net extensions and .NET
1.1 is installed.
I get the following error:
Server Error in '/app' Application.
----------------------------------------------------------------------------
----
... more >>
Problems with the SmtpMail.Send() method
Posted by Leszek at 8/26/2003 8:57:25 AM
Hello,
I have created a simple code to send emails using the MailMessage class and
the SmtpMail.Send() method:
MailMessage mail = new MailMessage();
mail.From = echidna@somewhere.com; // hard-coded
mail.To = platypus@somewhere.com;
mail.Subject = "Test";
mail.Body = strMessage;
mail.Bo... more >>
IIS not running ASP.NET error!!!
Posted by Bill Nguyen at 8/26/2003 8:54:33 AM
.NET framework 1.1 installed in our Win2K server with IIS 5.0.
Because of the blaster Worm, I had to uninstall the Proxy server several
times and during the process I might have reversed the IIS settings to an
earlier configuration.
Now that when I tried to open an ASP.NET solution on the ser... more >>
Sort by header in dynamic datagrid
Posted by Sudhir at 8/26/2003 8:41:42 AM
I have created a dynamic datagrid and would like to sort
the grid when I click the column name in the header.
-----------------------------------------------
Private Sub btnSearch_Click(ByVal sender As
System.Object, ByVal e As
System.Web.UI.ImageClickEventArgs)
BindGrid("")
... more >>
Release DB connection
Posted by Dieter Depuydt at 8/26/2003 8:41:37 AM
Hi guys,
i'm almost going mad on this one ... Altouhg I close (also tried to dispose)
my DB connection the connection doesn't come available to use ... So when
I've reached 100 connections, my website crashes ...
I'm using 'Byte FX' to connect to my MySQL database.
All help more than appr... more >>
asp.net new process hangs
Posted by Scott at 8/26/2003 8:31:20 AM
I am trying to write an asp.net web page that will spawn a
third party .exe file and return the results back to my
asp page. I am able to write a vb.net program that will
do this just fine. I redirect the output to a msgbox and
display it on the screen. However, when I put this as an
as... more >>
Locating Database
Posted by babe_jt NO[at]SPAM hotmail.com at 8/26/2003 8:21:20 AM
I've built an ASP.NET application. I have built a .DLL (VB.NET
classes) that handles the database transactions. The web page then
gets data via the VB.NET DLL.
I am having trouble with the location of the database, I was setting
the location to "C:\myDB.mdb" for testing purposes. I imported
Sys... more >>
Numbers or letters in a TextBox
Posted by Pablo at 8/26/2003 8:04:23 AM
How I can have a TextBox that to only lets me enter
letters or numbers?
... more >>
Postback failing in 1 control
Posted by CJ Taylor at 8/26/2003 7:49:45 AM
Hey all,
I have a ASP.NET application running on Rainbow Portal, (the forums ahve
been kinda useless).
Anyways, I have a single control that for some reason whenever I hit the
calculate button in it (a simple link button) it will go to the event
procedure, call the proper method and then wh... more >>
DataGrid ! Question again
Posted by RigoMP at 8/26/2003 7:48:27 AM
Hi all..
I have a DataGrid, display some values, I need Add all
the values in one column and display the total values in
another column or rows.
Or how can i add other table in my same datagrid control,
the problem is i have to display the total values in
diferents columns but in the sam... more >>
Trace enabling in web config cause app. error
Posted by Gabor at 8/26/2003 7:06:34 AM
Yestarday I post similar message, but I want to complete my observation.
I'm using forms authentication.
When <trace enabled="false"/> the app. runs normally.
When set to true, the application get an error after redirected to the
default.aspx from the login, and the trace page show the fol... more >>
Screen resolution
Posted by Jenny at 8/26/2003 6:44:04 AM
Hi all,
how can I find out the screen resolution of the client?
Thanks
Jenny... more >>
Which files to check in?
Posted by eichmaned NO[at]SPAM hotmail.com at 8/26/2003 6:32:26 AM
Hi Guys,
When I create an ASP.NET web app, which files do I need to check into
my version control? I assume that the "bin" directory is skipped, but
I'm not sure about the hidden directories (_vti_cnf, _vti_pvt,
_vti_script, and _vti_txt). What are these things, and which of their
contents do... more >>
Dynamically Building a Table
Posted by brian at 8/26/2003 6:29:50 AM
Hello, I have spen hours trying to find information on
dynamically building a table from an array.
What I need:
I have an array pulling file paths from a directory using
a For Next Loop. F is the file. For every instance of F
I would like the file path put into the table. The table
i... more >>
state management using query string
Posted by anshul at 8/26/2003 5:55:33 AM
Can somebody tell me about state management in asp.net
using Query Strings.
I am just unable to understand this.
Anshul... more >>
Force Postback
Posted by barnetj NO[at]SPAM pr.fraserpapers.com at 8/26/2003 5:42:21 AM
I would like to be able to force a postback when a user tabs off of a
user control. I currently have the following code:
<script language="JavaScript1.1"><!--
function keyPressed() {
key=event.keyCode;
if (key==9)
{
**WOULD LIKE TO FORCE A POSTBACK HERE ON cboTest
**W... more >>
How to call Jscript or VBscript function in sub ?
Posted by THY at 8/26/2003 5:29:17 AM
Hi,
I need to know how can I call JavaScript or VBscript function from a sub ...
so I can display a pop-up when a sub is executed ...
thanks
... more >>
help me
Posted by bitslottery NO[at]SPAM hotmail.com at 8/26/2003 5:20:15 AM
Hi all
I need an urgent help.A lot of times i keep getting the following
error even after replacing the bin with new dlls
Please suggest some ideas
Thanks
Emperor
Server Error in '/Corporate' Application.
-----------------------------------------------------------------------------... more >>
Password appearing as blank
Posted by yop at 8/26/2003 4:53:44 AM
All
When I retieve the users password into a textbox
(password textmode) from the database nothing appears, am
I doing something mad?
Thanks... more >>
Traditional Collections and Objects or Typed Datasets ?
Posted by Rob Thomas at 8/26/2003 4:22:50 AM
Hi,
I've been tasked to come up with a new architecture for a large
application at one of my customer's sites.
In the past, I have developed multi-tier applications whereby the
business objects maintain the database using stored procedures etc and
provide the data to the GUI layer via a set... more >>
PopUp Message aka Msgbox
Posted by yop at 8/26/2003 4:05:44 AM
All
Have searched the fields and hills for a good example but
alass not a sausage have I found, well not quite!
I understand that you cannot have a msgbox and have come
up with the solution to use Javascript on the Onclick
Event.
Code:
DeleteBtn.Attributes.Add("onClick", "javascrip... more >>
ASP.NET Error: Not enought storage is available
Posted by Christoph Schuster at 8/26/2003 3:19:30 AM
Hi !
We have a Liveserver running with ASP.NET 1.1.4322.0,
whicht get a error after 3-5 days running:
Source: ASP.NET 1.1.4322.0
Event ID: 1088
Description:
Failed to execute request because the App-Domain could not
be created. Error: 0x8007000e Not enough storage is
available to comp... more >>
Web.config and Passwords
Posted by Staffing at 8/26/2003 2:45:33 AM
Is there a better way to store data base passwords in web.config file rather
then having them on clear
Jay
... more >>
how to build treeview and connect to database and retrive the fields to the tree
Posted by vijay at 8/26/2003 1:29:04 AM
hi,
This is vijay kumar.p. Iam facing a problem regarding the
treeview control. I am able to create a structure of the
tree using the Node property from property pane, but how
to build a database connection using MSaccess to get one
of the field(say nodeid) of the database to the parent o... more >>
Design issue
Posted by Jenny at 8/26/2003 1:24:15 AM
Hi all,
My page has two panels. I like to place a button above the
top of the lower panel. The position is:
Button.Style.Add("left", "150px")
Button.Style.Add("top", "-40px")
The problem is, that the button is hidden by the upper
panel. How can I make ths element visible?
Cheers
J... more >>
Real-world examples
Posted by PontiMax at 8/26/2003 12:50:36 AM
Does anyone know of some online demos of real-world
ASP.NET applications? By this I don't mean Flash demos (as
for example Microsoft is providing at
http://www.greatplains.com/documents/MSCRMdemos/full_demo.h
tm) but dynamic, running applications - maybe with a
reduced functional range.
... more >>
|