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 2004 > threads for thursday november 11

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

How do I programatically change the page title in ASP.Net
Posted by Craig Wilson at 11/11/2004 11:22:40 PM
How do I programmatically change the page title in ASP.Net In general, I need to get at the object model that gets access to the title property. best wishes, cw ...more >>


Calling parent container' method
Posted by Danny Ni at 11/11/2004 10:35:33 PM
Hi, I have a web form A that contains an user control B, which contains an user control C. Inside user control C, can I call methods in user control B and web form A? If yes, How? The mthods are declared as public, of course. TIA ...more >>

Generate a link in the c# code
Posted by Ricardo at 11/11/2004 7:59:27 PM
I'm buiding a class that pick the files in a directory and shows in the browser the links to download these files... But i have to create the hyperlinks, and that part is not working... I do the folow in the page_Load: DirectoryInfo dir = new DirectoryInfo(@"e:\shared files"); FileInfo[] f...more >>

Validator Control Problem
Posted by Matias at 11/11/2004 6:48:51 PM
Hi!, I'm having a strange issue while deploying a web site with Validator controls. In my development machine the Validators function perfecly and also when I deploy using XCOPY to a web server. The problem seems to arrise when I decided to change the root folder of the web page in I...more >>

Encoding problem in ASPX
Posted by James Wong at 11/11/2004 6:23:36 PM
Dear all, I've created a simple ASPX application in UTF-8 encoding with Traditional Chinese characters. It works fine and display correctly on my local machine which runs on Win XP Professsional Traditional Chinese. However, when I deploy it to server which runs on Win 2000 Server English, g...more >>

Validating a checkbox
Posted by Scott Natwick at 11/11/2004 5:55:59 PM
I would like to validate that a Checkbox is checked on the client-side. I have tried the "requiredfieldvalidator" and the "regularexpressionvalidator", but haven't been able to get either of them to work the Checkbox. Any suggestions? Thanks, Scott ...more >>

2 CustomValidators in a Page ?
Posted by Tiësto at 11/11/2004 5:28:59 PM
Does it represent an error? I couldn't get to work 2 of them, I and thought maybe it isn't possible, and the two server validation functions must be put together. ...more >>

Using SmartNavigation w/ Firefox
Posted by Brian Hoops at 11/11/2004 5:23:48 PM
Does anyone know if there's a way to make SmartNavigation work with the Firefox browser? TIA -Brian ...more >>



ASP.NET and a FRAME
Posted by Jon Delano at 11/11/2004 5:05:27 PM
Hello I am having difficulty using a <FRAME> on an ASP.NET VB webform. What I am doing is I have a row of buttons (mimic'g a tab look and feel) ... with a panel control under neath the buttons. In the panel control I have a label control. When the user clicks a button, I change the TEXT ...more >>

Schedule aspx pages
Posted by Anonymous at 11/11/2004 5:02:33 PM
Does anybody know how I can schedule aspx pages so that they run few times a day? Thanks...more >>

VS app does not show SQL or Access DB result in IE browser.
Posted by bildo at 11/11/2004 4:37:02 PM
I just installed SQL 8.0, IIS, Visual Studio on XP Pro laptop. I installed VS Books samples from book cd and ran SQL & Access DB samples on the browser just fine. Got the right results. I took the same code and created Visual Studio project, making some changes until it was running and open...more >>

Infragistics UltraWebChart How-To Chart Miles Per Gallon
Posted by cwortham NO[at]SPAM yahoo.com at 11/11/2004 4:07:06 PM
I am needing to chart miles per gallon by vehicle. The database structure is going to return rows like this: VEHICLE|MPG|DATE (where | is a column separator) 2003 Truck|17|11-1-04 2003 Truck|18|11-7-04 2002 Car|25|11-3-04 2002 Car|25|11-9-04 The chart I would like would be a lin...more >>

Can't type into DIV in VS.NET
Posted by dw at 11/11/2004 3:52:21 PM
Hello, all. You will all laugh at this silly issue, but here it goes: I'm using CSS to position elements on a page. I've got divs within divs and I'm trying to type into the underlying div, and it won't let me through Design View; I can type fine in HTML view. When I double-click, it takes me ...more >>

Checkbox in dataRepeater
Posted by simon at 11/11/2004 3:50:02 PM
I have dataRepeater with itemtemlate: <ItemTemplate> <tr> <td><%# DataBinder.Eval(Container.DataItem,"adv_name") %></td> <td><%# DataBinder.Eval(Container.DataItem,"adv_start") %></td> <td><%# DataBinder.Eval(Container.DataItem,"adv_end") %></td> <td align=center> ...more >>

Clear textbox Question
Posted by Patrick.O.Ige at 11/11/2004 3:35:02 PM
Whats the best way to clear textboxes? Any ideas? ...more >>

No DB table output on IE browser when App submitted from Visual St
Posted by bildo at 11/11/2004 3:31:04 PM
Just loaded my Laptop with XP Pro, SQL 8.0, and IIS server for the first time. I installed student cd samples and they run fine on the browser for SQL and Access databases when i just type the url 'hhtp://localhost/....". PROBLEM: I copied the code and created a new project in Visual Studio...more >>

CustomValidator not working
Posted by tshad at 11/11/2004 3:15:36 PM
How do I get my Custom Validator to work? All the other validators work fine. Here is the Textbox and Validator: *********************************************** <asp:textbox id="email" TextMode="SingleLine" Columns="32" runat="server" /> <asp:RegularExpressionValidator C...more >>

Date conversion
Posted by Piotr Karwatka at 11/11/2004 3:06:15 PM
Hi! I have a little problem - i have an integer value with contain a number of some day in current day (for example 56) - and my problem is - how can i caonvert this integer value to DateTime (for example 33 = 02.02.2004)? I want to reverse function to DateTime.DaysOfYear Thanks -- ...more >>

Visual layout design with VS 2003?
Posted by Andy Lim at 11/11/2004 2:58:21 PM
I'm currently working on my second web application using VS 2003/VB.NET, after moved from Dreamweaver MX. one thing that i missed so much in VS2003 is DWMX's great visual, WYSIWYG layout design, and HTML template feature. well, as you know, developing web application is not just about inserting...more >>

setting the margin in one cell
Posted by tshad at 11/11/2004 2:33:39 PM
I have one cell (<td>) that I want to have a margin in to move everything away from the left border by about 10 px. The only way I can seem to do it is to add cellspacing in each of the elements in the Cell (2 tables and button). I wanted to set it in just one place. "<td style=margin-lef...more >>

Server.Transfer
Posted by Steve Caliendo at 11/11/2004 1:47:30 PM
Hi, Does anyone know why I can't do a Server.Transfer in a dynamically generated button? It always works just fine if I place the button on the webform at design time, but if I add the button at runtime and I add a handler for it, I get "Object reference not set to an instance of an oject"....more >>

Object reference not set to an instance of an object.
Posted by Anonymous at 11/11/2004 1:27:36 PM
Hello, I am loading a simple rss file via the XmlTextReader and getting the following error: Object reference not set to an instance of an object. Here is the code which I use: CheckRSS("http://www.rubyxml.com/index.rb/rss") private function CheckRSS(byval strRSS as string...more >>

Stopping VS.net from moving my IF statement...how!?!?!
Posted by Darrel at 11/11/2004 1:26:57 PM
Ugh. I just spent an hour banging my head due to VS.net deciding to rewrite my code. I have this: <% if something %> <object> <% else %> <object> <% end if %> <param /> </object> But if I flip to design view and back, it rewrites it as such: <% if something %> <object> <% else %>...more >>

Show Progress in a Web Form
Posted by Steve Kallal at 11/11/2004 1:26:04 PM
I have seen this subject tossed around in this forum before. But in my case I need a simple solution. I do NOT need to show progress in terms on percentage complete. But rather I need to show a visual indicator to the user that a process is running. There are two scenarios where I need to s...more >>

open web project from source safe problem
Posted by Harold Hsu at 11/11/2004 12:28:05 PM
Hi, I hope this is the right group to post this question. I've created a web project at work. The project name is Foo.Bar.Web. The physical folder is located outside Inetput\wwwroot (c:\projects\Foo.Bar.Web). Following Microsoft guidelines, I've created a virtual directory with the same ...more >>

Oracle Calling A Stored Procedure
Posted by Jim Heavey at 11/11/2004 12:27:02 PM
Hello, I have an update stored procedure which is in a package. In my code I create all of the paramters and then call the stored procedure with "ExecuteNonQuery()" method of the command. The Command oject I am using is an "IDbCommand" rather then the OracleCommand object. The call alway...more >>

Combining a SQL query (joins)
Posted by Darrel at 11/11/2004 12:17:45 PM
I'm trying to get the hang of joins. I'm generating a list from two tables: seminars and attendees. The list needs to show the seminars, and then it needs to show the number of attendees signed up. If they were two queries, I (think) it'd be like this: SELECT seminarID, seminarTitle, s...more >>

I have played enough with this. I need help.
Posted by Chris at 11/11/2004 12:08:08 PM
Hi, I have a parent page that loads a popup and when the OK button is press it pass the value back to the parent form textbox. It passes the value but it doesn't close the popup but also open another copy of the popup. Guys I checked everywhere. I get the same thing. This is the code on th...more >>

Printing documents
Posted by Julián Sanz García at 11/11/2004 12:07:52 PM
Hi, How Can I print a number of documents without PrintDialog in ASP.NET? Thanks ...more >>

HTTP Post/GET Parameter Question
Posted by Henrik Holle at 11/11/2004 11:46:53 AM
Hi, i make an http get request like http://myUrl/Test.aspx?myID=test After this Request i excecute a http-post, but after this post my Url looks same like after the http-get. I need to remove the paremter "myID". Whats the best solution to solve this problem? thx henrik ...more >>

Blocking f5 and Esc Jey
Posted by Nelson at 11/11/2004 11:44:39 AM
Is there anyway I can stop user hitting the F5 or Esc key while using my application. My application is developed in ASP.Net, VB.Net and .Net Framework 1.1. All my clients are using IE 5.5X and above versions. Thanks, Nelson ...more >>

Urgent Converting varchar to ntext in SQL
Posted by Sileesh at 11/11/2004 11:28:05 AM
HI I know this is not the right forum to post this question, but i think some one might have a suggestion. I have a Table "Test" with columns Id bigint (PK), Number Varchar(50), Notes ntext. in sql server 2000 I ahve a stored procedure in which i am trying to insert the same data as ...more >>

datagrid
Posted by Manny Chohan at 11/11/2004 11:14:09 AM
Hi Guys, I have datagrid with check box in each row. Is there any way, i can change the color of the row once the checkbox is checked and unchecked. Thanks Manny...more >>

Creating ClientSide code thru PreRender
Posted by Tiësto at 11/11/2004 11:02:16 AM
This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C4C7DD.E80ECB40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi guys, I'm using a RadioButtonList with three options and I'm trying = to get this script rendered properly...more >>

invoice system
Posted by lh at 11/11/2004 10:56:17 AM
I'm looking for a web based invoice system (Asp.net preferably). Does anyone know of one? Thanks ...more >>

CheckBoxList - how to prevent labels from wraping?
Posted by MattB at 11/11/2004 10:53:30 AM
Hi I have a form with a CheckBoxList that gets bound at runtime. I split it into columns if there are a lot of items, but the formatting of those columns isn't what I was looking for. Specifically, I don't like how the labels wrap and would like to prevent them from wrapping, but I don't see a...more >>

good links for adding controls in datagrids
Posted by Craig G at 11/11/2004 10:34:27 AM
does anybody have any good links to good vb.net working examples of how to populate combo's etc when they are added into datagrids the example in msdn are a bit basic Cheers, Craig ...more >>

Can't create ASP.NET project - HELP!
Posted by dw at 11/11/2004 10:29:54 AM
Hello, all. We are trying to create an ASP.NET project on our Windows 2003 server via Visual Studio 2003 on a workstation via the network. We keep getting the following error: "The Web server reported the following error when attempting to create or open the Web project located at the follo...more >>

Refernecing Text of <p> tags
Posted by Jim Heavey at 11/11/2004 10:14:01 AM
If I have some text which is between <p> tags, is there a way for me to change the text which is in between the tags? I know that I could convert it to a Label control and reference it that way, but I was wondering if there was another way to do this. <p id="Fred" style="Visibility: hidden...more >>

ASP.NET pages occasionally time out
Posted by BradC at 11/11/2004 10:09:21 AM
We have a Windows 2000 web server (all patches up to date) that runs a variety of sites, most of which are straight HTML or ASP. We have recently added a couple of new ASP.NET sites that use ADO.NET to connect to (different) SQL databases on another server. A couple of times a week, these n...more >>

LinkButtons within Repeater control
Posted by Majek at 11/11/2004 10:09:01 AM
I have created a repeater with a linkbutton for each databound item. When I fire off the repeater controls ItemCommand event I execute the following... For indx = 0 To rpContacts.Items.Count - 1 Dim btnMyContact As LinkButton = CType(rpContacts.Items(indx).FindControl("btnContact"), LinkB...more >>

Protecting SQL injection attacks (text input functino)
Posted by Darrel at 11/11/2004 9:48:19 AM
I'm learning a bit about the SWL injection issues and want to write a shared class that I can call from anywhere in my project to 'sanitize' any incoming text from textfields before sending to the DB. Is it enough to simply escape single quotes as two single quotes? Ie, replace ' with ''? O...more >>

Is there a direct download for visual web developer 2005?
Posted by Luis Esteban Valencia at 11/11/2004 9:14:13 AM
I am on an intranet I havent been able to download the visual web developer 2005 with that installer. Is there a direct link to download it? -- LUIS ESTEBAN VALENCIA MICROSOFT DCE 2. MIEMBRO ACTIVO DE ALIANZADEV ...more >>

Will IP address change during a session?
Posted by olduncleamos NO[at]SPAM yahoo.com at 11/11/2004 9:09:34 AM
Hi all. Is there any legitimate reason the IP address from a client will change between request? I am wondering if I can autheticate a session by making sure they all come from the same IP. I realize that dial up servers will assign a different IP to the users each time they connect. Any hel...more >>

Followup on Application Cache question...
Posted by Darrel at 11/11/2004 8:46:05 AM
I thought this warranted a new thread. Yesterday I asked about access relatively static content...is it better to read from the DB, or just grab a text file. It was suggested that I use the DB and look into the Application Cache settings. I found a good article here: http://www.develope...more >>

Hour glass while web app is busy
Posted by Paul at 11/11/2004 8:44:03 AM
Just wondering if there is a way to set up a web application where the curser turns into an hour glass when the application is busy, for example processing a stored procedure on a server that takes several seconds? Thanks. -- Paul G Software engineer....more >>

DataGrid templet column question?
Posted by jiangyh at 11/11/2004 8:40:38 AM
hi there: I have a datagrid in my web form that contain a templet column.And in this templet column have a checkbox web control.I will get the checkbox state in my serverside. My question is which server-side event I will add to my codebehind when I change the checkbox state of th...more >>

Granting permissions
Posted by Bonj at 11/11/2004 8:27:01 AM
How can I do create proc MyProc as --....proc logic go grant execute on MyProc to MYCOMPUTER\ASPNET I can do the 'grant' statement where the user name doesn't include a computer prefix - but the ASPNET account does! It keeps complaining, citing 'Incorrect syntax near \'. The following...more >>

Crystal Report
Posted by Claudio at 11/11/2004 8:26:14 AM
I would like to know how to allocate an aplication that uses Crystal Report. ...more >>

Help with Passing data back from popup to form
Posted by Chris at 11/11/2004 8:03:02 AM
Hi, On my form, when the user hit submit it validates the zip code and if more than one city is returned it pops up a form with the list of cities in a list box. The user then have to select one of the cities and click 'OK'. How do I then update the underlying form (txtCity) with the correct...more >>

Calling a PostBack with a link
Posted by M NO[at]SPAM at 11/11/2004 7:57:11 AM
It's possible to call a Page PostBack with a link (<a href='....'>link</a>)? I would like only to add to the QueryString a parameter (i.e. PageN=3 ) and then calling a PostBack Can I do something similar? Thanks ...more >>

DataGrid controls
Posted by Bonj at 11/11/2004 7:30:01 AM
When handling the datagrid's OnEditCommand handler, the DataGridCommandEventArgs has an Item property, which has a collection of controls. One of these contains three subcontrols, the middle one (id 1 of 0, 1 and 2) of these subcontrols is the control (textbox) that contains the value I want...more >>

problem with aspnet exiting
Posted by Bonj at 11/11/2004 7:19:02 AM
When trying to debug an ASP.NET project by placing a breakpoint in one of the functions in the codebehind, VS correctly stops at the breakpoint, and I can step through. But soon after, the process stops dead and can't be stepped through anymore (even though there is no error) - I'm guessing th...more >>

Changing cursor size in textbox??
Posted by Dave at 11/11/2004 6:34:14 AM
Is there a way to enlarge the text cursor? We need to make it a bit wider to improve visibility and we cannot find any information about this. Many, MANY thanks in advance!...more >>

failed to get cookie
Posted by Michael R. at 11/11/2004 5:00:02 AM
I'm trying to login to a website with HttpWebRequest. The login page returns a cookie and a HTTP 302 to redirect to the main page. I only need the cookie to request the page I really need. What I did is that: HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url); req.AllowAutoRedire...more >>

Is it possible to use Dataset with Sql Reporting Services ?
Posted by ozcankanbur NO[at]SPAM yahoo.com at 11/11/2004 4:39:34 AM
Sql Reporting Services uses sql command and stored procedures to prepare report. but I need to use dataset to manipulate data in a class. So is it possible with Sql Reporting Services ? Thanks...more >>

How to pass Application.Item value back to class?
Posted by adolf garlic at 11/11/2004 4:29:06 AM
Suggestions please for strategy to share values across app. Scenario: I have an asp.net app that uses some com components along with .net classes. Configuration settings for various things are held in an xml file to which the com has access. The xml file has different nodes for different ...more >>

Compiling centrally held web applications under SourceSafe with VS.NET
Posted by huttm NO[at]SPAM yahoo.co.uk at 11/11/2004 2:58:35 AM
I need some help. I am trying to set up our development environment so as to make life easy for my fellow developers (none of whom have used ASP.NET or VS.NET before). We are developing our intranet which will comprise basic content with a number of small data-driven ASP.NET applications. I...more >>

Apply Formatting to PushButton?
Posted by John Mason at 11/11/2004 1:50:03 AM
Hi, I have a Datagrid control with an edit command column, which has a PushButton ButtonType. I am trying to apply formatting to the plain grey button, to make it look more appealing on screen. I would like to change the font-size and the set the background color, the foreground color of th...more >>

How to get full URL including #...
Posted by Ben Amada at 11/11/2004 1:00:32 AM
Hi. I'm trying to get the full URL of a page including # and what follows it. An example URL would be: http://www.mysite.com/page.aspx#contacts I've tried: Request.Url.AbsoluteUri Request.ServerVariables("URL") Request.RawUrl But none of the above methods returns the "#contacts" port...more >>


DevelopmentNow Blog