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 2006 > threads for wednesday november 8

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

Publishing website
Posted by Shobha.skumar NO[at]SPAM cwsolution.com at 11/8/2006 11:24:17 PM
Hi, I have published my website to ftp site with vs 2005. I am getting the message publish succeded. After this what should I do? How can I access my aspx pages? I am newbie Kindly help me. for eg. I have now published to ftp.cwsolution.com and my aspx page name is calendar.aspx how can I...more >>


[dll - after Obfuscation] Problem: precompilation needed?
Posted by teo at 11/8/2006 10:36:31 PM
After I've obfuscated a precompiled dll, to protect it, it works no more. ---- ------ ------- I'm with 'AspNet 2.0' and 'Visual Studio 2005' and 'Dotfuscator Community Edition' (the poorest) ---- ------ ------- Simple steps: I precompiled my web app (only a Button ...more >>

DataList removes the linefeed
Posted by Tor Inge Rislaa at 11/8/2006 10:06:16 PM
DataList removes the linefeed When entering the text below in a field in my database with data type TEXT it is displayed as below, line by line. Line1 Line2 Line3 When I connect a data list to the database the data of that TEXT field is displayed as below Line1 Line2 Line3....more >>

Stongly-typed DataSet & Relationships
Posted by Kyle K. at 11/8/2006 9:48:56 PM
I'll put what I'm trying to accomplish in the context the Northwind Database. I have a DataSet defined in my application (NorthwindDataSet), that has the Customers, Orders, & OrderDetails tables defined within it. I need to create a new Order record, that has several OrderDetails records...more >>

Session attributes lost after postback
Posted by harryaya at 11/8/2006 9:07:34 PM
i separate my application into business layer and presentation layer. After a user logged in, i fetched his/her user information and store them in session object. And then the first page is loaded for the first time, i can get the session variable from the session object. but when i click a butt...more >>

PLS HELP! Drag and Drop a file to a web form
Posted by MuZZy at 11/8/2006 7:56:54 PM
Hi, I am building a web-based documentation management system and i would need a way to be able to drag and drop files to the web page. I would like to avoid embedding ActiveX's as i have no expertise in that. Are there any alternatives? I know you could host an .NEt WinForm in the brows...more >>

modify master page from sub page in run time
Posted by Nick at 11/8/2006 7:20:02 PM
Hi ALL: i have a master page and two sub pages and master page has a menu with two links which point to two sub page. what i wanna to do is that when the sub page shows the link in the menu change colour. so how do i chane the colour of master page from sub page? Cheers Nick...more >>

Visual Studio 2005 Question
Posted by Adrian at 11/8/2006 6:12:13 PM
In VS 2003 there is an option "Restore Window Layout". Where is the button / how do I do it in VS 2005? Please respond in a way that I can replicate. Thank you. Adrian ...more >>



Get values
Posted by shapper at 11/8/2006 6:07:26 PM
Hello, I am trying to load information from a XML file using only the nodes which attribute footer=true. I created the following code: Dim siteMap As New System.Xml.XmlDocument siteMap.Load(HttpContext.Current.Server.MapPath(Me.SiteMapUrl)) Dim siteMapNodeList As XmlNod...more >>

I want to derive a new asp:circlehotspot control - need some help
Posted by Dean Craig at 11/8/2006 5:55:22 PM
I'm working with the new ASP.NET AJAX Control Toolkit. I have a map that has several key areas (hot spots) where when the user hovers over them, I want to pop up a small window with information in it (text, graphics, whatever). I am using the asp:ImageMap control and I can use the asp:circ...more >>

sqlDataSource parameters question
Posted by djc at 11/8/2006 5:44:14 PM
I am playing with the (new to me) sqlDataSource class. I used it to bind data from a database table into a listbox with no code, worked great. Now I need to do an INSERT for every item in a listbox. I used to just code the ado stuff myself in .net 1.1. For example creating connection object, ...more >>

Catch result
Posted by shapper at 11/8/2006 5:26:30 PM
Hello, I created a custom control where I have a few textboxes and a button (MyButton). When the button is clicked the textboxes data are sent to a database. In MyButton_Click function I have a variable named Done. If everything is went well I set this variable to True. Otherwise I set it ...more >>

ASP.NET 2.0 - Two ASPX files with one code file
Posted by rampabbaraju NO[at]SPAM gmail.com at 11/8/2006 3:42:02 PM
In my project I have two web pages with the same functionality, but the controls are placed in different places in each page. Application compiles and runs properly and produces the results I am expecting. But the designer shows errors. Is it OK to do that way or not? My two files are like thi...more >>

rendering frustration
Posted by djc at 11/8/2006 3:33:39 PM
how on earth can a listbox with a width of 200px and textbox with a width of 200px NOT display as the same size on screen? I am having a horrible time trying to get my forms looking nice using VS 2005. I already gave up on the design view and am now using only source view but even with all th...more >>

Dynamically adding Dropdown, Text Box and Add Button
Posted by Rocky at 11/8/2006 3:22:56 PM
Hi Everyone, I am facing a poblem in creating a row which contains following scenario in ASP.NET |DROP_DOWN_LIST | |TEXT_BOX| |ADD_Button| |REMOVE_Button| ------------------------------ ----------------- -------------------- -------------------------- When user will pre...more >>

SqlDataReader - ReturnValue - rowcount
Posted by Jon Haakon Ariansen at 11/8/2006 2:29:19 PM
Hi, I realize that it's not possible to get the rowcount from SqlDataReader, but if you have a stored procedure where you return @@ROWCOUNT it should be possible to get the rowcount through the returnvalue parameter to sqldatareader, shouldn't it??? Here is an example: SqlDataReader dr =...more >>

Trying to integrate CSS with web app
Posted by VMI at 11/8/2006 2:16:01 PM
I've read that you can use CSS in your web app so that the design of the complete site is more uniform. RIght now I'm working on a simple web app, so I thought it'd be a good starting point for integrating CSS into it. How, for example, can I use CSS so that all my pages have the same font a...more >>

Can't debug 1.1 web app
Posted by kmilburn at 11/8/2006 1:52:01 PM
Please help.. I can't debug ASP.NET 1.1 application. I also have ASP.NET 2.0 installed. Running aspnet_regiis -lv produces: ===================================================== C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>aspnet_regiis -lv 1.1.4322.0 Valid C:\WINDOWS\Micr...more >>

Problem Programatically Posting to an ASPX PAge
Posted by Robert Burdick [eMVP] at 11/8/2006 1:51:02 PM
Hello All: I cannot seem to get a simple programmatic post to work. From one ASPX page, I want to generate HTML from another page. Thus, I programatically post to the second page and read the response. However, my posted data is always null in the second page. Can anyone tell me why thi...more >>

Global Dataset?
Posted by Charles A. Lackman at 11/8/2006 1:06:09 PM
Hello, Is there a way to make a dataset global to all my aspx 2.0 web forms? Thanks, Chuck ...more >>

ASP.net can't write XML file!!
Posted by ayham at 11/8/2006 12:53:44 PM
I can't Write to XML File using ASP.NET becouse my OS(win xp) tell me that the user(account) that is ASP.net haven't the right to access the file -- ayham ------------------------------------------------------------------------ Posted via http://www.codecomments.com -----------------...more >>

[newbie] RegularExpressionValidator problem
Posted by Jeff at 11/8/2006 12:44:30 PM
Hey asp.net 2.0 Here is some markup i have problem with: <asp:TableRow> <asp:TableCell CssClass="fieldname" Width="120">Password:</asp:TableCell> <asp:TableCell Width="160"><asp:TextBox ID="Password" runat="server" TextMode="Password" Width="100%" /></asp:TableCell> <asp:...more >>

Form from another project
Posted by JB at 11/8/2006 12:43:53 PM
I have an asp.net application that goes to a database and displays data from that database on maps. In a completely different project I also collect data and would like to map it, rather than recreate the map application in to my new application I would like to have my new application open up ...more >>

Text Box Problem
Posted by shapper at 11/8/2006 12:08:00 PM
Hello, I have a master page where my form has the Runat="server". The master page as a control place holder, named "cphContent". Then in a page which inherits from the master page I added a custom control which I created. This custom control is added to "cphContent" at runtime. The custom co...more >>

Control Attributes
Posted by Tom at 11/8/2006 11:37:55 AM
Hi, At design time I am adding attributes to my controls (too detailed to get into) with warnings (Warning 9 Validation (ASP.Net): Attribute 'ProductID' is not a valid attribute of element 'CheckBox'). The application builds fine and I can access the attributes at runtime. Should I be con...more >>

general SqlDataSource questions
Posted by djc at 11/8/2006 11:06:05 AM
I had previously (in asp.net 1.1 and asp.net web matrix) just done this to populate a listbox with data from a database: ------------ this was from the page load event ---------------- 'fill recipient address list box Dim cnn As SqlConnection cnn = New SqlConnection(Application("cnn").ToStri...more >>

Handling Errors wrt ObjectDataSource
Posted by Kevin Frey at 11/8/2006 10:54:17 AM
One of my chief criticisms of validators in an ASP.NET page is that they can result in a developer re-implementing much of the "business logic" of a transaction at the page level. Assuming we have an object that implements business logic, and that object is utilised via an ObjectDataSource,...more >>

aspnet_wp running out of memory after project deployment
Posted by Andy Klare at 11/8/2006 9:55:09 AM
We are seeing that the aspnet_wp is running out of memory shortly after deploying changes to a project. We use Visual Studio Copy Project and sometimes copy the files manually using copy and paste. This would be a ..NET 1.1 project. Has anyone experienced this and is there a solution or ...more >>

gridview does not show up if there is no data
Posted by Beemer Biker at 11/8/2006 9:53:15 AM
Cant believe I spent 4 hours trying to figure out why only the first grid in my new multiview shows up and the other grids are invisible in the other views I just added. The database tables were not populated except for the table I had in the first view! INCREDIBLE: All that data I saw during ...more >>

Best control to display text from database on web page aspx
Posted by heinz at 11/8/2006 9:43:13 AM
What control is best to display ordinary text on an aspx web page? For example, a short newspaper article as the main content. In html is just in a table, but whats the best way of doing it in asp.net 2? Is it a GridView, a DetailView, a Label, a FormView control, a DataList? They can all ...more >>

Application Blocks 2006
Posted by Jon at 11/8/2006 9:25:03 AM
Hello all, just a quickie! What's the advantage / disadvantage in using the January 2004 application block to return data from an Oracle Database rather than just use the standard System.Data.OracleClient dll? I'm just trying to figure out what's best! Thanks, Jon...more >>

Remove Class Library Reference from BIN folder
Posted by ThazKool at 11/8/2006 7:43:27 AM
No matter what I do the external class library DLL is added back to the bin folder. I have tried to remove this on the server, in vss, and in the "Temporary ASP.NET Files" folders to no avail. Can anyone help? ...more >>

Web User Control...I'm missing something basic
Posted by YYZ at 11/8/2006 7:15:35 AM
I am trying to add 5 "Web User Controls" for use on one WebForm. My idea was to take kind of a wizard approach -- show uc1 and hide the the other 4...then next run of the page, show uc2 and hide the other 4. So, I have created 5 usercontrols in my project (ASP.Net using VB and using VS2003) by ...more >>

Create subdomain
Posted by Roshawn at 11/8/2006 7:08:57 AM
Hi, I'm attempting to create a web application and I'd like to use subdomains (my hosting provider allows this). However, I have a few questions regarding subdomains and ASP.NET: 1. How do I create a subdomain on my local machine (e.g. http://xxxxx.localhost/), if it's possible....more >>

problems with TreeView ViewState in ASP.NET 2.0
Posted by Nadav Popplewell at 11/8/2006 7:08:02 AM
Hi Everybody, I've got a strange problem with TreeView Control in ASP.NET. The Controls Tree I've got on my page is like this: MasterPage Content[ UserControl[ Menu, MultiView[ View1[ TreeView ] View2[ ... ] ...more >>

Loading a User Control on an ASPX
Posted by C at 11/8/2006 6:51:03 AM
Hi, I have an ASP.NET Page. My page has a user control which is added to a panel programmatically. My user control has a series of dropdowns. When the user selects some values and clicks on submit when the postback happens I need to reload the ascx each time. This is fine. However a...more >>

Sitemap - Non-Heirarchical?
Posted by pagates at 11/8/2006 6:51:02 AM
Hi All, Is there any way around the single root node implementation of the sitemap? My site is much flatter than hierarchical, so having everything branch from "home" seems like a little bit of overkill. I'd rather have the ability to have various categories at the root level. Thanks, ...more >>

How to remove a DLL from bin folder?
Posted by ThazKool at 11/8/2006 5:57:47 AM
I have removed the DLL from the bin folder and from the "Temporary ASP.NET Files" folder. Yet it still reappears every time I Build the Web site. How can I remove these DLLs for good? ...more >>

How to get current theme?
Posted by Jeff at 11/8/2006 3:40:01 AM
Hey ASP.NET 2.0 In my website project the Default.aspx page contains this image: <asp:TableRow> <asp:TableCell> <asp:Image ID="imgBar" runat="server" ImageUrl="~/Network/Bar.aspx" /> </asp:TableCell> </asp:TableRow> In the Bar.aspx I need to test on what theme Default....more >>

Horrible performance when executing stored procedure
Posted by staeri NO[at]SPAM gmail.com at 11/8/2006 3:12:04 AM
When I execute a stored procedure with the following code it takes forever and result in a timeout or a hang: Sub TransformData() Dim myConnection As New SqlConnection(ConnectionString) Dim myCommand As New SqlCommand("spImport_amount_transform", myConnection) myCommand.CommandType = Command...more >>


DevelopmentNow Blog