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 > may 2005 > threads for wednesday may 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 30 31

How to add new web.config provider
Posted by Vaidas at 5/4/2005 11:36:03 PM
I have install VS2005 BETA2 . When I want to configure web.config file, there it is one provider AspNetSqlProvider, and I cant to configure it and add new provider, which use access file...more >>


Column 'link_url' does not belong to table links.
Posted by Patrick Olurotimi Ige at 5/4/2005 11:35:22 PM
I have a simple Stored Procedure with multiple select statements..doing select * from links for example. I created a DataTable and then fill the tables But the first dtTemplate DataTable doesn't give the error but the links does! I get the error on this LINE(when looping):- PageLinks.Text = ...more >>

What is this?
Posted by Shapper at 5/4/2005 10:42:06 PM
Hello, What is the following code created by Visual Studio inside every code inside na aspx.vb file? #Region " Web Form Designer Generated Code " 'This call is required by the Web Form Designer. <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() ...more >>

HTML tag in Email Content
Posted by wrytat at 5/4/2005 10:31:03 PM
I know to send e-mail, I can do the following: Dim newMail As New MailMessage newMail.From = "from@server.com" newMail.To = "to@server.com" newMail.Subject = "The Subject" newMail.Body = "The Content" SmtpMail.Send(newMail) I tried to key in things like "<strong>Comment:</strong> No<br /> ...more >>

Need Expert suggestions??
Posted by Khurram Rafiq at 5/4/2005 10:24:47 PM
Start Page: ASPX webform with three iframes, two which I am currently using. iFrame1: ASPX webform which contains html options for iframe2. iFrame2: ASPX webform which contains a datagrid with bound columns (only page load event with not postback code). The start page sets the fra...more >>

Config: Allow Roles does not work as expected
Posted by Brian Takita at 5/4/2005 10:18:26 PM
Hello, The following setting in web.config does not work: <authorization> <allow roles="DOMAIN\Administrators" /> <deny users="*" /> </authorization> The following setting in web.config does work: <authorization> <allow roles="BUILTIN\Administrators" /> <deny users="*" /...more >>

Returning user to previous page...
Posted by David Lozzi at 5/4/2005 10:09:06 PM
Howdy, I have a cancel button, I would like to send them to the previous page they were on. For example, they are viewing a queue of tickets. They can click on a ticket and update it if they wish, or view other information. When viewing some of the other details, the page is reloaded to sho...more >>

First ASP.Net
Posted by DMP at 5/4/2005 6:54:10 PM
Hi , I write a Hello.Aspx in Notepad. And save in C:\ASPNET folder. What will be the configuration change to run the Hello.aspx on my local machine(localhost) ? Thanks, ...more >>



sending email in .Net
Posted by Eduardo Rosa at 5/4/2005 6:43:00 PM
Somebody knows how I queue email using .Net? thanks a lot ...more >>

Possible to render HTML to a label.text control in ascx?
Posted by KatB at 5/4/2005 6:31:12 PM
Hoping I can explain what I need... I have a web control within an aspx page. I need to store, edit and retrieve tagged HTML in the DB (which I can do), then render that HTML in a control (label or text, etc.) so that the "formatted" text shows with bold, hyperlinks, etc. Is it possible to ...more >>

Client-side validation?
Posted by Terry Olsen at 5/4/2005 6:29:57 PM
How would I go about validating on the client side before a post back? I do it now in the code with something like "if TextBox.Text="" then..." I'd like to do it on the client but I've never been any good at html or jscript. ...more >>

General ASPNet question about WebServers and Java
Posted by Sam at 5/4/2005 5:54:08 PM
Hi We are thinking of moving a Windows App to a Browser. We were thinking of using DotNet. A few questions I have deals with what if a client has Unix environment??? If we write the Business Logic in DotNet 1)If the Client has a Unix WebServer like Apache can they direct aspx requests to ...more >>

Sudden VS2003 Error
Posted by JV at 5/4/2005 5:45:28 PM
I was going along just fine developing an ASP.NET application using IIS on my own machine. I had to reboot. When I came back, VS started acting flakey. It would not reload my project claiming that it could not connect to the url on my machine (something like http://localhost/myApplication)....more >>

How do you query the values of textboxes dynamically created in a Panel container??
Posted by SD at 5/4/2005 5:15:56 PM
Hello, I have a form that has a panel container where I'm adding textboxes dynamically based on a query to database, so I'm looping through the records. The problem I have is that once built, I need to pass those textboxes values to another for to build the parameters for a report. Here ...more >>

repeater button controls
Posted by guoqi zheng at 5/4/2005 5:14:22 PM
Dear sir, I have two button controls in a repeater, when clicked, it fire an event R1_ItemCommand, but how can I know which button controls user click?? there are two there??? Sub R1_ItemCommand(Sender As Object, e As RepeaterCommandEventArgs) 'button has just been clicked; En...more >>

HttpWebResponse.Cookies
Posted by Prasanna Padmanabhan at 5/4/2005 4:27:25 PM
I am writing a simple HTTP Client in .NET. I make an HTTP Request and examine the response. I get an empty CookieCollection when I do HttpWebResponse.Cookies. However HttpWebResponse.Headers[Set-Cookie] returns the correct list of cookies (represented as a comma-separated string) in the respon...more >>

Graphical Development Tool C#
Posted by Leann at 5/4/2005 3:51:30 PM
Hi All, does anyone know an efficient graphical development tool for programming in C# (like "Visual Classworks" for programming in C++)? Thanks, Leann...more >>

SQLDataAdapter lost (along with SQLConnection) - HELP!!!
Posted by Randy Smith at 5/4/2005 3:40:03 PM
Hi ALL, For some reason, I have lost my SQLDataAdapter1 and SQLConnection1 on my ASPX web page. I have also lost my dataset, but that is easily recoverable. HOWEVER, I cannot find a way to restore my SQL items, since the DataAdapter had some settings that were done by a consultant, who is no...more >>

controls hiding
Posted by abcd at 5/4/2005 3:20:38 PM
I have 3 controls placed in a table in each row Row1 --> DropDownlist Web server control Row2 --> Text box control Row3--> list box control Row 4--> update and delete buttons each control has associated lable control too. my Question:- Depending upon certain values in Dropdownlist con...more >>

excel
Posted by Kemal Taskin at 5/4/2005 3:01:52 PM
Hi all, this question should go to excel newsgroup however it is related to .NET also. anyway.. In a web page written with C# I read excel files and store them into a table in an MSSQL Server 2000 db. I read this excel file from db into a byte []. Now, how can I convert this byte [] to a t...more >>

VS.NET 2003 Debugger Help
Posted by Chris Kettenbach at 5/4/2005 2:57:07 PM
How so I set up the debugger in VS.NET 2003. I try to run my web page app and it tells me the debugger is not properly installed. Any suggestions? Thanks, Chris ...more >>

Forced download of PDF producing 0kb PDF on only 1 computer
Posted by darren NO[at]SPAM yellowpencil.com at 5/4/2005 2:51:19 PM
Dear Groups, I have a hosted application which allows subscribers to purchase PDF documents. Once purchased, these documents are accessible from a user private library to be downloaded at will. All is well with this process except for one Windows XP computer which keeps returning PDFs with...more >>

Web Image Control Question
Posted by G Dean Blake at 5/4/2005 2:44:38 PM
I have a Bitmap (system.drawing.bitmap) in a varaible that was just retreived from a database blob field. I have my aspx page with an image control on it. It appears, having those two things, there is no direct way in which I can load my bitmap into my image control. is there? It appea...more >>

Basic Structure Question
Posted by Shapper at 5/4/2005 2:41:09 PM
Hello, I have in my project the file mypage.aspx and mypage.aspx.vb I know how to link one to the other but I would like to know what is the basic structure of an aspx.vb file. I just installed Visual Studio 2003. How can I see this? Thanks, Miguel ...more >>

Browser Header & Footer
Posted by Fred Nelson at 5/4/2005 2:36:23 PM
Hi: I have a VB.NET web application that generates several reports into the browser which the user can print on their local printer if they want to. By default the browser has a header and footer with the page name. Does anyone know if there is a way to turn this off - whether in my progra...more >>

Event & Delegets
Posted by Islam Elkhayat at 5/4/2005 2:28:18 PM
I have master datagrid & master details in 5 panels each belong to diffrent dbtable. I have a dropdpwn list to switch which panel to be visible.. I also have one navigation bar for add, update, delete and i need to the button to work with the visible panel but the click event don't fire, here...more >>

What is the best way to make dual-way xml databinding?
Posted by Stan at 5/4/2005 2:08:02 PM
I am looking for the best solution for this scenario: ASP.NET needs display an editable form with 20 textboxes. Data source is xml. Xml must be updated. if user clicks Update button on the form. Scenario 1 - brute force Load xml into XmlDocument, txtName.Text = doc.SelectSingleNode ('\\bl...more >>

Is the datagrid the only control that can be used for modifying data?
Posted by Eagle at 5/4/2005 2:06:03 PM
I have a form that has one record with 22 fields. A grid is not the answer, either several small tables or combinations of textboxes and labels, so the user can edit all the editable fields then click on Save. I cannot use a grid because then it scrolls across the screen forever and ever. So...more >>

ResourceManager strange behavior
Posted by Mircea Pleteriu at 5/4/2005 2:04:58 PM
Hi, I've created a test aspnet web application which contains one page only. There is only one label control placed on the page. The text of the label control is set on server side by the PageLoad method. The text is stored into a sattelite assembly. This is the code which sets the text: ...more >>

VB.NET Web Application and Cascading Style Sheets
Posted by Fred Nelson at 5/4/2005 2:01:21 PM
Hi: I have a VB.NET web application that has been running just fine for several months without any cascading style sheets. Suddenly several users have had problems with the layout of the screen. In particular some text boxes are getting too large and covering buttons and therefore preventing ...more >>

Server.Transfer problems
Posted by dee at 5/4/2005 1:42:33 PM
Hi I'm posting back to a second page using Server.Transfer(). There are buttons on this second page that use Respose.Redirect() since some of the pages are html's and the Transfer function cant be used. This causes very wierd results: the page accessed through the Redirect function appears as...more >>

Datalist - How to Know ID From Underlying DB
Posted by Verde at 5/4/2005 1:41:40 PM
Suppose I load a DataList up with a bunch of records from an underlying Database. The DataList shows an Edit and a Delete button. Each record in the database has a unique Integer ID value. Now, during PostBack processing, how I (my code) know what the ID value is for any given row shown in...more >>

Beta 2 inherits
Posted by sck10 at 5/4/2005 1:29:49 PM
Hello, I was using the following for my codebehind with VW Developer Beta1: Imports System Imports System.Web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.WebControls.ImageButton Imports System.Data Imports System.Data.OLEDB Imports System.Web.Mail Partia...more >>

Active Directory Authentication and Priviledges problem
Posted by deathbydisco NO[at]SPAM hotmail.com at 5/4/2005 1:20:34 PM
I've created a simple website with a login screen that requires an email address and a password. It uses the email ID and password to authenticate against active directory (just to see if the user exists in the network). Once authenticated, it redirects to the main ASPX page. Pretty simple and s...more >>

editing by column insted of by row in a DataGrid
Posted by Schultz at 5/4/2005 1:18:16 PM
Hi, I would like to be able to edit data in a datagrid by column insted of by row. Is this possible? And, how can one make an entire Datagrid editable by clicking on "Edit All" > "Update" or "Cancel" Thanks! ...more >>

Application like web msn messenger
Posted by Fernando Lopes at 5/4/2005 1:12:09 PM
Hey there. I want to do a instant messenger (ASP.NET) to connect the users from my company enterprise application. This application was developed using ASP.NET. So, this IM must have: - Online/Offline users from contacts list - Send message to selected contact - Send messages to more than one...more >>

Three-across address labels on a Web page
Posted by mangia at 5/4/2005 12:48:02 PM
I want to display three-across address labels on a Web page. I am using a dataset that is bound to a three-column data grid. In my aspx page, I fill the data grid with the current dataset. Unfortunately, all three cells of the data grid end up containing the same address. Is there a way to...more >>

Code behind page - Newbie question
Posted by Chris Kettenbach at 5/4/2005 12:47:26 PM
This is a stupid question, but how do I get a code behind to be recognized? I used @Page and src="", but Visual Studio does not recognize the src attribute. It says I need to build, the class first and reference it. How do I get it compiled and in to the bin directory? Thanks everyone. Ch...more >>

Deploy New aspx pages
Posted by Wayne Wengert at 5/4/2005 12:22:32 PM
I hope the is the right group for this question? If not, let me know. I have a web site with several asp.net pages that work fine. (e.g. http://mysite/net/mypage1.aspx). I created a new web project in VSNET 2003 and used the Project/Copy option to create a copy of all the required pages. I the...more >>

Image Toggle
Posted by siaj at 5/4/2005 12:21:06 PM
Hello all,, I want to have a page where I can have two images shown alternately in a image control. The image should keep toggling Any link or sample code will be appreciated. Cheers, siaj ...more >>

Toggling Image
Posted by siaj at 5/4/2005 12:21:01 PM
Hello all,, I want to have a page where I can have two images shown alternately in a image control. The image should keep toggling Any link or sample code will be appreciated. Cheers, siaj ...more >>

How to trim off the time part of a DateTime field
Posted by ad at 5/4/2005 12:17:37 PM
I have a tabls of SQL 2000, about the data of student. The data is migrate from another databse, There is a field called birthday, it stores the data with the formate like: 1994/11/03 AM 02:09:00 When I bind the field to datagrid, how can I suppress the time part , or how can I trim the time...more >>

String with double quotes
Posted by Ganesh at 5/4/2005 12:15:21 PM
I have a label control on my form. I'm assigning a text to the label at runtime. The problem is that the string that I'm trying to assign also contains text in double quotes.So when I try n assign this to the label I face a problem. my code is using vb.net Please help me out in getting this...more >>

Run localhost but not under machine name
Posted by Jennyfer J Barco at 5/4/2005 11:57:06 AM
Hello I have a project in .NET, when I open the internet explorer and write "localhost/projectname/default.aspx" it will open my page and do everything. But if I try to run using "mymachine/projectname/default.aspx" it won't open, I get Page not found message. I need it to work because I need to ...more >>

Expire Page Doesn't?
Posted by Wayne Wengert at 5/4/2005 11:48:04 AM
I have an aspx page where, after the user clicks on a button to submit the changes, I want to prevent him/her from going back to that filled in page. I found the code below as a response to an earlier post in this NG but it doesn't seem to have any effect.. Afterr the user clicks on the Submit b...more >>

CallJavaScriptFunctionFromEvent
Posted by gh at 5/4/2005 11:39:08 AM
I have a js function that open a new window function addVendor() { window.open('TVendor.aspx','new','height=300, width=300, status= no,resizable= yes, scrollbars=yes, toolbar=no, menubar=no'); } I have a webcontroldropdownlistbox that has a selection for adding vendors. I...more >>

How to reload a page
Posted by riversmithco NO[at]SPAM hotmail.com at 5/4/2005 11:24:36 AM
This should be easy, How do I reload a page so that it makes the server think it's the first time the page has been loaded? Thanks ...more >>

Getting Data and setting/retrieving values to controls
Posted by Eagle at 5/4/2005 11:23:21 AM
I'm sure this is simple, thanks for helping this newbie. I've worked with the datagrid and it's very simple to get the dataset, and bind it to the grid. Now I have my dataset, and I want to use textboxes instead. How do I do that? So I want txtBox1.text = value of the first field in a datas...more >>

Problems with properties on WebUserControl and Repeater
Posted by Michael Groeger at 5/4/2005 11:23:17 AM
Hi, I have created a little WebUserControl "SelectTemplate.ascx" which defines a property public class SelectTemplate : System.Web.UI.UserControl { public int PublisherType { get; set; } } On my form, I want to have a repeater which creates for each value...more >>

Error Loading Web Project
Posted by Sonali at 5/4/2005 11:11:18 AM
I am getting the following error when I try to load a project in VS.net: "Visual Studio.Net cannot create or open the application. The likeliest problem is that the required components are not installed on the local web server. Run Visual Studio.Net setup and add the web development compone...more >>

Why printing disregard <table width="100%">?
Posted by Steve Richter at 5/4/2005 10:46:43 AM
here is the start of my .aspx page: <body> <form id="Form1" method="post" runat="server"> <TABLE id="Table2" runat="server" width="100%" border="0"> I understand the width=100% attribute to mean the contents of the table will be scrunched into the space available in the presentation s...more >>

event question
Posted by abcd at 5/4/2005 10:42:08 AM
I am novice ASP.NET programmer. Earlier I have mostly worked in ASP pages. I have a dropdownlist Web server control. I want to submit a page on the selection changed and the server event will get the data for other controls... how can I do this.... thanks ...more >>

Design View
Posted by TCORDON at 5/4/2005 10:14:25 AM
I have this code inside a <IMG> tag: onclick="NewWindow('ContactBuyer.aspx?IdContacto=','name','520','400','no');return false;" Now I cannot chancge to design view, VS Tells me to quote it differently, how? TIA! ...more >>

None of my buttons work when using client-side validation
Posted by John Sweet at 5/4/2005 10:02:13 AM
I'm using a RequiredField validator control to do some client side validation. Client validation works fine, but the buttons do nothing after validation (in other words, the form is not posted). It must be a simple setup problem because everything works OK on my local machine but the problem...more >>

Is it possible to instantiate an object in Bin folder of a web application remotly?
Posted by Ray5531 at 5/4/2005 9:55:40 AM
I have a console application in my local computer which I like to use remoting in it,to instanciate an object (MyClass.dll) in a web application(its bin folder) in a completely seperated box(in the same domain thought) .I have two questions: 1)Is my case covered in "Remoting objects hosted ...more >>

Web-based file upload help
Posted by Chris Milliken at 5/4/2005 9:34:31 AM
I've tried a few complex solutions that I've seen on some websites with little success. Does anyone know a simple way to do basic web-based file uploads with ASP.NET? (Or at least point me in the right direction) ...more >>

plain JSP in a ASP.NET page
Posted by melinda at 5/4/2005 9:08:08 AM
ok, I'm very new to ASP, but familiar with .NET via forms. My company has a fairly large JSP web site, and long term they want to convert it to ASP.net because of various reasons. Anyway, short term, they want to "transition" to ASP.net, which means make the main pages .aspx, somehow incor...more >>

Radio.Attributes.Add does nothing!
Posted by dhnriverside at 5/4/2005 8:14:03 AM
Hi I'm trying to create some JS to enable/disable some form elements when a radio button grp is set to a certain option. However, the Attributes.Add method does nothing... html.. <asp:radio button id="rdoOption1" runat="server" GroupName="ioptions" /> c# page_load.. rdoOption1.At...more >>

how to stop button reloading to top of page?
Posted by dhnriverside at 5/4/2005 6:51:19 AM
Hi guys I have a Calculate ASP:button on my page, and a text box next to it. I've got it so that it calls a function with itself, so you can check the value before submitting the form to it's final destination. However, when I click the Calculate button, the page loads back at the top, i...more >>

Animation on Page
Posted by siaj at 5/4/2005 6:35:18 AM
Hello, I am trying to put a very simple animation on a page. I want two images to show alternately in a defined area. I tried to have an image control and a timer control on a page. I am setting the Imageurl property of the image control to two difeent images at fixed time interval. but the ...more >>

ASP.NET 2.0 beta2: Missing ASP.NET tab in the IIS Admin tool
Posted by dnz at 5/4/2005 6:18:09 AM
After installing VS2005.NET beta2 (and framework) it seems like the tab in the IIS Admin tool that provides a framework-version picker drop-down has disappeared. Have anyone else experienced this? Is there a way to get it back, so you don't have to use the aspnet_regiis.exe tool? ...more >>

How to use RegularExpressionValidator to valid if a date
Posted by ad at 5/4/2005 5:43:50 AM
Hi, How to use RegularExpressionValidator to valid if use inpute a valid date in TextBox? ...more >>

Dynamically Creating controls
Posted by Shiju Poyilil at 5/4/2005 5:10:06 AM
Hello EveryBody, I have a dropdownlist with some values as .net server controls & a button , on clicking a button i need to generate the choosen contorl dynamically. I am giving a small glimpse of my code for your understanding the aspx page has dropdwon list with values as below. <asp:Dro...more >>

ASP to ASP.NET
Posted by Tim::.. at 5/4/2005 4:55:04 AM
Can someone please tell me how I do something like this in ASP.NET! I have the following ASP script that pulls part of a webpage from one website and then inserts that into my site! How do you do this in ASP.NET Thanks for any help! I'm a little stuck with this! <% Dim StrURL Di...more >>

Minimum System Reuirements For Develping On ASP.Net
Posted by lovely_angel_for_you NO[at]SPAM yahoo.com at 5/4/2005 3:40:39 AM
Hello To All For quite smetime I have been thinking for learning development in ASP.net. Currentlty I develop in ASP, PHP, VB, C, C++, VC++. But my major has always been ASP. I was considering the move to asp.net, and I had a talk with a friend and she suggested that I should go for a new p...more >>

TableRows and Postback
Posted by Mark Parter at 5/4/2005 3:31:01 AM
I've been at this all day and it's really starting to annoy me now. I have a form, this has a textbox which the user enters a search parameter into. This is passed to a Stored Procedure as a parameter, the results returned are then bound to a GridView control. This GridView control has an extr...more >>

A button doesn't work no more
Posted by bbp at 5/4/2005 2:34:06 AM
Hello, In an ASPX page I have a "Quit" button which make a simple redirect in code-behind. This button doesn't work no more since (I think) I moved from the framework 1.0 to 1.1 and it doesn't work only on IE! My ASPX page works in FireFox. If the button doesn't work it's because of valida...more >>

Session Variables Scope
Posted by vinu thomas at 5/4/2005 2:28:01 AM
Friends, Is it possible to access a ASP Session variable in ASP.net Page. The project i am working on uses both ASP and ASP.Net. To gain access in to the site user has to enter user name and password. We using ASP page to validate user access right, if its a successful login we then create se...more >>

Stop Visual Studio from regenerating Design View
Posted by GMartin at 5/4/2005 12:30:45 AM
Is there any way you can stop Visual Studio .NET 2003, from regenerating the HTML every time you go into Design View? I'm mostly in the Code behind page, and just want to pop over to check a couple properties. For some larger pages, it's a real nuisance. The Design View regenerates the page...more >>

Issue loading XML into datagrid...
Posted by Eddy at 5/4/2005 12:16:27 AM
Hello, I've an XML file loaded into a dataset. It works fine, but some values i can't load. For example, <incidentid> is working fine, but <subjectid> is an issue, because it has a name and dsc parameter. the same count for <createdon> and <modified on>. I want to load the dataset into a data...more >>


DevelopmentNow Blog