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 > june 2004 > threads for sunday june 27

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

View Source of a Modal Dialog
Posted by Jeremy at 6/27/2004 11:59:50 PM
How can I view the HTML source of a page that has been opened as a modal dialog box (in IE6)? Thanks ...more >>


Application remember old code???
Posted by Tim::.. at 6/27/2004 11:40:01 PM
Hi, I'm new to ASP.NET and VS 2003 and was wondering why even after I have deleted a piece of code and rebuilt it, it still remembers the code I deleted! Do I need to delete the dll and if so how do I delete it, I presume it has to be unregistered??? Any ideas? Thanks!...more >>

User Control Property Problem, help!!!!!!
Posted by Astroboy at 6/27/2004 10:48:35 PM
I have create a user control and set public property PageTitle as string get return _pageTitle end get set(value as string) _pageTitle=value end set end property somehow it's doesn't show up on the property page(F4) and also when I go to behind coding, it's ...more >>

HtmlTable control css class
Posted by Alfred Salton at 6/27/2004 9:50:42 PM
Can anyone show me how to set the css class of an HtmlTable control in code on the server? I can't find any indication that the css class is a property of the HtmlTable, HtmlTableRow and HtmlTableCell classes. I'm getting the uncomfortable feeling that this can't be done, even though it see...more >>

Error using smartnavigation????
Posted by Bobby at 6/27/2004 9:47:05 PM
Hi all... I rather confuse using smartnavigation in my web application because if I set the "smartnavigation = true" then If I run my app, then after I post page that page, using event dropdownlist1_selectedIndexChanged then the page would't get the css, and then the IE will generate error con...more >>

Session State ?
Posted by WJ at 6/27/2004 8:49:33 PM
I am setting the Session State TimeOut to 54 minutes (20 is default) in the Web.Config. I use SQL Server to persist the session states & ID. As long as I am remaining in the web sites, I see all the data persisted from page to page. However, once I quit the browser (MS/IE 6.1) and got backin with...more >>

How to Set a field to get focus on startup
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 6/27/2004 8:02:41 PM
How do I set a field on my screen to get focus when the page opens? Thanks, Tom Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** ----------------------------------...more >>

Datagrid formatting dropping leading blanks
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 6/27/2004 6:02:28 PM
I am reading into a datagrid and can't seem to get the "execution time" column (the 3rd column) to move to the right. My problem is that the last character in the 2nd column is right up against the end of the column and the 3rd column is too close and confusing. So I was trying to move the da...more >>



Question on use of Static Methods
Posted by Joe Fallon at 6/27/2004 4:29:19 PM
In another post Kevin Spencer stated: "one should be careful of using static fields, properties, and methods, by understanding what the implications of such are (e.g. locking static variables when changing because they are not thread-safe)." Can someone please elaborate on the pros and cons of...more >>

JavaScript: Access DropDownList's current SelectedText value?
Posted by Jeremy at 6/27/2004 2:15:15 PM
In client-side JavaScript, how does one retrieve into a variable the currently displayed text in a DropDownList control. I tried this, but it gets the current ID/value- not the displayed text: var curText = document.all("DDLSomeList").value This doesn't work either (although SelectedItem.Tex...more >>

set a date value
Posted by Guoqi Zheng at 6/27/2004 1:42:12 PM
Dear sir, We are on the week of 27 in year 2004. So this week is "2004-27", last week is "2004-26", My question is how can I get the first sunday of week "2004-26", how can I change string "2004-26" into a DateTime variable with the value of first sunday of week 2004-26??? -- Kind reg...more >>

frame.src trouble
Posted by vin at 6/27/2004 12:50:01 PM
Hi, Without going into too much detail. Tree structure loads an iframe on client side by specifying frame.src="wfGetMySQLData.aspx?DataID=" & myDataID. Works great. The problem is that after i update the data and it is saved to the database clicking the tree node reloads ="wfGetMySQLData.aspx?...more >>

Button With No PostBack
Posted by Jeremy at 6/27/2004 9:01:00 AM
I have an ASPX page with a bunch of System.Web.UI.WebControls.Button controls on it. By default, clicking on any of these causes a Postback. I'd like to have it so that for a couple of these buttons, no PostBack occurs - and rather some client-side script is executed (with no postback subsequent...more >>

Function calling (newbie?)
Posted by Gmansky at 6/27/2004 8:41:13 AM
I am having difficulty trying to output a function that I created on the codeblock of my aspx page. I have a function displaytext(mytext as string) displaytext = replace(mytext, vbcrlf, "<br>") end function I'm getting an error when I use this on the html side <td> <%# displayTex...more >>

webservice.htc???
Posted by grawsha2000 NO[at]SPAM yahoo.com at 6/27/2004 7:12:03 AM
Greetings, Just wondering about why the link to webservice.htc has been archived?? Is there a replacement or just discontinued?? MTIA, Grawsha...more >>

Re: ASP.NET / Global Assembly Cache / Local config
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/27/2004 3:40:04 AM
John, What I've done in the past is had one copy of the site on the server, and a "Configuration" virtual directory for each of the individual domains you want to map up (if they require different features). So the steps to do this: - 1. Copy files up to "c:\mysites\mysite\" 2. Create fo...more >>

Re: Inherited User Controls Not Showing Up
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/27/2004 3:26:44 AM
Brandon, You've not posted the code for the "MyToolbar" control, it's probable that's where the problem is, can you post that? Cheers, Phil Winstanley Microsoft ASP.NET MVP http://www.myservicescentral.com ...more >>

Re: ActiveX fails to install on Xp machine
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/27/2004 3:21:47 AM
Joe, Do you get any on screen errors? What browser version are both machines running? Is the control installed but not loading perhaps (this can be checked by going to: - Tools, Internet Options, Temporary Internet Files, Settings, View Objects. Or browsing to "C:\WINDOWS\Downloaded Prog...more >>

Re: Client-Side DropDownList Event Handling?
Posted by Phil Winstanley [Microsoft MVP ASP.NET] at 6/27/2004 3:17:59 AM
Jeremy, You can add the client side "onchange" attribute to both drop down lists using this server side command: - myDDL.Attributes.Add("onchange","SomeClientSideFunction();"); Also, if you look at the Server Side property "ClientID" it should give you the ability to target your controls ...more >>

need ideas to setup a software company
Posted by sunnyz NO[at]SPAM lycos-dot-com.no-spam.invalid at 6/27/2004 3:02:40 AM
hi guys :) ..i wanna setup a software company...i'm looking for ppl who have the same passion so that we cud build up more and more of contacts, get new ideas and start the business right away...so any1 who wants to take over Microsoft join me :lol: Posted Via Usenet.com Premium Usenet New...more >>

Phantom folder in path
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 6/27/2004 2:02:34 AM
My program seems to be coming up with a phantom folder. The folder doesn't show up until I do my login page from my forms authentication web.config setup. Before I get the login pages all my paths look correct. For example: http://192.168.122.55/contour/VDW/default.asp After I go the l...more >>

Namespace not found in aspx but IS found in code behind
Posted by William Parker at 6/27/2004 1:39:06 AM
I have a class library that I built which I have added a reference to using the Add Reference option. Within my C# webform1.aspx I get a compile error with the following line stating that the type or namespace was found and asking if I'm missing a reference: <% MyNamespace.MyObj abc; %> ...more >>

ActiveX fails to install on Xp machine
Posted by Joe at 6/27/2004 1:38:07 AM
I have an ActiveX control in my web page and the control doesn't install on a XP machine. It works fine on Win2k pro. The warning dialog box does appear on both machine and does allow yes to be clicked. I checked the security settings and they're the same on both machines. NOTE: <object tag>...more >>

Timeout not working for Formauthentication
Posted by tfs NO[at]SPAM dslextreme-dot-com.no-spam.invalid at 6/27/2004 1:02:57 AM
I have a web program that is using formauthentication. My web.config file is <configuration> <appSettings> <add key="MM_CONNECTION_HANDLER_ServerDino" value="sqlserver.htm" /> <add key="MM_CONNECTION_STRING_ServerDino" value="Persist Security Info=False;Data Source=Dino;Initial Ca...more >>

Client-Side DropDownList Event Handling?
Posted by Jeremy at 6/27/2004 12:58:54 AM
I have 2 DropDownList controls on an ASPX page and would like to set the selected text in one of them during the SelectedIndexChanged event of the other - and I'd like to do this all client-side. I'm hard-coding the content of both DDLs, so the content of each could be known ahead of time and th...more >>


DevelopmentNow Blog