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 2004 > threads for sunday december 5

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

JSP
Posted by Amir at 12/5/2004 11:55:01 PM
He He He Microsoft just has copied JSP technology... But there is a big difference between ASP.NET and JSP: ASP.NET is full of bug product and Visual Studio is an unreliable IDE. See JSP technology to know. I'm so sorry for myself that have waste my time with Microsoft's technologies. I'm ...more >>


Sharing UserControls between different sites
Posted by Anders K. Jacobsen [DK] at 12/5/2004 11:09:31 PM
Hi I have some common UserControls i want to share between to sites (on the same mashine but on diffrent virtual paths). right now i have on solution file with aprox 10 projects. 2 of these is webprojetcs wich need to shere some common userControls. Optimally i want a class libarary proj...more >>

ViewState Collection gets cleared?
Posted by raffe at 12/5/2004 11:09:24 PM
Hi all! I have a control which represents a user record in my database and a save button. It get's loaded into a placeholder and all the controls like TextBox get bound to the data source. At the same time I put record id in the ViewState collection. When the save button click event gets fired...more >>

Display page based on the login user
Posted by Rajani at 12/5/2004 11:05:03 PM
Hello, I have a strange problem. I want to check the privilege of the login user on each page and allow to display if has suff. priv. I am storing the privilege is session variable. I am checking on the page_load event like if session("uid")="" then response.redirect("loginverify.asp...more >>

dynamic hyperlink
Posted by Gerald Baeck at 12/5/2004 10:37:16 PM
I want to realize a dynamic hyperlink, which changes onclick it's text and it's navigateurl. Unfortunately there is no event for a hyperlink like onclick for buttons. Is there another way to realize this task? thx, Gerald. ...more >>

"Pattern" or "best practice" in security checks
Posted by Anders K. Jacobsen [DK] at 12/5/2004 8:32:55 PM
Hi Im developing an ASP.NET CRUD application where i need to do some authorization checks on surden actions. Eg. some account have access to delete in a sudden datagrid and some have not. So I have to be more detailed that on page level. Rather component level. This ends up, as I see now, i...more >>

Why all the pages when I press back button ?
Posted by Bazza Formez at 12/5/2004 8:20:18 PM
Hi there, I am *very* new to this... so please excuse poor terminology etc. I am building a small content management system.. and have just managed to get an asp.net page up & running that edits / deleted data presented via a datagrid via a datareader. All is well, the database is updated co...more >>

No. Of Times Form Posted
Posted by Arpan at 12/5/2004 7:38:19 PM
This is a multi-part message in MIME format. ------=_NextPart_000_002F_01C4DB01.F912DDF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable How do I find out how many times a Web Form has been posted by one = SINGLE user within the SAME SESSION? For...more >>



insert into access
Posted by Mike at 12/5/2004 7:06:45 PM
I have asp.net web app (C#) where i'm trying to insert data into a table and i'm gettng the following error. I'm not updating anything i'm trying to insert via my SQL. I'm getting an error now telling me the quuery needs to be updateable. all the values are being passed correclty. what am i ...more >>

View current page's URL
Posted by Dave at 12/5/2004 6:11:10 PM
Greetings, Is there a way in asp.net that I can access the url of the page the user is currently on in the web application on and store it in a variable? I was hoping that there was something like: me.url or page.url , but I can't seem to locate anything. Thanks, -Dave ...more >>

Opening an MS Access .mdb file from asp.net
Posted by Dave at 12/5/2004 6:03:49 PM
Greetings, I need some help from the gurus out there. I have a .mdb file on the server. I have a button on the server that when I user clicks it, I would like it to open up that .mdb file in MS Access. Thanks, -Dave ...more >>

syntax help: binding one dataset to two dropdown lists
Posted by Darrel at 12/5/2004 6:01:41 PM
I'm trying to perform a SQL query and then bind the results to two different dropdownlists. Unfortunately, I can only get it to bind to one...whichever one of the two I try to bind first: Dim objConnect As New OleDb.OleDbConnection(strConnect) objConnect.Open() Dim objCommand As New System....more >>

preventing duplicate data entry on RELOAD
Posted by Darrel at 12/5/2004 4:56:20 PM
I have a web form that inserts a record into a DB. This function is called from the button_click subroutine. After the record is inserted, I show/hide some different panels and let the page postback. The problem is that if a person reloads this page after submitting, a new record is inse...more >>

common custom classes
Posted by Tony at 12/5/2004 4:33:17 PM
I have created a few pages in asp.net with in line code and have decided to convert them to use code behind pages. I have some classes that are common to more than one page. How do I add a namespace to my code behind, so I can have one file with my code behind that includes a reference to a file...more >>

Question about dataset readxml method
Posted by Raymond Du at 12/5/2004 4:30:32 PM
Hi, I am using Dataset's ReadXML method to read an XML file. Here i s my code snippet: Dim dsTemp As New DataSet dsTemp.ReadXml(Server.MapPath("~/data3.xml")) and data3.xml as follow: <myDataSet> <LeftMenu> <MenuItem> <Title>Enter Customer</Title> <Action>Sid</Action> ...more >>

Java Script Validation
Posted by hoz at 12/5/2004 3:15:14 PM
Hi , I am developing an web application . I have a form for user login ,contains two textboxs . How can i check them if these are empty using client side validation ? But i want it like below <script lang="..... > function Validate() { if ( this.forms.userTxt=="") return false ; .... ...more >>

tabbing and loading tables when textbox key is pressed?!?!
Posted by ACaunter at 12/5/2004 2:55:08 PM
Hi all, Could someone please explain to me how i could load a different datagrid or fill out all the textboxes with feilds from a database - once a user types a character in a textbox. I have the code for it, but my problem is that it doesn't work unless i click on an empty button, just to...more >>

Why is Visual Studio debugging so slow?
Posted by Jeffrey Roughgarden at 12/5/2004 2:19:02 PM
I wonder if anyone has any tips to improve Visual Studio's debugging performance? I have a 20 page web app that takes 90 or more seconds to bring up the logon page after I hit F5. Start without debug (Ctrl-F5) is much quicker, but of course, I don't have the debugging then. I am running th...more >>

edit and continue
Posted by Rena at 12/5/2004 2:18:49 PM
Hi all, I am now using VS Net 2003, but i found that i need to restart the web app. once i edit my code. correct me if i remembered wrongly, as I do not need to restart my web app b4 to make my code changes effective b4 when i am using VS 2000 or 2003 (i forget which version, I had used b...more >>

How to physically separate tiers?
Posted by rupertgalea NO[at]SPAM hotmail.com at 12/5/2004 1:46:17 PM
I am developing a system in ASP.NET and am new to the technology. I am running everything on the laptop I am developing on (windows xp). The DB is Oracle and my aspx pages and C# code behind classes and other classes are in one directory under IIS. The client plans to have an application ser...more >>

Help on Strange Return Key Behaviour
Posted by Andrea at 12/5/2004 1:37:51 PM
I have a text box and a Button. If I click on the button, the page is posted and the Click event is fired. If I hit return on the text box (the browser should post the page like click on button) the page is posted, but the click event is not fired. Someone can help me on this problem. Than...more >>

Create menu using xml and xslt
Posted by anthonykallay NO[at]SPAM hotmail.com at 12/5/2004 12:41:43 PM
Hi all, i have managed to create an asp.net menu using xml and xslt.. i am now trying to highlite the selected path by sending in the path info and hilite it using an xsl select choose function. My only problem now is to highlight all parent nodes above the one selected. Does anyone have any ...more >>

Help; "Web server is not running ASP.NET version 1.1."
Posted by **ham at 12/5/2004 11:59:09 AM
"Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services." This is the message I get each time that I want to create an ASP.NET application. The help recommends to register ASP.NET by us...more >>

IDC script to ASP.NET
Posted by Tat at 12/5/2004 10:38:43 AM
I wonder if somebody can give me a hint on how to convert an IDC script to asp.net. I have an asp.net application with one idc script. I know .Net, but I've never worked with IDC, so bear with me. The server calls my web application to dump data into database. That's somewhat like the IDC file ...more >>

Explain the @Page
Posted by et at 12/5/2004 10:38:01 AM
I have a program that I started as a directory in wwwroot, now I want to move it to be a subfolder of another web project, renaming the directory it is located in. I used Copy Project to copy the project to the new subdirectory, and uploaded the new directory to my ISP. When opening the new p...more >>

Call a Method
Posted by Mariame at 12/5/2004 10:33:39 AM
Hi Everyone i have a web page that i write in it the connection string of the database & i declare the session [Index Page] i want when the user open any page & doesent start with the index page , i dont have to redirect him to this page. but i want to call a method where i declare the connec...more >>

multithreading in web apps?
Posted by Edward W. at 12/5/2004 9:45:58 AM
Can you do multi-threading in web applications? I basically understand how to do it in winforms but am not sure about it in web apps. Can someone point me to to an exmaple or an article that shows how? ...more >>

SessionID Still not working
Posted by Brad Simon at 12/5/2004 7:33:01 AM
I have written a shopping cart using ASP .NET (VB). It has been running quite successfully on a site for about a year or so. I use the SessionID as the key to hold information on the shopping cart. I have copy / pasted the code into a new site. Everything is working, EXCEPT for the shop...more >>

TreeView control issues
Posted by Phil Townsend at 12/5/2004 6:44:45 AM
This is a multi-part message in MIME format ------=_NextPart_000_53311831 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am trying to integrate the Microsoft web controls TreeView Control. For initial familiarization with the control I have built a static tre...more >>

Handling exceptions
Posted by switter NO[at]SPAM enpathmed.com at 12/5/2004 6:07:01 AM
I have the following example to catch more than one error. I am new to error handling in .net so I am wondering if the following is an exceptable approach: Sub LinkButton1_Click(sender As Object, e As EventArgs) Try txtDate.text=("hi"/0) Catch ex As Exception...more >>

OpenFileDialog
Posted by sara at 12/5/2004 5:59:01 AM
Hi all How can i use openfiledialog in web form or if there is something like that thanks ...more >>

zip and send solution folder by mail
Posted by rom at 12/5/2004 12:45:39 AM
i know it's not exactly the place to post this question but i didn't find a betrer group. when i send a zipped folder with an asp.net application i cant use it on the destination computer. when i open the solution i cant see the vb.net files. they appear with a yellow ! sign on them....more >>

code behind can't access user control
Posted by Davids at 12/5/2004 12:38:08 AM
having a 100% working aspx page I wanted to create a user control from a small DataList section (which has an ID="DataList1") of the page, so I created an ascx file with the DataList and Register the control as should be done. Now the DataList1 can't be found any more: The name 'DataList1...more >>

Error with.. "Transfer-encoding:..."
Posted by Lars Netzel at 12/5/2004 12:09:06 AM
I have an aspx page that contains a usercontrol as header on all pages. That usercontrol has a few linkbuttons... sometimes when I press either of them I get this message in the top of the screen (like when you reponse.write something) "Transfer-encoding: chunked2cb 1a1d" Otherwise the p...more >>


DevelopmentNow Blog