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 2005 > threads for friday december 23

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

making xml user information
Posted by h-h at 12/23/2005 11:13:01 PM
i just want to make a class that can able to manipluate xml it's like this. <user> <name>charles</name> <age>67<age> </user> <user> <name>machle</name> <age>44<age> </user> i'd like to create this and get and set data .... could you recommend some url or example related ...more >>

Reg:vs.net 2005 app_code
Posted by comzy at 12/23/2005 10:09:41 PM
I need few of my pages to be precompiled and i have to give it to other department so that they can have the basic functionality and in addition they will add their own pages and code. can anyone tell me how can i accomplish this in vs.net 2005 because once i precompile i couldnt find any APP_Co...more >>

How to logout with program
Posted by ad at 12/23/2005 10:06:55 PM
I used login controls in VS2005 in my WebApplicaiton. A user can click LoginStatus to login or logout. Can we login our logout with program just like the use click the LoginStatus? ...more >>

Custom HttpHandler and Server.Transfer
Posted by bryan NO[at]SPAM newsgroups.nospam at 12/23/2005 8:27:01 PM
I've got a custom HttpHandler to process all requests for a given extension. It gets invoked OK, but if I try to do a Server.Transfer I get an HttpException. A Response.Redirect works, but I really need to avoid the extra round-trip to the client. I've tried Passing the page name, the full URL...more >>

expected identifier error
Posted by barry at 12/23/2005 8:09:57 PM
sString.Append("document.forms[0]. + name + .style.visibility = 'hidden'" & vbCrLf) The above is found in a function which has had name passed to it. This code is in the asp.net codebehind The name converts to card17 and would like code to look like this when converted: document...more >>

HtmlImage and asp:Image servent onclick event
Posted by RKT at 12/23/2005 7:46:17 PM
(CSharp, NET2.0) Is there any way to EITHER: 1. Programmatically add a server onclick() event hander to the 'HtmlImage' HtmlControl control? OR 2. Programmatically preempt a 'Image' WebControl from invoking a postback? I'll spare you the 'why' I need to do this, but (hint) if I could...more >>

mozilla:MasterPageFile in web.config
Posted by Alexander Widera at 12/23/2005 7:38:20 PM
Is the a possibility to write the masterpages for different browsers into the web.config, so that i havn't to write in every single page e.g. ie:MasterPageFile=".." mozilla:MasterPageFile="..." ..... ? Thanks for help. Alex ...more >>

Refresh page error
Posted by Eric at 12/23/2005 7:31:03 PM
Hi, When my aspx (ASP2.0) page is being refreshed by the refreshbutton of the browser (ie) I get a message: "The page cannot be refreshed without resending the information....." How can I prevent this from happening? I would like it to be when the user forces a refresh, he will always ...more >>



DataGrid DataSource is null on postback
Posted by Narshe at 12/23/2005 7:27:26 PM
If I create a datagrid, and set a source and bind it, the data shows up fine. When a postback occurs, the DataGrid.DataSource == null. Is there something in the web.config I'm missing? This is on asp.net 2.0. ...more >>

How do I debug this...
Posted by clintonG at 12/23/2005 7:09:23 PM
After upgrading from Beta 2 to 2.0 an application and iterative copies of it throw a dialog at me which stating "Stack overflow at line: 0" and I have no idea how to debug this or what changed in 2.0 to cause it to occur. The dialog is displayed by click events such as selecting the button of...more >>

Codefile not getting executed
Posted by GaryDean at 12/23/2005 5:39:13 PM
I have a 1.1 asp.net project that has been converted by the conversion wizard. By and large the app runs allright except for one page... On one of the .aspx pages, the code behind file is not getting executed. It looks identical to several of the other pages that are executing fine. CodeFi...more >>

Cant start debugging - Tearing Hair From Scalp In HUGE CHUNKS !
Posted by Mr Newbie at 12/23/2005 4:10:20 PM
I cant start debugging on my local machine although I can start without debugging then attach to the aspnet_wp.exe process successfully and debug. When I try to start I get the message Unable to start debugging on the web server. You do not have permissions to debug the server. I have t...more >>

CodeBehind File not getting executed
Posted by GaryDean at 12/23/2005 4:08:59 PM
I have a 1.1 asp.net project that has been converted by the conversion wizard. By and large the app runs allright except for one page... On one of the .aspx pages, the code behind file is not getting executed. It looks identical to several of the other pages that are executing fine. Code...more >>

(urgent)HttpRuntime
Posted by Anuradha at 12/23/2005 2:44:10 PM
Hi all, I had my web.config file as below... <system.web> <httpRuntime executionTimeout="90" maxRequestLength="102400" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true"/> .........................more >>

Disappearing ASP.Net pages when viewed outside the network
Posted by Troy Dot Net at 12/23/2005 1:59:02 PM
Hello All, We have an unusual problem that we've not seen before. We've developed a ..Net 2.0 site (via VS2005) that works great from within our network (we host the site and the SQL Server db). However, when it is viewed from outside our network (which we just started testing today), som...more >>

asp.net IIS6 windows 2003 web service wonders!(Urgent help needed)
Posted by Bredal Jensen at 12/23/2005 1:13:16 PM
Hello, I have an asp.net web app hosted on a win2k3 server . The web app consumes a web service also hosted on the server. They both have acces to an sql server 2000 database also on the same server. My aplication works perfectly when invoked locally on the server . But when called fr...more >>

Ridiculously Slow SqlServer2005 Sorting?
Posted by Mark Olbert at 12/23/2005 12:27:20 PM
Why does the following simple query against an SqlServer2005 table in an ASPNET2 website returning less than 10 rows: SELECT link_text, idnum, ts FROM bd_content WHERE parent_id = 0 AND idnum <> 1 take no time at all (less than 1 second) yet the following sorted query against the same tabl...more >>

Application-wide
Posted by Mark Olbert at 12/23/2005 12:17:01 PM
I want to bind a series of ObjectDataSource instances to an application-wide business object which caches the results of a database query. I'm confused about where/how to cache the results (it's a simple query, BTW, so I'm using a DataReader, not a DataTable). The business object has no knowled...more >>

Protecting files
Posted by tshad at 12/23/2005 11:59:57 AM
How would I protect all my files from someone getting access to my asp,htm,gif,jpg etc. files? I can protect my .aspx files using Forms Authentication and dropping the following in my specific folders. <configuration> <system.web> <authorization> <deny users="?" /> <d...more >>

Coordination of projects
Posted by eagle at 12/23/2005 11:56:35 AM
I have 2 asp.net projects that I have build together as one solution, sharing procedures, etc. One project is for staff members, the other is for admin members. Pretty typical, where the administrators have more advanced options or options related to security, such as creating logons. They ar...more >>

.aspx / .ascx in Visual Studio 2005
Posted by Rob at 12/23/2005 11:55:03 AM
Ok, I am a beginner when it comes to ASP.NET and C#. I have been "playing" with Visual Studio 2005 for about 1 week now and I cannot figure out how to create a .aspx or .ascx page in VS 2005. I want to use these files so I can create the code behind (.ascx.cs) file. I don't see either as ...more >>

using Page.Request.Files to get the name or ID of the input
Posted by Darren Clark at 12/23/2005 11:45:51 AM
I am trying to find the name of ID of the input item that coresponds to the file that is being uploaded... is there a way to do this? Page.Request.Files[x].Name or Page.Request.Files[x].ID ??? as they dont exsits... is there any other way ? ...more >>

Server.Transfer Does Not Invoke IsPostBack in .NET Framework 1.1
Posted by Alex at 12/23/2005 11:29:03 AM
Hello, Quick question and I would really appreciate if anybody could helps me. Here are the steps to reproduce the problem. Create simple ASP.Net application. In code behind added protected class variable: protected string _result = "No result"; Page Load event has: if (IsPostBack) ...more >>

- Parser Error Message: Unable to load file
Posted by Dan at 12/23/2005 11:28:26 AM
Environment: Win2k Server, ASP.NET(v1.1.4322) Everything seemed to work fine till this morning...and than this happened What could this possibly mean? Is it the file? (The file in the error is not missing nor is it misspelled or on a different path) Is it permissions? (ASP.NET account ...more >>

.net objects to javascript?
Posted by Alex D. at 12/23/2005 10:52:32 AM
is there any way to automatically convert .net objects to javascripts objects? for example to send the bussiness logic to the browser and this way reduce the postbacks to the server? I think it would be nice to have the ability in Visual Studio to switch a class or object between server-side a...more >>

named anchor
Posted by Nalaka at 12/23/2005 10:32:57 AM
Hi, Is there a gui control in VS2005 to set a "named anchor"? For an example now I go to the html and write the following code <a name="jumpToThisLocation"/> Thanks Nalaka ...more >>

Embedding an image in the html?
Posted by David Thielen at 12/23/2005 10:15:03 AM
Hi; Is there a way to embed images in the response rather than writing them to disk and having an <img ...> tag? And if so, how is it done and what browsers support it? -- thanks - dave...more >>

Comparing values between two arrays
Posted by darrel at 12/23/2005 10:14:16 AM
I have two comma delimted strings that I need to compare individual values between the two. I assume the solution is likely to put them into an array? If so, do I need to loop through one, comparing the other, or is there some sort of compare function already in .net? For instance, I have t...more >>

File security weirdness createing file.
Posted by David Thielen at 12/23/2005 10:14:01 AM
Hi; I am creating png files in my ASP .NET app. When I am running under Windows 2003/IIS 6, the file is not given the security permissions it should have. It does not have any permission for several users that the directory it is in has, including IUSR_JASMINE (my system is named jasmine). ...more >>

Javascript to Set Focus to TextBox
Posted by Joey at 12/23/2005 9:41:06 AM
I have a javascript piece that sets focus to a textbox on one of my webforms. The script works fine for IE: it sets the cursor blinking in the textbox. In Firefox, however, it doesn't work at all. Below are two snippets from the page source as pulled directly out of Firefox after viewing the p...more >>

Modification by JavaScript function won't stay, why?
Posted by Andrew at 12/23/2005 9:26:01 AM
Hello, friends, I have a .aspx page, which may change label text based on a user's selection. For example, if a user select Visitor from a drop-down HTML control, corresponding label will be changed to Visitor's Name from original value (Member's Name) by using a JavaScript function. It wor...more >>

Where to set timeout
Posted by ad at 12/23/2005 9:14:50 AM
I am use VS2005 to develp WebApplicaiton. There are two place where I can set the TimeOut Value. What is the difference between them? Which have the priority? One is: <system.web> <compilation debug="false" /> <authentication mode="Forms"> <forms name=".ASPXAUTH" ...more >>

When to use FormsAuthenticationTicket()
Posted by Andrew at 12/23/2005 9:05:02 AM
Hi, guys, After I use FormsAuthentication.SetAuthCookie() to anthenticate a user, I don't think I need to create a new FormsAuthenticationTicket(), right? Then, at what situation, we should use ticket? Any reference papers? Thanks....more >>

Binding DataGrid to an XML document?
Posted by Charlie NO[at]SPAM CBFC at 12/23/2005 8:46:25 AM
Hi: Can the datagrid be bound directly to an XML document? If so, are there any "gotchas"? Thanks, Charlie ...more >>

ASP.NET License or Royalties
Posted by Steve Trandahl at 12/23/2005 8:26:03 AM
Are there any licensing fees or royalties associated with using ASP.NET on a production web site? Thanks, Steve...more >>

Compressing and spanning files on upload
Posted by Sher at 12/23/2005 8:00:02 AM
Hi, I have a project which requires having users upload files to be burnt to compact disk. The requirement is to zip (compress) and/or span files to compact disk size on upload. I cannot use winzip all the time as there is a 4GB limit, which will be reached at times. I enquired about u...more >>

Login Control Requires Response.Redirect?
Posted by Brian.ONeil NO[at]SPAM MCDean.com at 12/23/2005 7:47:09 AM
Please tell me NO to this question. Shouldn't all controls be developed with Server.Transfer or Server.Execute in mind? I am finding my Login Control does not behave per its "ShowWhileLoggedIN" setting unless I force some kind of client side navigation to happen. Is it me, or the control that ...more >>

Rowfilter property..
Posted by Daniel at 12/23/2005 5:47:02 AM
Hi All, I find an erro while using dataview.rowfilter. after i filter the row, the dataview still display before filter data in datagrid. may i know y?? thank you in advance. Best regards, Ocurnos...more >>

Help - How can I validate ASP code for XHTML, || NAME vs ID attribute
Posted by Simon Barnett at 12/23/2005 3:15:41 AM
Hi, RE: Converting pages including ASP pages for XHTML My question relates to ASP not ASP.NET - I can't find a newsgroup for ASP and hoped it was still relevant in ASP.NET - sorry if it's not. Problem: I am teaching myself about validating for XHTML and, upon testing a page I get errors f...more >>


DevelopmentNow Blog