Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > december 2003 > threads for monday december 8

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

Brainstorm with me on this
Posted by George Durzi at 12/8/2003 11:52:41 PM
Hey all. I need your help in designing a solution. I'm building a small wine cellar manager application as a side project. A wine cellar can consist of several "walls", each of which can have X rows and Y columns. I'm trying to figure out a way to illustrate how certain walls in a cellar are p...more >>


Closing out database connections. Timeouts
Posted by Do at 12/8/2003 11:49:23 PM
Hi, Is it better to objConn = Nothing or objConn.Close. I'm starting to get an error message that Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reach...more >>

Export data to .PDF?
Posted by Null at 12/8/2003 9:34:41 PM
Hello -- I am looking for a way to dynamically generate PDF documents - combining Crystal Reports and data driven "fields". For example, I have a template that's essentially a summary document and I would like to populate certain fields with client names and account data. Also, I would li...more >>

Session Restart
Posted by Wes Jackson at 12/8/2003 6:17:47 PM
I have a webform with a button on it. The button doesnt do anything but when the button is clicked the session is restarted. I have tried this on another machine and its not restarting the session (this is how it should work). Any ideas? ...more >>

Help me with the Treeview Web Control!
Posted by Archer at 12/8/2003 6:16:10 PM
I used TreeView Web Control in a Web. But while some users use IE to access it, the Control disappeared when they click on a treenode.What should I do? ...more >>

displaying number of results found ???
Posted by Tim T at 12/8/2003 6:09:52 PM
Hi, I have a stored procedure executing a search and an asp.net page displaying the results in a datagrid. The datagrid has paging on it, I am using Visual Studio.NET and can't see any option to show the number of results found. Is there an easy way to add this to the top of the datagrid, alo...more >>

cannot access Session Variables
Posted by Kaya at 12/8/2003 5:35:12 PM
in the Global.asax Application_EndRequest prodecure the application do something and it works normally but when i try to use session it gives errors "Object reference not set to an instance of an object." i cannot access a Session variable... System.Web.HttpContext.Current.Session["CurrentUs...more >>

ASHX handler using codebehind ?
Posted by Bart Adriaanse at 12/8/2003 4:29:04 PM
As VS.NET is not being very supportive in creating a ASHX http handler, i would like to use a codebehind VB file as to get intellisense features etc on it's code. I just cannot get ashx to work with codebehind, the only reference claiming it can be done i could find in google is this: http:...more >>



Basic Javascript question
Posted by Ashok Gopalan at 12/8/2003 4:21:40 PM
How do I attach a client-side validation script in a web form page for a text box control. The intellisense dropdown does not show the common "OnChange" event. Any help is greatly appreciated. Regards, AG ...more >>

Simple DropDownList/ComboBox question
Posted by Dan at 12/8/2003 3:49:50 PM
I'm databinding my DropDownList to a DataSet. How do I add a dummy record at the top of the combo box. In other words, suppose we are dealing with cars I want something like: <select name="cboCars"> <option value="0">Select a car</option> <option value="1">Ford Mustang</option> .... <opt...more >>

Excel from ASP
Posted by george d lake at 12/8/2003 3:47:05 PM
Hi, I have code that will create an excel file in VB.NET I moved the code to my ASP.NET project and it will not save. No errors, it just sits there.... for ever..... Any ideas? ...more >>

EditCommandColumn validation
Posted by RobS at 12/8/2003 3:42:15 PM
Can anyone answer this question: How can I disable validation when edit column update button is pressed. Can it be done for the whole grid? Regards, Robert ...more >>

Codebehind unaware of select box members populated via javascript
Posted by Allan M. at 12/8/2003 3:36:16 PM
I have a series of select boxes that must be populated client side, because they interact with each other. The design specification calls for these boxes to be updated without having to make a roundtrip to the server. The codebehind seems to be unaware of select box members populated via...more >>

SQL database table ot SQL schema
Posted by Paul M at 12/8/2003 3:26:12 PM
Hi there, what is the easiest way i can call a SQL Query statement, eg. "SELECT * FROM CUSTOMER", and have something, either some kinda object or something else, that will show me the fields that have been returned, possibly also with their properties? similar thing to the normal ASP: fo...more >>

How to dynamic build circuit diagram by ASP.NET?
Posted by Denon at 12/8/2003 3:14:24 PM
My system has some network interconnecting data, like node 1 <-> node 2 How to dynamic build a circuit diagram in from of (pdf,visio, or other graphical format)by ASP.NET? Thanks for your advice! Den ...more >>

SQL Temporary Table Concurrency
Posted by Adam W. Saxton at 12/8/2003 2:39:01 PM
We have a few existing stored procedures which create a Global Temporary Table (##), do some work on the table and then delete the table. The issue we have is that if our Server application is using these is running and then our Web application fires off, the Temp table is getting deleted. ...more >>

Reference material
Posted by Brian Watkins at 12/8/2003 2:30:46 PM
Hello all! Can you tell me which ASP.net reference materials are the most comprehensive. I keep finding nice code tidbits which run smoothly, but am wondering how someone found out that a certain property or method exists and what it does. Thanks in advance! ...more >>

Passing value into DataBinder.Eval(Container.DataItem, "Property")
Posted by Tom Lee at 12/8/2003 2:22:42 PM
Hi all, I have the following problem and I cannot solve it. If anyone can help me solve this problem. I use the following code <%#DataBinder.Eval(Container.DataItem, "Property")%> to display Property from database. How do I dynamically change the value "Property" to another one say "Name" ...more >>

Changing Default Inherits.
Posted by Greg Richards at 12/8/2003 2:00:10 PM
Anyway to change the default Inherits System.Web.UI.Page to on eof my own? Thanks ...more >>

Returning Identifier on a database Insert command
Posted by Russ at 12/8/2003 1:51:16 PM
How can I return the indentifier column that is autogenerated by SQL Server when a new record is created? I have a form where the top half is used to enter a company name, address, and contact information, the bottom half is used to add additional business locations. In order to save addition...more >>

Best way to load/store web site settings in database
Posted by Max at 12/8/2003 1:43:35 PM
This is the best method I've found to store and load settings from database. I load the settings once at start as public variables. The method can be called easily anytime you want to load the new settings from database. Comments very welcome... I'd like to refine this... besides the error handl...more >>

Binding hierarchical data
Posted by neverstill at 12/8/2003 1:43:29 PM
So I thought I had a solution to my problem using DataRelations with the DataSet. I need to display hierarchical data. I have a DataList nested into another DataList. My datasource is a DataSet with 2 tables and a couple of DataRelations. I thought that I could catch the items as they were ...more >>

How do you interupt a long-running database query?
Posted by ggacs NO[at]SPAM bu.edu at 12/8/2003 12:39:46 PM
I have an ASP.NET/C# web application running against a SQL Server database using ADO.NET. Whenever there is a long-running database query, the web application hangs until the database query is complete. Even clicking the browser's stop button and clicking on other links within the web applicatio...more >>

How to avoid script database hacking?
Posted by RA at 12/8/2003 12:07:23 PM
If I get the user info from an aso.net, and based on that execute some query against the database, how can I avoid issues like this one: Client entered in user name text box the following: "new;delect from users" On server side I have: sql = "select * from users where username = " + txtUse...more >>

Is this safe?
Posted by JezB at 12/8/2003 12:01:41 PM
I have a static class that is instantiated once on Application_Start in global.asax :- protected void Application_Start(Object sender, EventArgs e) { int dialectID = 1; Dialect.SetDialect(dialectID); } The static Dialect class is defined: public class Dialect { public sta...more >>

Download file
Posted by Doug Stiers at 12/8/2003 11:48:43 AM
I have a button on a webform, when the user clicks a file on our network will be downloaded to the clients machine. I need the button to initiate the download just like a hyperlink without displaying the path like a hyperlink would (down on the status bar). The file is an exe so its not something...more >>

CustomValidator against two controls in EditItemTemplate on a DataGrid?
Posted by Gene McCrory at 12/8/2003 11:48:21 AM
Is it possible to have a CustomValidator against two controls in an EditItemTemplate on a DataGrid? Case: Have a business rule that states if ATextBox starts with "ACertainValue" then BTextBox value is required. I added a CustomValidator to the EditItemTemplate for the column containing BTe...more >>

ASP.NET Programming
Posted by JL at 12/8/2003 10:58:22 AM
Hi all, Anybody knows where can help a people to write a ASP.NET + Web Service and Mobile Web e-comm programming on the internet? I can offer a money to suitable people. Thanks for any assistant.........:) ...more >>

Session Scope, over domains and secure connections
Posted by Seth at 12/8/2003 10:48:55 AM
I have noticed that the id of my session object changes when I switch from a non-secure to a secure connection. What I'm trying to do: I have a cookie that is built on the non-secure side of things. What I need to do is to switch to a secure connection and then later on while still in t...more >>

Spawn new browser from server process
Posted by Teckie03 at 12/8/2003 10:33:50 AM
Hi, does anyone know how to display a seperate browser from server process? My ASP.NET app control (ascx) has Archive button that does its own work [on server], including updating an html page called Index.html. After finishing its work, it should spawn a new browser and display the updat...more >>

Cookie vs HttpCookie
Posted by Ivan Demkovitch at 12/8/2003 10:18:02 AM
Hi! System.Net.Cookie class offers greater flexibility for working with Cookies compare to System.Web.HttpCookie. Is there any way to work with cookies thru System.Net.Cookie instead of plain httpCookie??? TIA! ...more >>

How do I change a listitem font color?
Posted by Do at 12/8/2003 9:32:50 AM
Hi, In my listbox, I'd like to change the color of some listitems depending on user security. I tried wrapping the <font color=red></font> around my listitme's .text property, but the tags show up in the page load. What can I do here? Do ...more >>

Cookie - drive me nuts!!!
Posted by Ivan Demkovitch at 12/8/2003 9:30:03 AM
Hi! Here is what I'm doing: I'm integrating PHP BB with my asp.net application. I modified phpBB FORM TARGET to post into my aspx page. Then after I process everything I do Response.Redirect(Request.UrlReferrer.ToString()); In my code I authorize user and create/overwrite cookie for phpB...more >>

Determine if a page is up or down.
Posted by Chris Carter at 12/8/2003 8:59:33 AM
We have a site, for reference I'll call this MainSite, that has certain pages actually hosted on another site, I'll call this ChildSite. In MainSite when you click on a certain link, it loads a page with an IFrame that points to a page in ChildSite. MainSite and ChildSite are on two diff...more >>

Tracing ASP.NET
Posted by Damon Allison at 12/8/2003 8:42:26 AM
Hello, I am wondering if it is possible to export trace output (via trace.axd or otherwise) to a text file. I would like to search on different requests for certain conditions that are occuring in our code. What I am doing today is using trace.axd and viewing each request by hand and scannin...more >>

Accessing a URI programmatically
Posted by Helen at 12/8/2003 8:03:31 AM
Hi, I am trying to write an ASP.Net application that integrates with a third party application via their fairly simplistic web component, however I am having problems with the URI. The URI works fine in Internet Explorer, and returns the information from the third party application to th...more >>

Weird behavior on page
Posted by David Rose at 12/8/2003 7:23:18 AM
I am starting to work on an existing ASP.NET application. A number of things do not work: 1) A trace statement in Page_Load() does not appear in the trace output. 2) The statement Me.CheckBoxXXX.Attributes.Add("onclick", "OnClickXXX();") does not add the attribute. 3) An object...more >>

Compatibility issues in Web Based Development using ASP.NET, C# with Win-XP.
Posted by Diggy at 12/8/2003 4:29:40 AM
Hi, We have developed a web based application using ASP.NET, C# and SQL Server2000. We are facing problem in using some of the functionality available like user impersonation, etc., after accessing the different pages. And the same application works fine on Win-2000 OS for the same ...more >>

datatable sort
Posted by reiks at 12/8/2003 3:55:30 AM
I have a datatable . My requirement is to sort the table rows in ascending and descending order basing on the columns which I give it. I've used the following expression ds.Tables[0].DefaultView.Sort="au_fname"; but it's sorting in ascending order but not in descending. How to speci...more >>

form submit
Posted by Saifee at 12/8/2003 3:38:53 AM
I have 2 aspx pages on a.aspx i have a checkboxlist control i check some checkboxes on a.aspx and then click on submit button to go to b.aspx how can i check the selected checkboxes from checkbox list control on b.aspx pls help...more >>

Valdiation Behaviour
Posted by Eldon Ferran de Pol at 12/8/2003 3:07:43 AM
Hi all, I've got a CompareValidator comparing the value of one drop down against another this works without any problems except that whenever another control on my page with AutoPostBack set to true is fired the validation error message is lost. I have tried testing postback in my ...more >>

Kill asp_wp process
Posted by Donna at 12/8/2003 1:37:42 AM
How can I stop the asp_wp process on my computer? Each time I 'm stopping it in the taskmanager the process is started automatical again! Thanks Donna...more >>

validate aspx page.
Posted by Mr. x at 12/8/2003 12:59:23 AM
Hello, I know about the validator on : http://validator.w3.org , which can validate html pages. I just new to this validator. How can I validate (if it can be - by this validator) aspx pages, and asmx pages ? Thanks :) ...more >>

asp to asp.net
Posted by John at 12/8/2003 12:56:48 AM
Hi Is there an upgrade wizard for asp to asp.net or are asp websites need to be recoded from scratch? Thanks Regards ...more >>

send email internally
Posted by Saifee at 12/8/2003 12:25:08 AM
hi, i want to send mail through asp.net internally in the organiztion and also externally how to do tat, n also wat setting is required on IIS SMTP pls help...more >>

.Net scalabilty
Posted by Abrar Hussain at 12/8/2003 12:04:46 AM
Hello I just started working in ASP.NET and really liked this. I have also been working in ASP for last four years. I placed a proposal in a company for web based ERP solution but i could not win it. This project is won by a company who will develop it in PHP. You know clients sees the low pri...more >>


DevelopmentNow Blog