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 > july 2003 > threads for tuesday july 15

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

Binded DropDown list
Posted by Mira Vizjak at 7/15/2003 11:05:59 PM
Hi I'm using a datagrid with a dropdown list in it. The dropdown list is filled with values from SQL database, it's autopostback property is set to true and when I select another item in it, the SelectedIndexChanged event fires properly, but I can't the index or value of the selected item. Selec...more >>


Multiple Forms
Posted by Jonathan Amend at 7/15/2003 10:13:20 PM
I want to make a page that has 2 forms on it but I can't use any runat=server controls because there can only be one runat=server form. Is there a way of having 2 forms with runat=server controls or do I have to resort to normal forms with submit burrons and processing the request manually when ...more >>

Textbox, button and Enter on keyboard
Posted by DDK at 7/15/2003 9:50:14 PM
Question (using C# and ASP.NET), I have a textbox and a buttonClick on my asp.net page. I would like be able to hit the Enter button on the keyboard and have it do the same thing as the buttonClick. In other words how do you get Enter button on the key board to perform the same ope...more >>

Forms Auth Timeout and Form Data Preservation
Posted by cmay NO[at]SPAM walshgroup.com at 7/15/2003 9:32:16 PM
Does anyone know if form data, stuff that the user has typed into a textbox or selected from a dropdown, is preserved when they have to re-login through forms authentication? I'm thinking of a situation where the forms authentication times out while the user is working on a long form. When th...more >>

iframe as server control
Posted by Rory at 7/15/2003 7:52:55 PM
I would like to know if it is possible to set/save an iframes content in codebehind. I know that you can set an iframe to runat server, but when i try to access the .innerHTML property i get nothing. (i understand that it is because there actually IS nothing inbetween the tags). Is it p...more >>

Hiding data from screen scrapers and bots
Posted by Brian W at 7/15/2003 7:13:56 PM
I was hoping someone here would know something about screen scrapers, spiders, bots. Perhaps it's a stupid question, but here it goes anyway... Is there any way to make data harder for a screen scraper, spider or bot to collect? I don't mind people going to a page and looking at the data I ...more >>

ASP not picking up new page, very strange.
Posted by Bruce Hodge at 7/15/2003 7:07:25 PM
Hi All, I've got a page with a couple of Datagrids on it and for some reason the page is no longer being picked up by the framework and a very old version is being displayed instead. When I say old it is probably a .Net 1.0 and then some time back in development as well. The strange thing ...more >>

Timers in application web programming
Posted by sinkpen NO[at]SPAM cs.mun.ca at 7/15/2003 6:50:33 PM
I'm trying to get my page to automatically update a data table every 10 seconds but using the System.Timer object doesn't seem to work. Anyone know how to get a web page to automatically get new data from the server on a regular interval? Thanks, Stephen Inkpen...more >>



unloading assemblies - delayed ?
Posted by Guru Prasad at 7/15/2003 6:47:52 PM
Is there a delay involved in unloading assemblies once a virtual directory is "deleted" using IIS Manager ? At times even after the virtual directory is removed i cannot delete the backing physical directory and it looks like ASPNET runtime is holding on to the assemblies. Once i recycle the ASPN...more >>

How do I access link and meta data using framework
Posted by John Clark at 7/15/2003 5:53:10 PM
Does anyone know how to access the content of the link and meta tags in the html head when a page is loaded? Thanks in advance.... John ...more >>

question on DropDownList control.
Posted by Tony at 7/15/2003 5:33:40 PM
hi, a newbie question I have two dropdownlist controls, one is for years, 2000-2003, the other is for month, 1-12. I am supposed to get all the data records in the selected year & month when i click "submit" button, but the weird thing is I can only get the records of 01/2000, no matter what ...more >>

Urgent : Unsure of when to call a function within a user control
Posted by John at 7/15/2003 5:15:27 PM
Hi all, This really is quite an urgent matter. I have a page with multiple, dynamically-loaded user controls and when a user clicks on a button, the whole form is submitted. Now at this stage I know I need to call a function that will save data but I'm not sure exactly when to call this fun...more >>

Cannot create ASP.NET WEB Application
Posted by George Dove at 7/15/2003 5:12:25 PM
Hi, Does somebody can give me the advice how to overcome the problem like the next? When trying create new project in Ms Visual Studio .NET 2003 I constantly get the message "The WEB server reported the following error when attempting to create or open the Web project locates at the followin U...more >>

ATTN: Microsoft --- CDO Security Issues?
Posted by Ron at 7/15/2003 4:50:24 PM
My host insists that the latest version of the CDO library is full of security issues and that I will need to use JMail (which isn't even supported by .Net). Can anyone tell me what security issues there are (if any) and what can be done about them? Thanks, Ron ...more >>

Submit Button
Posted by Kevin Bilbee at 7/15/2003 4:35:08 PM
I have a web form with a few text fields some validataion and a submit button. When I click the submit bittin the serverside event does not fire????? Why!!!! I have tried Changing the EnableViewState I have tried removing CausesValidataion. I am using VisualStudio 2003/.net 1.1 <asp:Butto...more >>

sorting and datagrid and underline
Posted by sunil at 7/15/2003 3:56:16 PM
how to eliminate underline from sorting headers on a datagrid. I modified <A> in the style sheet. Is there any other way to accomplish this in code. thanks appreicate any help. thanks ...more >>

Output binary file
Posted by Robin Bonin at 7/15/2003 3:54:29 PM
the company I work for sometimes has users link to our banners, and display them on there own sites. the problem is that some of the banners have promotions that are nolonger good. I'll like to write a simple aspx page to check and see if the promotional banner is valid, if not, it can return a ...more >>

Free memory?
Posted by Maxim at 7/15/2003 3:48:35 PM
Is there any way at all the get the total amount of free memory on the current system? Im desiging an application that can run well on low end machines[32 MB RAM] up to 512MB-1GB. The problem is that the code is bottlenecked by the available RAM, so I need to be able to allocate as much RAM as...more >>

Credit card integration
Posted by Florian Marinoiu at 7/15/2003 3:39:45 PM
Hi, we would like to be able to let our clients pay by credit card on our website. Right now the clients can buy after opening an account with us and we send them the invoices on a regular base. I was wondering if you could point me to some sites that could help me make an idea of what we wil...more >>

SMTP MAIL PROBLEM?
Posted by k-re at 7/15/2003 3:39:35 PM
Hi all I am trying to send email on ASP.NET using smtp mail...but I am getting error.... Could not access 'CDO.Message' object. I use the same code while I was developing application in VB.NET and seems to work fine. Would any one please help? Thanks, KB ...more >>

Sometimes we get these errors on ASP.NET project.
Posted by Ersin Gençtürk at 7/15/2003 3:39:19 PM
We couldn't find why these errors happen.They doesn't appear everytime.And they appear different pages at different times.Is there somebody know why these happenes ? First user gets this error : Server : WEB System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledExcep...more >>

after the submit
Posted by Grant at 7/15/2003 3:08:13 PM
After clicking on the submit button, it will take the user to a thank you page with their receipts. I notice that if you click on the back button in browser, it will take you back to the previous page and you can resubmit that page again. What is the best way for me to stop that? Thanks ...more >>

Web Server on Port 8080
Posted by Comcast at 7/15/2003 3:04:19 PM
I have multiple development nodes on my network so each machine has a different port for the web server. On one particular machine I'd like to change the web port to 8080, but then when I try to start a new ASP.NET web project and it goes out to check the server, it doesn't find it. I've tried ...more >>

Access options from a dynamically created listbox.
Posted by mark.larson NO[at]SPAM ga-utah.com at 7/15/2003 2:24:51 PM
Hello, I'm working on a page that dynamically creates listboxes and the "options" that are added to the listbox. A user can then click on buttons to either add or delete the "options" from one listbox to the other. All of this works fine, but when the user changes from one page to the next,...more >>

SmartNavigation & application crashing..
Posted by Nicolas LeBlanc at 7/15/2003 2:23:15 PM
First of all, I'd like to state that I would like to have SmartNavigation enabled on my site due to some massive work on the UI do to nice things that works a lot better if the scroll position is kept. I managed to fix the error that the smartNavigation caused with Response.Redirect (redi...more >>

How to deploy ASP.NET Apps
Posted by Nus Pieds at 7/15/2003 1:55:35 PM
Hi, I create and develop my ASP.NET apps locally on my PC, which is running IIS. Now I want to deploy those apps on another web server (application run-time only), so what exactly are the steps? The target web server is a User Test web server which has the .NET Framework only, no VS ....more >>

Loading images for use on client
Posted by John at 7/15/2003 1:17:00 PM
Hi all, I'm having a problem loading images for later use in javascript on the client. In my code-behind, I'm using a stringbuilder object to build and populate a few javascript variables like : js.append("var myjsvariable = New Image") js.append("myjsvariable.src = " & "http://localhost/im...more >>

Viewstate of WebUserControl does NOT work
Posted by Christian at 7/15/2003 1:03:17 PM
Hi, Viewstate of WebUserControl does NOT work although the 'EnableViewstate'-property of the usercontrol is set to true Description : Using ASP.Net : I have a created a WebPage with 2 buttons and 1 Web-UserControl of type LottoWebUserControl. The control has 1 label-control embedded ...more >>

Running IIS locally
Posted by Joe D at 7/15/2003 12:51:59 PM
I have loaded IIS on my machine. When I run an ASP.NEt application non of my object show up in the browser. specifically any drop down boxes or data lists. Is there a setting in IIS that I need to change? ...more >>

UrlReferrer issue
Posted by Yoyo at 7/15/2003 12:44:02 PM
Hi all! I am developing an intranet app and have a problem with the Request.UrlReferrer object. I use it to keep a "linkstack" of all pages visited on the app to let the user surf thru pages (the IE toolbar is not visible). I tested it ok on intranet and internet with win2k clients. The p...more >>

What is mspx file type ?
Posted by Rama Karan at 7/15/2003 12:39:40 PM
Hello All, I have seen lot of pages on microsoft site having an mspx extension. What are those file types & how do you carete them ? Thanks, Rama ...more >>

Get Form ID
Posted by Javier Ros at 7/15/2003 12:23:45 PM
hi guys, How to know the Form ID of a Page with C# CodeBehind? Thanks in advance. ..Javier Ros Moreno. ...more >>

I can't debug!
Posted by Kyle at 7/15/2003 12:22:49 PM
I'm a member of the admin group and debuggers group and I still get an error saying "UNABLE TO DEBUG ON THE WEB SERVER ACCESS IS DENIED" What is wrong? I tried: aspnet_regiis -i iisreset everything! uninstalling/reinstalling everything! Can anyone help please em...more >>

Using jar in .net?
Posted by kaipinggan NO[at]SPAM netscape.net at 7/15/2003 12:19:29 PM
I am wondering if there is a way, if yes which is the best to include java libraries into any .net applications (preferbly asp.net). Thanks alot for any suggestion! Kai...more >>

Validation
Posted by Jay at 7/15/2003 12:17:28 PM
Hello all, I'm very new to ASP.NET and I am using VS.NET to write my pages. I am using the Regular Expression Validator on my form and I would like it to check a field to make sure it does not equal 0. Can anyone point me to some resources with this type of information? Thanks, - J ...more >>

AppState Object is Blank
Posted by Anthony C at 7/15/2003 12:02:48 PM
I'm setting a couple of appstate objects with the following code... when I go to access them later, i'm not getting any data.. please help CODE IN GLOBAL.ASAX: ======================================================== Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) ...more >>

server event not firing
Posted by Lee Swanson at 7/15/2003 11:56:07 AM
I have a form with a single field and a submit button with a server event. If I click the submit button, the event runs and everything is fine, if I hit enter in the form, the server event does not fire! Another wierd thing is, when I add a second text input field, the event fires when I pre...more >>

Auto Push
Posted by Arun Gandhi at 7/15/2003 11:41:55 AM
Hi Everyone, IS it possible in ASP.NET that Server should automatically push data to the client ? Thanks Arun Gandhi ...more >>

stopping client side caching
Posted by John Livermore at 7/15/2003 11:39:32 AM
What can be done to keep pages from caching and to hit the server each and every time they are accessed? When our users hit their back button on the browser we need to ensure the page is reloaded from the server and not the browser cache. Thanks, John...more >>

Can't get the text from a Dropdownlist
Posted by Barry at 7/15/2003 11:08:02 AM
Hi, I have dropdownlist that I'm trying to bind to an arraylist. The items in the array get populated correctly, but I can't seem to detect the SelectedItem.Text property when selecting an item. This property returns an empty string. Here's the code: Dim myMaterials As System.Collections.Ar...more >>

IE Webcontrols - Tabstrip
Posted by floater55 at 7/15/2003 10:54:02 AM
So has anyone worked with the IE webcontrols much? I've found that = they've come in very handy for Internet Explorer clients ... ON A = WINDOWS PLATFORM ONLY! I've implemented the tabstrip control and it = works out great (again only in IE on a PC). Does anyone have any = suggestions for dyn...more >>

NEED HELP!!!
Posted by Jay at 7/15/2003 10:39:59 AM
I have an application that needs to send a confirmation email upon a completed order. I am using the smptmail obj of .net and can send email to my companies internal addresses. However, my exchange server (set as the smart host of my applications smtp server), won't relay to external addresses...more >>

Cancel validation?
Posted by news.public.microsoft.com at 7/15/2003 10:35:44 AM
Hi everyone, I have a VB.NET web form with some field validators and Save and Cancel buttons. What I want to do is on the Cancel button On_Click event, Response.Redirect to another page. The problem is that the client-side validation occurs before even reaching the event for the Cancel butto...more >>

passing data from one page to another
Posted by Brian Smith at 7/15/2003 10:28:01 AM
I have a .aspx page (we'll call it Form1) with a datagrid on it. The datagrid is populated from a dataset that I manually entered data into (the data isn't in a database). The datagrid on Form1 also has a button column on it. I have another .aspx page (Form2) with an unpopul...more >>

function object
Posted by yysiow at 7/15/2003 10:16:25 AM
hi All in vb function can pass object, like Function test(ByVal txt As TextBox) txt.Text = "text" End Function if i want to do this function using C#. how can i do? thanks. ...more >>

Error with ASP.NET opening OleDb/ODBC database
Posted by Giuseppe D'Elia at 7/15/2003 10:01:40 AM
Hi there, I got a problem using an MS Access database through ASP.NET. After updating my system from .NET Framework 1.0 to 1.1, my existing application gives me the following error when opening a connection with the code below: "Unspecified error" (ErrorCode: -2147467259) string ...more >>

edit button in datagrid
Posted by Matt Tapia at 7/15/2003 9:50:26 AM
I want to add a button within an Item Template column that will set the edit mode for the current item in the grid. can anyone tell me how to do it without adding an edit command column? Thanks! ...more >>

bind a dynamically created dataTable to a repeater
Posted by Frank at 7/15/2003 9:48:51 AM
Hi alll, How can I bind a dynamically created dataTable to a repeater? I do not know the number of columns and the column names at design time. I try to do the same thing as for datagrid: Repeater1.DataSource = values; Repeater1.DataBind(); but it does not return anything. Thanks. Fra...more >>

Nested DataGrids
Posted by Dave at 7/15/2003 9:35:06 AM
I have a datagrid with another datagrid in a template column. For the second datagrids datasource I use container.dataitem.createchildview("relationship") I want to discover if the nested datagrid has any rows. I think I need to check the datagrid.items.count on the second datagrid in th...more >>

no csc.exe file even thought i installed .netSDK twice
Posted by khawar at 7/15/2003 9:04:02 AM
no csc.exe file even thought i installed .netSDK twice can some one tell me why...more >>

Is there a way to unload the current appdomain?
Posted by M N E E L Y at 7/15/2003 8:15:18 AM
If I have two applications that are side by side they both use the same instance of the aspnet_wp.exe. How can I unload one of these applications so that I can update it without affecting the other? Thanks in advance! MNEELY ...more >>

Accesskey option
Posted by Manan at 7/15/2003 7:34:48 AM
hi All, I'm using a web application. On my .aspx pages I want to add shortcut keying option to textbox, dropdown, and button. I know i can use AccessKey to add shortcuts but I'm having problem with Button control. I want, when user uses Alt + P. I want to give focus to a button control. I...more >>

Redirect HTML Output to File?
Posted by sc at 7/15/2003 7:29:01 AM
I am generating some nested DataLists, but instead of displaying them on the client browser, I want to save the output HTML stream to an on-disk file in %temp%. What is the best way to do that? Thanks. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate...more >>

Deploying ASP.NET database application to remote server
Posted by K Meyer at 7/15/2003 7:21:58 AM
Everything in the deployment works fine with the exception of the address of the database also deployed on the remote server. The string address is found under "oledbconnection" in the ".... .aspx.jsl" file. What should the string address look like on the remote computer? On my develo...more >>

Upload
Posted by Alex at 7/15/2003 6:58:49 AM
Hi there! I'd like o k'now how to make un upload of a certain file to disk in ASP. Thank you for your time ...more >>

Invoke event handler programatically
Posted by mg at 7/15/2003 4:16:06 AM
In a Web Form, I have a TextBox: protected System.Web.UI.WebControls.TextBox TextBox1; At design time, I double click on the TextBox and get an event handler: private void TextBox1_TextChanged(object sender, System.EventArgs e) { } What code do I write to invoke this event handle...more >>

aspnet_wp.exe memory consumption
Posted by kiran_banda NO[at]SPAM adp.com at 7/15/2003 3:21:07 AM
Hi All, I am working on ASP.Net these days and have come across a problem with the aspnet_wp process. I have seen many posts on the web related to the same problem which is : aspnet_wp.exe (PID: xxx) was recycled because memory soncumption exceeded the zz MB (60 percent of available RAM). ...more >>

ASP Session Variable Info missing after accessing ASPX
Posted by Arthur at 7/15/2003 2:00:11 AM
I have a mix web site, ASP and ASPX files. I have assigned a value to Session("Date") and the href to an ASPX page. When I further href to another ASP Page. The content in Session("Date") becoming blank. Is it in design? Or bug? Is there any work around solution? Also, Is there any way to ...more >>


DevelopmentNow Blog