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 > march 2007 > threads for friday march 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

Localization:Translating DB values in local languages
Posted by yashgt NO[at]SPAM gmail.com at 3/23/2007 11:35:01 PM
In our ASP .NET 1.1 application, we query the database to obtain a list of categories such as "Agriculture", "Business", etc. and display them to the user, each against a checkbox. The names of categories are obtained dynamically from the DB. The categories are stored in the DB in English. We no...more >>

VB.NET and SQLDataSource
Posted by Dave at 3/23/2007 10:24:29 PM
Let's say that you wanted to perform an INSERT, but that one of the values in the insert had to be selected from another table based on the text property of a TextBox? Something like this: insert into visit_table (date, id) values (@DATE, (select top 1 id from id_table where name = NameBox.Tex...more >>

How to determine IIS Application name from asp.net?
Posted by 1388-2/HB at 3/23/2007 8:36:32 PM
Title says it all. Long version is that I have a win 2003 server box with 2 nics in it, 1.1.1.1 and 2.2.2.2, both hosting websites that reference the same code location. "happywebsite.com" is hosted on 1.1.1.1 on a website object called "happy" and "sadwebsite.com" is hosted on 2.2.2.2 on ...more >>

Sys.ArgumentUndefinedException: Value cannot be undefined. (baseType)
Posted by Ryan at 3/23/2007 8:23:40 PM
Hello everyone, I posted, but the subject seemed to be missing, so I am posting again in hopes of an answer, because I have no idea what to try next. The site works on a development server, but on the production server, displays this error message on every page: Error: Sys.ArgumentUndefin...more >>

How to modify objects in .aspx without a postback?
Posted by Bob Anderson at 3/23/2007 7:39:08 PM
I have a page that has some form objects that determine how a datagrid gets populated. When a dropdown list is changed I want to change the value of a label without reposting (and re-querying for the dataset). Essentially I want to do client-side + server side on the same page. Is this possibl...more >>

Troubled authentication in subdirectories
Posted by Benton at 3/23/2007 6:46:03 PM
Hi there, I want to have an unrestricted root directory and some protected subdirectories on my ASP.NET 2.0 application. I want each subdirectory to have its own Login.aspx page. The following article is a good start, but it uses a single Login.aspx located in the root directory to prote...more >>

How to set Command Timeout for SQLDataSource control?
Posted by John Kotuby at 3/23/2007 5:44:58 PM
Hi all, I have set up a page with a Repeater and a SQLDatasource control, the data control suggested by online Help for use with the Repeater. I am getting Timeout Expired after 30 seconds. I expect many of my queries to take longer than 30 seconds because they are ad hoc user-defined searche...more >>

Ajax.net Development to Production = javascript error (baseType)
Posted by Ryan at 3/23/2007 5:35:59 PM
Hello everyone, Here is my error: Error: Sys.ArgumentUndefinedException: Value cannot be undefined. Parameter name: Source File: http://www.ebms.com/JobPosting/ScriptResource.axd?d=YI7lPHZUEipnYNqT37PJ2HV9zmvWOCZv9GBDXY6_2A6hVs8RnwyrfslFBFiMJZnQPcHr_WLYZ-Gvc-G_yovAy88nNpgczzdGEBdYHHuM3cY1&t...more >>



Problem with Ajax install on vista ultimate with VS(td) and sql server 2005
Posted by Karl at 3/23/2007 4:13:01 PM
Hi all. I've recently rebuilt my Vista Ultimate workstation with Visual Studio Team Developer edition. Ive also put on the SQL Server 2005 tools and it's fully patched. I was building a web application in VS before the rebuild and I've just come to do some work on it, and it has reminded me...more >>

onmouseover with gradient background like the ms site?
Posted by madladuk at 3/23/2007 3:57:29 PM
Hi all. Does anyone have any example of how to do a gradient background whilst moving over graphics and text like the Microsoft web site. On the MS site when you select an area a window popup and as you hover over the sections it fill in a nice gradient background, any assistance? Thanks...more >>

clipboard / ajax
Posted by Chang Lui at 3/23/2007 3:52:21 PM
Does anybody know how to let the user click a link/button and copy text from the browser to clipboard. Isn't there a ajax-control out there somewhere? Thanks ...more >>

catch values of dynamic controls
Posted by Andreas Wöckl at 3/23/2007 3:47:03 PM
Hi Group! I have a web form that is created dynamically - so I create Textboxes, RadioButtonLists, CheckBoxLists and so on - I have found some articles that there may be some problems with postback - but if I press a submit button the textboxes keep the value. My problem is the following: ...more >>

Update databse frx
Posted by Marin at 3/23/2007 1:40:44 PM
I have problems with updating access database from asp.net 2.0 application. I use this code: SQL = "UPDATE Tabela Set Polje1=" & CInt(Text) & " WHERE ID=" & CLng(Session("ID")) cmd = New OleDbCommand(SQL, odbConn) cmd.ExecuteNonQuery() No compile error, no run-time error but database is not...more >>

DBF and ASP.NET
Posted by Marcos Galaviz at 3/23/2007 1:36:51 PM
Hi, i need to make some "SELECTS" from a DBF's tables to see records in ASP.NET in a GridView, i would like to use a datatable for that but i can't with te dates ¿can somebody help me with that? ¿how can i select the records betwen dates in DBFS for example between 01/01/2006 and 31/12/2006? ...more >>

Keyboard Layout in ASP .NET
Posted by news.microsoft.com at 3/23/2007 1:08:26 PM
Hi Is there any way to change the keyboard layout when a TextBox on an ASPX page gets the focus? Regards, Mystique ...more >>

Errors on ..ServerVariables
Posted by tshad at 3/23/2007 12:51:58 PM
Why is System.Web.HttpContext.Current.Request.ServerVariables["APPL_PHYSICAL_PATH"] giving me the following message: C:\VSProjects\NewHires\NewHire.cs(227): 'System.Web.HttpRequest.ServerVariables' denotes a 'property' where a 'method' was expected I have used this is in other projects...more >>

How to change local webserver in VS2005?
Posted by Dave at 3/23/2007 12:29:24 PM
If I wanted to use my local copy of IIS as my webserver, how do I change where my web project points to for its files instead of the local built-in webserver? ...more >>

make a class sortable
Posted by Grant Merwitz at 3/23/2007 11:55:32 AM
I have a basic object in an array. I bind this class to a gridview. How can i make this class sortable? Here's an example class public class MyClass { public MyClass(classname, classtype) { this._ClassName = classname; this._ClassType = ...more >>

"ASP.NET AJAX-Enabled Web Site" or "AJAX Control Toolkit Web Site"?
Posted by mark4asp at 3/23/2007 11:26:58 AM
Which should I use: 1. "ASP.NET AJAX-Enabled Web Site" or 2. "AJAX Control Toolkit Web Site"? In the first, controls from the control toolkit start as: <cc1:SomeControl></cc1> In the 2nd, those controls are: <ajaxToolkit:SomeControl></ ajaxToolkit> As soon as I have entered the first co...more >>

Flash video and asp.net
Posted by Rafael tejera at 3/23/2007 10:54:31 AM
Somebody knows a component to play and control flash video inside asp.net Rafael ...more >>

SQL Session Database Name?
Posted by Bill44077 at 3/23/2007 10:45:16 AM
Hi, Has anyone seen a problem with connection to a sql session database that has an underscore "_" in the name such as: aspnetstate_it .... if you look at the error message it says that the object 'aspnetstate.dbo.aspstatetempapplications' is invalid. thanks! Bill...more >>

Number
Posted by shapper at 3/23/2007 10:42:07 AM
Hello, What should be the data type for holding numbers with 2 decimal places (2.32, 4.23, 1.23, ...)? Thanks, Miguel ...more >>

Navigation Problem
Posted by archana at 3/23/2007 10:36:27 AM
Hey, All,i know this newsgroup is for asp.net controls.but Avoid this, Actually i want to say this we people are creating a site and we want to add some functionlaity in some pages.. Means if User Surf One page and moves to naother page,,then The user Must not be able to move back(not able to s...more >>

String
Posted by shapper at 3/23/2007 10:31:56 AM
Hello, I have the following string: "first, second, third, fourth, last" And yet another one: " yellow and blue , something,hello,nothing " I would like to get all words and phrases and be sure to remove the white spaces before and after , Then I would like to create some ki...more >>

Disable controls on a page
Posted by tshad at 3/23/2007 10:18:31 AM
I have a page that has about 20 textboxes and dropdowns that I want to disable until a button is pushed. I don't want them to be hidden which I can do with <div visible=false runat=server> or <asp:panel visible=false runat=server>. I want them to see the whole page but just disable all the...more >>

Connection String to connect to an Oracle DB in a remote server
Posted by toamitha NO[at]SPAM gmail.com at 3/23/2007 10:15:29 AM
Can u please show me the Connection String to connect to an Oracle DB in a remote Server using VB.NET Application. ...more >>

passing value from radiobutton to JavaScript
Posted by Larry at 3/23/2007 10:09:10 AM
anyone have an example of passing a value from a radio button to a JavaScript function in ASP.net? <input type="radio" value="text_play" name="play_type" checked="checked" /> this is the type of radio button. *** Sent via Developersdex http://www.developersdex.com ***...more >>

Custom control's click event
Posted by Mark at 3/23/2007 9:56:00 AM
Hi, I have built a custom control button which inherits from WebControl and implements IPostBackEventHandler. The control also declares an event Click and provides a method OnClick which invokes the registered delegate. All is fine with my control until I try to add it to the page dynamically ...more >>

Tell if back button pushed?
Posted by tshad at 3/23/2007 9:42:14 AM
Is there a way to tell if you got to the current page from the user pressing the Back Button? Thanks, Tom ...more >>

Best ways to source controlling "Code Snippets"
Posted by frk.won NO[at]SPAM gmail.com at 3/23/2007 9:31:56 AM
I am interested in learning how to use the VS 2005 code snippets. However, I wish to know what are the best ways to source control the code snippets? Are there any source safe/subversion add-ons for this purpose? If not, any urls which demonstrates code snippets management? I apolog...more >>

Setting master page properties from custom base page
Posted by William Youngman at 3/23/2007 9:07:06 AM
I am on a team that is developing a proposal generation web application = and we are using a custom base page (ProGenBase.cs) located in the = app_code directory and all of the app's web pages inherit from this = custom page. Additionally I have a main menu tab control that is located = in a mas...more >>

problem with datalist and server tags
Posted by Josh Nikle at 3/23/2007 8:51:13 AM
I hope someone can help with this, because it’s driving me crazy. It’s also a little tough to describe what’s happening, but I’ll do my best. I have a class that takes a ProductID and then uses it to generate some html. I then insert that HTML into my page via server tags. I’m us...more >>

Real time video streaming
Posted by senthil at 3/23/2007 8:45:47 AM
How to capture video stream from webcam in server and display it to client browser.This has to be done on webform using asp.net(vb.net).i have seen lot of samples for windows form it is not applicable for webform.Do people have any previous exp.or any suggession in it.Reply to me....more >>

retrieve binary data from database and display in browser
Posted by scottrm at 3/23/2007 8:26:41 AM
Hi I am using a SQL Server 2005 varbinary(max) to store word documents in the database. I can retrive the data out into a MemoryStream object ok but I want to be able to use this to display the file in a web browser from an asp.net page. I found quite a lot of articles like this http://s...more >>

Project Name in an asp.net Item Template?
Posted by gabe at 3/23/2007 8:01:07 AM
Hi, Is it possible to store the project name in an Item Template? I can use $safeprojectname$ in a Project Template, and the correct name is replaced. However, if I do the same in an Item Template, it is not replaced. I'm using VB.Net in a Web Application Project in VS 2005 SP1. Thanks...more >>

Adding separator to datagrid
Posted by AriJayaraman NO[at]SPAM gmail.com at 3/23/2007 8:01:03 AM
I am having one datagrid in my page where the user will enter some information and that information is saved into database.I am adding separators to my datagrid rows in the pre render event of the datagrid.It is displaying the separators properly in the web page. In the save button click, I am...more >>

.net 1.1 && Ajax ???
Posted by DotNetDev at 3/23/2007 7:44:45 AM
Hi, We are still using .net 1.1 and I am working on a problem that I thought could be 'probably' done easily through 'AJAX'. I visited the ajax.asp.net site and I got an impression that its only for .net 2.0. Can any one point me to resources for using AJAX with asp.net 1.1? Thnx...more >>

RSS Feed
Posted by MDB at 3/23/2007 7:23:39 AM
Hello All, I am very unfimilar with RSS feeds and figure it can not be that difucult however, am having one heck of a time figuring it out. I have been giving a link to an RSS reed that I have to add to my web site and can not figure it out. The Link is mysite.com/myfeed.RSS and all of th...more >>

Calendar popup - sort of
Posted by Keith at 3/23/2007 7:14:24 AM
I am looking to use the Calendar control in a standard way, with a couple small(hopefully) differences. I have a textbox with a date, and a calendar button next to it, and when you click the button I want to show the calendar control, where the user can pick a date and update the textbox. Ho...more >>

Text element's width is too wide when doctype is set to XHTML
Posted by mszanto NO[at]SPAM hotmail.com at 3/23/2007 6:50:16 AM
I've read a bunch of posts on this and none of the answers are legitimate (IMHO) so I thought I'd throw it out there again. Using the html code below, if you set the doctype to HTML 4.0, and view the page in IE 6 or 7, the text element fills the table cell perfectly. If you change the doctype...more >>

UriFormatException from WSE in 2.0, not in 1.1 (need help)
Posted by torbjorn.maro at 3/23/2007 6:20:27 AM
I'm developing an ASP.NET 2.0 site wich uses some 1.1 assemblies built by our team (server and win client is still 1.1, web is 2.0). The problem is that my use of thiese assemblies - wich uses WSE 2.0 SP3 - suddenly throws an exception. We can't find any code changes that should cause this. The ...more >>

Webcontrol calling JavaScript Function
Posted by Larry at 3/23/2007 4:22:10 AM
Anyone have an example of a webuser control with a checkbox that passes information to a JavaScript function on the same page? on the page I have a checkbox and a textbox (both are server controls). I want for texbox(server control) information to be passed to the JavaScript Function WHEN th...more >>

IIS ASP.NET
Posted by RedLars at 3/23/2007 4:08:29 AM
Cant seem to find a solution to this problemed (found many similar). Using WinXP Prof with SP2 (.NET 1.0 and 1.1 - and IIS 5.1) The ASP.NET service didnt work and the ASP.NET tab in IIIs was missing, so I did aspnet_regiis -i under 1.1 .NET folder which seems to have fixed the webservice b...more >>

Directory struture
Posted by Zeba at 3/23/2007 2:06:46 AM
Hi guys, I've got a confusing problem regarding my directory structure. My directory structure is something like StoreCore(root directort to which IIS points) >images >>logo.jpg >>Header2 >>>BuyImage.jpg >masterpage.master >BuyFolder >>SearchFolder >>>ItemSearch.aspx >>ViewIt...more >>

Could not load file or assembly 'Microsoft.Practices.ObjectBuilder,
Posted by BSM at 3/23/2007 2:04:21 AM
Hi, I developed one project in my Remote machine. I used Microsoft Enterprise Library. It is working fine in Remote computer. When I open the project and run in my local computer. It shows the following error. Error 1 Could not load file or assembly 'Microsoft.Practices.ObjectBuilder, Vers...more >>

VWD or VS2005 ?
Posted by Peter at 3/23/2007 12:00:00 AM
Hi,everybody I'm a Newbie to ASP and ASP.NET. I know both Visual Web Developer and VS2005 can develop ASP.NET. Which one should I choose? Peter ...more >>

Measuring Session Size
Posted by Logu Krishnan at 3/23/2007 12:00:00 AM
Hi I'm trying to profile my application and do sizing of the app. is there a way to size the session ?? -- Logu Krishnan ...more >>

Lots of type 'xxxxxxx' is not defined errors when migrating web site project to web app project
Posted by nospam NO[at]SPAM nospam.sss at 3/23/2007 12:00:00 AM
I am migrating a web site project to a web application project as indicated at this page: http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx However when I try to compile, I get a lot of type 'xxxxxxxxx' is not defined errors. It seems classes in the project are not getting compil...more >>


DevelopmentNow Blog