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 2008 > threads for monday february 4

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

xslt and System.ServiceModel.Syndication
Posted by Paul at 2/4/2008 11:23:00 PM
Hi, I am using System.ServiceModel.Syndication to create RSS feeds. I do not know how to specify which XSL Stylesheet to associate with the feed. If you build the XML doc "by hand" asp 2 style, you can add a line like this to the top of the xml doc: <?xml-stylesheet type="text/xsl" href="u...more >>

Detecting a session timeout
Posted by Sems at 2/4/2008 7:42:20 PM
Hi I'm using the Session_End event in the global.asax to detect if a users sessions has ended. Is there any way to tell if the session end is due to it being expired and not abandoned? I'm trying to show the user a popup if their session has expired due to a timeout. Whats the best way to ...more >>

managing an ftp server
Posted by Matthias at 2/4/2008 6:44:39 PM
hi there, i'm sorry, but i've posted this before by accident already into another group. here goes: in our webproject we'd like to offer the users a way to upload files to our server via ftp. so what i need to do is the following: -> setup an ftp directory plus username and password pro...more >>

Web.config problem
Posted by rsht at 2/4/2008 5:02:00 PM
I am trying to move an application to a new server. After that, I made a change in the web.config for the "User ID" and Password since the SQL server account is different. When I try to access the application, I have the following error in the browser. Would please anyone give me idea what I hav...more >>

Show Inline BitMap in ASPX Page?
Posted by coconet at 2/4/2008 4:15:24 PM
I have an ASP.NET 3.5 web application (VS2008) and have a class that generates a BitMap. I would like to show this as an image inline on an existing ASP.NET page (showing as an <img> or an <a> image hyperlink). Thanks. ...more >>

FAXCOMLib The data is invalid Exception from HRESULT: 0x8007000D
Posted by Anthony Planz at 2/4/2008 3:48:25 PM
Hello, I try to get the code below to work. If I use test.tif it works just fine but all other extensions (pdf, txt, jpg and so on) failing with "The data is invalid Exception from HRESULT: 0x8007000D". I checked if the default setting for the extensions are correct and they are assigned ...more >>

Using ASP.NET Configuration Tool Remotely?
Posted by Jonathan Wood at 2/4/2008 3:20:29 PM
The ASP.NET Configuration tool is great for quickly managing users in the database on my development machine. However, I don't see a way to use it to access the database on my Web server. Is this possible? Thanks. -- Jonathan Wood SoftCircuits Programming http://www.softcircuits.com...more >>

grid format
Posted by Tom at 2/4/2008 3:01:06 PM
In my grid how can I get $229 to show instead of 228.889? I have the column set to string.format("{0:c}") but its still showing $228.88 and I want $229 to show ...more >>



pass a record id to an insert query
Posted by Jim at 2/4/2008 2:52:18 PM
Using .Net 3.5 vb and sql 2005 server. I hava a page that has a GridView on it that lists items from a table - ItemList.aspx. I want to make a hyperlink for each record that when clicked will pass the ItemID to another page - MyItems.aspx. The MyItems.aspx page is an "insert" formview pag...more >>

Dispose
Posted by Morten Snedker at 2/4/2008 2:49:51 PM
Will this reader object ever be disposed properly? Function MerchandiseStatus() As IDataReader sb.Append(...) Dim reader As IDataReader = Database.getDataReader(sb.ToString) Return reader reader.Close() reader.Dispose() End Function If not, how is the proper way to...more >>

Access to CreateUserwizard controls
Posted by Dave at 2/4/2008 2:16:01 PM
I have a textbox on a CreateUser control. I want to assign a value to this textbox programmatically. How can I access this control? Thanks. -- L. A. Jones...more >>

Asp.net Themes & Frontpage _vti_cnf directory
Posted by Clint Chapman at 2/4/2008 1:59:01 PM
When I look at the source html generated from my asp, the links for the css in my theme are duplicated to include files in the _vti_cnf. <link href="../../App_Themes/MainTheme/_vti_cnf/StyleSheet.css" type="text/css" rel="stylesheet" /> <link href="../../App_Themes/MainTheme/StyleSheet.css" ty...more >>

HtmlTextWriter Re-encoding my strings
Posted by rwoodruf at 2/4/2008 1:39:00 PM
Hello All, I am using an HtmlTextWriter to writer out some html. Prior to sending the content to the text writer, HttpUtility.HtmlEncode the string. However, doing so results in a string where "&" become "&amp;" and "<" becomes "<". This is a problem because I am trying to actually write o...more >>

ButtonField to TemplateField with Button
Posted by Elmo Watson at 2/4/2008 11:36:10 AM
I've converted a buttonfield to a TemplateField with a button in it Previously, in the Rowcommand, to identify the row when the ButtonField was clicked, I had this code: Dim index As Integer = Convert.ToInt32(e.CommandArgument) Dim row As GridViewRow = MyGrid.Rows(index) However, with th...more >>

HyperLink in ASP.NET 2.0 Web Page
Posted by ABHIJIT B at 2/4/2008 11:33:07 AM
Hi, I am developing one WebPage which has table stucture for which I acnnot us HtmlTable class,GridView,DataGrid etc. for display. The following is script inwhich I am using Response.Write() for generating Table. This script I am assigning to Literal Control in next step. The problem I a...more >>

ASP.NET 2.0 GridView Item Template CheckBox Radio Button
Posted by ABHIJIT B at 2/4/2008 11:20:51 AM
Hi, I am using GridView control in one of my ASPNET 2.0 web page. The problem I am facing is GridView should allow only single row selection only. Aslo I want to know How I can do sam eusing Radio/Option button. Thanks in Advance <asp:GridView ID="gvSearchUsersList" runat="server" TabInd...more >>

Confirm Extender for ButtonField
Posted by Elmo Watson at 2/4/2008 10:55:13 AM
I know how to add a confirmation or an AJAX extender to a regular button, but is there any way to add a confirm (yes/no) to a ButtonField in a Gridview? ...more >>

menu at visualstudiomagazine.com
Posted by Jim at 2/4/2008 10:17:12 AM
Does anyone know how the site makes the menu dropdown the subitems? ...more >>

problem to access user control(.acsx)
Posted by BL at 2/4/2008 9:37:01 AM
I am in a problem to access user control(.ascx) on a .aspx page the following is my scenario I have following directory structure - Autoboom - workshop -- WSFirst -showroom -help i have a user control help.ascx in folder /autoboom/help i have registered this control in ...more >>

Gridview & Dynamic Formatting
Posted by katmagic at 2/4/2008 9:32:32 AM
I am trying to dynamically format a gridview based on results. basically I'm saying if the datasource does not returns the same number of records as another datasource (iNumberToMatch), I want the gridview in red. But it is being ignored; I have taken off all skins and even moved the code to ...more >>

SQL Query to Linq (Group By and Sum)
Posted by Alex Sauceda at 2/4/2008 9:22:43 AM
Hi Everyone, I'm trying to convert this query into LINQ but I don't have idea how to do it. Select C.sName as CustomerName, S.sName as Salesperson, Sum(O.nQty) as Qty, Sum(O.mAmount) as Amount From tOrders O Inner Join tCustomer C On C.CustomerID = O.CustomerID Inner ...more >>

Exporting from an HTML table to a Spreadsheet
Posted by Carlitos at 2/4/2008 9:01:02 AM
Hi there, I have a asp.net page that dynamically constructs a table based on data retrieved from a database. This is an excerpt of the code used: ' Create a row Dim row As HtmlTableRow = New HtmlTableRow ' Create a column and add it to the row Dim cell As HtmlTableCell = New HtmlTableCel...more >>

Connection String Storage
Posted by cfps.Christian at 2/4/2008 9:00:14 AM
My shop currently has all of its ASP.NET pages using a singular web.config file which to my knowledge doesn't work when you start doing additional tasks like AJAX or Futures. I either need to know if there is a way to use a singular web.config and have it account for AJAX and Futures even if a...more >>

UpdatePanel + Update mehod
Posted by sandrofurlan at 2/4/2008 8:53:56 AM
Hi everybody, I've a problem with an updatepanel. I'd like to show progress value (from 1 to 10) shown on my form without page refresh (using Ajax UpdatePanel). Serialization starts from Serialize button event Then in the script code section I increment label text value in a for cycle. But on...more >>

How and where do i assign "Selected" to menuitem of asp:menu control on page load?
Posted by alexandis at 2/4/2008 4:16:03 AM
I have menu bound to sitemap file. This is a piece of code <asp:menu ... > <StaticItemTemplate> <%# ((MenuItem)Container.DataItem).Selected ? [Show 'selected'-styled decoration] : [Show plain-styled decoration] %> </StaticItemTemplate> </asp:menu> I check properties of menu items in my met...more >>

Which API or function calls IE when clicking on their context menu Item Save Image As..?
Posted by chandan at 2/4/2008 4:13:33 AM
Hi, I am in search of a control that can save image form my webpage. On that web page I am using my own context menu and I disabled the default context menu of IE. Now I want the same functionality as given by IE context menu item save Image as! So tell me how IE works in that case?? Wh...more >>

stylesheets and Internet Explorer 7
Posted by Lucie Zuiderwijk at 2/4/2008 4:01:01 AM
I had, together with a designer, made a site that looked well in Firefox (on Apple, [there it looked as should be also in Safari and Opera], as well as on a Windows driven machine), but looked awfull in Internet Explorer on my Windows XP driven machine. The stylesheet is not respected. A "marg...more >>

Setting ASP.NET Configurations in a new Web Site in IIS 6
Posted by Alex Maghen at 2/4/2008 3:37:02 AM
Hi. I have a machine that is running IIS 6 and has a few Web Sites already configured on it. Those sites are working fine for ASP.NET (2.0). When I added a new web site just now, it does not come configured to handle ASP.NET stuff already (which seems weird). In any case, is there a simple way...more >>

Selected Value of a DropDownList is never the good one
Posted by timor.super@gmail.com at 2/4/2008 2:29:59 AM
Hi group, I have a problem with my dropdownList. First, you have to know that I'm working with the ViewState setted to false. Consider this code, reproducing lightly my problem : An aspx page with an ascx control (html code ommited for clarity) : <%@ Page Language="C#" EnableViewState="...more >>

VS2005 Assembly problem
Posted by Vp at 2/4/2008 2:26:04 AM
Hi I was runing my PC with VS2005, recently I have installed VS2008, all of sudden my VS2005 started giving me error like Could not load file or assembly 'System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system ca...more >>

unknown server tag: asp:ScriptMagager, myprefix:MyControl
Posted by JX at 2/4/2008 2:05:30 AM
It used to work well, and all of a sudden, I got these error: unknown server tag: asp:ScriptMagager, unknown server tag: myprefix:MyControl. However, the page shows properly in design mode for the MyControl, it also work well in running mode. But due to the error, VS stopped updating the desig...more >>

How to upload image from 1 server to other.
Posted by laziers@gmail.com at 2/4/2008 12:50:02 AM
Hi, I have 2 hostings one is in USA and the second is in the my country. So, is there any way to do uploading users pictures from the 1st server to secound without using FTP? Maybe upload control can do this? bye...more >>


DevelopmentNow Blog