473,543 Members | 2,917 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET Forum

19
2,954
thread by: Dales | last post Nov 18 '05 by: Jim Cheshire [MSFT]
I have a custom control that builds what we refer to as "Formlets" around some content in a page. These are basically content "wrapper" sections that are tables that have a colored header and provide an open TD with a DIV in it for the content of this formlet. (The DIV is for DHTML to hide and show the content) I've created a web page...
19
2,044
thread by: Shiv Kumar | last post Nov 18 '05 by: Shiv Kumar
I see that the Application_OnStart event is fired only once for a certain application. I'm interested in creating a "global" object (an object that will be available to all requests for the application). I thought I could use this event to create an instance of my object. I find that the event does get fired and an instance is created....
19
2,128
thread by: Paul Yanzick | last post Nov 18 '05 by: Paul Yanzick
Hello, I am trying to develop a book tracking application for my capstone in school, and am running into a problem. The application is an ASP.Net application written in C#. The first page you go to is a login form, which will set several session variables with the name used to log in, appropriate security level and some other misc...
19
961
thread by: dx | last post Nov 18 '05 by: John Saunders
I have the Microsoft Press: Developing Microsoft ASP.NET Server Controls and Components book. It's starting to shine some light on control development but there is something about composite controls that I don't understand... I've included a snippet from Chapter 12 below on Composite Controls: <start> Override the CreateChildControls...
19
1,719
thread by: Jon Davis | last post Nov 18 '05 by: ASP.Confused
I'm reposting this because I really need some advice. I have a web app that makes many queries to the database on every page. In order to save development effort, I've consolidated all database querying to methods in a single static class, so whenever I need data, I pass a SQL string to a method and I am passed a datareader or else...
19
6,922
thread by: JezB | last post Nov 18 '05 by: Kevin Spencer
I have a DIV whose contents varies in size according to data. How can I size the DIV precisely to fit it's contents ?
19
2,446
thread by: Sjaakie Helderhorst | last post Nov 18 '05 by: Shiva
Hello, I need to add a Javascript event (onClick) to a servercontrol (asp:checkbox). Checkbox is named 'cbDoMail'. Assumed that 'cbDoMail.Attributes.Add("onClick", "doJavascriptThing()") would do the job, unfortunately it didn't. Can anyone point me in the right direction? Thanks!
19
2,097
thread by: Bill Cohagan | last post Nov 18 '05 by: Bill Cohagan
I'm constructing an ASP page that I'd like to test by writing a program that simulates "many" users hitting the submit button on a form. I assume it's possible to manually construct an httprequest object, but the docs are more oriented towards using one that already exists. Am I on the right track or is there an easier way? In my case the...
19
2,310
thread by: ree32 | last post Nov 18 '05 by: ree32
We have an intranet setup but when you try and connect from outside the network using a windows login & the internet the ASP.net pages (.aspx) on the intranet will not load but the old asp pages (.asp) load. Whats more frustrating is the fact eventhe errors will not show, I have even tried to change the customerrors to "off" from "remote...
19
1,519
thread by: Frederik | last post Nov 19 '05 by: serge calderara
Hi all, Situation: - 2 computers behind router/switch; - dhcp enabled on router; - computer name 1 = cpuA (WinXP Pro); - computer name 2 = cpuB (WinXP Home); - cpuA and cpuB can access each other's resources; - cpuA runs IIS with asp.net website; - cpuA and cpuB are in the same workgroup and have
19
2,519
thread by: Siobhan | last post Nov 19 '05 by: Siobhan
Hi What is the recommended way to store a user's database credentials across the pages of a web application so that each time the database is accessed the system doesn't have to ask them for their username and password again We have previously stored these in a session variable (encrypted) and retrieved from their - but are worried about the...
19
3,850
thread by: LP | last post Nov 19 '05 by: Brian Bischof
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set ReuseParameterValuesOnRefresh="True" in a viewer, but it still doesn't work. Did anyone run into this problem. What's the solution? Please help. Thank you
19
1,758
thread by: Linda | last post Nov 19 '05 by: Juan T. Llibre
In classic ASP I used to have a file called settings.asp included on every page of my web, it consisted of a number of different settings unique to this application, among them the database path etc. I used to set some of the values contidional to which server executed the script (see listing below). This way I could download the files, edit...
19
1,650
thread by: WebMatrix | last post Nov 19 '05 by: Kevin Spencer
Hi, I developed ASP.NET application in VB.NET about a year ago; it has been in production since. Now they want to add new features change some of the existing ones, it's not a major rework, but probably a week of work or so. My dilemma is that I have switched to C# since than and want to continue coding in C#. Now would be a good time to...
19
2,245
thread by: Swaregirl | last post Nov 19 '05 by: Kevin Spencer
Hello, I would like to build a website using ASP.NET. I would like website visitors to be able to download code that I would like to make available to them and that would be residing on my personal server. Are there any code samples or books that someone can recommend so that I can implement this. I would prefer VB.NET code, but I am...
19
3,189
thread by: Diego F. | last post Nov 19 '05 by: Nicole Calinoiu
I think I'll never come across that error. It happens when running code from a DLL that tries to write to disk. I added permissions in the project folder, the wwwroot and in IIS to NETWORK_SERVICE and Everyone, with Full Control to see if it's a permissions problem. The project is hosted in a Windows 2003 Server and developed from PCs in a...
19
1,461
thread by: Nathan Sokalski | last post Nov 19 '05 by: Martyn
I am trying to create graphics with GDI+ that include transparency. However, the transparency never seems to show up, even though my colors have an alpha value of 0. How can I generate a graphic that is completely transparent in certain areas (so that the web page background shows through)? I save my graphics as gif files. I would appreciate,...
19
10,169
thread by: Steve Franks | last post Nov 19 '05 by: Steve Franks
I am using VS.NET 2005 beta 2. When I run my project locally using the default ASP.NET Development Web Server it runs using a root address like this: http://localhost:11243/testsite/ However when I deploy to a remote test server running real IIS, the real root of my application becomes: http://localhost/ What I want to do is have it so...
19
2,959
thread by: Will Lastname | last post Nov 19 '05 by: Will Lastname
In one of the applications that I'm working on I have 2 sets of functions that build different datasets. Imagine 4 columns in a datagrid. Inside those 4 columns I have nested datalists. Two of the datalists' datasources point to database A and the other two point to database B. This effect allows the client to perform a side-by-side...
19
3,467
thread by: Joe | last post Nov 19 '05 by: Elton W
I have an aspx page (referred to here as page_1) with a datagrid whose first column contains hyperlinks. When a user clicks one of these hyperlinks, he will navigate to another aspx page (referred to here as page_2). I need to cache the value of the link's text (hyperlink.text property) so that I can use it in the page_load event of page_2....
19
3,732
thread by: Alan Silver | last post Nov 19 '05 by: Alan Silver
Hello, I have been developing ASP.NET with a text editor so far (better way to learn initially), and have now been trying Visual Web Developer. I want to create a project for an existing site and add the files to it. I can add my .aspx and .cs (code-behind) files, but VWD doesn't know which .cs file si the code-behind for any particular...
19
2,510
thread by: Jaime Stuardo | last post Nov 19 '05 by: Juan T. Llibre
Hi all.. I have created a business logic component that is used from my ASP.NET webform. It works, but connection string to the database is hard coded, as in this method : public DataSet GetCategories() { SqlConnection conn = new SqlConnection("Data Source=DEVSERVER;Initial Catalog=XXXX;User ID=X;Password=Y");
19
1,863
thread by: Andrew Chalk | last post Dec 19 '05 by: Rob Meade
How do I do file download from an ASP.NET v1.x page? Specifically if I have a link e.g. "Download" in a datagrid what code will cause the file download dialog to appear to the user? Many thanks.
19
3,080
thread by: arunkumar_m2001 | last post Jan 12 '06 by: arunkumar_m2001
Can Somebody help me to code a timed test. Actually I want to implement a timer in a web application which will pop-up an alert automatically by refreshing the web page after a specific time. Thanks Arun
19
2,160
thread by: darrel | last post Jan 30 '06 by: darrel
On my vb.net page, I have 4 sets of inputs + form buttons. example: Search: (GO) Zip: (GO) County: (GO) County: (GO) The problem is if I go to the page, type in a zip code, and hit enter.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.