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 > january 2006 > threads for wednesday january 11

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

Is Frameset Emulation possible with ASP.Net 2005?
Posted by Jim at 1/11/2006 11:51:56 PM
I want to have a left frame with links to interesting websites and load the selected website into the right frame. ASP.Net does not support frameset creation or editing int design view. So, there must be a way to emulate the functionality that was so easy with framesets. I just can't fi...more >>

ResolveUrl in a static helper method
Posted by Lloyd Dupont at 1/11/2006 11:33:53 PM
When I want some app resources I usually write something like: MapPath(ResolveUrl("~/App_Data/MyResource")) How could I do the same thing in a static helper method? I mean MapPath & ResolveUrl are instance method of Page, so a static method can't use them... -- I have taken a vow of pove...more >>

HELP! ASP.NET 2.0 breaks client side javascript! Is WebResource.axd the issue?
Posted by Dav at 1/11/2006 10:33:41 PM
Hi, I moved over client side javascript code from an asp.net 1.1 project to an asp.net 2.0 project. When I view the web page, I get all these "is null or is not object" javascript errors. Is there something that I am missing? Is WebResource.axd the issue? Please post complete solutions a...more >>

Datagrid EnableViewState problem
Posted by Calvin KD at 1/11/2006 10:30:02 PM
Hi everyone, I have a datagrid to display search results. The search results at this stage we only return the first 500 records to speed up the search. The problem is, if I turn the EnableViewState on, the search regularly failed with a message that says tempdb is full... It does not however ...more >>

Request.QueryString problem
Posted by Paul at 1/11/2006 10:25:02 PM
I am creating a asp.net web page on c#. When call the url which is my web project... http://localhost/webapp/testpage.aspx?test=1234#item On the load of the page testpage.aspx I have code... Request.QueryString["test"] This returns 1234` Why does is stop at the #? How do I make is work ...more >>

Themes & Layout
Posted by Sol at 1/11/2006 9:23:39 PM
Hi Guys, I'm looking for some advice / guidelines on using Themes with an application I am working on. The application needs to allow people to customize the appearance utilizing what I would consider to be a Themeing and Skinning mechanism. What is critical is that this should be as flexib...more >>

Server Reference In SQL Server 2005 Connection String
Posted by Joey at 1/11/2006 9:21:04 PM
Hello all, I develop on two or three different machines at different times. I need a connection string in my app that will always reference the local instance (for whatever machine) of Microsoft SQL Server 2005. I have found that the following will work, but I have to change the machine name ...more >>

ASP.Net 2.0: where do you keep login data ?
Posted by Jarod at 1/11/2006 8:39:33 PM
Hey I will be creating asp.net 2.0 application and I need to create whole database stuff... But I have to use SQL S2000 not 05. So first question do you use default provider ( AspNetSqlProvider or something like this in a real world applications ? )? What's best approach to keep user data I n...more >>



mssql export to webhost, when creating asp.net pages
Posted by syska at 1/11/2006 8:17:43 PM
Hi, I talked to a Microsoft person for about 4 month ago, and he said that microsoft was developing a tool/program, so it was easier to deplay the mssql database to the webhost.... at that time it was still beta. I can't remember the name of it.... Are there any one that can confirm that...more >>

urlMappings interaction with web.config hierarchy
Posted by Luke Dalessandro at 1/11/2006 7:16:34 PM
I have an application with the following layout /root/ /root/Default.aspx /root/web.config /root/child/ /root/child/web.config web.config has a custom configuration section "testSection" with the basic layout of: <testSection> <tests> ...more >>

Non persistent cookie timeout?
Posted by bashful.belle NO[at]SPAM gmail.com at 1/11/2006 6:37:28 PM
I'm using Forms authentication and a non persistent cookie in my asp.net application. How do i get the cookie to time out after a period of inactivity, say 10 minutes, and force the user to login again? If I close the browser, the next time I use the application, it makes me log in - and That's...more >>

Is there any "true" W3C standard browser?
Posted by Lau Lei Cheong at 1/11/2006 6:28:16 PM
Hello, Actually, I'm wondering if there's anything of the sort avaliable in the wild - a developer oriented W3C browser. It's kinda W3C's online validation service, just that it runs on locahost as an application. It reads a config file to see what is allowed to pass, and what is de...more >>

Timer Not Working - Can Anyone Explain Why and How to fix?
Posted by Sir Bill at 1/11/2006 5:58:53 PM
I can not seem to get a system timer to work for me. Here is the code both the aspx and aspx.vb file. The textbox displays "Timer Started" and never anything else. What am I missing? <%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %> ...more >>

security error when I try to access the event log from my asp.net app.
Posted by Kay at 1/11/2006 5:56:37 PM
Hello, I am trying to write to the event log from my asp.net application but I get a System.Security.SecurityException exception with the message "Requested registry access is not allowed." String I have followed the suggested solution which is 1. Launch RegEdit 2. Navigate to HKE...more >>

User Interface Question
Posted by Phillip N Rounds at 1/11/2006 5:35:09 PM
I have a webform ( ASP.NET 1.1, CodeBehinde = C#). The user selects an address item from a dropdown list box. The details of the address then populate appropriate text boxes. Each textbox has an OnTextChange(), which serves several (necessary) purposes. One of these is that if there is a ...more >>

File Upload issue
Posted by Giuseppe Esposito at 1/11/2006 5:22:36 PM
Well, I'm trying to create my own file uploader, just to start with something that can be usefull for me in the later days. I did it. Certainly it was so simple as I thought, actually I've some little bugs that I'm going to correct. But the thing that I'm not able to do is understand why, ...more >>

Listbox without vertical scrollbar?
Posted by SJ at 1/11/2006 5:00:47 PM
Is it possible to have a Listbox with no scrollbar? I have 3 items in my listbox, and I have the Rows property set to 3. It still shows me the scrollbar. Any way to get rid of the vertical scrollbar? Thanks. -SJ ...more >>

how to access a group of controls?
Posted by c676228 at 1/11/2006 4:52:02 PM
Hi, I created a group of user controls in an aspx form. which is as follow: <body> <form id="Form1" method="post" runat="server"> <SUBWAY:PEOPLEINFO id="Peopleinfo0" runat="server" Caption="Dependent Information"></SUBWAY:PEOPLEINFO> <p></p> <SUBWAY:PEOPLEINFO id="Peopleinfo1" ...more >>

C# coding Standards!!!
Posted by Adam Knight at 1/11/2006 4:47:41 PM
Hi all, Can anyone tell me if there are any generally acceppted C# coding standards. Any online resources / tutuorials detailing them? Cheers, Adam ...more >>

Menu Control - ASP.NET 2.0
Posted by Jay at 1/11/2006 4:26:07 PM
I have been experimenting with the new menu control. It is acutally quite nice. When you set the ImageURL, is there a way to have roll over images? Rollovers are pretty much the standard for websites and they seem to not be part of any asp.net controls when they very well could be. jay ...more >>

how to access user control in aspx file
Posted by c676228 at 1/11/2006 4:05:02 PM
Hi, I guess I am confused. In aspx script, I mean (you won't use Codebehind="enrollinfo.aspx.vb", but mix code with html and code together) You can access user control's property directly. Since I am useing visual studio .net, the html and code are seperated. I have the following aspx code ...more >>

Question with regards to VS.NET2005 IDE and ASP.NET 2.0
Posted by A.M-SG at 1/11/2006 3:51:44 PM
Hi, I understand that be default VS2005 uses the ASP.NET development server to run and test ASP.NET applications. Is it possible that we use IIS for ASP.NET application debugging in new IDE environment? Thank you, Alan ...more >>

Forcing load of assembly
Posted by Mantorok at 1/11/2006 3:05:59 PM
Hi I'm trying to load an assembly using the Assembly.LoadFile method but I'm having trouble doing this in ASP.Net during debug as it has a dynamic directory containing the dlls - and I can't find out which directory it is using. Any ideas? Thanks Kev ...more >>

Opening VS2005 sln from the windows shell
Posted by Praveen at 1/11/2006 2:23:09 PM
Hi, I copied a VS2005 sln and it's related files (just the aspx which is right beside it) from one m/c to another m/c into the exact same PHYSICAL DIR as well as the exact same VIRTUAL DIR and APP DIR. This doesn't work: - Double clicking on the sln to make VS.Net open it. (Basically, not...more >>

Option to update, delete not available when creating SqlDataSource
Posted by Jesse Liberty at 1/11/2006 2:01:33 PM
I created a new database (tried both in 2005 and in SQL 2000) and then created a SqlDataSource control in an asp.net application. Clicked on the smart tag and whose configure data source. When I click Advanced should see the Generate Insert, Update and Delete statements check box but it is gra...more >>

Windows Service Error
Posted by Stephen at 1/11/2006 1:16:19 PM
Hi, I have a windows service to do a "task" on my local box (move files) from C:\Test to D:\Test Now I want to change the "task" to move from C:\Test to my user space on the network I tried 2 things and it gave me 2 different errors 1. from C:\Test to \\(Network)\Stephen\Test it ga...more >>

Open Popup window
Posted by Houston Lucifer at 1/11/2006 1:15:03 PM
Hi all, I have a gridview which in the edit mode has a column which has two radio buttons (Approve and Deny). When the user selects deny i have to popup a window with the description textbox where the user can enter a description on why he denied. Is there a way i can do it? If i am using the ...more >>

Regular Expressions
Posted by P K at 1/11/2006 1:01:01 PM
I have an XML in which I have to comment out the <responseopt> tag the tags between this tag should not be commented I plan to use regular expressions The tags looks like this <responseopt value="1"><someothertag></someothertag></responseopt> <responseopt value="2"><someothertag></someoth...more >>

how to pass value from first form to second form?
Posted by c676228 at 1/11/2006 12:35:03 PM
Hi, This is my first time to post asp.net question on this forum. I have a question for "How to pass the first form value to the next form" I have enrollinfo.aspx form which look like as follow: <form id="Form1" method="post" runat="server"> <Subway:Address id="address" runat="serve...more >>

Type.GetType failing
Posted by Mantorok at 1/11/2006 12:33:52 PM
Hi all In my Application_Start event handler I have: Type t = Type.GetType("Ccc.CONTACT.Person"); This returns null - the Person class comes from a referenced assembly - is there any reason this doesn't work? Thanks Kev ...more >>

Frames and Response.Redirect / Response.Write - Refresh
Posted by Charles A. Lackman at 1/11/2006 12:28:04 PM
Hello, I have an ASPX page that is storing data into a session Variable: Session("Name") = "Chuck" When the User clicks "Next" on the page, it naviages to "Details.aspx", Details.aspx has two frames (one on the left and another on the right). frameset rows="90,100%" border="0" frameSpacin...more >>

Maintain Tree View State
Posted by Andrew Robinson at 1/11/2006 12:09:06 PM
I have a treeview control that I use as a menu & navigation control within a master page. The nodes for this control are loaded from a database which contains the text and url of each like and the hierarchy of the menu tree. All pretty normal stuff. Is there any simple method of maintaining...more >>

Changing the pages title
Posted by Michael Groeger at 1/11/2006 11:49:20 AM
Hi all, is there a way to change the title of a page dynamically from code-behind? Regards, Michael ...more >>

Why it does not work when accessing from internet?
Posted by Andrew at 1/11/2006 11:46:05 AM
Hello friends, I am building a website hosted through DSL box. It uses Form Authentication. When I tested from local network machine, it worked fine: Asking me to login if I tried non-public pages. After I typed in user name and password, it directed me to the page I wanted. However, i...more >>

Problem w/ disabling buttons after onclick on clientside
Posted by Michael Groeger at 1/11/2006 11:42:59 AM
Hi all, I want to disable a button after it's clicked on the clients side, so that this cannot be clicked twice. I tried this with adding the "onclick" attribute to the button and disable the button then in javascript. Then I tried it using Page.RegisterOnSubmitStatement(), but when I then cli...more >>

How do I create a hyperlink on status bar
Posted by smitacharya NO[at]SPAM gmail.com at 1/11/2006 11:28:23 AM
Hi, I am trying to convert the text on status bar into hyperlink. Is there a way to do so? Thank you in advance. -Smita ...more >>

First time crystal report user - How do i create a crystal reports from asp.net web form?
Posted by Learner at 1/11/2006 11:11:54 AM
Hi there, I am a first time crystal user. We have a need to create a crystal report from my web form. Is there a blog or an article that explains step by step how do i create a report? Please help. Thanks -L ...more >>

.NET Remoting within a web page
Posted by ThunderMusic at 1/11/2006 10:54:39 AM
Hi, I have to use .NET remoting in my web application. I'm not familiar at all with this in a web page. I've used it a lot in Windows Applications thought... What I would like to know is : Where do I put my "RemotingConfiguration.Configure("client.config")" line? is putting it in the Form_...more >>

how to execute and capture .aspx output
Posted by John Mott at 1/11/2006 10:46:32 AM
Is there a way for a web form to invoke an .aspx page and get its output using the framework? I suppose i can create a client app and execute the url but I'm thinking there must be a way to do it with the framework. thanks, john ...more >>

Repeater Woes
Posted by Fao, Sean at 1/11/2006 10:35:09 AM
I'm trying to edit the data as it is being bound in an ASP.NET 1.1 Repeater, but I'm having no luck. The relevant portion of my template is pasted below: <tr> <td colspan="4"> <asp:Label id="CommentsLabel" runat="server"> <%# DataBinder.Eval(Container.DataItem, "Comments") ...more >>

CreateInstance problem
Posted by mayetski NO[at]SPAM gmail.com at 1/11/2006 10:01:01 AM
Hello! I have this kind of code before: Select Case iSelected Case 1 obj = New CompanyCollection Case 2 obj = New ApplicationHostedCollection End Select A certain object is created depending on the selected number. However, I w...more >>

Help, Strange Session Problem
Posted by fizbang NO[at]SPAM gmail.com at 1/11/2006 9:36:45 AM
This should be impossible, but for some reason, people are not getting individual sessions. They start a session. I set the session("application") variable to the unique number generated by an identity column on our sql server. I only set session("application") at the begiinning and it shoul...more >>

Help, Strange Session Problem
Posted by fizbang NO[at]SPAM gmail.com at 1/11/2006 9:36:29 AM
This should be impossible, but for some reason, people are not getting individual sessions. They start a session. I set the session("application") variable to the unique number generated by an identity column on our sql server. I only set session("application") at the begiinning and it shoul...more >>

Why do they have different session IDs?
Posted by Andrew at 1/11/2006 9:32:05 AM
Hello, I enabled application Trace in web.config file. After a few queries through internet from a machine not belong to our local network, I checked trace.axd. In detail pages, I saw that each page had a different Session ID, is that normal? I thought they should have the same session ID...more >>

CreateInstance problem
Posted by mayetski NO[at]SPAM gmail.com at 1/11/2006 9:13:06 AM
Hello! I have this kind of code before: Select Case iSelected Case 1 obj = New CompanyCollection Case 2 obj = New ApplicationHostedCollection End Select A certain object is created depending on the selected number. However...more >>

aspnet_wp.exe
Posted by Conrad at 1/11/2006 9:09:02 AM
What is an acceptable range for mem usage for this process? I am running ASP.Net application with a sql backend that sources sales info. I have not changed any of the default settings for machine.config. Also when should it be releasing that memory? Thanks in advance, Conrad ...more >>

Html escape text
Posted by Lloyd Dupont at 1/11/2006 8:56:57 AM
I have some text coming in a text box from the user and I would like to "Html Escape" it. That is: if the user wrote: "<name=xx/>" I would like to transform it into "&lt;name=xx/&gt;" I know there is a function for it, I just can't remember which... going to look in the doc, but though I c...more >>

Using two login pages in forms authentification?
Posted by the friendly display name at 1/11/2006 7:51:06 AM
Hello, following problem: I have set two folders in the web.config file, that should be protected against anonymous users. I am using forms authentification. Is there a way to use two login pages? If a not authentificated user wants to access secured folder1, he should be redirect to the pa...more >>

Could not access 'CDO.Message'
Posted by cbanks NO[at]SPAM bjtsupport.com at 1/11/2006 7:48:35 AM
I have read most of the posts about this and still cannot resolve my issue. I have an application using system.web.mail to send notes from one user to another. When a user logs into the application, their e-mail address is stored in a session variable. If they want to send information from wi...more >>

Using Stored Procedures with a Grid View
Posted by mimo at 1/11/2006 7:21:02 AM
Hi, I'm trying to use Stored Procedures with a Grid View and everytime I try the update and the delete stored procedures fail. By the way I am doing this through the wizard. Is there a sample somewhere on how to do this? When I type in the statements directly it works, but I really nee...more >>

Adding user to role in ASP.Net 2
Posted by Spondishy at 1/11/2006 6:50:56 AM
Hi, I'm just getting into asp.net 2 c# using the login and registration controls. I have a role called publisher and want the user adding to that role when they register and send an email to say they have registered. Do I just add the code to create the role in the CreateUserWizard_Created...more >>

Page_Load method issues with Back Button
Posted by Sridhar at 1/11/2006 6:46:04 AM
Hi, I have a question regarding the Page_Load method and Back Button of Internet explorer. I have created a webform. In that webform I have several Text Boxes. Also I have two buttons. When I click on button1, it populates the text boxes with person1 details. When I click on button2, it ...more >>

Postback and Tab order
Posted by Dusty Hackney at 1/11/2006 6:38:02 AM
Hello, I am doing web programming in VB ASP.NET. I have a group of fields that the user can tab through in order and fill in info in each of the fields. Some of the fields have code attached that runs when the value is changed in that field. However, the problem is that when postback occ...more >>

XmlHttpRequest OnReadyState Only Fires on Local Browser
Posted by JebBushell at 1/11/2006 6:20:02 AM
Hi, I'm trying to do an elementary non-postback page refresh and the following (edited) javascript snippet defines my problem: xhttp = new ActiveXObject("Msxml2.XMLHTTP"); xhttp.onreadystatechange = HandlerOnReadyStateChange; xhttp.open("GET", http://jeb.tzo.com...more >>

Failed to load viewstate
Posted by hitendra15 NO[at]SPAM gmail.com at 1/11/2006 6:16:04 AM
Hi I have created web user control which has Repeater control and Linkbutton in ItemTemplate of repeater control, following is the code for this control On first load it runs fine but when page gets post back it gives following error Failed to load viewstate. The control tree into whic...more >>

Page Always Loading
Posted by John Smith at 1/11/2006 5:50:03 AM
Hey folks, Got a weird one for you that I think may just be a bug with Internet Explorer. I have a page that hosts an IFrame. When I call Javascript in my page to change the source of the IFrame, the blue bar in Internet Explorer starts moving as if it's loading. The problem is, the blue...more >>

authentication mode error
Posted by Joe at 1/11/2006 5:42:33 AM
What I want to do is make only one page require a login. The application itself works fine. I'm getting the following error: Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a vi...more >>

Online editing?
Posted by brett at 1/11/2006 12:22:15 AM
Is there a way to use VS Studio to edit files on a remote web server? Right now, I use Cold Fusion Studio to do edits remotely. This means I need to IDEs open. Thanks, Brett ...more >>

Simple VB.Net / webservice requirement (but not simple for me....)
Posted by Dave E at 1/11/2006 12:06:54 AM
Hi folks, I have a fairly basic (and urgent) requirement, though being out of the game for a few years I'm way behind the 8-ball here. I need to do the following: - have a scheduled VB.Net executable on one server which passes encrypted data to a web server (more specifically to a web s...more >>


DevelopmentNow Blog