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 2004 > threads for thursday january 22

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

What OS is required to do ASP.NET development?
Posted by Preston Crawford at 1/22/2004 11:41:11 PM
I've been out of the Microsoft game for a while. I used to be an ASP developer and the last two years I've been doing only Java/JSP/Struts with Linux as my only home OS. I'm thinking of doing this site for my wife using ASP.NET because our host provides credit card hooks (so they say) if you use...more >>

String was not recognized as a valid Boolean
Posted by Lester Lee at 1/22/2004 11:26:05 PM
We're receiving the following error: "String was not recognized as a valid Boolean" whenever we click button1 then immediately click button2 before allowing the entire page to completely refresh/render. Under normal transaction (not clicking multiple buttons all at the same time), we don't encounter...more >>

Strongly Typed dataset
Posted by Imran at 1/22/2004 11:16:05 PM
Hello, I have a typed dataset defined in my project. I am writing a user control which needs to invoke an instance of that dataset. Problem is that the page developer only provides the name of the dataset to my user control. I want my user control to invoke an instance of that dataset from its...more >>

Validation Question
Posted by Stefano Mostarda at 1/22/2004 9:35:04 PM
Hi there, I have a question. I have a webform with 2 buttons and 2 customvalidators. I need Customvalidators to validate user input against a database. Depending on the button I click, I want only the associated validator to perform the check. Is there a way to know what button has bee...more >>

Network access from ASPNET user
Posted by Dave Kolb at 1/22/2004 8:29:33 PM
Is there any other [simple] solution for an ASPNET application to access network resources other than running as SYSTEM, using delegation (a nightmare to get to work) or the COM+ solution? I cannot seem to impersonate a user and obtain network credentials using the DuplicateTokenEx call with app...more >>

Delay in processing of aspx pages?
Posted by Kristoffer Arfvidson at 1/22/2004 8:06:54 PM
In my server I notice a small delay of about 2 seconds before it starts processing aspx documents... Because I have first off an standard asp page, witch contains the frameset and title and so on... This one comes up quickly, then my IE says Ready... and waits for about 2 seconds, then, it st...more >>

OnClick & ButtonClick
Posted by Vinod I at 1/22/2004 7:21:11 PM
Hi Team, I want execute "Onclick" event whcih will trigger to a ClientSide Validation Javascript and once that over, should call Server side Button_Click(). Please let me know how to do this for a Server side Button Control. Thanks in advance Cheeeeeeeeeers !! ...more >>

Calling DHTML function from code behind event handler
Posted by Lachlan Gemmell at 1/22/2004 5:53:25 PM
Hello there, I'm hoping this is possible but as yet I haven't been able to find out how to do it. I have placed a client side VBScript function in the HTML of my ASP.NET page. Only under certain circumstances I want a server side button click event handler in my code behind class to trigger...more >>



DataGrid Sorting problem
Posted by Peter O'Reilly at 1/22/2004 5:11:05 PM
The DataGridSortCommandEventHandler event will *not* fire unless I *also* bind data to the datagrid event in the page load event. Very strange!!! Needless to say making two trips to the database to perform a sort is very inefficient. I've used sorting for other datagrids in other projects and...more >>

ASP.NET, DataList, and WebService Question
Posted by Roger R. Smith at 1/22/2004 5:00:15 PM
Anyway I am having a problem with Web Service and DataList in ASP.NET. so the best way to explain it would be with the MSPetShop 3.0 Application. I submitted an order using the Forms on http://localhost/MSPetShop. then I created my own ASp.NET Project and I have a form on which I have a DataList,...more >>

test for Nothing and values on the same line?
Posted by Craig Buchanan at 1/22/2004 4:46:01 PM
I'm trying to deterime if an instance of an object exists and if so, if it has a certain value. This syntax tosses an error: If (Not LastItem Is Nothing) And LastItem.Cells(3).Text = Item.Cells(3).Text Then Exit Sub Other than having a nested If Then block, is there another way? Than...more >>

DTS execution from dll
Posted by Suzanne Boyle at 1/22/2004 4:44:34 PM
Hi, I am executing a DTS package from asp.net. It works successfully when the code and PackageEventsSink class declaration is in the aspx file however when the code is compilied into a dll I get the error 'Execution was canceled by user'. Does anyone have any ideas as to what the problem co...more >>

Dataset back to XML string
Posted by MattB at 1/22/2004 4:23:44 PM
I get a dataset passed as a string in my application (passed from a c++ dll) and I convert it to a usable dataset like this: Dim XMLRead As New System.IO.StringReader(lcXML) myDataSet.ReadXml(XMLRead) ItemGrid.DataSource = myDataSet.Tables.Item(1) ItemGrid.DataBind() My question is...more >>

Calendar
Posted by Eduard Faschang at 1/22/2004 4:16:34 PM
Hallo I want mark a day in a calendar control with differnt color. I would be nice if anywho has a example Thank you Edi ...more >>

MDB server security
Posted by Murray Chapman at 1/22/2004 4:02:15 PM
Hi A question that I have wanted to ask for ages. Ho do Istop a person from downloading my access database that Iam using as part of my site backend. I am sure that the answer is fairly simple but Ihave never seen any documentation telling me how to do this. I hope that someone can help...more >>

Working with UserControls Programatically
Posted by Andrea Williams at 1/22/2004 3:45:37 PM
Does anyone know of some in depth documentation regarding how to add user controls programatically? I have a User Control, which has some basic html controls, and depending on the number selected in an HtmlSelect control's value, I need to put x number of forms (or usercontrol) on the page. I...more >>

adding strings with a quote in SQL
Posted by Thierry at 1/22/2004 3:44:00 PM
Hi, I've got a problem with adding strings with a quote in SQL. Dim LocationName As String = "for' example" Dim strQuery As String = "select count(*) as fldNumber " strQuery += "from " & TableName & " " strQuery += "where " & FieldName & " like ' " & Locati...more >>

A Couple of Questions
Posted by Wayne Wengert at 1/22/2004 3:41:07 PM
I have an aspx file that was created in a text editor - it works fine. I want to bring that into VS Net to gain the intellisence and such but I want to keep it as an in-line code arrangement (not code-behind). Can I do that? If so, how? When I create a new ASP.NET project and drag a label onto...more >>

Timeout error when sending large email
Posted by BVM at 1/22/2004 3:27:37 PM
Hi: I have a problem when sending large email(more than 20Mb) from a web = page. I got timeout error. How to overcome this problem? I am thinking = to have a thread to send email. Once the thread starts, return response = to client immediately. The client should be able to kee checking if the ...more >>

ButtonColumn
Posted by Roger at 1/22/2004 3:21:57 PM
I have a datagrid with a ButtonColumn and a BoundColumn with a value. Without showing the value, how can I make the button send back the value? ...more >>

Dynamically populating the pages in Frames
Posted by Gibs at 1/22/2004 3:17:57 PM
hi, hey i have Nested Hierarchy Frameset(one frame is on left side and the right side frame divided horzontally). I have link in the left side. based on that link i want to refresh the pages in the both frames. How could i do this. If any one can put some light on it. Thanks in Advance. Gi...more >>

File write access on server
Posted by Lloyd Sheen at 1/22/2004 3:09:42 PM
I found a sample of uploading a file to the server. This works fine. I just created a virtual directory placed the aspx file in it and navigated to the directory. No problem there. Then to make it "better" I created a new application and copied the code and HTML to a new web app. When I ru...more >>

passing a collection to a function
Posted by Hawk at 1/22/2004 3:01:08 PM
What I am doing is creating a web based email, using .net I have finised the inbox, read, delete email etc.. Im in the process of making the "create email" or compose... What the plan is, for people to be able to enter multiple "To:" "CC:" and "BCC:" I have only done the "To:" field ...more >>

ViewState
Posted by Dan at 1/22/2004 3:01:07 PM
Hi, Normally you just access ViewState with: ViewState["key"] = object; I am writing a grid utility class which provides generic event handlers to do paging/sorting etc. I want to be able to access the ViewState for the control from these classes. How do I do that? e.g. myGrid.Page.Requ...more >>

datagrid cells addrow?
Posted by Craig Buchanan at 1/22/2004 2:55:31 PM
Is there a way to add a row to a datagrid during the ItemDataBound event? I would like to add a 'header' row before the start of a group of rows. Thanks, Craig Buchanan ...more >>

ValidateInput - Compilation Error
Posted by patrickhuffer NO[at]SPAM hotmail.com at 1/22/2004 2:39:13 PM
When I open a certain page, I receive a "Compilation Error" as follows: Compiler Error Message: CS0117: 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'ValidateInput' Source Error: Line 712: this.EnableViewStateMac = true; Line 713: this.SmartN...more >>

Forms
Posted by Prince at 1/22/2004 2:37:53 PM
Given the following HTML form <form method="Post" action="www.xyz.com"> <input type="hidden" name="xxx" value="hello"> </form> If I wanted to somehow, in the page behind form of an ASP.NET page, write code that would send the value, hello, to that site www.xyz.com, how would I do it? ...more >>

How objects are stored in the session?
Posted by mirek at 1/22/2004 2:29:00 PM
Hi, I'd like to know how session variables are stored in the session. I if put a object to the session and then get it back, is this the same object or a new copy of it? The session holds references to the objects or eg. serialized byte stream? What about garbage collecting if the object l...more >>

Shut Down Machine
Posted by Michael Persaud at 1/22/2004 2:28:56 PM
.... Can you say shut down a machine with code by clicking on a button in a web page. This would also have to have some user privelage authentication through AD and probally even to a SQl database. Any ideas appreciated MP ...more >>

Print driver
Posted by George Ter-Saakov at 1/22/2004 2:24:53 PM
I need to be able to convert different documents (xls, doc, pdf ) to Tiff from ASP.NET Can anyone recommend a good print driver. There are plenty of them out there. The only catch it should not display any dialog boxes (like asking for file name, image type, ... ). I need the one whic...more >>

How To : "Thank You" message
Posted by Rob Meade at 1/22/2004 2:03:43 PM
Hi all, Ok - probably really obvious and something I'm clearly missing...but ... I have a form with 3 areas for text to be entered, the form has some validation controls, upon it being successfully completed, and submitted to the server, the text is fired off to a stored procedure on our SQL...more >>

Code Behind and IF statement on whether to display content
Posted by tpaulsmith NO[at]SPAM mindspring.com at 1/22/2004 1:59:13 PM
Ok, I have grown up on coding old ASP. Now I am moving over to ASP.net and I need to understand... I have a page where I am doing a post from an HTML page, to an aspx page and doing the insert of the form to the database and redirecting the user... that is all fine and good. Now I have a requir...more >>

@Page directive's "src=" attribute and referenceing a DLL....
Posted by Kevin Buchan at 1/22/2004 1:56:33 PM
I have a web page that I want to JIT compile using the 'src' attribute in the Page directive. I've done this many times and life has normally been great, as a result. However, I find myself in need of an assembly installed in the GAC of the destination server. Everything works fine if I ad...more >>

Popping opening a mail client and pass a subject parameter...
Posted by Charlie NO[at]SPAM CBFC at 1/22/2004 1:51:55 PM
Hi: Is there a way to pop open a mail client and pass in a text string for the subject and possibly other parts of a standard mail message? The "mailto:" attribute of hyplerlink leaves these blank. Thanks, Charlie ...more >>

Confusing design considerations
Posted by groups NO[at]SPAM willwyatt.com at 1/22/2004 1:45:03 PM
Hi all. I'm trying to figure out how to design a WebForm app that may have more than one bound DataGrid. What I want to accomplish is to create a "helper" class that I can reuse for each of the DataGrids, as well as in different projects. So here is what I have come up with so far. The first...more >>

Displaying characters that cause a validator to fail
Posted by Stephan Bour at 1/22/2004 1:38:17 PM
Hi, I have a regular expression validator that checks a text box string: <asp:RegularExpressionValidator id="SeqFormat" runat="server" Display="Static" ErrorMessage="Your sequence contains illegal characters" ControlToValidate="Sequence" ValidationExpression="^[AGTCagtc5678\n\s]{1,}$"> I'd...more >>

Photo Album
Posted by Ben Cartwright at 1/22/2004 1:38:02 PM
I'd like to create an ASP.NET-based photo album. Rather than creating a bunch of HTML pages as in a typical photo album, I'd like to leverage the dynamic capabilities of ASP.NET. Any suggestions for getting started, samples, or articles would be greatly apprecated... I'm particularly intereste...more >>

cache Dataset
Posted by Arthur Dzhelali at 1/22/2004 1:17:31 PM
Is there any way to cache dataset on one page and it will be accessible for one user? if you declare dataset shared it will stay on the server and page will be able reference to it on reload, but in this case it will be shared with other users who use the page. Right now I found work aroun...more >>

Regex Codes
Posted by Reddy at 1/22/2004 1:11:27 PM
Hi, Can anyone please help me with the regex codes for UK telephone, mobile numbers Thanks, Reddy ...more >>

UserControl awareness of calling page
Posted by MattB at 1/22/2004 1:00:57 PM
I have a UserControl that I use as a page header for my app. I want it to vary depending on what page it's being called by. In the CodeBehind, how to I refer to the calling page? Thanks! -- Matt "Gravity. It's not just a good idea, it's the law!" ...more >>

Getting information from a popup window
Posted by Gustavo De la Espriella at 1/22/2004 12:59:04 PM
Hi, I have the following problem. To fill a textbox in one page, I call a popup window with the choices. And when I click OK in this popup window, I need its data to go directly to the text box in the page that called the Popup. So far I call the popup with a "window.open('SeleccionDirecto...more >>

Access denied, No indexing service running
Posted by jliusolar at 1/22/2004 12:56:12 PM
Hi I am trying to figure out why an application get this error when I am trying to open the application's asmx file from localhost. I don't have indexing service running(it set as manual and not started). I also created an .aspx file to do testing The .aspx file opens fine in other directory fro...more >>

Cascading Style Sheets
Posted by Herb Stull at 1/22/2004 12:51:27 PM
I'm trying to give users a choice of the visual interface used in my ASP.NET application using Cascading Style Sheets. Ideally I'd like to offer them several choices for backgrounds, fonts, etc. for the screens and controls and let them make a choice. Once they choose, all screens and controls...more >>

How do one write server/user controls that can be draged into the designer?
Posted by smithimage at 1/22/2004 12:46:05 PM
Hi all... I have been coding in .NET for aprox 2-4months now and started to get myself a litle code library. With some own written webcontrols, but all of these are written in such away that they must be instantiated in the code behind '.cs' (since Im writing in c#) files. But since Im telling my f...more >>

Error al crear ASPX
Posted by Alberto at 1/22/2004 12:43:07 PM
Cuando intento añadir un aspx a mi proyecto me aparece el siguiente mensaje de error: No se puede ejecutar el asistente 'C\Archivos de programa\Microsoft Visual Studio.Net 2003\VC#\CSharpProjectItems\WebProjectItems\..\CSharpAddWebFormWiz.vsz'. Lo curioso es que el aspx me aparece y puedo t...more >>

Create a new request in code??
Posted by Eidolon at 1/22/2004 12:25:26 PM
Heres what i am trying to do: In the codebehind code for a page, i want to be able to send the request on to another page, but with different form values than what may have been submitted to me. So for example's sake, say im a login page, and the request to me included form values of "uid" an...more >>

"Thread was being aborted" error in mscorlib - web project
Posted by Elliot M. Rodriguez at 1/22/2004 12:20:08 PM
A few of our customers cannot access one of the pages on our vb.net asp.net site. The problems are limited to only a few people, but these people have the problem regularly. The page in question is a simple details page from a link selected from another page. The details page calls a procedure...more >>

session value
Posted by selen at 1/22/2004 12:05:38 PM
I am using belove code.I want to send session's value a variable in another page. How can I take session value. script="<Language=VBScript> session(\"Id\")= "; script+= kullaniciId; script+="</script>"; Page.RegisterStartupScript("Startup", script); Thanks. ...more >>

how to give ASP permission to write to local hard drive?
Posted by Laszlo Szijarto at 1/22/2004 11:50:27 AM
I've tried granting the ASPNET user "Full Control" permissions on C:\[Directory]\ and have given the [code behind] assembly I'm running "Medium Trust" on the local machine. Yet I still bomb out when I try to write to a text file using a StreamWriter to C:\[Directory]\test.txt. Any ideas? Yes,...more >>

The password field is erased when I make an operation
Posted by cesar_casafont NO[at]SPAM hotmail-dot-com.no-spam.invalid at 1/22/2004 11:36:10 AM
Hi ! I have a form with two 'dropdownlist', when I choose an option in the first 'dropdownlist' the second 'dropdownlist' make a query and display some data. The problem is during the query (while the page reloads) that the password field filled is erased. How can I avoid it? Thanks ...more >>

datareader columns
Posted by brian shannon at 1/22/2004 11:33:40 AM
Can you define a value from a datareader through column idexes. For example: dim myreader as sqldatareader SQL = select fname, lname, address from personal. //Datareader is initialized with the above SQL code Instead of using the following to assign values from the reader: while my...more >>

annoying delay during refresh of aspx web page with ODBC Access query on IIS Windows 2003
Posted by Wolfgang Kaml at 1/22/2004 11:14:58 AM
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setu...more >>

Easy Radio Button Question
Posted by Amy Snyder at 1/22/2004 11:00:03 AM
I have a webform with three radio buttons and a button. I also have a ..vb module that doing most of the processing. I want to be able to get the value of the radio button selected within the .vb module. How? When I try to set a value in the code, Intellisense says "...is not accessible in t...more >>

Data Grid problem
Posted by Calvin Lai at 1/22/2004 10:58:09 AM
Hi all, For the editing mode in DataGrid, all those columns will be displayed as TextBox. Is there any way to configure the number of columns (or width) of those TextBox when displaying for each column? Right now even the data is only a few characters, the textbox is showing SO BIG that the ro...more >>

datagrid filter for specific record(s)
Posted by Pedor at 1/22/2004 10:56:06 AM
I want to display only data in the datagrid for specific records having a common or identical data in a column. How do you do this programmaticaly using combination of the datagrid object, dataadapter, sqlconnection objects in the ide design? The walkthrough "Walkthrough: Using a DataGrid Web Co...more >>

Understanding the Stack Trace
Posted by Jeremy at 1/22/2004 10:46:07 AM
While working with ASP.NET I've sometimes encountered errors in my applications, but I've always known exactly why I'm getting the error and have been able to fix it. So I've never needed to understand the Stack Trace, but I want to understand the stack trace so can somebody please explain it to me...more >>

Radio buttons
Posted by Hai Nguyen at 1/22/2004 10:35:51 AM
I have 2 radio buttons in a form: <asp:RadioButton ID="radio1" Runat="server" GroupName="RadioGroup1" Text="Short Form" Checked="True" AutoPostBack="True" OnCheckedChanged="getSelected"></asp:RadioButton> <asp:RadioButton ID="radio2" Runat="server" GroupName="RadioGroup1" Text="Long Form" Au...more >>

ImageButton control
Posted by Rob Meade at 1/22/2004 10:31:41 AM
Hi, I have a webform where a user can enter text - this text will then be emailed to subscribers of a chosen subject. I have added 3 ImageButton controls to the bottom of the page - on the left, "Back", on the right "Send" and in the middle "Preview" - I dont expect I need to explain them -...more >>

pdb files
Posted by Steffen Loringer at 1/22/2004 10:26:24 AM
Hi, are pdb files necessary on a production server? And what for are the ..resx and .suo files? Steffen ...more >>

ASP.Net design flaw!?
Posted by do_not_spam2004 NO[at]SPAM yahoo.com at 1/22/2004 10:24:20 AM
Has anyone ever encountered this problem? (I searched on google for past posts but didn't find anything) I have a class implementing the IHttpModule Interface. It's mainly used for seting up layout information & provide some security/logging functions. Typically it inspects a HttpRequest, se...more >>

Validate dropdownlist and textbox conditionally problem
Posted by Reddy at 1/22/2004 10:21:43 AM
Hi, My web form has a dropdown list and a textbox server controls. The user must enter some text in the textbox he selects only the last item in the dropdownlist. I tried using a custom validator but its not working. Is it the right approach. Can anyone guide me about how to implement this. ...more >>

Web.config Authorization Help
Posted by Craig at 1/22/2004 10:19:30 AM
I have a web app where one page should be publicly accessable and another restricted to a certain local group (integrated windows auth) How can I do this in a web.config? Can I specify different authorization settings per file? per folder? (i.e. create an /admin folder for private content?) ...more >>

Strange DBNULL Error - Please Help!
Posted by theintrepidfox NO[at]SPAM hotmail.com at 1/22/2004 10:18:57 AM
Dear Group I'm having a very weird problem. Any hints are greatly appreciated. I'm returning two values from a MS SQL Server 2000 stored procedure to my Webapplication and store them in sessions. Like This: prm4 = cmd1.CreateParameter With prm4 ..ParameterName = "@Sec_ProgUser_Gen" ..S...more >>

webGarden benifits?
Posted by Bill Green at 1/22/2004 10:00:17 AM
What are the benifits of running two aspnet_wp's on each cpu? vs letting the OS manage the threads to the processors. Thanks, -- Bill Green ...more >>

Automated builds?
Posted by Frank Oquendo at 1/22/2004 9:59:57 AM
Is there a tool that will generate a batch or make file for web apps? My client has the .NET Framework but not Visual Studio so I'd like to send them something that can automate the build process should they decide to modify the source code on site. -- There are 10 kinds of people. Those who...more >>

HELP: Sending mail (Error)
Posted by VB Programmer at 1/22/2004 9:59:12 AM
I am trying to send a simple email through my ASP.NET website. This is how I do it. Try System.Web.Mail.SmtpMail.Send("someone@somewhere.com", "me@somewhere.com", "test", "TESTING 123") Catch ex As Exception Response.Write(ex.ToString) End Try ...more >>

print a web page
Posted by tangolp NO[at]SPAM yahoo.com at 1/22/2004 9:59:10 AM
I would like to know if there is way to set up the margins at run time when trying to print a web page. Any sample of code would be helpfull. Thanks....more >>

Repeater with CheckBox and Paging
Posted by Mark at 1/22/2004 9:56:34 AM
I am attempting to build a repeating list using a repeater control. I want to add a checkbox to each item (line) and 'Select All' and 'Clear All' buttons. I have figured out how to do this until it comes time to implement paging. Without paging I can iterate through the repeater when I clic...more >>

Multiple Search Pattern for Directory.GetFiles
Posted by Alphonse Giambrone at 1/22/2004 9:54:15 AM
Is there a way to use multiple search patterns when calling Directory.GetFiles. For instance Directory.GetFiles("C:\MyFolder", "*.aspx") will return all files with the aspx extension. But what if I wanted all files with either an aspx OR htm extension? Any way to get that without calling the me...more >>

Dynamically load assembly from COM
Posted by M. Fitzgerald at 1/22/2004 9:48:28 AM
Our migration from ASP to ASP.NET will be a slow one. In the= meantime, I have constructed a .NET assembly and registered it= as a COM object for use in out classic ASP pages. One of the= things this particular assembly does is use Reflection to= dynamically load another assembly (based of...more >>

Conditional Delete buttons - c#
Posted by james_crane NO[at]SPAM btinternet.com at 1/22/2004 9:30:53 AM
Hi, I am using a Datagrid and populating it from a database. I have a 'delete' button column, and when click it executes the DeleteCommand event. My problem is I would like this button to appear only in rows when a condition is met and I'm not sure how to accomplish this. The default beh...more >>

Set which .NET Framework version to use
Posted by Henke at 1/22/2004 9:24:10 AM
I have two versions of .NET Framework installet 1.0.3705 and 1.1.4322 Is it possible to set which one of the two my web application should use? Thanks! /Henke ...more >>

Licensing Issues
Posted by Mythran at 1/22/2004 8:43:04 AM
Was wondering...the following site provides a compiler for C# and soon, VB.Net on a linux box: http://go-mono.com/c-sharp.html What legalities should be made aware in order to use this legally? Are there any legal issues that should be made aware before jumping the gun? Thanks, Mythra...more >>

Seperate Auth for single page
Posted by Curt_C [MVP] at 1/22/2004 8:40:56 AM
Can you specify a different authentication method ('none') for a single page? I have the web.config designed for 'Forms' auth, but I have one page that I want outside the auth method, without putting it into a seperate folder with it's own web.config. Thanks -- Curt Christianson Owner/Le...more >>

URL Forwarding Problem
Posted by Binod Nair at 1/22/2004 8:27:34 AM
Hi All, I have an ASP.NET appication running on http://xx.xxx.xxxx.xx/aspApplication and I have a domain http://www.mydomain.com registered at godaddy.com for this application.I have setup domain forwarding at goDaddy.com to forward to http://xx.xxx.xxxx.xx/aspApplication. I am using Forms Aut...more >>

web app - IIS and SQL on different machines
Posted by Dan Walls at 1/22/2004 7:12:30 AM
Hi, I am deploying an ASP.Net web app into the following scenario: Internet --> Firewall --> WebServer (IIS) --> [firewall?] --> [database server] However I am not sure what sort of authentication options are available to me in gettingthe application to talk to the SQL server. How do I...more >>

Editing Text Box Values
Posted by brian shannon at 1/22/2004 7:08:47 AM
I am filling text boxes from a data reader. That works fine. If I edit a text box to a different value and click a save button the orginal value that was edited is being used in the SQL string. I verified this through debugging. Does anyone know of a reason why the original values ar...more >>

Using a DataReader in VS NET
Posted by Wayne Wengert at 1/22/2004 6:08:00 AM
I am trying to learn to use VS NET and codebehind for asp.net apps and I've run into a problem trying to use a datareader. I created a new webform and inserted and configured a sqlconnection and I inserted a sqlcommand object with the query string. The form has a datagrid object which I want t...more >>

SQLServer Session State
Posted by barnetj NO[at]SPAM pr.fraserpapers.com at 1/22/2004 5:28:40 AM
Hi, I am having a problem with my session state through sql server. This used to work, then all of a sudden (the only change was setting up replication in the sqlserver database) it stopped working. I ran uninstallsqlstate.sql after stopping w3svc and then restarted the w3svc and rean instal...more >>

Session Variables between ASP Classic and ASP .NET
Posted by Tony at 1/22/2004 5:06:08 AM
I have a classic ASP application that determines whether a user is logged in by examining a Session Variable, Session("LoginId"). Once logged in there is a link to a new search page (.aspx) this page basicaly allows searcing of the database and selection of users from a DataGrid. When a user in t...more >>

Exception Management AB Issue in ASP.NET
Posted by damon.f at 1/22/2004 4:16:10 AM
I'm trying to use the "Exception Management Application Block" that Microsoft supplies. I've built and included all the relevant code but I'm hitting a wall. When throwing an exception to be generated in the event log in XML I get the following error on line 515: System.Security.SecurityExcepti...more >>

Impersonate asp application to run like IIS basic authentication.
Posted by erez.shor NO[at]SPAM intel.com at 1/22/2004 2:27:15 AM
Hi, I need to build and asp page which access a remote windows server's registry and create a registry key. In order for the ASP page to be able to access the registry on the remote server I need it to run using credentials supplied by the user. When using basic authentication this is not an is...more >>

Headers & Footers in print preview
Posted by Kenneth at 1/22/2004 2:11:04 AM
Hi, In IE6 you can configure output to the printer getting a clean printout only with content, but without headers and footers. You remove the Header and Footer content from the Page Setup. But when you've done that, you have to know how to get those values back unless you've saved them somewhere...more >>

code behind problems in vs.net 2003
Posted by Girish at 1/22/2004 1:37:54 AM
hey all, im building a asp.net project in vs.net. Is there a way to have the codebehind files sit in a different folder outside the website folder altogether? example: The aspx files are in this directory c:\inetput\wwwroot\testapp the code behind code must be in this directory c:\proj...more >>

Use "Session" from page requested by code
Posted by Peter Theill at 1/22/2004 1:13:11 AM
Hi, I'm trying to include the content of a request into an Xml document: if (System.Web.HttpContext.Current.Session["user_id"] != null) { XmlDocument d = new XmlDocument(); d.Load(new XmlTextReader("http://localhost/page.aspx")); } The requested page (page.aspx) is an XHTML p...more >>

Problem sending values from one page to another (pepehammer)
Posted by Marcelo at 1/22/2004 12:59:49 AM
Hi guys, I'm using the following code to send values from one page to another, but seems to me, that the event Page_Load in the receiving page never fires. Why? This is the code: Thanks -*-*-*-*-*-* PAGE SENDING THE INFORMATION <%@ Page Language="vb" AutoEventWireup="false" Codeb...more >>

View and place Usercontrols in Webforms
Posted by Alessandro Rossi at 1/22/2004 12:51:05 AM
Hi, I made a usercontrol with 2 TextBoxes and 2 labels. When i place the usercontrol in a webform, i see the grey rectangle, and i can place the usercontrol only on the top of the form. I found that i can place the usercontrol in a panel, and so i can move the panel (and the control) in my WebFo...more >>


DevelopmentNow Blog