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 monday december 19

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

MSGBOX PROBLEM
Posted by Juanjo at 12/19/2005 11:51:02 PM
Hi, I'm testing the Visual Web Express Edition, with ASP.NET 2.0. I use the msgbox function (In ASP.NET 1.0 does not exists). I have written a lot of code with msgbox, but when I installed the web site developed in the IIS Server, I have this error when the msgbox funtion is called 'Show...more >>

Trigger event into several webcontrols from main page ?
Posted by jesper_lofgren NO[at]SPAM yahoo.se at 12/19/2005 11:50:59 PM
Hi, I have a main page that contians some webcontrols. On the main page i have a asp:button id="Save". The thing is that i want to trigger a save event in all webcontrols when i cklick on the asp:button on the main page. Anyone have a idea how i can do this ? Thanks // Jeppe ...more >>

custom ascx file register the component in the code behind
Posted by Sakkatha at 12/19/2005 11:41:46 PM
Hi gourp Is it possible to register a custom web component foo.ascx in the code behind page??? ...more >>

ASP.NET: Renaming a directoy
Posted by Philipp at 12/19/2005 11:39:37 PM
I need to rename a directory. How can I do that in ASP.NET? ...more >>

want to have <cc:UserControl>some text and tags</cc:UserControl>... How?
Posted by ThunderMusic at 12/19/2005 11:31:49 PM
Hi I want to do just like in the subject ... to have some text and tags between the start and end tags of my user-control. Is there a simple way of doing that? for instance, between the tags, there would be a table with <table>, <tr> and <td> and all the stuff I could need. but everytime...more >>

Transport Failed to connect to the Server.
Posted by Sudhan at 12/19/2005 11:27:27 PM
When i am trying to send in asp.net i am geting this Error Message:Transport Failed to connect to the Server. I am using SMTP server in my localMachine and Sify connction I am New to ASP.Net MY Code: private void Button1_Click(object sender, System.EventArgs e) { MailMessage mail = new...more >>

Towards Identifying Performance Bottlenecks
Posted by Jeff at 12/19/2005 11:02:53 PM
Okay, I know there is likely no straght-forward way to get a definitive answer to the question, "why is my page loading so slowly tonight?"; but I'm thinking that there *are* some things we can measure to get *some* general idea of where the bottleneck is. I can sit here and theorize about why...more >>

How to handle both onMouseUp and OnClick events
Posted by JerryG at 12/19/2005 10:54:38 PM
Hi All, I need to handle either onMouseOver or onClick event of an html image. Can anyone tell me how to do this? Thanks in advance. Jerry ...more >>



Exceptional Error
Posted by mohit at 12/19/2005 10:29:41 PM
Hi, I am creating a web application in Web Matrix on the .NET framework. I have two directories :AddUser and FormAuth in a Directory P. AddUser contains a file AddUser.aspx FormAuth contains : Default.aspx , Users.xml , Login.aspx I have the following code : DataSet ds = new DataSet...more >>

My.Computer.Network.Ping & files??
Posted by Arthur Dent at 12/19/2005 9:58:10 PM
Is there anyway to do something like this, but for an individual file instead of for a server? For example, when showing product catalogs, i would like to be able to "ping" a product image, and if it is not accessible, then put out a "No Image" file. TIA - Arthur Dent ...more >>

How do I build a control without an .ascx file, only with a DLL?
Posted by Alan Silver at 12/19/2005 8:41:51 PM
Hello, I would like to build a control that outputs some text. Due to the simple nature of the output, if I did it with an .ascx file and a code-behind, the .ascx would only contain a Literal control and nothing else. It seems that it would be much neater if I could do away with the .asc...more >>

quickest way to read xml from the web
Posted by Emmanuel at 12/19/2005 7:59:25 PM
Hi there, My client would like to process an xml file. the structure of which is as below. <xml> <stockitem> <releaseddate>.....date value...</releaseddate> <...aditional tags for additional info> </stockitem> <stockitem> <releaseddate>........more >>

referencing an anchor from within a usercontrol (ascx)
Posted by gary at 12/19/2005 7:20:32 PM
Hi, I am trying to reference an anchor in a user control with a url. This worked in 1.1 but no longer works in 2.0. The ascx control is located in a "/include" folder If you have a hyperlink control and you assign the navigateurl property = "../#anchor" whereby you want to add this # ref...more >>

How do I use a treeview with a sitemap file from another web site?
Posted by Alan Silver at 12/19/2005 6:23:28 PM
Hello, I want to show a treeview display of the contents of a sitemap file on another web site, chosen according to the currently logged on user. I know at run time the path to the sitemap file, but this cannot be determined at design time as it depends who logs in. Can I do this? I can'...more >>

ASP.NET 2.0: Label Problem using formview
Posted by sck10 at 12/19/2005 6:08:27 PM
Hello, I am pulling data from a SQL Server table. One field that is (varchar 4000) is used to show notes. I am using a FormView for showing and editing the data. When the form is in Item view, the text runs together. All the line breaks are missing. When I enter into Edit mode, the text i...more >>

I don't get it...Crystal Reports
Posted by Eric at 12/19/2005 6:06:25 PM
Please help me with this, I'm stuck... I have a dataset with two tables. This dataset is created when the user of this webapp fills in the information and unique for each user. The first table has all the information about the user, i.e. name, number... The second has the overtime data. W...more >>

Delete Web Site
Posted by Just D. at 12/19/2005 5:40:19 PM
All, I made a wrong assumption and my application created a few new web sites on my machine working under WinXPPro. So that I see "Default Web Site" and these wrong sites which I can't delete either start, these wrong sites are marked with the red circle and show just in the IIS. Any moveme...more >>

problem with SMTP mails.
Posted by Prashant Barnwal at 12/19/2005 4:55:29 PM
Hi, This message i get whne i try to send mails theu my app server. any idea where and what to look for? It works fine in Dev bed. Guide me to apprpriate news group if its not the right place. COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not registere...more >>

Server name
Posted by SimonZ at 12/19/2005 4:51:21 PM
When I run my application in debug mode, the url is always localhost: http://localhost/project/default.aspx I would like that url would be : http://myCompName/project/default.aspx If I manually change localhost into myCompName, it works, but when I start page from visual studio, the page url...more >>

Request.QueryString()?
Posted by Adam Knight at 12/19/2005 4:42:52 PM
Hi All, Now that the action attribute on web forms get ingnored by ASP.NET, how can i carry a value through multiple page requests in the Request.QueryString collection. I don't really want to use a session!!!!!! Is their a way in dot net i can add querystrings to the Request.QueryString ...more >>

how would you do this.
Posted by ari at 12/19/2005 4:16:01 PM
hey all, i have 2 aspx pages: 1 is a report parm screen and the 2nd contains the crystal report viewer. when i the first page loads, i set the parms for the particular report i'd like to generate and click submit. The first thing it does is waits a few seconds on the 1st screen (which i...more >>

String To Date
Posted by MattB at 12/19/2005 4:06:47 PM
Hi, I have a vb.net/asp.net 1.1 web application that may be used in other cultures where dates are formatted differently. I have three controls (either DropDowns or TextBoxes) one for year, one for month, and one for day. I'd like to be able to convert this to a DateTime type of variable an...more >>

Help please - Context.RewritePath redirects to home page, Response.Redirect works fine
Posted by Alan Silver at 12/19/2005 4:04:21 PM
Hello, I have a page where site owners can see orders placed on their site. The path to this page is /dap/order.aspx, but for security reasons (as they will end up printing these pages and sending them to customers) I am trying to rewrite the path so the URL shown in the page footer is not a ...more >>

Set "hidden, system" file attrubute?
Posted by alex at 12/19/2005 3:47:06 PM
I need to set a directory with hidden and/or system attribute from my c# code. Similar to what is c:\RECYCLER folder set to in WinXP. So it is not visible to a user with default "Folder Options". Is that possible? Thanks. ...more >>

ASP.NET 2.0 settings error please help...
Posted by Alexandre at 12/19/2005 3:20:08 PM
I am getting the following message: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the c...more >>

How to repoint a Web Service location?
Posted by Michael at 12/19/2005 3:14:15 PM
Using ASP.NET 2.0 I thought just changing the <add key="ListService.ListService" value="http://localhost/ListService.asmx"/> to <add key="ListService.ListService" value="http://MyNewServer/ListService.asmx"/> in Web.config would do. But when I do that, I get HTTP 404 in my Web application...more >>

More than One
Posted by Thom Little at 12/19/2005 3:05:45 PM
Visual Studio 2003 / .NET Framework 1.1 I could create multiple web applications. In the root of a remote webspace I could have a single /bin directory and a single web.config file. I would then FTP (using a third-party FTP program) the .aspx files in any of the applications to any directo...more >>

Fragile
Posted by Thom Little at 12/19/2005 3:02:48 PM
Create two ASP.NET applications. Run them on the development machine to make sure they are error free. Publish the fist application to the root of a remote webspace. Call a page and see that it operates correctly. Publish the second application to the root of the same remote webspace. Per...more >>

One application start/call another
Posted by Stephen at 12/19/2005 2:56:16 PM
Hi all, Can one application start another? specifically can a webbased application start a console based application (exe) or windows based application (exe) If Yes, can you please suggest some articles or code? Thanks, Stephen ...more >>

How do you determine the size of the dataset [the record count] delivered by a SqlDataSource?
Posted by at 12/19/2005 2:07:23 PM
Hello Everyone, I am using VB and ASP.Net to build a web application with VS.2005. I have a SqlDataSource defined and am using it to populate a table [Array]. Is there an easy way to determine the size of the dataset [the record count] delivered by a SqlDataSource? Any pointers would b...more >>

Reading Cookies only returning SessionId cookie
Posted by Gridlock at 12/19/2005 2:06:03 PM
I'm trying to read the cookies using HttpContext.Current.Request.Cookies, but the only cookie that I get is the ASP.NET SessionId cookie. There are many cookies on the machine, why am I only getting the one cookie? Thanks, - Stew ...more >>

Co-Browsing Feature
Posted by Mike Kansky at 12/19/2005 1:51:01 PM
Hello, does anybody here have any idea on how to implement the Co-Browsing feature, the same like LivePerson's? http://server.iad.liveperson.net/hc/s-5296924/cmd/kbresource/kb-3222511832329533304/view_question!PAGETYPE?sq=cobrowse&sf=101113&sg=0&st=920954&documentid=55258&action=view Is ther...more >>

Exclude resource files from precompiled asp.net website
Posted by Sanjay Pais at 12/19/2005 1:25:43 PM
Hi, We have been able to exclude the markup using the -u flag of the aspnet_compiler. We want to exclude the resource (.resx) files from the compiler so that the client has the option of modifying not only the markup but also the resourse entries. How do I go about doing this? Current...more >>

DB Nulls & DataBinding!
Posted by Adam Knight at 12/19/2005 1:11:11 PM
Hi all, Just wondering how everybody goes about dealing with db nulls when binding form controls to db data. The code below produces an error if any column in the reader object contains a db null value. Is their a concise way of getting around this? Cheers, Adam 'fill reader object...more >>

<customErrors mode="Off"/> ERROR
Posted by Savas Ates at 12/19/2005 12:48:08 PM
I have a web application It works well in my local folder.. When i upload it to my web server i got To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directo...more >>

what's wrong with my DELETE FROM query?
Posted by darrel at 12/19/2005 12:22:32 PM
I'm still struggling to find out why I keep getting Invalid object name 'monkey'. errors. Below is my try/catch statement. Note the first query is trying to delete a record in the table MONKEY. If I omit this, it performs the second query just fine, but it always hang on this first one. ...more >>

menu postback not working
Posted by Jay at 12/19/2005 12:17:03 PM
My asp.net 2005 menu control has items with nothing in navigateUrl - meaning it should postback when an item is selected. I have code in the Page_Load which is supposed to call a method based on the selected menu item. if (this.Menu1.SelectedItem.Value.Equals("1")) processA(); ...more >>

User Controls not keeping property values
Posted by David Lozzi at 12/19/2005 12:08:37 PM
Howdy, I have a usercontrol in my aspx page and when the page loads, I send it some property values based on the data displayed. I am sending it to a public property like below. However the usercontrol has some functions and when the function is run, I lose all of the property values. If I ...more >>

TCPClient App Question
Posted by Frank at 12/19/2005 11:39:53 AM
I wonder if anyone could give me a suggestion on how to best handle this scenario. I wish to have an aspx page contact a server and receive messages. Initially, a login messge is sent, then after being validated, a second message is sent which contains data to complete a stock market trade....more >>

Optimize Website
Posted by TCB at 12/19/2005 11:28:31 AM
I am developing a website using .NET 2.0 (classified style website) it displays a series of records per page (8, using a datagrid with paging) each record displays a thumbnail of an image that sizes about 6-7k and a small text description of the item. The Items tamble holds now about 2500 h...more >>

asp.net 2.0 Rich text box.
Posted by Nalaka at 12/19/2005 11:22:28 AM
Hi, I have the need for a very simple rich text box for my asp.net 2.0 app. Can you recommend a very simple one? Thanks Nalaka ...more >>

complex datatypes in webservices.
Posted by Ashish at 12/19/2005 11:20:46 AM
I am writing a web service that takes a xml document as an argument and returns an xml document. the schema for the input and output documents is very well defined.. Is it possible to use xml documents as datatype as an argument , and be able to specify a schema for that xml document ? ...more >>

Hi do i Enable a Sqlserver job from asp.net web form?
Posted by Learner at 12/19/2005 10:59:44 AM
Hi there, We have a Sqlserver job defined in Sqlserver 2000 and also mentioned the time when it should run. But we only enable it when we needed it to run. So thats how we have it defined. As per our current business scenario we don't want to automate the job at a scheduled intervals. B...more >>

asp.net 2005 menu - not sure what is the postback
Posted by Jay at 12/19/2005 10:33:03 AM
I have an asp menu control with menu items navigateUrl set to come back to the same aspx page but with different values in a url token. this works, but it is causing all my asp controls to loose their values. Why is this happening? I thought I was "posting back" and my web controls with v...more >>

different date format per user?? Heeeeeeeeelp
Posted by Reza Solouki at 12/19/2005 10:28:03 AM
Hello, I have a very weird case on my hand. In a search page, I generate the query depending on the column the user wants to search. And everything was smooth till I realized that other users than mine get their date changed to American format?! I store the dates in database in dd/mm/yyyy,...more >>

How to style a CheckBoxList?
Posted by clintonG at 12/19/2005 10:14:34 AM
Has anybody figured out how to style this doohickey? I want to move the label's text properties up so the text lines up with the checkbox itself. <%= Clinton Gallagher ...more >>

Updating a web page from an application
Posted by Andrew Chalk at 12/19/2005 10:09:44 AM
I want to have a web page that reports the real-time "status" of an application. It must be updated with changes in status, which may occur as frequently as once a second. What is the best way to model this in ASP? I haven't dealt with web pages that reflect changes not insitgated by the ebd ...more >>

mobile asp.net app
Posted by Jon at 12/19/2005 9:58:26 AM
I would like to create a movile asp.net web application, but my installation fo VS 2005 doesn't have the templates installed. I am using the Pro version and did a full install. Any ideas on where I get the templates? Thanks ...more >>

coldfusion and dotnet applications on Windows 2003 Server
Posted by Bhaskar at 12/19/2005 9:55:04 AM
Folks, I have both Coldfusion and dotnet applications (written in 1.1 framework) on the same server. It's an Windows 2003 Server that has coldfusion installed first. My dotnet programs are not working on that Server. First page comes up, lets you log in, second page loses the session va...more >>

newbie on asp.net 2.0
Posted by lasalsatx NO[at]SPAM newsgroups.nospam at 12/19/2005 9:54:58 AM
Is there a way to have back a way to compile all the code on a website and just send DLL's to the final webserver instead of all the code? Victor ...more >>

master pages and image URL
Posted by Nalaka at 12/19/2005 9:50:32 AM
Hi, When an image is put on a master page... the url to th eimage is set relatve to the master page. (at least don't know how top set an absolute URL to image) But the when a content page is shown, all images (inclding masterpage) are resoved relative to the content page location. get g...more >>

Validating Multiple E-mail Address - JavaScript & CustomValidator
Posted by cemcat at 12/19/2005 9:28:45 AM
Hello, We have an ASP.NET 2.0 (C#) web form that contains a textbox for users to enter multiple e-mail addresses separated by semicolons. We need to validate that each individual e-mail address entered is a valid e-mail address format. We've added a CustomValidator to perform this validation. ...more >>

include ASP file in C#??
Posted by teddy b via DotNetMonster.com at 12/19/2005 8:27:24 AM
Hi, Anyone know there is a way to include ASP file in C#? My application coded in C#, then need to include another application coded in classic ASP. Any solution for this? Not planning to convert classic ASP application into .Net yet but need both running at the same time. Thank you. -- ...more >>

Newby/Novice Question: Printing Web Pages...
Posted by Blue Streak at 12/19/2005 8:16:32 AM
Hello, I have a question for the group. My current project uses multiple panels to display the contents of a web page. The thing is many of these panels are hidden while only one is visible at a time (much like tabs). I use a set of command buttons to switch between these panels. What I wou...more >>

ASP.NEt 2.0 and Source Safe
Posted by Ryan Ternier at 12/19/2005 8:03:06 AM
I've just installed .NEt 2.0 on my work box, spent 1 day converting one product over to 2.0 and having it work fine. I want to add the project to Source Control now, and I cannot find 1 place to do this. I've checked every menu, every menu button in the Menu customize screen. We have not...more >>

Page header for a table
Posted by Arne at 12/19/2005 7:55:03 AM
I have an HTML table that is many pages long. How can I create a header that repeats on each printed page? Is there a way within CSS to do that?...more >>

ASP.NET and SQL Authentication: Login failed
Posted by Rolf at 12/19/2005 7:50:05 AM
I try to connect from an ASP.NET 1.1 app to a sql server 2000 on another server with sql authentication. The DSN looks like server=sqlserver;database=appdb;uid=test;pwd=password; Both servers run with Win2K3. The sql server runs in mixed mode. When the app tries to access the database I get t...more >>

Protecting files on the server.
Posted by UJ at 12/19/2005 7:44:44 AM
Folks, We provide custom content for our customers. Currently we put the files on our server and people have a program we provide that will download the files. These files are usually SWF, HTML or JPG files. The problem as I see it - if you know the name of the file, you could download it off...more >>

User Controls vs. Panels
Posted by Demetri at 12/19/2005 7:26:01 AM
I'm trying to determine if we want to use panels or user controls for our pages. Our primary concern is performance, page loading and posting speed. To illustrate my question, lets use the Customer Orders scenario: Problem: User needs to view orders and and edit, add, save on one page calle...more >>

How do find a empty field/value/records?
Posted by rahman at 12/19/2005 6:55:28 AM
I know it should be very easy but I am new in ASP so I could not figured out. Here is the simplified version of my code: thePaymentID= request.querystring("IDValue") SQLqueryPayment= "SELECT sum(paid) as paid, sum(Interest) as interest FROM payment WHERE payment_ID =" & thePaymentID & "" ...more >>

3 general questions
Posted by roseta at 12/19/2005 5:53:59 AM
Hello, I have three question: 1- If we build a web application with asp.net , can we use vb.net code in it? like windows applications? 2-if we build a web application with asp.net the extention of pages would be .aspx correct? 3- In my visual studio.net if I want to open a new and empt...more >>

Url-encode in DataList
Posted by sjurmr NO[at]SPAM online.no at 12/19/2005 3:23:48 AM
Hi all, I have a datalist containing an asp:Label which writes a link to the list using codebehind. The link contains a jacascript and an encrypted userid. The link looks ok in codebehind, but when the label is written to the page, it somehow url-encodes the label-text and messing up my encry...more >>

Refresh page as if it has been closed and opened
Posted by arun.hallan NO[at]SPAM gmail.com at 12/19/2005 1:53:54 AM
I need to refresh a page so it acts as if it has been closed and opened. Is there any way i can do this from a button? ...more >>

Thread execution report?
Posted by Simone Busoli at 12/19/2005 12:37:02 AM
Hi, I am creating a newsletter system, and in the webform used to write and send the newsletter I use a thread that sends all the newsletters, so that when I write the newsletter I don't need to wait for all the mails to be delivered, but it's the thread I launch that is responsible for the de...more >>


DevelopmentNow Blog