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 wednesday november 5

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

Validation and posting to another site
Posted by Scott Newberry at 11/5/2003 11:28:26 PM
I'm having trouble figuring out the best way to post to another site. I have an aspx that collects information from the user, including credit card info, etc. I need to perform validation on what I'm collecting, so I'd like to take advantage of using server-side controls, but validation is perf...more >>


Running javascript when a Radiobutton is changed
Posted by Robert Wagner at 11/5/2003 9:26:41 PM
I have several server side RadioButtons on my page that are all in a group. What I want is that when the state of the radiobutton group changes (or of an individual one) that a javascript is run. (It doesn't matter, but the javascript will disable a textbox). How can I do this on the client si...more >>

installing a session-level error handler?
Posted by George Birbilis at 11/5/2003 7:06:12 PM
Hi all, I'd like to have an error handler proc installed that can grab unhandled errors during a Session before the Session object goes down. I mainly want to log some info kept at the session state upon such an exception, before I propagate it to the system again Now I'm catching the errors ...more >>

Problem with validation controls
Posted by CGuy at 11/5/2003 6:47:33 PM
Hi, I have the following code in my aspx page <form id="Form1" method="post" runat="server"> <asp:TextBox ID="txtTest" Runat="server" /> <asp:RequiredFieldValidator ID="valText" ControlToValidate="txtTest" Runat="server" Text="*" Display="Dynamic" ErrorMessage="Enter Value" /> ...more >>

Determine IP Address
Posted by Jeff S at 11/5/2003 5:58:38 PM
How can I determine the IP address of users creating new sessions of my ASP.NET application? ...more >>

Response.flush question
Posted by Luiz Vianna at 11/5/2003 5:35:06 PM
Guys, I need to send some info to my client while I'm processing some stuff. = The flow will be something like : -process=20 -response=20 -process=20 -response .... I imagine to use response.flush (as I did on ASP) but it does not work. = See my test code, after sending 2 lines on respo...more >>

Session Variables lost between pages
Posted by gupta at 11/5/2003 5:13:07 PM
I am having a strange problem with my Web App. When I launch my web App using localhost or an ip address (e.g 192.133.98.32) all the sesssion variables works fine and Session_start event in Global.asax is fired only once. Now when I run that application using machine name W_MARC, Session_Start...more >>

verify control?
Posted by LL at 11/5/2003 5:07:00 PM
Hi, I have one dropdownbox and a text box. How to verify this use validator control. if dropdownbox selectedindex =0 and text1.text == '' { ErrorMessage. } Thanks. ...more >>



Session state
Posted by Slawek at 11/5/2003 5:04:13 PM
Hi everyone, I have a problem with session state that I can't solve. I have a very simple application with 2 aspx pages and all I want to do is to set a session variable on first page (Session["Var1"]="Test";) and then redirect from this page to second one and read this variable there (string...more >>

Forms authentication across multiple applications and framework versions
Posted by JC at 11/5/2003 4:53:51 PM
I have several applications that use forms authentication and they are currently setup to use a single login page. Everything works fine under v1.0 of the framework and everything works fine if I have all applications running under v1.1. However, I need the login page and a few apps to be runn...more >>

No WebControls.dll after running Web Controls install
Posted by Charlie NO[at]SPAM CBFC at 11/5/2003 4:52:13 PM
Hi: I just installed Web Controls. After running the Build.bat file, my Build folder is created with Runtime directory containing supporting files, but no Microsoft.Web.UI.WebControls.dll is created. Where is it, any ideas? Thanks, Charlie ...more >>

How do I post data from aspx page to another aspx page.
Posted by Sriram Mallajyosula at 11/5/2003 4:47:42 PM

"Navigation Bar" thing
Posted by John M at 11/5/2003 4:41:16 PM
Hi, You may have seen on some websites a type of "navigation bar" where the current page and all previous pages in the website hierarchy are displayed. Each page is listed as a link. For example: Home > Support > Newsgroups Is there a proper name for this "navigation bar" thing ? (I do...more >>

Losing Event handlers
Posted by Joel Barsotti at 11/5/2003 4:39:40 PM
When I switch between design veiw and html view, I loose all the event handlers in my C# file. What do I need to update to fix this? ...more >>

ASP.NET Session ID Problem
Posted by gong mate at 11/5/2003 3:21:18 PM
We have a problem where a user is picking up other user sessions. (Running IIS5.0, In Proc Session State) 1. User A logs into our web site and gets sessionid=1. 2. User B logs into our web site and gets sessionid=2. 3. User A clicks on a menu item that navigates them to page2 at the same ti...more >>

Server error in aspx page.
Posted by Daniel Rimmelzwaan at 11/5/2003 3:12:52 PM
I receive the error below when I try to access my aspx page in a browser. I created the aspx page on my laptop (but the solution resides on a server) with VS.NET and it builds correctly on the server, no compile errors. I thought that Visual Studio takes care of all assembly information and thing...more >>

Read OLE Object field to Image ?
Posted by Sandi at 11/5/2003 2:51:02 PM
I have a simple problem: I have an Access database (images.mdb) that has 2 columns: one is the id if the picture (an integer) and one (column named picture) is a field of type OLE Object which contains an image (it can store jpg, bmp, gif, but I don't know what image is stored inside). I want t...more >>

CUSTOM ERROR PAGES
Posted by michaelspeak NO[at]SPAM hotmail.com at 11/5/2003 2:37:24 PM
Help!!! This should be sooo simple. In web.config, i have the following element: <customErrors defaultRedirect="myError.aspx" mode="RemoteOnly"> <error statusCode="404" redirect="my404Error.aspx" /> </customErrors> However, this just does not work. If i type in ..mySite/test i g...more >>

how to get data from client-side assembly in one step?
Posted by Jim Hammond at 11/5/2003 2:28:43 PM
I can get data from a client-side assembly to the server in two manual steps, but I need to be able to do it in one step. Step 1: The user presses the manually coded "Step 1" button, which calls the JavaScript function. The function copies the data into a server textbox control. Step 2: T...more >>

How to Embed Windows.Forms.ProgressBar in WebForm
Posted by Mehr H at 11/5/2003 2:22:16 PM
I've been trying to figure out how i can embed a Windows.Forms.ProgressBar in my webform (aspx) file. I have tried putting a Windows.Forms.ProgressBar as public on a regular winform designer form (form called ProgressForm) and the built the dll. Then I reference this new assembly from within my ...more >>

PopUp giving blank page?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 11/5/2003 1:48:03 PM
<asp:HyperLinkColumn runat="server" HeaderText="To" DataNavigateUrlField="calTo" DataNavigateUrlFormatString="JavaScript:varwin=window.open('/MoreInfo.aspx?ID={0}',null,'width=400,height=400,location=no');" DataTextField="calTo" DataTextFormatString="{0}" /> gives the popup desired, but it als...more >>

Datagrid scrolling by putting it in another window?
Posted by Bruce W...1 at 11/5/2003 1:43:07 PM
I'd like to have a long datagrid that scrolls. Seems one way to accomplish would be to put it in a frame. But is there a way to do this without frames? Is there a way to have a window -- to another URL -- in the middle of a page? Thanks for your help....more >>

Global variables on par with ASP's global.asa
Posted by Wayne at 11/5/2003 1:39:26 PM
I have googled etc for details on using global variables in the global.asax file in much the same manour as that in global.asa, and have come across some sites suggesting the use of: <object id='id' runat='server' classid='Namespace.Class' scope='Application'/> However, nothing happens, and w...more >>

Codebehind Variable State ?
Posted by Chris at 11/5/2003 1:38:10 PM
I'm writing an asp page with C# codebehind. I create a page level variable. I then alter the variable by assigning a new value in a private method. When I access the vairable again from another private method, the variable has the original value.. Am I missing a scope issue here? Any idea...more >>

How to read text files using C# in ASP .net
Posted by Aries at 11/5/2003 1:31:55 PM
Hi I need to write programs to read a file and process it with C# in ASP. I need to use C# because other team members which will be joining our team are using C#. Can anyone please show me how the codes like? Is there any web site which gives example and code format on C# in ASP about files...more >>

retrieve dynmatic control values
Posted by nic at 11/5/2003 1:11:47 PM
Hi, I have an aspx page where I dynamically generate a number of input controls. Upon submitting the form I need to re- create the controls in order to retrieve their values. I understand this, but I'm confused on how the newly generated control and the previous control (before postback)...more >>

ASP database connectivity KB253604
Posted by gpeacock at 11/5/2003 12:55:04 PM
As a novice user of VB.Net I have finally narrowed down one of my problems to KB Article 253604 "Microsoft Access Database Connectivity Fails in Active Server Pages". When trying to display a datagrid on an ASP page the error reads "The MS Jet database engine cannot open the file (MyDB)-...more >>

How to display an image from a OLE Object field of an Access database ?
Posted by Sandi at 11/5/2003 12:36:43 PM
I have a simple problem: I have an Access database (images.mdb) that has 2 columns: one is the id if the picture (an integer) and one (column named picture) is a field of type OLE Object which contains an image (it can store jpg, bmp, gif, but I don't know what image is stored inside). I want t...more >>

Validation Controls not working on different servers
Posted by Juma at 11/5/2003 12:25:22 PM
Hi, I have an have an application at a production server that is running on the .NET Framework 1.1.The version which I used while developing the application was 1.0. For some reason the validation controls are not working on the 1.1 framework. I have already checked whether all the a...more >>

Threading Exception - Please Help
Posted by Chakra Venkatesan at 11/5/2003 12:24:48 PM
Hi, I am getting an exception in my ASP.NET application as shown below, at System.Threading.WaitHandle.WaitOneNative(IntPtr waitHandle, UInt32 millisecondsTimeout, Boolean exitContext) at System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean exitContext) at System.Ne...more >>

Sending mail
Posted by Franck at 11/5/2003 12:07:36 PM
I would like to schedule my asp.net application to automatically send email every x days. I would like to use a timer, but i can't figure out how to setup it. Any help would be welcomed. BTW my web app is newsletter system. ...more >>

Single Sign on for web apps on same box
Posted by Cowboy (Gregory A. Beamer) at 11/5/2003 12:04:39 PM
Quite a few months back, I was able to create a single sign on app for all apps on a single box (perhaps a domain, but never tested) by setting the auth cookie name to an identical value: <authentication mode="Forms"> <forms name="SingleSignOn" loginUrl="login.aspx"> </authentication> ...more >>

Datagrid crashing on page load -- html source?
Posted by Kathy Burke at 11/5/2003 12:02:27 PM
Hi, I'm doing a fairly simple datagrid (copied it from one that works). When I run the page, it gets and binds the datasource ok, but then I get an unhandled app error at End Sub. I've found this is usually something wrong in the html source. I edit this just to change my data source columns, et...more >>

Problem With String Containing JavaScript Escape Character
Posted by Jeff S at 11/5/2003 11:53:54 AM
In a VB.NET code behind module, I build a string for a link that points to a JavaScript function. The two lines of code below show what is relevant. PopupLink = "javascript:PopUpWindow(" & Chr(34) & PopUpWindowTitle & Chr(34) & ", " & Chr(34) & CurrentEventDetails & ")" strTemp += "<BR><A HREF...more >>

[Need Expert] Big design time problem
Posted by Loïc at 11/5/2003 11:37:23 AM
Hello, I have created a simple webcontrol named MyControl tahat contains one single property. The property name is Columns , his type is ColumnCollection ( inherits from CollectionBase). this property contains an elements list and the type of these elements is Column. On a WebForm (in desig...more >>

IsNumeric C# equivalent
Posted by Stephan Bour at 11/5/2003 11:36:36 AM
IS there a C# equivalent to the VB IsNumeric function?...more >>

HTML pages only partially appear
Posted by rzoldan NO[at]SPAM morriseyonline.com at 11/5/2003 11:34:43 AM
I have a .NET application that occasionally has a problem where an HTML page would only partially appear. This occurs using IE Ver 6.0. The problem is very intermittent and not predictable. Furthermore, if I select the Tools Menu and then Internet Options, after the options dialog box display...more >>

Receive biztalk request sample aspx please
Posted by Daniel Rimmelzwaan at 11/5/2003 11:29:50 AM
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something like http://myserver/mypage.aspx. From there it gets blurry, because I just can't figure out how t...more >>

Adding style sheet dynamicaly
Posted by Marc Nederhoff at 11/5/2003 11:24:24 AM
Hi all, Is it possible to add the <link rel="stylesheet"....> dynamicaly. All pages in my site use the same style sheet, and I don't want to add the link manualy because of maintenance. Marc ...more >>

Newline detected when add script in C# (ASP.NET)
Posted by Ivan Demkovitch at 11/5/2003 11:22:11 AM
Hi! I'm trying to add script to the page and place following code in my ascx (control): Page.RegisterClientScriptBlock("adder", "<script>function doadd(){document.all.TextBox3.value=eval(document.all.TextBox1.value) + eval(document.all.TextBox2.value)}</script>"); It doesn't work givin...more >>

Can I look at an MSI and get the version?
Posted by M K at 11/5/2003 11:16:07 AM
I would like to be able to have code view an MSI file and see what version it is. This would save me from installing the app just to see if this CD has the correct version on it. (My company is bad about labeling.) Also, I would like my software's about box to show the version of the software wit...more >>

This is for the nth time I am posting. Is there no one to help!
Posted by ani at 11/5/2003 10:58:27 AM
I have a datalist control in my aspx page(this is paginated and everytime submits to itself). I am calling a function within my datalist that returns a html control (radio button ) in the form of the string. I also have asp server controls(labels) in the datalist. When the form is processed...more >>

Accessing a UserControl's methods from a page
Posted by Shawn at 11/5/2003 10:48:26 AM
Hi. I've created a UserControl and included it in all my pages. The UserControl contains a panel and a property, which sets the panel's visibility. I need to be able to access this property from all my pages. I could declare both the property and the panel as "Shared", that will work, but I'm no...more >>

getting the value of a form sent from HttpWebRequest
Posted by Steve Klett at 11/5/2003 10:36:43 AM
Hello- I would like to implement something like what is covered in this article: http://www.netomatix.com/HttpPostData.aspx It shows how to post a form programtically vs with an actual form from a web page. Basically, I will have a desktop application that will post a form to an ..aspx p...more >>

TreeView control
Posted by Charlie NO[at]SPAM CBFC at 11/5/2003 10:29:35 AM
Hi: I need to implement TreeView in my asp.net application. Does asp.net include one natively or do I have to use a 3rd party control? Any recommendations for a 3rd party TreeView control? thanks, Charlie ...more >>

DropDownList.FindByValue() bug?
Posted by Bill Gauvey at 11/5/2003 10:04:46 AM
I have a dropdown list with several items, one item has the value of \r\n. When I try to find the value it fails, the string being passed to it is comming out of a Hashtable. Other items work fine. Hashtable m_Layout = GetLayout(layoutID); .... string szDelimiter = (string) m_Layout[ "la...more >>

TableRow/TableCell Serverside Q
Posted by George Durzi at 11/5/2003 9:58:06 AM
Consider this pseudo HTML from a web form <asp:Table> <asp:TableRow> <asp:TableCell> <asp:Table> <asp:TableRow> <asp:TableCell></asp:TableCell> <asp:TableCell></asp:TableCell> ...more >>

ASP.Net has me confused, little help please
Posted by Daniel at 11/5/2003 9:57:40 AM
I'm new to .Net and all of its abilities so I hope this makes sense. Basically I'm confused on when is the appropriate time to use web forms controls vs. regular HTML. For example in ASP (non-.Net) if I wanted to fill a list it may look something like this: -------START CODE <% Dim data...more >>

Specify page?
Posted by LL at 11/5/2003 9:43:50 AM
Hi, If the return key does not exist, RedirectFromLoginPage redirects to Default.aspx. How to set it up, so if the return key dones not exist, will retirect to mypage.aspx? Thansk.. ...more >>

Chat room type textarea
Posted by Ady at 11/5/2003 9:40:22 AM
I'm developing a kind of chat facility whereby a user can type text in a box at the top and submit it to a central database. At the bottom there is a textarea which contains a running history of both the users comments and comments intended for the user. I've had to use two frames here b...more >>

Adding a registry entry
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/5/2003 9:34:43 AM
Hello, I need to add an entry to the system registry using C#. Can I do it using a normal filewriter objects or do I need to take any extra precautions. TIA!...more >>

position in textarea
Posted by Bernie V at 11/5/2003 9:33:19 AM
Hi, I have a textarea with serval lines on a webform. When i select the textarea or use the tab, I can't position to the first line. It positions to the middle. Then I have to use the arrows to go to the first line. How can I solve this ? Thx in advance. gr Bernd ...more >>

Label is not updated in event callback
Posted by Borr at 11/5/2003 9:29:52 AM
Code fragment as simple as possible : public class TestTimer : System.Web.UI.Page { protected System.Web.UI.WebControls.Label Label1; protected System.Timers.Timer timer1; private void Page_Load( object sender, System.EventArgs e) { Label1.Text = "Before timer"; ...more >>

TextChanged event is not triggered when the text is changed automatically
Posted by Steve Pan at 11/5/2003 9:01:53 AM
Hi all, When the text of textbox web server control is changed automatically (not entered), the TextChanged event is not triggered. Who can tell in this case which event will be triggered? Thanks Steve Pan...more >>

Web User Control Events
Posted by dave at 11/5/2003 8:47:56 AM
This is driving me crazy -- I'm trying to raise an event in a web user control and respond to it in a web page. It's a datagrid in a Web User Control which sits in a template column of another datagrid on a web page. I believe I'm raising the event because the first trace.warn ("WriteNam...more >>

ISP recommendation
Posted by JerryK at 11/5/2003 8:45:06 AM
Hi, I am not sure this is the correct place to ask, but does anyone have a recommendation for an ISP that supports ASP.net and SQL Server? We have a low volume application we would like to get up. From a performance requirement we could handle a shared server. However, I am not to sure abou...more >>

Parser-Error
Posted by Jenny at 11/5/2003 8:43:48 AM
Hi, sometimes I getting a parser error message: XY not found - where XY is the XY.dll (COM) I'm using in my application. The configuration error occurs in line 198: Line 198: <add assembly="*"/> What is the reason for this behavior? Thanks Jenny...more >>

Strong Naming
Posted by C at 11/5/2003 8:43:36 AM
Hi, I have an ASP.NET app. I wrote some assemblies in VB.NET which my ASP app calls. I want to Strong Name these assemblies. Anyone know any good sites that goes throughhow to do this step by step? Thanks, C...more >>

Chekcbox In Header
Posted by Jim Heavey at 11/5/2003 8:23:37 AM
Hello, I was wondering if ther was a way that you could place a checkbox control ing the header of a datagrid? Thanks in advance for your assistance! *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

When does Page Load happen?
Posted by Ross at 11/5/2003 8:18:58 AM
I have an aspx page containing two IFrames, each of which contain aspx pages. The mother page has a dataset filled with a single call to my Oracle database. This dataset has three tables. The mother page uses data from table1; the first child page uses data from table2 and table3; the last...more >>

Web Form validation with 2 forms on a single page
Posted by iMedia User at 11/5/2003 7:55:28 AM
I have a site where I want to use the Web form validators in two separate forms on a single page. One form allows existing users to log in while the second one allows new users to register. The problem is that if I use the Web Form validation tags, it treats them all as one form (ie...if someone ...more >>

Image takes control
Posted by Ola Myrgart at 11/5/2003 7:25:16 AM
Hi ! I have a problem how to display an image in a different page together with some text. The image is stored in a SQL DB and the insertfunction works well. It´s when I try to wiew the image on another side the problem occurs. The image takes control. Here is some code. Dim intKun...more >>

xporting outlook calendar to a website
Posted by John at 11/5/2003 6:24:12 AM
Hello, Is there a way, preferably an example, to export a couple of people's outlook calendars to a web based calendar? We want to be able to allow each person to import their calendar so the big bosses can goto one site and view everyone's bookings. Thanks in advance. John ...more >>

Downloading a file from an ASPX Page
Posted by C at 11/5/2003 6:10:37 AM
Hi, I generate a report in crystal and output it as a PDF. I then add some details to my HTTP Headers so to download the file. When the user clicks on Download button I update some server side labels. However these changes do not get pushed out to the client. When the user gets a ...more >>

How to send event to all sessions in ASP .NET ?
Posted by Borr at 11/5/2003 5:58:39 AM
Hi, I am writing an ASP .NET application that has a following logic : if one of application users performs some specific action, ALL other users that are browsing some page (lets call it "WaitingForSpecificAction.aspx"), should get event that this action is performed. How to do it ? ...more >>

custom validator
Posted by Mike P at 11/5/2003 5:41:44 AM
I have a Custom validator that has ControlToValidate set to a textbox that also has a Required and RegularExpression validator. When I run the webpage on my machine the custom validator OnServerValidate procedure is only called if both the Required and RegularExpression validators are successf...more >>

Passing parameters to client side ActiveX control
Posted by allancammish NO[at]SPAM hotmail.com at 11/5/2003 5:21:10 AM
Dear all I am developing a web application in ASP.NET & VB.NET and I need to pass parameters from the server side code to an ActiveX control which is loaded and run on the client's browser. Before anyone asks me, I have to use an ActiveX control, and it has to run on the client side! Reg...more >>

textbox focus
Posted by kaanoezturk NO[at]SPAM yahoo.com at 11/5/2003 4:13:29 AM
hi, i want to place the curson in a textbox when the page loads. in asp can be made with focus() for textfield i think. what can i use for the textbox control of asp.net? thanks for your help, KaaN...more >>

Saving a execution page in server
Posted by Jorge Maganto at 11/5/2003 3:28:33 AM
Hi everybody! I've a aspx page which is in execution and it did any postback, it read db and it was modified by the user (any textbox). I want that when the user push on a button a copy of this page, with the changes make for the user (in the textbox), write this page in the server. Do yo...more >>

WebControls and Integrated Security
Posted by Carlos Fersura at 11/5/2003 3:17:10 AM
Hello Folks, I am having a serious problem with the Internet Explorer's Treeview WebControl. I have developed a http handler to return the XML that the control needs to build the tree. When I am using "anonymous" autentication everything works just fine. However, when I try to use "in...more >>

Unable to load DLL
Posted by sunil NO[at]SPAM itb-india.com at 11/5/2003 2:29:27 AM
Dear All, I am writing an ASP.Net application that needs to call a C++ dll. There are two problems that I am facing... 1. There are two dlls one.dll & two.dll. Using DllImport I call one.dll's function. It works well. But when I call two.dll's function it say "cannot Load DLL two.dll". T...more >>

using an object control from another control
Posted by oterox at 11/5/2003 12:49:19 AM
I have an aspx file with 3 user controls:Header,menu and footer. In the header i have this: ---------------------------------------------------------- Dim rm1 As ResourceManager = ResourceManager.CreateFileBasedResourceManager("form1.EN", "C:\Inetpub\wwwroot\Web\test", Nothing) lblHeader.Text ...more >>


DevelopmentNow Blog