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 > september 2006 > threads for monday september 25

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

App_GlobalResources.COMPILED question
Posted by WT at 9/25/2006 11:20:24 PM
Hello, I have a main site and want to install over it optionnal modules, but for each optionnal module I get a App_GlobalResources.COMPILED file that should go in the bin directory of the target main site. What to do, insert manually all App_GlobalResources content in a new App_GlobalRes...more >>

About a class I wrote to filter bad html input
Posted by Owen Wong at 9/25/2006 10:56:14 PM
Please look at my newly written class. It is meant to be used to filter suspicious html input from an online html editor. I need help about 2 things: 1. Does it need to filter more things? Which I think is of course needed although I don't know where to improve. 2. You see I try to filter any l...more >>

How to cut a bitmap/image dynamically?
Posted by Andreas Klemt at 9/25/2006 10:45:45 PM
Hello, for example I have an image (300 x 320) and I want dynamically cut the image to 300 x 300. How can I do this? Many thanks for any help! Regards Andreas Klemt ...more >>

best strategy for adding new record
Posted by Horace Nunley at 9/25/2006 10:04:21 PM
A wizard? A formView? I wanna capture about a dozen fields of info, then show a "is this information correct" page, then allow edit or save. Which is the best way? I was thinking I could hide the formview and display its information in labels when it came time to ask "is this info corre...more >>

GridView Control
Posted by Samuel Shulman at 9/25/2006 9:38:08 PM
I list items using the GridView control and each row has the image of the listed item. I would like to use the image as a HyperLink so the user will be able to navigate to the dedicated page of that item Is that possible and how? Thank you, Samuel ...more >>

Page Header Encoding
Posted by Ibrahim. at 9/25/2006 9:26:01 PM
Hi, ..Net 2.0 supports response.headerEncoding property. How can I achieve the same with versions prior to 2.0 ? I use 1.0, so how can I use header encoding property? Thanks, ...more >>

Does this architecture make sense?
Posted by J Ames at 9/25/2006 8:48:13 PM
This one is directed to the very seasoned ASP.NET developers & architects. I want to implement a new URL standard for a client that would be similar to something I've done in the JSP/servlet world in the past. However, I'm not sure if it's technically viable in .NET or if there's a best way t...more >>

Hot to convert Web.sitemap to Google site map?
Posted by shapper at 9/25/2006 6:27:29 PM
Hello, I have on my web site an Asp.Net 2.0 web.sitemap file. How can I convert it to a Google's sitemap file? Thanks, Miguel ...more >>



How to make a SiteMapDataSource to use a SiteMapProvider defined in Web.Config?
Posted by shapper at 9/25/2006 6:19:15 PM
Hello, How to make a SiteMapDataSource to use a SiteMapProvider defined in Web.Config? I think I should use something like: MySiteMapDataSource.Provider = ... However I don't know what to place in "...". I tried to use a string with the name of the provider but it didn't work. Thanks...more >>

Multiple asp:Panel controls on a page
Posted by Darren Carter at 9/25/2006 5:04:02 PM
Hi, I have mutliple asp:Panel controls on a single page, each with a default button defined (each default button resides within its respective asp:Panel). All validation controls and buttons within each panel also have separate ValidationGroups defined. When an asp:Textbox has focus in on...more >>

fail run asp.net in window 2003( vfpoledb.dll)
Posted by Agnes at 9/25/2006 4:46:40 PM
I can show the login.aspx page in my window2003 IIS6 . However, after I click the "ok" buttonm it said The 'VfpOleDB.1' provider is not registered on the local machine. (1)I can run the application in my XP professional, (2)I also install vfpoledb.exe and register the vfpoledb.dll already (3)I...more >>

Maintain session over browsers
Posted by Tarun Mistry at 9/25/2006 4:27:53 PM
Hi everyone, thought my current testing, it seems a new session is opened for a user per browser window. I would like my sessions to track based on the machine, i.e. once per machine. What would I need todo to enable this functionality? Kind regards everyone Taz ...more >>

How to get User Context in Master Pages
Posted by Matt at 9/25/2006 3:43:08 PM
How would I get the User Context into my Master page so I can work with = the User and Role objects such as RolePrincipal? Thanks,=20 Matt...more >>

Doubt / converting asp to asp.net
Posted by Paulo Roberto at 9/25/2006 3:23:10 PM
Hi everybody, how are you? I hope fine... I am developing asp pages over 5 years, and resuming I have a project that the teacher inputs the studants notes, so the code below paints the user screen with vertical/horizontal input texts based on calculating the total students on the classroom thr...more >>

Text Search component
Posted by John Haycock at 9/25/2006 3:18:27 PM
Can anyone recommend a good component For adding a search feature to a website that will search the text in a database Thanks in advance John ...more >>

best way to display resultset?
Posted by Augustin Prasanna at 9/25/2006 3:10:34 PM
I need to display some 200 records (dynamic) on the screen.. I need to display records from 2 tables (one to many relationship) output would look like Customer Id Name Phone NO 1 abc 23949495 34945959 2 xyz 39595699 3 fhg 34858686 34585689 This will be a read only gri...more >>

objectdatasource parameter value from application
Posted by tparks69 at 9/25/2006 3:03:02 PM
Can anyone tell me is there an easy way to get a value into an objectdatasource select parameter from Application Variables? Obviously its easy from cookies, session etc... but what about Application? Or is there an easy way to get a value into an objectdatasource parameter from the web.co...more >>

menu controls on 2.0 ..
Posted by jason NO[at]SPAM cyberpine.com at 9/25/2006 2:57:34 PM
As I surf the net I see so many cool drop down menus.. I'm wondering are most of those non .net or third party? Perhaps I just don't know what I'm doing in vs.net, but the delivered menus do seem kinda lame. I've read there is no way to remove that little arrow when there are sub menu items? T...more >>

Debugging no localhost connections with Visual Studio 2005
Posted by SammyBar at 9/25/2006 2:48:49 PM
Hi all, I have tested my first asp.net web app inside VisualStudio 2005. Now I need to do some testing from another PC calling to my development PC, but I can not connect to the port that uses the Visual Studio for development. I've found on the web that the server that uses VS2005 only all...more >>

Javascript Tutorial
Posted by Turbo at 9/25/2006 2:46:08 PM
Here is small javascript that i aggregated using various sources from web. Please comment if you find it useful. http://sandy007smarty.seo.iitm.ac.in/2006/09/26/javascript-tutorial/ Also do report bugs/suggestions. ...more >>

How do I connect to an Oracle database?
Posted by Steve Kershaw at 9/25/2006 2:34:37 PM
I'm working for a company that is in the process of converting from Oracle to Microsoft SQL Server/Visual Studios! I need to connect to the existing Oracle (6i) database to demonstrate that it can be done. Has anybody ever done this? Thanks for your help. Steve ...more >>

Converting VS.NET 2003 web project to VS.NET 2005 web project
Posted by jrett at 9/25/2006 2:11:02 PM
I've got a handfull of .NET 1.1 solutions each with multiple ASP.NET web projects and dependencies on one another. I'm trying to automate the build process here at work and I've initially decided on using MSBuild as my build engine. Using MSBee, this process seems to work pretty well for n...more >>

Visual Web Developer Express edition
Posted by Stimp at 9/25/2006 2:10:43 PM
Has anyone here used Visual Web Developer for creating commercial asp.net applications? I'm curious if there's actually any difference between Visual Studio and Visual Web Developer in terms of the type of web applications you can build etc? Reading on the web only seems to bring up Microso...more >>

How to assign csssytle attribute to html elements through code?
Posted by Zdenko Rupcic at 9/25/2006 12:45:21 PM
How to programatically add cssStyle property to HtmlTableCell (or any other control)? I need to create and populate HtmlTableCell at run-time (because some requirements need to be met for the cell to be displayed) and I can't use System.Web.UI.WebControls.TableCell instead because I'm placing the ce...more >>

Running ASP and ASP.NET
Posted by Jamal at 9/25/2006 12:16:52 PM
All, I have a large asp application running on window 2003. I would like to add functionality to the site using asp.net. Is that possible? if so, how would I configure the site or IIS to run both. I'm very new to asp.net and any help would be appreciated. Jamal ...more >>

Where to find help with ASP.NET...
Posted by salty at 9/25/2006 12:08:01 PM
.... when no one here has an answer? Does MS offer support for its programming products where that support doesn't cost an arm and a leg, but where you can at least get a response? I'm not trying to be a jerk, I know that support on these newsgroups is voluntary, and I'm not jumping on any...more >>

DataGridView or something else
Posted by JohnK at 9/25/2006 11:47:01 AM
from what I read & tried, DataGridView was meant for Window Forms, not for ASP/Web pages... correct? While I can use it to display data, I can't seem to figure out how to edit the cells... I'm not looking to put edit buttons on each row... I'll go back to regular window forms before I creat...more >>

Prepare IIS for .NET Framework 2.0
Posted by Tor Inge Rislaa at 9/25/2006 11:39:22 AM
Prepare IIS for .NET Framework 2.0 I am running IIS 6.0 on a Windows 2003 Server. How do I prepare my server to meet the requirements for running applications on .NET Framework 2.0 TIRislaa ...more >>

Binding optional parameters
Posted by Mark Baldwin at 9/25/2006 11:19:35 AM
I have a web page with various controls that supply parameters to an ObjectDataSource. The ObjectDataSource has various methods that allow for filtering of the results...GetProductsByID(), GetProductsByIDAndDate()...etc Because the parameters are optional, I have to make a methods that take a...more >>

How to completely disable all caching during debug?
Posted by keithb at 9/25/2006 10:54:53 AM
Using the VS built-in web server, class properties and datatables seem to be getting cached between my debug sessions. How can I disable all caching? Thanks, Keith ...more >>

Naming Convention
Posted by sck10 at 9/25/2006 10:15:52 AM
Hello, Numerous people have kindly commented on my use of the Hungarian style naming convention, which I am appreciative of. In trying to move away from this naming style, I have run into some difficulty. For example, I have a application that has something like the following: Text Box...more >>

Downloading multiple files
Posted by Maury at 9/25/2006 8:25:19 AM
Hello, I would like to download multiple files with one click in a web form link, I know how to download a single file, and I think that a solution is to zip all the files in an archive, and then downloading it, but I'm looking fo another solution, do you think that is is possible another way?...more >>

Client Certificate User Mapped Account
Posted by jnet at 9/25/2006 8:14:30 AM
Hi, How Do I retrieve the mapped account to a client certificate in .NET? I have multi certificates distributed to different clients; I want to know from whom the request is coming, so I can load the appropriate settings into session, Instead of following forms/windows authentication, we jus...more >>

How do you bind a datalist that is inside a bound datalist
Posted by ASP Developer at 9/25/2006 7:56:01 AM
Is it possible to bind a datalist that is inside of a bound datalist? Any help would be greatly appreciated....more >>

Slow menu control in IE with large grid, fast is FF
Posted by Patrick Sannes at 9/25/2006 6:57:17 AM
Hi there, We have a problem here that the menu control in asp.net 2.0 have a bad performance (client side) when we have a large gridview in the page, with IE. Responses of the mouseover are realy bad.... When I open the same page in FF there is no problem at all... Does someone know what caus...more >>

Programmatically Determin Max Field Length
Posted by crjunk at 9/25/2006 6:52:46 AM
I'm trying to programmatically determine the maximum field length for an Access table. I've had problems using the examples that I have come across on the internet. Can anyone provide me with a simple way to determine the max length of a field? Thanks, CR Junk ...more >>

how to disable elements in div in mozilla
Posted by sama via DotNetMonster.com at 9/25/2006 6:49:00 AM
Hi , I am using a radioButtonList insisde a div. Now, on clcick of a button i want to disable the radiobuttonList. When i say document.getElementById('divsama').disabled=true; it works in IE but not in firefox. COuld anyone help me with this. -- Sama India Message posted via DotNetMon...more >>

Serial port comms with ASP.Net
Posted by Jonathan Attree at 9/25/2006 6:39:01 AM
Is there a way to duplicate the functionality of the old VB6 MsComm.ocx control in an ASP.Net application? I just need to read barcode scanner input data from the client PCs COM port. I know I could use a keyboard wedge scanner but serial would be more controllable. Any help much appreciate...more >>

q; not performed during debug
Posted by JIM.H. at 9/25/2006 5:54:02 AM
private void DownloadPDF(string fPath) { Response.Clear(); Response.ContentType = "Application/pdf"; Response.WriteFile(fPath); Response.End(); } private void Show(string file) { DownloadPDF(file); int i =1; // not perf...more >>

aligning objects in Visual Studio 2005
Posted by jason NO[at]SPAM cyberpine.com at 9/25/2006 4:55:24 AM
I have two <DIV> areas side by side of different sizes. I've tried lining them up so that both bottoms are on the same line, but when I render the page they are not. Outside of putting these in a table, how can I line them up .. is there feature in VS? ...more >>

growing <div>
Posted by jason NO[at]SPAM cyberpine.com at 9/25/2006 4:19:46 AM
Two <div> areas side by side. When one grows downward, I'd like the other to do so as well. Any way to do this?l I tried nesting, but no success. I'm using them to contain contentplaceholders (ala masterpages). ...more >>

How to use Microsoft.JScript in a web service
Posted by namewitheldbyrequest NO[at]SPAM gmail.com at 9/25/2006 4:18:28 AM
I created a web service that includes the statement: using Microsoft.JScript; so I can use the eval methods. The Web Service won't build: Error 1 The type or namespace name 'JScript' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) Do I need to ask my...more >>

How do I configure IIS for the following?
Posted by Andrew Chalk at 9/25/2006 3:46:59 AM
How do I configure IIS for the following. I have a directory called base and then several directories at the next level down corresponding to versions of my ASP app. I.e. BASE Ver1.0 Ver1.1 ... Ver1.n Each Ver... directory has my complete ASP project in it. I want the...more >>

Are you using the gridview controls automatic paging functionality?
Posted by nyhetsgrupper NO[at]SPAM gmail.com at 9/25/2006 3:21:31 AM
If I have a table with 500.000 records will it be smart to use the automatic paging functionality included in the gridview control? How can this work? Does'n the gridview control need to load the whole table into a datasource and then filter out the page it want to display? Can somebody explain...more >>

VS2005, Web Site and build error
Posted by RicercatoreSbadato at 9/25/2006 2:46:00 AM
I'm using VS2005 with - a web site in asp.net - a class library I call from the site some methods into the class library. I use the code behing in some pages of the web site. When I rebuild the solution, the VS2005 doesn't show the errors in the code behind of the web site, why? I can't w...more >>

Initiate Masked File Download
Posted by jwf at 9/25/2006 2:14:01 AM
I am developming a web application in ASP.NET (VB) and am looking to develop functionality where a user clicks on a link to download a file but at no point can the user see the actual URL link to the file. When the file is originally uploaded to the webserver it will be given a unique rand...more >>

Centralized resource files
Posted by vecozo NO[at]SPAM online.nospam at 9/25/2006 1:46:01 AM
Centralized resource files Hi, We are considering to migrate our custom asp.net localization procedure, to one that stored .Text properties of controls in a SQL database, towards the usage of standard resources (hence .resx files). Plain Resx files do not seem to be a very scalable solut...more >>

How to prevent dimming of controls that are not enabled
Posted by namewitheldbyrequest NO[at]SPAM gmail.com at 9/25/2006 1:35:56 AM
Is there a way to disable a web form control (change the Enabled property to false) without the control being dimmed out when it's rendered? I have quite a few of them on the form and they are hard to read when they are disabled . Thanks, Bill Cincinnati, OH USA ...more >>

Cascade updating/deleting and 3 tier architecture
Posted by Nemisis at 9/25/2006 1:16:48 AM
Hi everyone, Wonder if anyone can shed some light on how i should setup cascade deletes of object data within my database. One option is to use SQL triggers, is this a good idea? Should the logic be in my business layer instead? or maybe even the data access layer? I also have the prob...more >>

Problem: getting generic error in gdi+
Posted by Showjumper at 9/25/2006 12:17:01 AM
I have set a file based photo galery. Thumbnails are generated and saved to disk. Everything was working or so i thought until i found this problem. When you click a link to go to a gallery everything works fine. But if you reload that page then you get the dreaded generic error message. To...more >>


DevelopmentNow Blog