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 > february 2006 > threads for sunday february 19

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

How to convert a "~/xxx" url tp a client url?
Posted by Lloyd Dupont at 2/19/2006 11:32:09 PM
I can't use Control.ResolveUrl because I need to write the conversion in a utility class. However I know the current context. How could I convert the URL to one usable by the user? -- I have taken a vow of poverty. If you want to really piss me off, send me money. ...more >>


Partial page caching by user
Posted by wapsiii at 2/19/2006 11:27:50 PM
I have a user control that varies by user (HttpContext.Current.User.Identity.Name) Is it possible to cache the user control for every user? Mort...more >>

ImageButton Click Event in CustomControl
Posted by Steve at 2/19/2006 11:26:27 PM
Hi, I have a dynamically created ImageButton in a custom control, and I can't get the control to handle the ImageButton Click event. I see the control in the Page.Request.Form.AllKeys collection, but it's represented as "imgbtn.X" (and .Y), and I'm guessing that .NET can't connect the name t...more >>

Iterate over an objects properties
Posted by wapsiii at 2/19/2006 10:35:00 PM
From my database layer I get the object oUser. How do I iterate over every property in oUser? something like for each prop as oUserProperty in oUser.Properties do something... next Mort...more >>

Determine a session variable type
Posted by tshad at 2/19/2006 10:21:37 PM
I have some code to go through a session collection for my error page routine and I get an error on my objects that I store in session variables. Dim strName as String Dim iLoop as Integer For Each strName in Session.Contents trace.warn(strName & " - " & Session.Contents(strName))...more >>

uppercase
Posted by js NO[at]SPAM someone.com at 2/19/2006 10:19:17 PM
hi, how to set the web text box to only accept/display uppercase? Thanks. ...more >>

How to set output cache to never expire?
Posted by Frank Rizzo at 2/19/2006 10:15:31 PM
Hello, how do I set the output cache on the page to never expire. Currently I have this at the top of the page, but it's kind of silly. <%@ OutputCache Duration="100000" VaryByParam="id" %> Is there a special Duration value that means forever? Thanks...more >>

How read HTML contents into a string?
Posted by VB Programmer at 2/19/2006 9:15:05 PM
I have an HTML file that I want to read on the fly and insert the contents into a string (for the body of an email.) How can I do this? ...more >>



Session variables in Application_error not working
Posted by tshad at 2/19/2006 8:57:38 PM
I have an Application_Error function in my Global.asax function that works fine until I try to access my Session variables. I am emailing the results to myself whenever I get an error and would like to get the list of the users Session Variables there were there at the time of the error. But ...more >>

Word automation access is denied
Posted by Ron at 2/19/2006 8:35:34 PM
Hi there, We have a web application written in C# that need to deal with MS word 2003. it works fine on developer's machine but when we deployed it on web server, we got error msg says "Access is denied". So i guess the code is OK but web server configuraion has to be changed. I got .Net fr...more >>

How to know the page name
Posted by ad at 2/19/2006 8:10:57 PM
I am call another class's method in Web applicaiton. How can I know the page name in the method of another class? ...more >>

Problems using Directories
Posted by Roshawn Dawson at 2/19/2006 5:59:07 PM
Hi, I'm having a bit of a problem with ASP.NET. In my root directory I have created three subdirectories (Shoes, Styles and Xslt). In the Shoes directory is an .aspx file that makes use of an xslt file in the Xslt directory. The xslt file in use uses a css file in the Styles directory. ...more >>

building an asp.net 2 application
Posted by wl at 2/19/2006 5:14:01 PM
Hi, I've been using ASP.NET in the paset and was succesful in uploading it to my hosting account. I compiled the assembly of each project to the single BIN directory of my hosting account (the hosting account acted as a single application). I copied the .aspx files in different subfolders. ...more >>

How to add a reference?
Posted by Joe Befumo at 2/19/2006 4:19:32 PM
I'm trying to use a third-party postback control (http://www.obout.com/pb/postback.aspx) which appears to do just what I need. It includes a .dll, and some example (aspx and vb) pages. I added a reference to the .dll, and it shows up under references. I can browse the contents in the objec...more >>

ImageButton display problem
Posted by Dariusz Tomon at 2/19/2006 1:53:16 PM
Hi I have got two ImageButtons, one is a neighbour to another. Normally when I tried to use <image src=....><image src=....> the 2 pictures were displayed without any space between them. Now I want to have them as active ImageButtons and I can see space between them. I tried to define css ...more >>

how to create reader from data set
Posted by Jon Paal at 2/19/2006 12:03:38 PM
I have a dataset created from an xml file how can I create a datareader (dataview ?) ?? to return sql results =========== Dim ds As New DataSet() Dim sr As New StringReader(my_xmlData) ds.ReadXml(sr) 'query the dataset '---------------------------- Dim sql As string = "Select...more >>

ContentPlaceHolder - size on Master Page
Posted by Fred Nelson at 2/19/2006 11:55:37 AM
I'm developing my first VS2005 C# web application. On my master page I have a "contentplaceholder" and it covers a small portion of the screen. I can place controls anywhere on the pages that use it however this "break" is annoying. Does anyone know how to resize the content place holder - ...more >>

Master Pages & relative/absolute positioning?
Posted by Fred Nelson at 2/19/2006 10:33:31 AM
Hi: I'm working on one of my first web applications in asp.net 2.0 and I'm having a problem with absolute versus relative positioning of controls that I place on pages that use master pages with Content Place Holders. The controls placed in a content area with absolute or relative positioni...more >>

How to get DocTitle from aspx master pages ?
Posted by Mike Dee at 2/19/2006 10:25:33 AM
I posted this back in November 2005 a couple times but did not get any responses. I'm hoping someone here can please shed some light on this. I'm new to index server and can't get any DocTitle value back from index server (it is returned as null) for all my aspx pages. It do get the values ...more >>

MS work around on text wrapping in a datagrid does not work
Posted by TB at 2/19/2006 10:07:51 AM
According to Microsoft ( http://support.microsoft.com/default.aspx?scid=kb;EN-US;323169 ), there is bug in the the datagrid control, causing content to wrap in the columns of a datagrid eventhough HeaderStyle Wrap or the ItemStyle Wrap property to False. Following the advice in the same suppo...more >>

Type 'ADODB.Connection' is not defined.
Posted by Joe Befumo at 2/19/2006 10:05:19 AM
I'm getting the following error in my application: Compiler Error Message: BC30002: Type 'ADODB.Connection' is not defined. Source Error: Line 112: if(Request.Form("HdnQuestionCount") = 0) thenLine 113:Line 114: Dim objDataConn as ADODB.ConnectionLine 115: Dim objRSList as ADO...more >>

The case of the crazy reseting dropdowns :-( Please help!
Posted by Simon Harvey at 2/19/2006 9:01:51 AM
Hi everyone, I keep getting a problem with dropdownlist controls. It sounds really stupid, but my app is screwed as long as this keeps happening. It seems to spontaneously happen and then I cant fix it without rebuilding the whole page from scratch! Not Fun. :-( So whats happening is I ...more >>

ASP.NET 2.0, how to have server resource?
Posted by Lloyd Dupont at 2/19/2006 12:00:00 AM
I'm creating a web site and I store some SQL script in .SQL file. Now I would like to read this file. In an ordinary (desktop) application, I'm used to simply embed them in = the assembly and get a stream to them with: string GetEmbededText(string name) { Type t =3D GetType(); using...more >>


DevelopmentNow Blog