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 > september 2005 > threads for friday september 16

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

Best Way to Maintain User Security Token Across Multiple Servers?
Posted by Larry Page at 9/16/2005 9:21:41 PM
What started off as a request for a Single Sign On solution is grown to the point where I need to make some long term design decisions and I'm hoping to get some input on how others are handling the same issues. I've spent the last two years moving applications to an intranet web portal, whic...more >>


Dynamically Add and Position Web Controls
Posted by Landley at 9/16/2005 8:25:51 PM
Hi, Has anyone got some sample code to add web controls and position them on a web page? Cheers, Landers ...more >>

Browser not requested to authenticate if Site is Trusted
Posted by Larry Page at 9/16/2005 8:22:33 PM
OK, I've searched and I'm stumped. Many of or intranet users have configured our portal as a 'trusted site' in their browsers. This keeps them from getting prompted to logon when accessing pages while at the office. The problem is, when they attempt to access the same pages remotely, they...more >>

how to force download
Posted by greg at 9/16/2005 6:57:58 PM
Hi I have a link on a page that points to a file inside the site that I want to be downloaded loke in page_load I write linkFile.NavigateUrl = Request.ApplicationPath + "/somepath/file.iif"; This file is a text file so when user clicks onthat link it displays in the browser the contents...more >>

Visual Studio keeps removing my closing </li> tags
Posted by Nathan Sokalski at 9/16/2005 5:37:25 PM
I have a section in my ASP.NET code where I have an HTML unordered list. Visual Studio keeps removing the closing list item tags, except for the last list item. In other words, Visual Studio makes my code look like the following: <ul> <li>adasf <li>asdfsa <li>asdfd <li>adfsdf</l...more >>

Aliased column in stored procedure not seen by datagrid
Posted by .Net Sports at 9/16/2005 4:46:51 PM
i have an aliased column in an sql statement that works fine when displaying its output in a datagrid, but when I transfer the sql statement into a stored procedure , the datagrid can't see it. I get an error "{"DataBinder.Eval: 'System.Data.DataRowView' does not contain a property with the name...more >>

HTTPWebRequest Date Header
Posted by Mike Koerner at 9/16/2005 3:58:48 PM
Hi, I am having problems setting the HttpWebRequest Date header. I understand that it is a restricted header and I do receive the "This header must be modified with the appropriate property." Is there a way to make sure that the date header is sent over or a way to work around this excep...more >>

DataAdapter
Posted by Stephen Noronha at 9/16/2005 3:27:14 PM
I have a question, please correct me if I am wrong. I am assuming that a dataadapter establishes a connection and after filling the dataset or datatable or whatever, will close the connection to the DB right??? If yes, is there any reason that the connection get disconnected/timeout and ho...more >>



Initialize not being called
Posted by bryan NO[at]SPAM newsgroups.nospam at 9/16/2005 3:05:45 PM
I'm using the UIP App block and I have overridden the Initialize method, but my override never gets called. Here's the code: public override void Initialize(TaskArgumentsHolder args, ViewSettings settings) { base.Initialize (args, settings); Logger.Write("Initialize"); } Any ide...more >>

esitmate for dataset weight
Posted by rodchar at 9/16/2005 2:06:02 PM
hey all, how many records is considered a lot to hold in a dataset? thanks, rodchar...more >>

SqlException: Timeout expired
Posted by Stephen Noronha at 9/16/2005 1:51:26 PM
Hi, I have an unusual error, "System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding......and so on " I have never seen such an error. Yes, i do agree that the SP takes anywhere b/w 2-5 min to re...more >>

custom container controls that work at design-time?
Posted by PJ6 at 9/16/2005 1:50:09 PM
I have a simple container that I want to be able to use at design-time - as in, be able to drag a control into it and drop it in. I already went through of some problems in WinForms that this kind of functionality presents, so I don't exactly need it that nice - I'd be satisfied with just manu...more >>

Server error with Emailing
Posted by Elmo Watson at 9/16/2005 1:41:52 PM
I have a script I ran against a database table of emails - - sendning emails out to all who signed up - - However, I got the following error, running the script: The server rejected one or more recipient addresses. The server response was: 501 5.5.4 Invalid Address I'm just confused - I wou...more >>

Regex help needed
Posted by Alvin Bruney - ASP.NET MVP at 9/16/2005 1:00:43 PM
I need help with a regular expressions the expression should match anything before a /graph? 1114035564 10.30.1.130 78723 220.99 202.61 200 1927262 0 - /graph?some_stuff_goes_here 1114035564 10.30.1.130 78723 220.99 202.61 200 1927262 0 - should be a match. I'm having trouble nailing it do...more >>

debugging asp.net commerce site with ssl and certificate authentic
Posted by Alien2_51 at 9/16/2005 12:02:01 PM
I have a commerce server application that's accessible from our internal users via integrated security and accessible to external users via certificate and ssl. I have a problem that's only occuring only when the user is authenticated using the certificate. I want to run the application debug ...more >>

IIS6 not logging Authenticated Usernames
Posted by Joe at 9/16/2005 11:53:05 AM
Hi, A part of our ASP website is password protected. People need to create accounts in order to gain access to the secured website. The username is email. After the user logs in a session cookie is created. On each secured page a check is made for session cookie. If this session cookie exi...more >>

Cookies:Sites which always work
Posted by Logician at 9/16/2005 11:25:52 AM
Objective To build a site which works with ALL client systems, eg firewalls, disabled cookies, etc Current Site Works with HTTP cookies and when I try and convert to Session Ids and cookieless "cookies" for a browser with disabled cookies it fails when the pages redirect. Request A...more >>

Atlas
Posted by toddsecondary NO[at]SPAM hotmail.com at 9/16/2005 11:12:56 AM
Has anyone been playing around with the Atlas bits released this week at the PDC? Todd -- http://www.techstockpile.com/ ...more >>

Include files
Posted by Ramon Rocha at 9/16/2005 11:05:48 AM
Dear friends, How do I do to includes files .aspx in ASP.NET pages <script></script>? Ex: config.aspx ------------ Dim strLanguage as string strLanguage = "en-US" home.aspx ----------- <script runat="server"> Sub Page_Load(... 'how do I do to include config.aspx here????...more >>

Page Controls - FindControl - Form1
Posted by Mr Newbie at 9/16/2005 10:47:27 AM
Hi , The following code in the Page_Load event will add a textbox to the webform. The question is regarding the name of the form "Form1". Q1.) Is this something which ASP.NET names arbitarily as "Form1" or is this a default property somewhere Q2.) And, just out of interest can this be cha...more >>

The name of the type of control
Posted by simon at 9/16/2005 10:11:46 AM
I have button in asp:repeater control. <asp:Button Runat=server ID=btnPList Text="..." CommandArgument='<%# DataBinder.Eval(Container.DataItem,"datumP")%>'></asp:Button> In code behind I use the item-command event of data repeater: Private Sub rprPlists_ItemCommand(ByVal source As Object...more >>

Microsoft's new "Expressions" product?
Posted by John Dalberg at 9/16/2005 9:49:41 AM
How does this product fit in the scheme of developing ASP.NET 2.0 websites? Does it compliment Visual Web Developer 2005 Express? Expected release time frame? http://www.microsoft.com/products/expression/en/web_designer/default.aspx -- John Dalberg...more >>

Error message
Posted by Chris Davoli at 9/16/2005 9:45:05 AM
I bring up a .Net application in Visual Studio.Net and I get the following message: Visual Studio.Net has detected that the specified web server is nor running ASP.Net version 1.1. You will be unable to run ASP.NET web applications or services. I have Microsoft Framework 1.1 installed....more >>

IIS6 and Windows Authentication
Posted by Sam at 9/16/2005 9:43:06 AM
We have a small ASP.Net app that serves only a specific department. We would like to use windows authentication and only allow the dept folks access the web app. Use IIS6, Windows 2003, a member server of AD domain. Now, we dont want to use IP address based auth. The dept has a group created ...more >>

Single Sign On - Transfer of credential between webapps....
Posted by aure_bobo NO[at]SPAM yahoo.fr at 9/16/2005 9:33:21 AM
Hi all, I'm currently developing a system with several webapps in ASP.NET/C#. One of my website is used to login user : I will call this website Webapp1. Depending on the user attributes, I will send the user to an another website (let's Webapp2 in my example), where I would like to login...more >>

IIS question
Posted by Roy at 9/16/2005 9:30:07 AM
Hi all, Is it possible to create a .NET Web application from a machine that doesn't have IIS installed and reference another IIS? Thanks in advance, Roy...more >>

Export Datagrid to text file for froogle feed
Posted by footballhead NO[at]SPAM gmail.com at 9/16/2005 8:24:29 AM
I have a page with a datagrid that I have configured with all the information I need to provide to froogle for listing my products on their site. I am having trouble finding a way to successfully save the data in this datagrid as a text file. I am somewhat limited in that I do _NOT_ have acces...more >>

is this redundant...
Posted by rodchar at 9/16/2005 8:13:01 AM
hey all, Private Property mEmployeeDataset() As DsHRLIBR24 Get Return DirectCast(Session("oDs"), DsHRLIBR24) End Get Set(ByVal Value As DsHRLIBR24) Session("oDs") = Value End Set End Property Is my DirectCast needed in this ...more >>

Validation controls and postback
Posted by Tim Payne at 9/16/2005 8:04:20 AM
I've noticed an odd behaviour on a couple of site when validation controls are used with client side script. Even though the form is valid, the postback event is not fired. Everything works fine when enableclientscript is set to false. It usually happens on sites that have been moved from one ...more >>

Enumerate Argument List
Posted by tricky one at 9/16/2005 8:01:20 AM
Anyone know of a way to enumerate the argument list of a function in VB.NET. For example I have a Function add_user (u_id AS INT, u_first_name AS VARCHAR(50), u_last_name AS VARCHAR(50)). I want to be able to do something like this: For each argument in add_user.argumentlist Select Case...more >>

multirecord grid cells - how??
Posted by drdave NO[at]SPAM canoemail.com at 9/16/2005 6:01:19 AM
I need to output my data in a grid fashion but some of the cells will have more than 1 record, I have been wrestling with the best solution for this. I need data in this fashion: rowheader col1 col2 col3 col4 row1 data data data data data data d...more >>

Loading an aspx page in a fram from another aspx page
Posted by RML at 9/16/2005 5:41:09 AM
Hi All, I have a web application who's index.htm page is a frameset containing 2 frames (Frame1 & Frame2). I have each frames SRC property set to an aspx page. I would like to re-load the aspx page in Frame1 when a button is pressed on the aspx page in Frame2. Can this be done? RML...more >>

Reapeter and DAtaList
Posted by serge calderara at 9/16/2005 4:14:03 AM
Dear all, I try to understand how this Repeater and DatalIst works but sounds really confusing. Why if I do the following code I have a completly balnk page, not data gets display and even no eror ? OleDbDataAdapter1.Fill(ds) Repeater1.DataSource = ds Repeater1.DataBind() ...more >>

share session between more than one web application
Posted by Ahmed at 9/16/2005 3:40:04 AM
Dear All, I have three web applications that I want to provide one single web interface to all of them. If I am able to share the session between them, It will be great. so is this possibel?...more >>

Updating contents of XML node
Posted by Web Team NO[at]SPAM Borough of Poole at 9/16/2005 3:09:14 AM
Hi All, I'm trying to update the contents of an XML node. My original code: Dim loXMLDoc As XmlDocument = New XmlDocument Dim loNode As XmlNode loXMLDoc.Load(HttpContext.Current.Server.MapPath(strXMLFileLocation)) loNode = loXMLDoc.SelectSingleNode("/Site/Content/TextArea" & textAreaID) l...more >>

ASP.NET and Excel Report
Posted by Jyoti Prakash Deka at 9/16/2005 2:13:02 AM
I want a report in Excel to be generated on the Fly through ASP.NET One Dataset Contains 2 DataTable first Datatable will have all employees name with few columns which will have some integer value and for each value there will be colors e.g 1-red,2-blue..till 4. each colors will be r...more >>

I need help formatig datagrid
Posted by Aahz at 9/16/2005 1:53:01 AM
Hello all; I have problem formating datagrid, right now I have this classic type of format: ------------------------------ | item1 | item2 | item3 | ------------------------------ | item1 | item2 | item3 | ------------------------------ but what i need is this: ...more >>

DataList Controls with a DropDownList
Posted by Oliver at 9/16/2005 1:48:02 AM
Hi, I've created a shopping cart using DataList control; it has all the usual command buttons; Add, and Delete. However, I want to add a DropDownList so that the user can change the product (very small product list) and I want the SelectedIndexChanged event to be posted back to the Data Lis...more >>

File Chooser...
Posted by Ryo at 9/16/2005 12:24:13 AM
Hello ! I want to do a button on a page that propose to choose a file (on the client side) and get the path of the file. I know that there are the HTMLInputFile and the FileUpload control, but I don't want that the user can see the location of the file in a textbox. A solution ? Thanks....more >>

Looking for free dotnet forum
Posted by Antonio D'Ottavio at 9/16/2005 12:00:00 AM
Hy, inside my personal site I use a free asp forum named Snitz Forum 2000, it is free nd simple to install and also support ACCESS but it is not possible to load images and files, I want to know is someone know some free forum in dotnet using access and simple to install and with possibility to ...more >>

Cookies
Posted by Mr Newbie at 9/16/2005 12:00:00 AM
I am having trouble writing cookies despite adding the cookie to the Response.Cookeies collection. The Request.Browser.Cookies returns TRUE so I know the browser is storing cookies and I can even see like Google cookies in Documents and Settings/MyName/Cookies however there is never a cookie ...more >>

C# MS Access DateTime insert query error Please
Posted by Annie at 9/16/2005 12:00:00 AM
hello guys, I have little experience working with C# and MS Access ... I am having an insert query with one datetime field and a boolean and couple of text and number fields as below: "Insert into order (OrderClientID, OrderDate, OrderOfferID, OrderIsSpecial, OrderShipment) Values (6, #...more >>

Check which button is clicked
Posted by Shawn at 9/16/2005 12:00:00 AM
Hi. I have a ToolBar with a couple of ToolBarButtons. On postback after clicking on of the buttons Page_Load is called first then the ToolBarButton's click event is called. Is there anyway for me to check in Page_Load which of the buttons have been clicked? Thanks, Shawn ...more >>

Microsoft FingerPrint Reader
Posted by Javier Camacho at 9/16/2005 12:00:00 AM
Hi , We want to deploy a Microsoft Fingerprint solution in order to authenticate our ASP.NET applications. I want to know if exists a SDK to Microsoft FingerPrint Reader or if We have to use the Fingerprinter manager supplies by Microsoft. Other question, can FingerPrint used to autentic...more >>

How to ... Dropdownlist sourced by a DB inside a datalist ??
Posted by Antonio D'Ottavio at 9/16/2005 12:00:00 AM
Good Morning, In my web page I've a datalist that is sourced by a database, the problem is that I want that one of the column of the datalist contain a dropdownbox that also is sourced by a table in the database. The problem is is the error : System.NullReferenceException: Reference to...more >>

Visio vs DotNet
Posted by Srikanth Yellapragada at 9/16/2005 12:00:00 AM
Hi all, Is there any way to get class structures defined in Visio into the dotnet through some option of import?? thanks Sri ...more >>

Asp.Net 2.0 Question.
Posted by Shapper at 9/16/2005 12:00:00 AM
Hello, I have been working with Asp.Net 1.1 and VB.Net. In Asp.Net 2.0 will both VB.Net and C# be available? What are the advantages and disadvantages of VB.Net and C#? Should I keep working with VB.Net or change to C#? Thanks, Miguel ...more >>

Session variables issue
Posted by EDom at 9/16/2005 12:00:00 AM
Hi, I store dataset for each page in the session and a reference to the session key is stored in viewstate. But now on which event I should clear the session variables. Because when the page is closed or I navigate to another page the session variables still stays as long as even a single page r...more >>

How to embed a Datagrid within an IFRAME???
Posted by Romantschik at 9/16/2005 12:00:00 AM
Hi guys, i searched the web for a tutorial of embedding a datagrid control within an iframe. But I didn't find any tutorials. Can somebody help me or give me some short code. Programming language is C#. Any suggestions for me? Greets, Roman...more >>


DevelopmentNow Blog