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 > december 2005 > threads for tuesday december 27

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 31

usage of user controls across projects in a solution
Posted by saket at 12/27/2005 10:58:34 PM
hello frnd, in my project..my solution includes two webapplication projects. in webaplication1 i have created a user control...whn i m using that in webapplication2 webform...its showing error Parser Error Description: An error occurred during the parsing of a resource required to servi...more >>


Grid View Event Not Working on Alternating Rows
Posted by Stuart Shay at 12/27/2005 10:15:43 PM
Hello All: I am working on a ASP.NET GridView, I am not sure to correctly define the condition so Alternating Rows are fired with in the event. My Code only works on Item Rows in both Normal and Edit State. protected void gvUserList_RowDataBound(object sender, GridViewRowEventArgs e) { ...more >>

Configuration Error
Posted by Nadiah Ahmad at 12/27/2005 9:13:27 PM
My supervisor asked me to download Restributable package for vs 2005 and install it to a non Vs 2005 machine. He asked me to test out a VS component page as in aspx on the non VS machine to see whether it works fine w/o the VS 2005 and just the restributable package... When i tried running the...more >>

timer functionality in .net
Posted by AVL at 12/27/2005 9:09:02 PM
Hi, I'm developing an online fun game called tambola... The requirement is as follows Each logged user will have a ticket generated for him.. The system should display the numbers from 1 to 99 after every 10 secs.... Presently, I've used a timer control to display the numbers after every 10 ...more >>

nested datagrid not in html source file
Posted by Sue at 12/27/2005 8:57:01 PM
Nested datagrid within outer datagrid. Both datagrids use tables to format data in both the itemtemplate and edittemplate sections. Having problems with the format of once of the tablecells in the itemtemplate of the inner datagrid. Tried to inspect the html source file just to find the render...more >>

SQL Connection/Security problem
Posted by John at 12/27/2005 7:26:51 PM
Hi I am trying to connect to SQL on my local machine using; myConnection = New OleDbConnection("Provider=sqloledb;Data Source=MYSERVER;Initial Catalog=Events;User Id=MYSERVER\ASPNET;Password=;") This gives me error; 'System.Data.OleDb.OleDbException: Login failed for user 'MYSERVER\ASPNET...more >>

"missing" DataBinding property in 2.0
Posted by rb at 12/27/2005 7:24:08 PM
I'm a bit confused with this new data binding methodology - well, at least the "visual" part of it. With asp.net 1, I used be able to "mouse-my-way" around data binding instead of doing it in code. However, since DataBinding property is gone from all controls in 2.0 and DataSourceID isn't...more >>

very urgent-sorting not working
Posted by samir dsf at 12/27/2005 7:17:06 PM
hi i am using a caluculated column to sort the datagrid; when i form the query it takes that new column and hence gives me an error 'Invalid column name'. here is what i am doing: in my ascx page: <asp:TemplateColumn HeaderText="Last Modified" HeaderStyle-CssClass="SubHead" SortExpress...more >>



Passing record to a webmethod
Posted by John at 12/27/2005 6:58:24 PM
Hi Is it possible to pass a whole record to a webmethod? How? Thanks Regards ...more >>

Membership provider
Posted by Amir Ghezelbash at 12/27/2005 6:25:06 PM
Hello all, I have a question..i am developing a web application in asp.net 2.0 and these past few days i have been reading about asp.net 2.0 Membership providers...now i have a question...i have implemented into my web application..but i have a alot of questions from users when they registe...more >>

SQL Connection String
Posted by John at 12/27/2005 6:24:18 PM
Hi I am using the following to connect to an access db on my local machine; myConnection = New OleDbConnection("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA Source=" & Server.MapPath("/") + "/data/Cal.mdb"). What changes do I need to make to it to connect to a SQL Server instead? Thanks Rega...more >>

Can't center a checbox in a datagrid column
Posted by nospam NO[at]SPAM nospam.sss at 12/27/2005 6:11:53 PM
I am trying to center a checkbox in a datagrid column but the checkbox always displays to the right. Below is the rendered html. I also used a css-class with the same text-align: center attribute. The checkbox is used in a TemplateColumn. Any ideas? Also since a datagrid is rendered as an html...more >>

First field won't update (sqlexpress)
Posted by Edwin Knoppert at 12/27/2005 5:38:05 PM
I created a table with an ID bigint autonumber and 3 more ordinary TEXT fields. Only the first field will never update via the gridview. I create an empty row through the sqldataadapter, the row is added ok. Then i click edit in the gridview. The update doesn't do anything, no error. Then i...more >>

Connectionstring useless to reader?
Posted by Edwin Knoppert at 12/27/2005 4:31:44 PM
This connectionstring was prepared by VWD itself. Can i reuse it on a connection for the datareader i want to use? I currently got this error: ExecuteNonQuery: Connection property has not been initialized. This is normal, the connection object remains NOTHING so the reader goes wrong. <conf...more >>

deleting temp file after HttpResponse.WriteFile
Posted by Vadim at 12/27/2005 4:31:30 PM
Hi, I will have to send a file to a user's browser to be opened in a Save, Open manner, I am using HttpResponse.WriteFile for this, the info to be sent will have to be first accumulated in a temp file in a temp directory and sent to a user and then I would want to delete the temp file. Plea...more >>

Where is the settings for "place code in separate file"
Posted by Michael at 12/27/2005 4:01:50 PM
Hi When I New a web site, the default coding model is code-separation. I can uncheck the "place code in separate file" checkbox when I add a new WebForm, and VS2005 will remember this setting. I'm wondering where does VS2005 store the settings for "place code in separate file"? I searche...more >>

Export aspx page to HTML
Posted by jeremy.rice NO[at]SPAM alkermes.com at 12/27/2005 1:55:37 PM
Does anyone know if there is a way to programmatically take an aspx page and export it to an html file as if the user had chosen "Save As..." from the File menu in IE? I need to be able to create hundreds of user profiles from a printer-friendly page I previously created by looping through a ...more >>

where web.config gone , ASP.Net 2.0 ?
Posted by sos00 at 12/27/2005 1:24:27 PM
Hi guys, web.config contents in VS2005 aren't like contents in 1.0 and 1.1. many nodes removed ... what's that ? ...more >>

Error - codes
Posted by vsr at 12/27/2005 12:52:35 PM
Is there any place where i can find the list of errors usually we get in ..NET, i want to categeorize the errors into different groups, does any one have any inputs on categeorizing the errors in .net? ...more >>

need help with this c# article
Posted by andy at 12/27/2005 12:47:33 PM
http://msdn.microsoft.com/msdnmag/issues/05/06/WickedCode/default.aspx#S1 Has anyone seen the equivalent of this in vb.net. i have tried to translate it but some of the methods im unfamiliar with. it relates to using the sitemap control dynamically. ...more >>

asp.net 2.0.,
Posted by andy at 12/27/2005 12:43:49 PM
I have made a webcontrol which i used to navigate through many products. My problem is that i need to retain the treeviews state after i refresh the page Every time i use navigate url to elect a new product on the same page the tree control refreshes, but am unsure how to get it to nevaigate ...more >>

slow connection time
Posted by NuB at 12/27/2005 12:27:22 PM
I have a asp.net web application that connects to a database server that is located outside of our building. When I run the web app the initial connection to the database is slow ( around 30-35 seconds or so) but once I connect the app runs quickly. Is there anyway to speed up the connection ...more >>

Datatable as Gridview datasource
Posted by j.zascinski NO[at]SPAM interia.pl at 12/27/2005 12:20:45 PM
Hi, i have a "simple" problem with gridview, please help me :) i want to have gridview which is binded to a datatable (or a dataset). i can show the data from the dataset in the gridview and i can start editing the data, but when i click update i loose my new values. I want this values to be sa...more >>

GetLastWriteTime
Posted by Mike P at 12/27/2005 12:00:08 PM
I need to display on screen the last time my web app was updated. How do I refer to the app path using GetLastWriteTime? I am using an external webhost, so I don't know the full path of the webserver, I need to be able to refer to the app path and drill down from it to find the file I want. ...more >>

Machine.config and customErrors
Posted by Max Metral at 12/27/2005 11:02:34 AM
I'm trying to set the default behavior of customErrors in the machine.config. The documentation seems to suggest this should work, but it doesn't seem to work for me. On my development machine, I want customErrors off, and on my production machine I want them to go to a friendly error page ...more >>

ASP.NET 2.0 Membership - change username
Posted by Kent at 12/27/2005 10:41:05 AM
I cannot find any methods to change the username of a MembershipUser. I know I could just go hit the database and write my own method but this seems like a feature that should be included. ...more >>

hyperlinkcolumn and DataNavigateUrlFormatString in DataGrid
Posted by Bahman at 12/27/2005 10:40:35 AM
hello! It would seem trivial that you might want to pass more than just one variable to the next page with a hyperlink. This would be: 'nextpage.aspx?var1=1&var2=2'. However, I cannot see how I can get the grid to do this via the hyperlinkcolumn. I am probably missing something very ...more >>

LoadControl in a class that inherits System.Web.UI.Page
Posted by Joe at 12/27/2005 7:50:02 AM
Hello All, I have a class that inherits from System.Web.UI.Page. In it I call the Page.LoadControl. I am having trouble with the virtual path that the LoadControl method accepts as its parameter. I have the following code in a method call: Dim uControl As CustomAddresses = CType(Pag...more >>

Highlight a selected row
Posted by Sridhar at 12/27/2005 7:22:03 AM
Hi, I have a datagrid which contains 3 columns. Two of them are Bound Column types and the third one is Button Column. When I click on one of the rows in that Button Column, I would like to highlight that row. I have already set the SelectedItemStyle property in the designer But I am kn...more >>

forms authentication for 2 apps in ASP.Net 2.0
Posted by TK at 12/27/2005 6:37:23 AM
If I have 2 applications using ASP.NET 2.0 on the same domain (www.mystore.com). How can I have a log on in one application and still be authorized when the first application calls the second one? Example www.mystore.com/portal uses forms authentication. When www.mystore.com/portal calls on www....more >>

Cannot open .asmx file
Posted by Kimi at 12/27/2005 2:29:02 AM
I am first time study the .NET, and write a .asmx file as the Book saying. But, when I access this .asmx file through the IE like http://localhost/abc.asmx, I can only open it or download it. I reinstall the ..NET again, but problem exist. Do I need some settings on IIS? -- Thinking&Coding...more >>


DevelopmentNow Blog