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 > september 2006 > threads for thursday september 14

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

Wizard Control Issue
Posted by raghav at 9/14/2006 11:02:14 PM
Hi I am working on ASP.NET 2.0. I am developing a website using Wizard control. Based on number of steps added, next, previous, finish buttons generate automatically. After running the application, these button work automatically, means we can go to next step, previous step by clicking on corre...more >>

Databind a label outside of clasic data controls (DataList, Repeater, GridView, etc)
Posted by craigkenisston NO[at]SPAM hotmail.com at 9/14/2006 8:47:00 PM
In Asp.Net 2.0 I need to create a very special layout with data coming from an ObjectDataSource. It was already working using a GridView, but I need a free layout. So, I dropped the GridView and added something like this: So, I'm trying something like : <div> <table> <tr> ...more >>

File upload control
Posted by LtCommander NO[at]SPAM gmail.com at 9/14/2006 8:34:01 PM
Hello all, 1. I am a little new to ASP.NET, so please bear with me. 2. I am trying to create a very simple website which requires an upload box (end user file sizes may be anywhere between 1MB to 10 MB). 3. I would also like to show a progress bar so that the user can see the progress of ...more >>

Master Page Best Practice
Posted by LaptopHeaven at 9/14/2006 7:56:27 PM
When using Master Pages, what is the best Best Practice when it comes to images and hyperlinks on the master page? Is it better to use WebControls (<asp:Hyperlink/>), HtmlControls (<a href="~/somewhere.aspx" runat="server">) or using ResolveClientUrl("~/somewhere") inline? ...more >>

ApplicationId
Posted by JJ at 9/14/2006 7:41:49 PM
How can I get the applicationID of the asp.net application? I am using c# . JJ ...more >>

Help converting user input to double
Posted by Torben Laursen at 9/14/2006 7:08:45 PM
Hi I have a problem that should be simple but I have been unable to solve it The users of my homepage is all over the planet and they all enter numbers in texbox's and I give them some numbers back But how do I make sure that my server allways read the values correct no matter if the us...more >>

Controls lost their connection between Code behind and .aspx page
Posted by Elmo Watson at 9/14/2006 6:19:58 PM
VS.Net 2005 professional: When I built my website, I get a long list of errors (not in the error window, but in the Output window) concerning the declaration of several controls, like: C:\vss\Marketing\Main.aspx.vb(2275,0): error BC30451: Name 'ckCRM' is not declared. - it's only a handfull...more >>

DatGridView Control in VS 2005
Posted by Samuel Shulman at 9/14/2006 6:10:36 PM
Which of the controls listed under data in the continuation to the old DataGridViewControl? Thank you Samuel ...more >>



Signing my .NET Custom Control
Posted by Budhi Saputra Prasetya at 9/14/2006 5:47:01 PM
Hi All, I'm currently trying to embed .NET Custom Control into my ASP .NET. The control call FindWindow and BringWindowToTop function of Win32 API that is wrapped under another DLL file. I read documentation and it says that I need to sign my control using SignCode and I did. I signed bo...more >>

remove user password that IE could cache : how ?
Posted by moi at 9/14/2006 5:24:58 PM
Hello, i have a Asp.net V2 login page with a password to enter. In some case, a user could forget and tell IE to save its password : How to prevent it ? Is there a way to disable it ? to block it ? Or could i create a button that save another text (replace) the cached password ? the user...more >>

Anyone have examples of the MenuClass in 2.0?
Posted by JackBlack at 9/14/2006 4:47:18 PM
Hi, all! Does anyone happen to have a functioning example of programmatically building a Menu using the Menu Class under 2.0? I'm having a dickens of a time getting it working... Any suggestions welcome! Thanks! Jack ...more >>

newbie: PublicKeyToken
Posted by Jeff at 9/14/2006 3:51:56 PM
Hey asp.net 2.0 Example PublicKeyToken: type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> How is a PublicKeyToken calculated? perhaps some of you have a link to an article about the subject Best Regards!...more >>

Simple Javascript in ASP.NET
Posted by Brian Piotrowski at 9/14/2006 3:45:04 PM
Hi All, After many years of ASP 3.0, I am finally taking the plunge and moving to ASP.NET. I'm going through a few tutorials, and I'm wondering if someone can answer me a question on adding a simple Javascipt to an ASP.NET page. In my old ASP code, I used an #include function to add a jav...more >>

Click anywhere of DataGrid row to fire ButtonColumn event
Posted by Hardy Wang at 9/14/2006 3:19:26 PM
Hi all, We have DataGrid control in Web Form, our client requires to be able to click anywhere of a row to fire the event same as LinkBotton column is clicked. We we did in ASP.NET 1.1 is in ASPX page <asp:DataGrid id="MyGrid" runat="server" AutoGenerateColumns="False" AllowSortin...more >>

Calendar Help in ASP.NET 2.0
Posted by brianwolters NO[at]SPAM gmail.com at 9/14/2006 2:57:20 PM
Hello, I have a calendar and a textbox right below it on my webpage. I need help with creating some code to display information about the date the user clicked in the text box below it. For example, they clock on August 13th, and in texbox1, it will say "Wedding, 2:00 PM". How do I get s...more >>

question about throwing some xml into a grid view at runtime
Posted by Adam Sandler at 9/14/2006 2:33:26 PM
Hello, Before I begin, here's some background to the problem. I'm working on a web app which deals with maps. Via a browser, the users can zoom in, zoom out, and pan around a map of their geographic region. The users can also click a button called "identify". When they do this the mouse p...more >>

Creating a Right-To-Left Page
Posted by Alex Maghen at 9/14/2006 2:20:01 PM
I'm confused about what settigns I have to make to create a plage that will be primarily a right-to-left language page. This would mean that text would be aligned right by default, table cells would be too. And controls like a Checkbox would, by default, have their text to the RIGHT of the box...more >>

WebClient.UploadFile adds stuff to the file.
Posted by UJ at 9/14/2006 2:02:37 PM
I'm trying to upload stuff using the UploadFile from WebClient and I've noticed that it adds header and footers to the stream. Is there any way to get rid of that automatically? I'm using webclient.UploadFile("http://127.0.0.1/ECSWebServices/UploadItem.aspx", "POST", "C:\Test.txt") an...more >>

membership, SQLExpress and/or SQLServer
Posted by dgk at 9/14/2006 1:59:54 PM
I'm using the standard provider for membership which is SQLServer Express. After deploying the app to our server, login fails because of an SQL problem. I'm guessing that the problem is that the server has SQLServer 2005 but not express. I can install Express, but I'm wondering if it wouldn't ...more >>

Strange IIS connection error
Posted by John Haycock at 9/14/2006 1:41:33 PM
Hi all While developing a web app in visual interdev.net 2003 i get this error when i try to run the app: There are too many people accessing the Web site at this time. -------------------------------------------------------------------------- Please try the following: ...more >>

WebParts without SharePoint
Posted by mnichols at 9/14/2006 1:35:36 PM
Hello, Most of the activity that I have seen in newsgroups regarding WebParts refers to SharePoint as well. Are there compelling reasons to avoid using WebParts without SharePoint? Thank you in advance. m nichols...more >>

loginUrl In Web.config?
Posted by Arpan at 9/14/2006 1:26:54 PM
I have created a simple ASP.NET calculator in a ASPX page (which exists in C:\Inetpub\wwwroot\ASPX folder). Before allowing a user to access this calculator, I want to first find out whether the user is valid or not. For the sake of brevity, assume that only the user whose UserID is "simon" (wit...more >>

is asp.net suks or i just missing some secrets ?
Posted by SharpSmith NO[at]SPAM gmail.com at 9/14/2006 1:02:42 PM
hi all the question is more related to architecture and practices and I'll appreciate any opinion i work with asp net 1/2 few years and with any project we developing we meet performance issues maybe the problems is our methods or maybe we do not do the right things but it seems that view stat...more >>

iis install after vs2k5
Posted by rodchar at 9/14/2006 12:47:02 PM
hey all, i'm installing iis on my dev machine which has vs2k5 on it. will this be a problem? thanks, rodchar...more >>

CompositeControl's children are interleaving with other controls on the page
Posted by estebistec NO[at]SPAM gmail.com at 9/14/2006 12:43:19 PM
Hello, I've developed a CompositeControl in C# for ASP.NET 2.0. In this control I am simulating Edit and View modes by hiding or showing appropriate controls (setting Control.Visible). Basically I'm simulating the functionality of the DetailsView or a GridView cell, except that my data is dyn...more >>

Request.Cookies?
Posted by Arpan at 9/14/2006 12:42:15 PM
An ASPX page has the following code: Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs) If Not (IsNothing(Request.Cookies("AuthCookie"))) Then Response.Write(Request.Cookies("AuthCookie").Value) Else Response.Write(Cookie 'AuthCookie' Doesn't Exist!) End If...more >>

__VIEWSTATE different between localhost and server
Posted by Eric at 9/14/2006 12:30:22 PM
Hello, I was testing my application on my localhost, when I View Source, I see the __VIEWSTATE and its only small in size (about 500 bytes). When I copy this same application over to our IIS server and then run it, again do a View Source, the __VIEWSTATE balloons to over 200,000 bytes. T...more >>

How set query arg and navigate to new page when button pressed?
Posted by Ed Sutton at 9/14/2006 12:11:45 PM
<Newbie> How can I get arguments, and build a query URL, before a button is pressed? I have a text box to enter a serial number. When the search button is pressed, I wish append the serial number text to the URL and navigate to the search results page. I tried the button click event, but...more >>

newbie: How do I add a project....
Posted by Jeff at 9/14/2006 12:06:10 PM
Hey visual studio 2005 I have a asp.net 2.0 project and a class library project. Both projects created in visual studio 2005. I want to add the class library project to the asp.net 2.0 project. I want to add the library project so that I can reference the project, instead of the compi...more >>

error trapping
Posted by igotyourdotnet at 9/14/2006 12:05:02 PM
On my web app, I have a custom error page which the user sees, I then email the actaul error to myself since the site is up 24/7. I added the email portion to my app but now I can't see the user friendly error page. How can i still show the user friendly error page and email myself the erorr w...more >>

How to install ASP.NET Web Application on SBS2003 server
Posted by Tony Girgenti at 9/14/2006 12:03:40 PM
Hello. I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. When i go to client site, if they have their own SBS2003 SP1 server with IIS6.0 installed on it and their company web site is accessed using Sh...more >>

Help - exception from WebResource.axd - what does it mean?
Posted by Alan Silver at 9/14/2006 12:02:37 PM
Hello, I have an error logging system on one of my sites, so that if an unexpected exception occurs, I get an e-mail sent. The e-mail includes the name of the page on which the exception occurred, so I can track it down. I have been getting a lot of e-mails recently showing the source of...more >>

Having the darndest time trying to install and run at client
Posted by Tony Girgenti at 9/14/2006 11:56:50 AM
Hello. I developed and tested a web application using VS.NET 2003, VB, .NET Framework 1.1.4322, ASP.NET 1.1.4322 and IIS5.1. It uses a web form. I'm having the darndest time trying to make this program install and run at client site. Not so much install anymore, but there are still some i...more >>

accessing classes in the app_code folder
Posted by Carlos at 9/14/2006 11:06:07 AM
Hi all, is it possible to access a static class written in C# from a VB .Net based ASP .Net 2.0 app? what would be the syntax. I jut tried to create a static class in vb .net and it is not supported.. Thanks in advance, Carlos ...more >>

Membership SQLDataProvider
Posted by Bob at 9/14/2006 10:59:53 AM
What is the best way to store custom information in the database when using the Membership class? I need to store an access level and I know I can write to the database manually but I was wondering if there was something built in for this. Thanks Bob ...more >>

Validators require login
Posted by Eric Teutsch at 9/14/2006 10:56:48 AM
I'm not sure how I screwed up my setup but the first page that has a validator on it pops up a Windows authentication login screen. I've insured that every page has Anonymous enabled, and all files in the project have read-access for IUSR_machine in the ACLs. If I login ,the validators work;...more >>

testing method
Posted by Justin at 9/14/2006 10:11:38 AM
I already got the data back from the database (so I am not worried about database related performance testing at this point) and there is a couple of different ways to process the data and I want to see which one is the more efficient. What methods do you use to check quantatively the effic...more >>

DataTable record access
Posted by keithb at 9/14/2006 10:05:39 AM
Is there any way to directly access a DataTable record, or is sequential access the only way? Does having a foreign key contraint between parent and child DataTables in any way facilitate accessing child table records? Thanks, Keith ...more >>

Name '___o' is not declared
Posted by Fred Flintstone at 9/14/2006 9:45:53 AM
What is this? I can't get rid of it. I've seen articles that say I should add something like <% ="" %> at the top of the page and I've done that, but these errors won't go away and they actually appear to the user on the website. How do I get rid of these errors? (asp.net v2) Thanks ...more >>

Radiobutton Issue
Posted by Jim in Arizona at 9/14/2006 7:43:42 AM
In html and ASP, I would easily code radio buttons as needed, such as: <input type="radio" name="question1" value="1">1</input>&nbsp; <input type="radio" name="question1" value="2">2</input>&nbsp; <input type="radio" name="question1" value="3">3</input> If I use the <asp:radiobutton> control...more >>

Newbie
Posted by tommy at 9/14/2006 7:24:43 AM
Hi, I am new to Web applications and statelessness. I had a question about Post Back. I noticed in one of my pages where I have some event handlers that change values of controls (checkboxes) that my page is posted back when this occurs. There is alot of this interaction and I am storing...more >>

WebClient.DownloadFile() plus cookie?
Posted by Chip at 9/14/2006 7:19:58 AM
Hi, How do I add a required cookie to my WebClient.DownloadFile() request? Chip ...more >>

Exclude files from asp.net 2.0 project
Posted by robert NO[at]SPAM orisoft.co.uk at 9/14/2006 5:43:27 AM
I am struggling with what I thought would be a very basic concept. I have a web application which I have migrated to .NET 2.0. Now I understand that there is no such thing as excluding files from the project, so when you publish the site all files in the website are deleted on the destination an...more >>

Unknown Error ATLAS
Posted by Manish.Rai NO[at]SPAM thedigitalgroup-dot-com.no-spam.invalid at 9/14/2006 5:23:31 AM
Hi Friend I am facing also Unk 8) nown error problem. In have page where I a using a User Control when I am using ATLAS to this page I have sam problem, I have tried it by debugging but there is no error. when click any button or any control that generate postback , I am facin this problem I...more >>

How to detect if framework is installed using asp.net web app
Posted by ads at 9/14/2006 5:06:03 AM
How can i detect if framework 2.0 is installed using asp.net web app if in the first place the web app will not run without the framework? I just need to catch the error in case there is no framework installed and display a friendly message telling the user to install the framework first be...more >>

Array bound to Datagrid - getting values out of the datagrid
Posted by g.o.atkins NO[at]SPAM gmail.com at 9/14/2006 4:55:30 AM
Hi, I've bound an ArrayList to a datagrid and succesfully managed to display the data via an ItemTemplate column and using <%# Container.DataItem %>. The problem I have however is trying to read the value back out of the datagrid. Basically I have checkboxes next to each item in the datagri...more >>

Query. Can't Execute
Posted by Shapper at 9/14/2006 4:49:25 AM
Hello, I have the tables content and content_localized in a Microsoft Access database. I created a Query in my Microsoft Access database named "content_SELECT": SELECT content_localized.content_html FROM content INNER JOIN content_localized ON content.content_id = content_localized.cont...more >>

Client Script and ASP Validator
Posted by Lav KG at 9/14/2006 4:10:24 AM
Hi I'm using ClientScript to validate a textbox. The problem is, even if I return false; after window.alert('Error message'); in clientscript,The page still get loaded. I've other validators (RegularExpressionValidator and RequiredFieldValidator) to validate the same textbox.Is it beacuse of ...more >>

Cancelling a button click
Posted by weircolin NO[at]SPAM googlemail.com at 9/14/2006 3:13:34 AM
Hi I have a button that when I click it, it resets a column. Access automatically brings up a popup asking if I'm sure. If I say no I get a runtime error. Is there a line of code I could add to the following to stop this from happening? Private Sub Command24_Click() DoCmd.RunSQL "Update...more >>

Modify elemts in a listbox when binding.
Posted by Jon at 9/14/2006 1:39:01 AM
Hello. I have a listbox that has about 600 or so items in. I bind it to a dataset and all is fine. However, i need to modify some of the elements colour depending on the value from the DB. Ideally, ItemDataBound would work, but the list box has no ItemDataBound. How could this be achieve...more >>

Diagram for Asp.net
Posted by Maury at 9/14/2006 12:00:00 AM
Hello coders! Does someone knows a free or low cost component to create diagrams or graphs in asp.net 2.0? Thanks! ..:M:....more >>

Using a DropDownList in a FormView with ObjectDataSource
Posted by J055 at 9/14/2006 12:00:00 AM
Hi I thought I was trying to do something very simple but I'm have a lot of trouble trying to do the following. <asp:FormView ID="fvGroups" runat="server" DataKeyNames="GroupID" DataSourceID="odsGroups" DefaultMode="Insert" Visible="false" OnItemCommand="fvGroups_ItemCommand"> <InsertIte...more >>

DropDpwnList How to add some information
Posted by James at 9/14/2006 12:00:00 AM
Hello all I have an string (array) that contains the following information (as a sample) AFAfghanistan ZASouth Africa AXAland Islands ALAlbania DZAlgeria etc... Two first characters are the ISO code of each country the array (string) is called Countries How can I add this information in...more >>

looking for a simple solution
Posted by Hayden Kirk at 9/14/2006 12:00:00 AM
Hey Guys, I have a wizard control which has 3 steps. First step is them entering their email address and then me verifying that it is either in the database or not. If it's not, then insert it, otherwise send an error. I'm having real trouble using the sqldatasource control. I've tried usi...more >>


DevelopmentNow Blog