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 > november 2004 > threads for saturday november 6

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

Problem with Themes in asp.net 2.0
Posted by no.one NO[at]SPAM no.where.com at 11/6/2004 11:08:52 PM
Can anyone get themes to work in asp.net 2.0? The page I have below always looks exactly the same whether I leave out the Theme directive, or whatever valid value I put for the Theme. If I put an invalid value (like XXX), then I get build errors. Any ideas? <%@ Page Language="VB" Them...more >>

com in asp.net?
Posted by rom at 11/6/2004 9:31:56 PM
Hi, I have an asp.net application where I need to open the word application and perform some tasks. In the old days I would do that in a com and I wanted to know which is the best way to do it in the .net environment? for now I added a new vb.net file and created the classes in there, so ...more >>

Newbie: switch control
Posted by Lloyd Dupont at 11/6/2004 8:40:48 PM
I try to create a switch control, but I'm hitting a problem, changing the switch value with button in the page (below failig test code). I know in this test case I could create an extra variable and use it, my problem is the switch, i my real problem is in a repeater, hence I cannot use a p...more >>

Date entry locale
Posted by John at 11/6/2004 8:28:40 PM
Hi I am hoping some of the people here use infragistics data editor control. My date editors only accept dates in mm/dd/yyyy format. How can I make them allow entry in dd/mm/yyyy (British) format? Thanks Regards ...more >>

DataGrid Key Field - Actual Value
Posted by Prince at 11/6/2004 7:52:39 PM
Hi, could someone either please tell me or point me in the right direction. I have a DataGrid on a page with the DataKeyField="ID". The grid displays checkboxes for each record. I have an <asp:Button> on the page. In the handle for the button click, when I determine if the checkbox is ...more >>

maintain viewstate in listboxes
Posted by DC Gringo at 11/6/2004 7:49:56 PM
I have an asp.net vb page with two web user controls on it. The first user control, uc1.ascx has a series of list boxes that are populated in series by each other with ONSELECTEDINDEXCHANGED. In the second control, uc2.ascx, lower down on the page, there is an imagebutton. When the imagebutt...more >>

Transfering web control data from one page to another
Posted by Ben at 11/6/2004 7:37:02 PM
I used the following code to transfer some web control data from Page1.aspx to Page2.aspx. It is successful to get the TextBox.Text over, but the DropDownList data failed to appear in Page2. I wonder what went wrong? Page1.aspx.cs ----------------- public object Dept { get { re...more >>

Nested Repeater Help
Posted by Tommy at 11/6/2004 5:38:07 PM
I have been working on getting nested repeaters to work for several days. When I add a repeater inside my item template i cannot see it in my code and can't set the datasource for it, etc, thus it's useless. Anytime i try to reference rptChild I get an error saying that it's not an object. ...more >>



"The request is not supported"
Posted by Julia at 11/6/2004 4:49:34 PM
Hi, I have upload my ASP.NET application to my IIS 6.0 server and whenever i try to get a aspx page i get "The request is not supported. " in return when i try to get a .txt file which is in the same directory of the ASP.NET application it works. What am i doing wrong? BTW:Asp appl...more >>

How to access values entered in User control in the main page.
Posted by vineetbatta at 11/6/2004 3:31:04 PM
Hi all, i have a user control which allows the user to enter Name& Address in text boxes. I use the same user control in the main page... Is there a simple way of accessing the Name & address entered in the text boxes of the user control in the main page(Page hosting the user control ...more >>

Authentication Security
Posted by David Kyle at 11/6/2004 3:05:58 PM
Hello Guys (and Girls), I've developed a few web applications now all using a SQL Server database for a backend. Up until now I have tried multiple approaches to Authorization and Authentication but this time I decided that I would use industry standards inside of .NET. There's ...more >>

Inserting subtotal rows into a datatable
Posted by GaryB at 11/6/2004 2:48:25 PM
I have an untyped datatable that has financial numbers and controls that were populated by code (not a simple fill from a DA). Now I want to insert subtotals into it. I wrote a sub to do so that uses InsertAt(myrow,i). When I trace through the sub it is doing the insertat and the value of i ...more >>

Javascript and ASP tags
Posted by No One at 11/6/2004 2:37:53 PM
I have a few ASP.Net tag generated controls that need to have client run Javascript assigned to the click method. When I try to assign a Javascript function call to the OnClick property of the control, I get a run time error when it tries to render the page. Can Javascript be added to ASP.Net ...more >>

WebDAV Issues After Upgrade to Exchange 2003
Posted by George Durzi at 11/6/2004 10:55:31 AM
We recently upgraded to Exchange2K3/W2K3 from Exchange2K/W2K, and some of my c# code that I used to access users' contacts using WebDAV has stopped working. I'm getting a 401 unauthorized error. Hopefully, I can explain this adequately. Prior to the upgrade the following code was working pr...more >>

Printing PDF from Process.Start( , ) without user prompt
Posted by mg at 11/6/2004 10:05:04 AM
The following .exe and its parameters work correctly from the command prompt (it prints x.pdf without prompting the user. acrord32.exe /t "c:\exportfiles\x.pdf" "HP LaserJet 3300 Series PCL 6" "HP LaserJet 3300 Series PCL" "DOT4_001" But, I have not been able to use the exe and its paramet...more >>

Web Config
Posted by Claudio at 11/6/2004 8:54:34 AM
Is there a way to write to the web.config file during the execution of the application? ...more >>

Newbie: Image button aspect ratio
Posted by David Whitchurch-Bennett at 11/6/2004 7:22:01 AM
I have some image buttons which I am dynamically adding from a database. No problems so far... However, when it loads the image using IMAGEURL=, it doesn't keep the original aspect ratio. Is there a way to keep this without resizing the control? Many thanks, David Whitchurch-Bennett ...more >>

DataAdapter vs Coding
Posted by TJ Doherty at 11/6/2004 7:03:02 AM
Need help understanding the following please: When I am creating a project and code my connection using Dim connectString As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=C:\Temp\NW-test.MDB", everything works correctly when I run the project. However, if I set up the exa...more >>

Using vbCrLf in a Panel Ctrl
Posted by Kenneth P at 11/6/2004 5:01:01 AM
Hi, I have a Label control with some text. I'd like to include some vbCrLf in this textmass but it doesn't work. lblTxt.Text = "Some text " & vbCrLf & "some new text..." Can't I use vbCrLf in Label controls? I've done it successfully in multiline textboxes, but then the up/down arro...more >>

Using TimeSpan or Elapsed e.t.c. Methods
Posted by Kenneth P at 11/6/2004 3:35:02 AM
Hi, I'm having a problem to measure the time between two events Dim StrStart As DateTime = DateTime.Now.ToString("h:mm:ss.fff") .... do some stuff ... Dim StrEnd As DateTime = DateTime.Now.ToString("h:mm:ss.fff") Dim Total As TimeSpan Total = TmeSpan(StrEnd, StrStart) ' doesn't work Str...more >>

Here's a tough one (for me at least)
Posted by Joe at 11/6/2004 1:28:05 AM
I have a DataGrid which is bound to a class except for 1 column which is a checkbox. I want the user to be able to check/uncheck as many boxes as possible without posting back to the server for each. When the user clicks a link it will reload the grid with different data and I need to get the sta...more >>

datagrid and multiple checkboxes(hotmail model)
Posted by a developer at 11/6/2004 1:27:01 AM
i have a datagrid in which there is a template coulmn i have taken... which has template column in first column as checkbox in its header as well as item template also....now i need the functionaly like hotmail account,yahoo acoount where every pesron cheks mail today.... basically the heade...more >>

how can I access methods in another class?
Posted by Davids at 11/6/2004 12:27:53 AM
ok this is basic but it really puzzles me. I have an .aspx page and within it a user control (for example mycontrol.aspx and it's code file mycontrol.aspx.cs). In the code for my base page I declare a public calculator class with some simple functions. Now how can I access and use this class'...more >>


DevelopmentNow Blog