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

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

GridView custom column display.
Posted by typingcat NO[at]SPAM gmail.com at 2/5/2006 11:56:46 PM
Hello. It was very easy to display the contents of a table in a database using the GridView. But I wonder if this is possible. The field 'e-mail' contains original e-mail addresses, but for security reason, I would like to omit some part of them. For example, Original field data : someone@mic...more >>


Server PDF Editing Component
Posted by Ray at 2/5/2006 10:46:17 PM
I'm looking for a server-side PDF utility for editing PDFs, to be installed on a shared web server, ie I can just drop dll into my folder. Basically I have an existing PDF to which I need to insert text programmatically, on top of blank lines in the PDF file, thereby creating and serving cust...more >>

finding the datatype of a column in a datatable
Posted by wapsiii at 2/5/2006 9:50:29 PM
How do I query the datatype of a column in a datatable (Ineed to find the smalldatetime datatypes in a ms sql produced datatable). I'm trying this, but is isn't quite right: For i As Byte = 0 To dt.Columns.Count If TypeOf dt.Columns(i) Is DateTime Then ' can't find it End If Next...more >>

Screen scrape .aspx page using WebClient...
Posted by tscamurra NO[at]SPAM msn.com at 2/5/2006 9:16:52 PM
Hello, I have a web app that performs screen scaping and submits a form. My code worked until the page was changed to use .aspx code. I am updating my code to conform to the new pages but am having difficulty submitting the page. I use the WebCLient Class and create a collection of form v...more >>

Bug in VS2005 w/ASPNET2 Websites
Posted by Mark Olbert at 2/5/2006 8:10:59 PM
There appears to be a REALLY annoying bug in VS2005: periodically when you're rebuilding an ASPNET2 website which uses App_Code stuff the compiler will fail to create the dynamic assembly or not be able to copy it to the bin directory or something. In my case the error message which always shows...more >>

JSP and Servlet
Posted by Chak at 2/5/2006 8:00:59 PM
If i try to map the ASP.NET model to the JSP+Servlet model, would it be metaphorically correct to map the .aspx page to a JSP, and the 'code behind' to the 'controller' or servlet , in a MVC kind of architecture ? Regards, Chak. ...more >>

Custom Controls and Global Variables
Posted by Tarun Mistry at 2/5/2006 6:34:42 PM
Hi there, I have made a new custom user control that contains a menu, this will be present on all of my pages. However, I want to perform some login within the control but it is dependent on the webform it is contained in, how on earth do i allow the webform and the usercontrol talk to each...more >>

Treeview and Placeholder side-by-side in a View
Posted by Bob at 2/5/2006 5:27:04 PM
I've got a MultiView with multiple Views. In one View, I want to display a Treeview on the left side and controls generated via a Placeholder control on the right side. If I drag a treeview control into the view it is on the left side. Then I drag a Placeholder control and it is positioned...more >>



GET or POST ?
Posted by Chak at 2/5/2006 5:17:00 PM
Newbie question. I think ASP.NET 1.1 forms used POST requests. Does ASP.NET 2 also use POST , or does it use GET ? Thanks. ...more >>

Problem Using GUID as SQLDataSource Parameter
Posted by Wayne Wengert at 2/5/2006 4:40:19 PM
Using VSNET2005. I want to insert some rows into a table. Each row has 2 columns, "memberid" which is a GUID and "Interests" which is a varchar. I created a SQLDataSource with the values to insert as parameters as shown here ===================================================== <asp:SqlDataS...more >>

send data to all users using same web application?
Posted by Rich at 2/5/2006 4:38:22 PM
Is there a way to inform all users concurrently using same web application when one user has made changes to data? Remote scripting has that ability to send data to client but can't be done without the client invoking the call to server. Just need a kick in right direction. Thanks! Ric...more >>

How to store properties?
Posted by Tarun Mistry at 2/5/2006 4:25:25 PM
Hi all, in Java u can have properties files which are read into the system and then accessed really simply. These can be used to store anythnig, usually the login data to a database etc, whathas .net got (im using c# ASP.NET) that can do the same? Kind regards all, Taz ...more >>

Preventing DropDownList from Dimming when disabled
Posted by Paul Aspinall at 2/5/2006 4:03:59 PM
Hi Is there a way of Preventing DropDownList from Dimming when disabled?? Thanks ...more >>

Is this a bug?
Posted by Mark Rae at 2/5/2006 3:23:01 PM
This behaviour has existed since v1.x, and it's still there in v2, so I wonder if it is actually a bug or a "feature" :-) If the latter, I can't see the rationale behind it... Here's how to reproduce it. 1) Create a simple web page with an <asp:DropDownList> and an <asp:Button> 2) Creat...more >>

Newbie Question - Page Load Events
Posted by damiensawyer NO[at]SPAM yahoo.com.au at 2/5/2006 3:20:42 PM
Hello all, I have a couple of different custom controls on a master page. Can some one please tell me how I control which order the Page_Load events of the controls fires in? Thanks very much in advance. Damien Sawyer ...more >>

How to read HTML with XmlTextReader?
Posted by Amil at 2/5/2006 2:14:48 PM
I want to read/parse some simple HTML and look for certain tokens and content. Can I use a XmlTextReader for this? If not, any other ideas? Amil ...more >>

New To ASP.Net - Templating - Good Methods?
Posted by Tarun Mistry at 2/5/2006 2:00:00 PM
Hi all, im new to ASP.NET, migrating from PHP, I hope some nice folks can help me out here. With PHP im very used to creating a template system so i can start designing/coding early and alter a single template which is then refershed through the entire site (a good example being a menu). ...more >>

Bug in Parsing of <a> Tags?
Posted by Mark Olbert at 2/5/2006 12:56:49 PM
Can someone explain why the following tag: <a href='<%# "abc.aspx" %>'>here to login</a> renders as: <a href=' '>here to login</a> ? The same problem occurs if the "abc.aspx" is replaced by SomeProtectedProperty.ToString(). Is there something special/magical about the href so far a...more >>

declared or not declared ?
Posted by JohnZing at 2/5/2006 11:14:21 AM
I'm usinf asp 2.0 and visual studio 2005 In html <img id="selcolorimg" runat="server" name="selcolorimg" src="image4.jpg"> I want to use selcolorimg in code behind, but vs2005 throws an error "selcolorimg is not declared" Ok, i tried to insert Protected selcolorimg As HtmlImage BU...more >>

Forms Authentication using SQL Server - problem
Posted by thebison at 2/5/2006 8:14:00 AM
Hi everyone, Quick question, I'm creating a Timesheet Application with ASP.NET C# in Visual Studio 2003. The database has been built using MSDE. I have followed the MSDN libraries guide to creating forms based authentication from http://msdn.microsoft.com/library/default.asp?url=/library/en...more >>

Page Execution Order (ViewState)
Posted by Frank at 2/5/2006 6:32:08 AM
I'm really stumped here. I have a couple pages where I'm using a datagrid and a custom paging solution. I store the current page, sort column, etc in the ViewState of the page. When a column is clicked or the pager control (custom) is clicked I load the view state to get any current values, t...more >>

RegisterOnSubmitStatement appear twice
Posted by anat at 2/5/2006 5:51:28 AM
I want to show a confirm message before the gridview delete a record in the event: of deleting. I put the following code and it shows the message twice. why? rotected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e) { String cskey = "OnSubmitScript"; ...more >>

missing templates in VS 2005
Posted by doug.stiers NO[at]SPAM gmail.com at 2/5/2006 4:50:31 AM
When I go to Add Item in an ASP.Net 2.0 app I only see six items under the Templates tab. There is no WebForm there is no Master Page, style sheet, class. None of those things? Did I miss them during the install? ...more >>

referencing to style sheet
Posted by David C at 2/5/2006 3:55:12 AM
I am not fully understanding how to refer to another file in the aspx page. There is one style sheet which I need to refer to and it is in the root directory <LINK href="styles.css" type="text/css" rel="stylesheet"> So how to I refer to that from aspx pages in various sub-directories?...more >>

Determine Which Checkboxes are Checked
Posted by Wayne Wengert at 2/5/2006 3:11:20 AM
I have an aspx page which contains a datalist, which in turn, is populated with checkboxes based on the contents of a SQL table (see code below). I want a routine to go through all the checkboxes in this set and determine which ones the user checked. I know I've seen some nice tight routines t...more >>

I have changed extension aspx ...
Posted by Alexander at 2/5/2006 2:38:33 AM
then set up application mappings in IIS, ..ext = c:\windows\microsoft.net\framework\v1.1.4322\aspnet_isapi.dll and now scripts <%= DateTime.Now %> doesnt work, how can i fix this? ...more >>

Date Formatting
Posted by Niclas at 2/5/2006 12:11:24 AM
Hi, I want to display a date in UK format (dd/MM/yyyy) and am using a culture info object for this. using Convert.ToString(MyDate, _CultInfo) works fine, besides that the string includes the time as well. I have tried using Convert.ToString(MyDate.ToshortDatestring, _CultInfo) But ...more >>

Please help; what am I doing wrong with interop
Posted by intrader at 2/5/2006 12:00:00 AM
I have a .NET interop assembly Hash.MD5Sum with two methods Identity and GetMD5Sum. I want to call the methods from ASP (JScript), The debugger tells me that object oMD5Sum has one the ToString() method. How do I get the Identity and GetMD5Sum methods to be accessible? I include the entire ....more >>

about Impersonate
Posted by Standist at 2/5/2006 12:00:00 AM
..net supply a Impersonate method. There some question about this method. Can I impersonate a user that exist in a remote computer. ...more >>


DevelopmentNow Blog