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 > november 2003 > threads for thursday november 13

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

HELP from Expert Needed!!! Problem using the find method in a DataView with multiple window forms
Posted by miggy NO[at]SPAM iastate.edu at 11/13/2003 11:34:23 PM
Greetings Experts, Hopefully someone can help me out with this problem. I've been trying to solve this problem for the past 10+ hours without any result. This is my last resort. Someone please respond. I am a newbie to using DataSet's and DataView's so I apologize in advance if my problem ...more >>

Using Windows Control in ASP.NET
Posted by Chung at 11/13/2003 11:34:19 PM
Hi I am trying to create a Web applicatiion by using windows user control. I am having problem when I trying to load the web page, I got blank screen with a broken image. It is like the web page trying to load an image but the file is not in the Folder. I have set the Execute Permissio...more >>

DataGrid Binding to Complex Custom Collection
Posted by conawapa NO[at]SPAM hotmail.com at 11/13/2003 8:46:24 PM
I'm having trouble figuring this problem out and every example out there deals with simple objects within a custom collection. Take this example: public class ComplexClass { private int id; private InnerClass anotherOne; public int ID { get { return id; } } public InnerClass ...more >>

General function
Posted by Maziar Aflatoun at 11/13/2003 8:33:53 PM
Hi, Is there way in C# (or C#.net) to just define a function without having to initialize the class every time. For instance a function that takes a number, adds 2 and multiplies by 10. I know how to do it in a class. But the problem with classes is that it has to be instantiated every time....more >>

ASP.NET vs ASP
Posted by shank at 11/13/2003 8:21:31 PM
Questions for programmers that have migrated from ASP to ASP.NET.... Are you happy you've made the commitment to migrate? Did you happen to migrate for a specific reason? Did you migrate just because it's the newest toy in town? Was it a steep learning curve? Has anyone tried it and gone back ...more >>

set focus in a ASP.NET webpage
Posted by Remco Groot Beumer at 11/13/2003 8:02:28 PM
Hello, I would like to know if it is possible in ASP.NET to set the focus to a control. I would like to make it possible for users to fill in a form. The form contains textboxes and dropdownlists. When the user makes a selection in a dropdownlist, certain default-values in textboxes are ...more >>

Session scope
Posted by Eduardo Pavinato Klein at 11/13/2003 6:31:17 PM
Hi. I've constructed a class in the singleton model, like this: class MyClass { private MyClass instance; public MyClass GetInstance() { if (this.instance == null) this.instance = new MyClass(); return this.instance; } private MyClass () { ....more >>

How to terminate a Session in Global.asax?
Posted by Denon at 11/13/2003 6:21:42 PM
How to terminate a Session in Global.asax? 1)In Global.asax, I have store every sessionID into a global array 2) I have start a timer while application_start event, this timer lookup something 3) For some time limit running out, then timer trigger want to kill the session by specified sessionID...more >>



Err when insert into microsoft sql server 2000
Posted by Mike John at 11/13/2003 5:51:31 PM
I am receiving the following error when insert into the table. "String or binary data would be truncated. The statement has been terminated." the following error had occured recently the insert sql statement was working fine before. I had checked the data size against the field size. t...more >>

Jet engine 4.0 and .Net framework
Posted by manuel NO[at]SPAM pushormitchell.com at 11/13/2003 5:08:51 PM
We recently installed the .Net framework on a windows 2000 server. Shortly after that we experienced intermitant problems running a web based program that accesses an Access 2002 database. The intranet .asp program works, but as soon as it tries to access the database for normal users, it giv...more >>

Deploying an ASP application
Posted by Catalin Porancea at 11/13/2003 5:01:18 PM
Hello, The application installs and runs fine on the development machine. When installed on another server, none of the scripts execute. How do I configure the server to run it? Thank you. ...more >>

Getting the value of an enum
Posted by Mark Fox at 11/13/2003 4:47:12 PM
Hello, I have a simple question. If there is an enum: public enum Hello { First = 1, Second = 2, Third = 3 } How do I get the integer value for the selected enum. Hello thisHello = Hello.Second; int SelectedValue = [??thisHello.Value??]; Thanks for your help!...more >>

asp.net app accessing my SQLSERVER DB using windows authentication
Posted by Paul at 11/13/2003 4:41:29 PM
Hi My web page is accessing a SQL DB to display some data. It works fine using login/password security on the sql server database, but I'm trying to use WIndows authenication and I get the message Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection...more >>

How to jump to an anchor?
Posted by Robert Wehofer at 11/13/2003 4:41:07 PM
Hello there! How is it possible to jump to an anchor by using ASP.NET? Is it only possible by using JavaScript Code? If so, how has the JavaScript to look like? Thank you in advance, Robert ...more >>

Iterating through Repeater.Items
Posted by Mark Fox at 11/13/2003 4:27:39 PM
Hello, I have a repeater and in each itemtemplate I have a radiobuttonlist. I am attempting to figure out how on postback I could iterate through the rows displayed by the repeater and for each row grab the selected value of the radio button list. When is the Repeater.Items colle...more >>

BUG SmartNavigation
Posted by Jose Altamirano at 11/13/2003 4:05:16 PM
When I have the SmartNavigation property set to True and ASP.NET server is under heavy load, a click on any control that contains a hyperlink - including DataGrid, Calendar, and LinkButton - cause an additional instance of Internet Explorer to be started Can SomeOne help me Thanks ...more >>

Creating animated GIF dynamically
Posted by Jeronimo Bertran at 11/13/2003 3:37:54 PM
Does anyone know how to create a an animated GIF using GDI+? I want to be able to use it with aspnet. My bitmap consists of two frames that must be created dynamically. Thanks, Jeronimo...more >>

Broadcast a change to all listeners?
Posted by Bruce W...1 at 11/13/2003 3:31:04 PM
Say I had an ASP.NET page that monitored the status of something. If this status changed is there a way to cause an update on all browsers that are viewing this page? I know this isn't in keeping with a connectionless state. I suppose I could make the page refresh once a minute, but this is ...more >>

server.transfer Error executing child request
Posted by john.spencer NO[at]SPAM rrd.com at 11/13/2003 3:07:50 PM
Can anyone give me a reason why server.transfer won't work on one person machine but will work on another person machine? We're using the same code base when running the web app....more >>

migrating Document.Write to Code Behind
Posted by Jeronimo Bertran at 11/13/2003 3:02:15 PM
This may be a very simple question. I have some old java code that uses scripting to dynamically create a <MAP> in my HTML. <map name="Map"> <script> var i; for (i=0; i<arr.length; i++) { document.write("<area onmouseover='OnMouseOver(" + i + ")' href='javascript:Sho...more >>

How can i send email to someone in a asp.net application
Posted by midi at 11/13/2003 2:55:59 PM
Hi i,ve made a function that retreives someones password from my database. I now want to send it to them via email. How can I do this? My application is on my remote web server. Thanks ...more >>

'Registering' a dll at my host provider
Posted by umberto at 11/13/2003 2:52:24 PM
Hello, Is it nessesary to run the GAC program when I put new dll into BIN folder on my horst provider server ? Or just to put it and it will be able to use functions wchich that dll contains ? Best greetings, Robert A. ...more >>

Clicking button twice to debug newbie
Posted by John at 11/13/2003 2:48:40 PM
Hi, Does anyone know why I have to click twice to be able to debug? My button is running AtServer I don't understand? John...more >>

PropertyGrid - ReadOnly
Posted by Dave Wurtz at 11/13/2003 2:24:35 PM
All, Does anyone know how I can make the PropertyGrid control readonly? I want to display the PUBLIC properties of an object, but I don't want the user to be able to change them (they do need to be read/write internally, however). Along with this, if the property is a collection, the collecti...more >>

What was designer of DropDownList smoking?
Posted by idog at 11/13/2003 2:22:48 PM
arrrrgh! Is there a better way? This is what I'm currently using (oh my aching fingers): cboState.SelectedItem.Selected = False cboState.Items.FindByValue("CA").Selected = True thanks, idog ...more >>

setting the value for columns in textbox
Posted by dpattabi NO[at]SPAM saipeople.com at 11/13/2003 1:50:55 PM
hi!!!!!!!!!!!11 I have <asp:textbox> control , I need to pass the value of the columns dynamically, so i did this way <asp:textbox id="test1" name="test1" columns="<%=setColumn%>" runat="server"> what happens it throws me a error stating that i...more >>

Problem with dll ...
Posted by Jacek Jurkowski at 11/13/2003 1:46:26 PM
I created a simple class MyClass in VisualFoxPro into a dll file. I referenced that file in my Asp.net application and the content of it is properly displayed by Vs.net intelisense. Now I'm trying to do that: MyClass mc; mc = new MyClass(); The second line generates an exception "Could not...more >>

server application unavailable
Posted by Drew at 11/13/2003 1:42:52 PM
Besides the XP Professional IE critical update bug, what other causes are there for this error. A pointer to any info would be gratefully appreciated. Thanks, Drew...more >>

Can I run ASP.NET app from different virtual site?
Posted by Chris at 11/13/2003 1:16:11 PM
Hi I have a ASP.NET 1.1 app that is compiled to say "APP1.dll" and APP1 is the name of the virtual directory. I want to be able to have a staging site where I can just copy the files over to another virtual directory called APP2. When I first tried it I got Resource Manager errors. I tried just re...more >>

treeview causes screen repaint every node clicked :(
Posted by Jason Shohet at 11/13/2003 12:43:39 PM
I want to turn off the postbacks unless the node is the bottom-most node. If its a top level node, for example, the user has to drill down anyway. Why postback, make the user wait for the screen to refresh? Anyone know how 2 do this? TY Jason Shohet ...more >>

Custom Error Pages
Posted by Kenneth Keeley at 11/13/2003 12:36:53 PM
Hi I have created a Web.config file with theses settings: <customErrors mode="RemoteOnly" defaultRedirect="/errorpages/generic.aspx"> <error statusCode="403" redirect="/errorpages/noaccess.aspx" /> <error statusCode="404" redirect="/errorpages/filenotfound.aspx" /> </custo...more >>

How: Sending responses during processing time
Posted by Luiz Vianna at 11/13/2003 12:12:37 PM
Hi folks, I got a problem that certainly someone had too. After a user request, I (my server) must process a lot of data that will = expend some time. During this process I must inform the user the status = of the overall process. What I'm facing is that my ASPX/vb file that does this lon...more >>

Forgive me, I'm an idiot but can someone clear up something for me? ASP.Net Session Vars.
Posted by Bill Dodd at 11/13/2003 12:00:43 PM
Is there really no way to have different asp.net applications share session variables? The problem I'm running into is that I have numerous asp.net (and asp) applications that were written as standalone apps and are now one by one being added to an umbrella project. For instance OpenOrderRepo...more >>

Dropdown Web Control for quick data entry
Posted by Developerforum at 11/13/2003 11:42:33 AM
Hi, My customer is looking for a web control that allow them to perform speedy data entry. They wanted a dropdown list box which they can also key in the code directly (like a text box). I notice that current the dropdown box allow first character search, (i.e. when user enter ...more >>

Deploying on non-standard port w/multiple virtual directories
Posted by Greg W. at 11/13/2003 11:39:46 AM
In our setup project, we have the standard web application folder, but we also have 4 web custom folders (virtual directories) that are created at the same level as the web application folder (i.e. not subdirectories). The setup works fine as long as the user leaves the default setting of...more >>

Edit Command of Datagrid WebControl
Posted by Robert Wehofer at 11/13/2003 11:38:33 AM
Hello there! How can I get rid of following behaviour: If the edit button is clicked, the datagrid gets into edit mode. But it's very annoying that the new page is build up at the top. So if you have bad luck and you want to edit a row, which is located very far below, the row disappears be...more >>

Type Library Importer
Posted by Chiefdnd at 11/13/2003 11:36:32 AM
Hello, Installed .Net Framework 1.1 and looing to use Tlbimp.exe to build a .Net Wrapper. Could not find Tlbimp.exe when searching my system. Is is part of an SP? Thanks, ChiefDND...more >>

Question About Application_Start in Global.asax and async functions
Posted by Bob Johnson at 11/13/2003 11:30:37 AM
Hello people. Short background -- I am constructing a web site that will have several display tabs that are hooked up to different datatables in a SQL server. Some of these tables are VERY large -- several million+ records. The tables have records that are timestamped over several years and ...more >>

how to transparently get an image to the server?
Posted by Jim Hammond at 11/13/2003 11:23:14 AM
Is there any way to transparently get an image file from the client machine to the server? I already have a way to transparently generate the file and query for the file name (all done on the client side), but there doesn't seem to be any way to send it to the server after that. For files that ar...more >>

(AVER) HOW DO I MOVE ASP.NET APPLICATION TO INTRANET SERVER
Posted by rrb1700 NO[at]SPAM aol.com at 11/13/2003 11:22:42 AM
Until now I was using my local workstation to develop my asp.net application using the Microsoft Visual Studio.Net IDE. Now I want to move my application to the main server. Do I need to install the IDE on the server? Thank you....more >>

Upload multiple files
Posted by makthar at 11/13/2003 11:18:24 AM
Hi Everyone: I want to make a page for the users to be able to upload multiple files to the server. Presently I use a html file field but it allows selection of a single file only. Does any one have a better solution or point me in that direction ? Thanks in advance....more >>

Forms Authentication Fails Between ASP.NET 1.0 and 1.1 Applications (Cookie Decryption Fails)
Posted by John Saunders at 11/13/2003 10:58:14 AM
I have an existing ASP.NET 1.0 application at the root of a web site. There is another 1.0 application in a virtual directory under the root. Forms Authentication works fine between the two. When the script maps in the sub-application are changed to use ASP.NET 1.1, Forms Authentication breaks...more >>

HELP: "Too many people access this site" error
Posted by VB Programmer at 11/13/2003 10:27:03 AM
I have a web solution that I deployed to our web server. I was looking at the site (on my PC), and so was my customer (on his PC). It worked well for like 10 minutes. Then, all of a sudden we got a "Page could not be displayed" message. It said that "There are too many people accessing the w...more >>

Frameset.
Posted by ashoo at 11/13/2003 10:25:23 AM
I am using frameset. How do I redirect my result to the content page when a user select an item from a dropdownlist in the header section/page? Thanks ...more >>

How do I spawn a new IE window with no toolbar?
Posted by VB Programmer at 11/13/2003 10:24:09 AM
On some websites I've seen by clicking on a button or hlink a new IE browser window is spawned that does NOT have any toolbar (ie No back button, etc...) How can I do this on my ASPX page? Thanks. ...more >>

asp.net & dll
Posted by Patty at 11/13/2003 10:13:37 AM
I created an asp.net application which uses lots of dll created by C# (class library), when I compiled one of dll, in the BIN folder of my asp.net application, I can see a newest version of dll, but several days later, the old version dll orverwrote the new dll, I mean in the BIN folder i...more >>

How to remove CssClass of a control?
Posted by Hardy Wang at 11/13/2003 10:08:52 AM
Hi: I have controls in my ASP.NET pages, for example, I have a LinkButton btnA. I programmatically set its style by btnA.CssClass = "MyStyle", then how can I remove its styles programmatically? I tried btnA.CssClass = null, I got exception "Specified argument was out of the range of val...more >>

HTML E-Mail with HTML Form ???
Posted by gfergo NO[at]SPAM henryschein.com at 11/13/2003 10:04:35 AM
Hi, Do you know if it's possible to send an HTML E-Mail with an HTML Form (<form></form>) embedded in it?? And if so, will Outlook (a) render the form properly and (b) allow you to submit the form normally??? Thanks!!...more >>

Dynamic TextBoxes
Posted by Brian Pittman at 11/13/2003 10:01:13 AM
Hi, How do you go about obtaining the text typed in a dynamic textbox when the submit button is clicked. Thanks Brian 'Add textbox to controls collection Dim txtTextBox as TextBox = New TextBox With txtTextBox .ID = 'I assign this value from a database .Text = "" End With pnl...more >>

Re: open window a new window and retrieve data from it. C#
Posted by Cheryl at 11/13/2003 9:59:04 AM
Hi alex, I am new in both javascript and asp.net. After putting in the code, I have encountered this error msg, "Object doesn't support this property or method" on "window.dialogArguments.ProcessModalData (dropdown1.value,dropdown2.value,dropdown3.value);" . And does not know what when wr...more >>

XslTransform in .NET v1.1
Posted by George Durzi at 11/13/2003 9:58:28 AM
I know this has changed greatly since v1.0. I'm converting a small portion of my application where I do a transformation. The error happens on this line: oXslTransform.Load(XslPath + DataSourceName + ".xsl", oXmlUrlResolver); ex.Message gives me: "Invalid Site" ex.InnerException is empty ...more >>

how to use web.config for sql connection string
Posted by steve at 11/13/2003 9:56:23 AM
Hi, I heard you could put your db connection string into the web.config file to make it editable after you compile and/or deploy. I cant seem to find any info on this.. can any one help? Sample code would be nice Cheers Steve ...more >>

<div> tags, some basic questions
Posted by Steve Klett at 11/13/2003 9:43:58 AM
Hi- I was just looking at te source for a site that I really liked and I noticed they are using DIV tags where I assumed that would be using a mess of nested tables. Now, this looks like a much cleaner way to do things. My question, as an absolute newbie to <div> tags is can you access them ...more >>

Finding Controls in a Place Holder
Posted by Elizabeth Harmon at 11/13/2003 9:17:31 AM
Hi All I am new to .Net and cant seem to fingure something out. I Dynamically create a table based on data pulled from my SQL DB. As the Information and table are shaped, i insert List Boxes with common answers to the questions. I add this table to Placeholder2.controls.add(Blm_Table) and...more >>

dll
Posted by Mark at 11/13/2003 9:02:04 AM
Can you break one project (not solution) into more than one dll file? How? Thanks in advance. Mark ...more >>

Lose position in datagrid
Posted by Ady at 11/13/2003 8:43:04 AM
I have a datagrid with about ten items on one page (I'd like more). One of the columns in the datagrid contains a hyperlink rendered as an image which then fires some code which alters the record (and therefore posts back) <asp:TemplateColumn> <ItemTemplate> <asp:HyperLink Runat="serve...more >>

Navigating to a bookmark on page?
Posted by John Carnahan at 11/13/2003 8:20:35 AM
How would I accomplish the following ? Navigate to a bookmark on a page from a routine in the code behind. ---- html code bookmark1 (someplace on the page... is this an htmlanchor?) ?? how do I define the bookmark?? bookmark2 (somwhere else down the pag...more >>

Datagrid PageCount Nightmare!!
Posted by Dave at 11/13/2003 8:20:08 AM
Hello All, I am having a nightmare trying to add a new row to my Datagrid. When I use the code below I get the error: 'Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount. Can anyone help me with this? Dim dg2 as DataGrid = DG.Items(0).FindControl("dg2") DSClass = Sessi...more >>

how to get the reference of the form in ascx
Posted by dpattabi NO[at]SPAM saipeople.com at 11/13/2003 7:44:49 AM
Hi!!!!!!! I have aspx page which uses ascx(usercontrol) in it. The ascx in turn contains a textbox and a button. if i click the button, javascript code get executed to open another popup window, in that code i am passing the form name , control name of the text box. After few op...more >>

Javascript Confirm box with asp.net
Posted by Sudhir at 11/13/2003 6:53:17 AM
I have this piece of code in the HTML view of my asp.net webform. ----------------------------------------- <script language="javascript"> var bdirty=false; function SetDirty(){ bdirty = true; } function btncancel_Click(){ if (bdirty) return confirm("Are you sure you wan...more >>

Master Detail with datagrid
Posted by Serge Poirier at 11/13/2003 6:31:07 AM
Good Day Folks, I'm looking for simple code demonstrating a master/detail form using the following components: datagrid, dataview, and datatable. Any help would be appreciated. Thanks in advance /serge...more >>

ASPNET_WP.EXE Hangs (W2K/IIS5/ASP.NET 1.1) With Minimal Load
Posted by ken.c.barrett NO[at]SPAM rrd.com at 11/13/2003 6:01:08 AM
I apologize in advance for cross-posting, but I have noted that others have experienced similar issues and was hoping that someone could help. Briefly, I am working on an ASP.NET content management application written in C#. running on .NET Framework 1.1/W2K/IIS5. The application uses the Mi...more >>

DataGrid - Adding Rows
Posted by Jim Heavey at 11/13/2003 5:46:54 AM
Trying to figure out the technique which should be used to add rows to a datagrid. I am thinking that I would want an "Add" button on the footer, but I am not quite sure how to do that. Is that the best method? Do you have a sample of how to do this?...more >>

UserControls & Properties
Posted by Andy Breward at 11/13/2003 4:05:41 AM
Hi I have created a range of usercontrols for displaying various bits of information. My question is if I wish to pass a parameter to the UserControl from the host page, is this possible? I have tried setting an attribute in the Server Tag which only works if I use a constant as it won...more >>

Datafiltering using 2 DropDownList
Posted by Ola Myrgart at 11/13/2003 3:51:59 AM
I have found that almost every article about DDL:s is about bound DDL:S - that is - how to bind the DDL:s to data present within a table. What if I want to search for a certain item in the tabel using two DDL:S, not populated by the tablesitem but with one or more programatically set itemslist. ...more >>

Events firing order in .NET application, help needed!
Posted by jmk NO[at]SPAM larvikbanken.no at 11/13/2003 2:34:46 AM
I've made an .NET application where the contents of a datagrid (dgr1) is changed when the user changes the selection in a drop-down list (drd1). This has works fine as a beginning. Then I want to manipulate the look of the datagrid. I do this in the ItemCreated event, and on the first run (appl...more >>

Disable button after first click
Posted by Sinity at 11/13/2003 1:34:00 AM
Anyone knows the method/codes to disable the clicked button after first click by using .aspx-- to prevent people to click many time when waiting for the server response. I tried to do this by adding a java script for the button. But, useless.. Please help! Thank you ...more >>

animating images on a webpage
Posted by Mike P at 11/13/2003 1:22:01 AM
On my webpage I want to have an image which dissolves into another image, for example like the 'HotSip' image on www.companywire.net. Does anybody know how to do this? Is it done using Flash or can it be done another way? Any assistance would be really appreciated. Cheers, Mike ...more >>


DevelopmentNow Blog