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 > april 2006 > threads for sunday april 2

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

ASP Code migration to ASP.net
Posted by Nazim at 4/2/2006 11:24:02 PM
I have been facing an issue for past week. Kindly look at the code if some one can sort it out. Issue is with the code. I have this ASP code. it connects to a server where java is running. It send us a response from there. and we need to run that plain html. As long as the code is in ASP ru...more >>


use GridView boundfield value for DropDownList select where clause
Posted by Dabbler at 4/2/2006 11:22:01 PM
I have a dropdownlist in a GridView ItemTemplate. I need to bind the ddl to an SqlDataSource, then have a value from a boundfield in the row be passed as the keyfield for select where clause. Im trying to load the ddl with a list of dates from another table keyed on GridView row field that onl...more >>

datasource cannot be set declaratively
Posted by Dabbler at 4/2/2006 11:18:01 PM
I have a dropdown list in an item template of a gridveiw. I get the error "datasource cannot be set declaratively" when I try and assign an sqldatasource to the dropdown list. <ItemTemplate> <asp:DropDownList ID="RideDates" runat="server" DataSource="RideDatesSqlDataSource"> </asp:D...more >>

Returning Record ID Value
Posted by Kevin at 4/2/2006 10:10:30 PM
Am very new at ASP.NET 2.0 and .NET! Want to get the MembershipID from an inserted record using SqlDataSource:- <InsertParameters> <asp:Parameter Name="MembershipID" Direction="Output" Type="Int32" DefaultValue="0" /> <asp:Parameter Name="FirstNames" Type="String" /> <asp:Parameter Name="Las...more >>

server.execute question
Posted by joe at 4/2/2006 9:26:01 PM
server execute to redirect a page on load however the code after server.execute is still run, how to prevent this...more >>

ASP.Net SlideShow
Posted by mwazio NO[at]SPAM gmail.com at 4/2/2006 8:45:21 PM
I am making a slideshow that I want my friends to be able to view. Right now I have created an aspx page which does this fine that has 5 thumbnails at the top, a previous and next button, a drop down menu to jump to a certain image, and the main image itself. My question is that I want to know ...more >>

Binding complex Business Objects
Posted by Stefan Siebenberg at 4/2/2006 8:06:19 PM
I have a complex business object price (with poduct as property) price.price_id price.price_validfrom price.price_validuntil price.product.product_id price.product.product_name price.product.category.category_id price.product.category.category_name I want to bind this object to my gridvi...more >>

a urlauthorization question
Posted by Pony Tsui at 4/2/2006 6:59:02 PM
Hi All, I create a personal website by using the vb templete in VS 2005, then i changed the web.config like this: <location path="Images"> <system.web> <authorization> <allow roles="Administrators"/> <deny users="*"/> </authorization> </sys...more >>



!!!Attention ASP .Net Gurus :: Repeater problem!!!
Posted by John at 4/2/2006 5:56:18 PM
Hi all, I have a Repeater problem where the code within the <ItemTemplate> and <AlternatingItemTemplate> tags are not being executed. <asp:Repeater ID="myRepeater" Runat="server"> <HeaderTemplate> <table cellspacing="0" cellpadding="0" border="0"> <t...more >>

Multiple column key with datagrid control
Posted by Sam at 4/2/2006 5:49:42 PM
Hi all I have a database table that has multiple column primary key and every thing looks fine when I load it in the datagrid web control. The problem is that the datagrid web control can only take one single field to be its DataKeyField while my data table has multiple(2) column primary. I...more >>

Weekly view for Calendar control or 3rd Party component
Posted by Brenden Bixler at 4/2/2006 4:54:01 PM
Hello. I am using the ASP.NET calendar object and am looking to provide a "weekly view", but not the typical "Outlook" style. Rather, I just want it to render the calendar normally, but only display the current week and not any of the other weeks within the given month. If this isn't pos...more >>

Problem with getting onclick event from nested datagrid
Posted by Vili at 4/2/2006 4:20:05 PM
Hi all I have a datagrid with nested datagrid. How do I get event from dgNested button? I used example from http://www.dotnet247.com/247reference/a.aspx?u=http://www.standardio.org/article.aspx?id=155 <asp:datagrid id="dgMaster" runat="server" AutoGenerateColumns="False"> <columns> .....more >>

Removing columns from Gridview(2.0) databinding on templatefileds dont work?
Posted by Maarten at 4/2/2006 3:51:57 PM
Hi, I have a gridview (2.0), in the page load I remove a couple of columns from the gridview which I dont need. (All the columns are databound) This works fine. But after a postback all the templatefields are not bind anymore. Only the boundfields are still bound. Why? and what can I do a...more >>

ASP.NET 2.0 SMTP LocalHost
Posted by K B at 4/2/2006 3:48:48 PM
Hi, I'm using the following to send SMTP email from my localhost. I've ensured that the relay is allowed, etc. I have a Try Catch block. There is NO error thrown, no mail in C:\inetpub\mailroot\badmail folder. However the message never arrives in my recipient mailbox. Any suggestions for tro...more >>

validation - indicate invalid field
Posted by Niclas at 4/2/2006 3:37:42 PM
Hi, How do I indicate what field fails a validation, usually you see a red star next to the faild field on a form. Is this built in functionality in the valdaition controls or shall I code this myself ? Niclas ...more >>

What special thing is doing Page.Render
Posted by WT at 4/2/2006 2:08:44 PM
Hello, I recently discovered that Page.Render is doing special things concerning the Menu navigation control. When I was using my own Render override, menus were not working, maybe some style missing, or some javascript not loaded. Any information welcome as I need to do some special work in ...more >>

Absolute path to url?
Posted by js at 4/2/2006 1:36:41 PM
Hi, I have stored the absolute file path in a grid, and want if user click it, will redirect to the virtual path and download the file: Dim fileName As String = articleList.DataKeys(e.Item.ItemIndex) Response.Redirect(fileName, True) But failed, how to recirect to the link? Thanks...more >>

HtmlArea Editor any thought
Posted by Husam at 4/2/2006 12:51:01 PM
Hi EveryBody: I want to made an e-mail system by using asp.net web application in Vb.Net 2003, I found something of What uou see is what you get editor system that called html area, I hope if some body know about this system help me in the following problem: My proble Is When I put thef...more >>

formview and datasource as collection
Posted by Mike Gaab at 4/2/2006 12:34:19 PM
I am trying to use some of the new controls in VS 2005 but am having some difficulty. My business logic layer returns Collections of my business objects. I am used to just assigning these collections to a datagrid's datasource property. With the new controls I can still do the same but it appe...more >>

Using DropDownLists
Posted by et at 4/2/2006 12:16:19 PM
How can I add a blank item to a drop down list so that it is the first item in the list? My drop down list is bound to a datareader, and if I add a blank item first as follows -- ddl.Items.Add(New ListItem(" ", 0)) -- then binding erases the blank item. Or maybe there is another way to s...more >>

dynamically changing row color in a datagrid
Posted by Sonny Sablan at 4/2/2006 11:36:49 AM
I would like to dynamically change the row color in a datagrid... I have a list (from a db) where users can mark certain records. When they are marked I want to display the row in the specified color of the user. i.e Joe = BLUE, Ed = YELLOW, etc. All other rows can be set to NO COLOR. I ca...more >>

How access data from Winforms-Appl. inside WEB-service ?
Posted by Peter931 at 4/2/2006 10:54:16 AM
I have a winforms Application that should share some data via WEB-Services. Remoting is not possible for other reasons. How can this be done ? When the WEB-Service is hosted in IIS on the same machine, I dont know how to access variables from the Winforms Application. The second idea...more >>

W3WP process restarting after one minute
Posted by woolley.dean NO[at]SPAM gmail.com at 4/2/2006 10:45:26 AM
The problem we are having is with the worker process restarting after one minute of being started up. We had a website running in .Net 1.1 and switched it over to .Net 2.0. The site is running on a W2003 machine w/ IIS6 with 4GB Ram. We have it running in it's own Application Pool with no ot...more >>

How to set for debug/release
Posted by Joe Befumo at 4/2/2006 9:34:48 AM
When I tried debugging for the first time, I pop-up asked me if I wanted = to set the project to enable debugging. Now I'm ready to release and = can't find anyplace to set the build to 'release'. A pointer would be = appreciated. Thanks. Joe...more >>

Browser Independence ? ASP.NET 2.0
Posted by hangar18 at 4/2/2006 8:38:41 AM
Hi, "Browser Independance" is a term i've been hearing a lot. But is there some kind of matrix showing which are the minimum versions of browsers supported by ASP.NET 2.0 and what are the features thatr ight work with some browsers but might not work properly with others? Any lunks to this kind...more >>

datagriditem
Posted by Mike Gaab at 4/2/2006 8:10:22 AM
VS 2005 What is the difference between the DataGridItem's ItemIndex and DataSetIndex? Aren't they the same thing? Here is what I found on msdn. ItemIndex Gets the index of the DataGridItem object from the Items collection of the DataGrid control. DataSetIndex Gets the index of the D...more >>

Forms Authentication
Posted by Basel at 4/2/2006 7:00:02 AM
I have web application and made Forms Authentication on it . it contains sub folder name "Presents"that I need to make some people haev rights to access it,s resources . so i put another web,config file in it "rather than the one in webapplication ". but when the client try to login from log...more >>

Problems with ASP.NET and IIS
Posted by Alan M Dunsmuir at 4/2/2006 5:43:37 AM
On my previous machine (Win XPPro, SP2) I had both VS.NET 2003 and VS 2005 up and running. I had a continuing problem with ASP 2005 in that I couldn't get the "start up" examples using SQL Server to work properly. However, the machine died on me and had to be replaced. On my new machine (again...more >>

VS.NET Public Namespaces, classes, Function - Conceptual misunderstanding.
Posted by jason NO[at]SPAM cyberpine.com at 4/2/2006 5:42:54 AM
Please pardon my completely lack of understanding on the topic. I have a website I developed with another developer. We are both far from experts in VB.NET and OOP. We developed the site WITHOUT VS.NET, compiling vb.net code into a common dll in the bin directory off the root of the website. T...more >>

get value from html
Posted by יניב at 4/2/2006 4:18:01 AM
hey, i have a value that i get from the user using form - (javaScript code) . now i want to write it on file, how can i do it ? (asp. C#) ? thanks yaniv ...more >>

Can't get current record ID from DetailsView (ReadOnly)
Posted by GoogleAccounts NO[at]SPAM salutony.com at 4/2/2006 3:51:42 AM
I have a simple DetailsView in ReadOnly mode. I have paging enabled because I need to show more than one record. When user clicks next/prev page (PageIndexChanged event) I need to get the current record ID (that is not one of the displayed fields, so ..Cell(x) won't work). I expected Detail...more >>

Which asp.net 2.0 book to buy
Posted by Patrick.O.Ige at 4/2/2006 12:43:55 AM
Professional ASP.NET 2.0 by Bill Evjen, et al or Programming Microsoft ASP.NET 2.0 Core Reference By Dino Esposito Any ideas? Patrick ...more >>

Add Session varaible in an ordinary class
Posted by RonL at 4/2/2006 12:29:53 AM
I'm unable to add a session variable in a non-page class. Any ideas? I've tried System.Web.SessionState.HttpSessionState session = HttpContext.Current.Session; session["ABC"] = messageBody; also System.Web.SessionState.HttpSessionState session = HttpContext.Current.Session; ...more >>

Server.Transfer Virtual Directory Problems
Posted by Webmills at 4/2/2006 12:16:15 AM
Has anyone come across the problem that I am experiencing? I have a master page using four or five Hyperlink controls, each with an ImageUrl. The ImageUrl is specified using a virtual directory path, such as ImageUrl = "~/Images/Main.gif". I have a child page in a sub directory, images all a...more >>

Could remote debug a web application
Posted by ad at 4/2/2006 12:00:00 AM
I have some trouble when runing my web application in another machine. How could I remote debug the web application? ...more >>

cannot use machine name for url
Posted by ad at 4/2/2006 12:00:00 AM
I copy my web application to another machine for testing. When I use http://localhost/AppName to test, it is run ok. But if I use http://xxxx/AppName to test, it always login fall(xxxx is the machine name) What is the problem ...more >>

not been pre-compiled error
Posted by ad at 4/2/2006 12:00:00 AM
I use vs2005 to develop web application, then I deploy it to another server. But when I run the web application on this server, it result in an error: The file '/HealthWeb/Login.aspx' has not been pre-compiled, and cannot be requested. How can I do? ...more >>


DevelopmentNow Blog