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 2003 > threads for wednesday december 17

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

about load control dynamic
Posted by sdming at 12/17/2003 11:46:10 PM
I add controls dynami Placeholder1.Controls.Clear(); DropDownList d = new DropDownList() d.ID="controlID" Placeholder1.Controls.Add(d) d.Width=200 BindControl(d) ViewState["AddControl"] = true and I reload it in Page_load even private void Page_Load(object sender, System.EventArgs e ...more >>

Using Cookies in ASCX web controls
Posted by Andrew Parsons at 12/17/2003 11:14:13 PM
Hi all, I had a weird issue with trying to use a cookie in a ASCX housed on my web forms and I was wondering if I am missing something. I wanted to use the authenticated cookie for the user name logged into the web site to show the user that they are logged on. If I do it in the main page (...more >>

Speech Web Application
Posted by Sateesh Kumar E C at 12/17/2003 10:41:05 PM
Dear all, I have developed a voice-enabled web application on Win2003 using SASDK Beta 3 using VisualStudio.NET. In order to access this web application the browser must add the speech plug-in component. Some of the users who are accessing this voice-enabled web application doesn't have a speech...more >>

Button with multiple CommandArguments??
Posted by Jan Vetterli at 12/17/2003 9:58:56 PM
hi, I'm wondering how I can achieve a button with a CommandArgument thats dynamicly created from two or more DataBinder values, seperated with a ";" so I can split the information up afterwards. I've tried this (on the HTML page): <asp:Button ID="NewButton" Runat="server" Text="New" ...more >>

Debugging message
Posted by Ramesh Babu at 12/17/2003 9:56:13 PM
hi, When I started my application I have received following error message. Error messge: " Error while trying to run project: Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL Server applications. Run setup to install the Visual Stud...more >>

system.Io function
Posted by rahim at 12/17/2003 8:55:16 PM
hi, i want to know whether a file exists are not in a particular directory. how to write a function for it in asp.net using vb ...more >>

all control properties in webform
Posted by Rahim at 12/17/2003 8:04:05 PM
i want to change all the label control style Properties, server control properties at runtime how should i call all the label at runtime, which is present at webform, any collections???? i can't remember each control name on the form. thanks help me...more >>

Select dropdownlist item with keyboard?
Posted by Kathy Burke at 12/17/2003 7:20:09 PM
Having a brainfade and can't even remember what this is called...so searching hasn't worked very well! I have a dropdownlist and when I hit the S key, for example, I want the selection highlight to go down to the S alpha part of the list (Smith, Smothers, etc.). I just noticed that this no ...more >>



Grid SortCommand one more time
Posted by gerry at 12/17/2003 6:53:19 PM
I have seen many posts regarding a the grid SortCommand even not firing but haven't been able to determine what the problem is. The grid is contained in a UserControl which is added to the page at runtime The Control's InitializeComponent method contains : this.DGrid.SortCommand +=new System....more >>

Dynamic Text
Posted by Prince Hoff Jr. at 12/17/2003 6:39:39 PM
How can I create a link so that when it is clicked, a description appears. For example. Microsoft <== when this is clicked the following text appears below it. "Number one software company" I have a method of doing this but it seems very long. I could create one LinkControl and a Lab...more >>

Response.Redirect can it open a new window ???
Posted by ODB at 12/17/2003 5:58:42 PM
Okay what i need is to open af new browser windows with some link in, but i can't get the Response.Redirect to open af new window, and when i redirect to a new page in the same window and then hit back, i have some olde invalid data in my window. and i realy need to open af new browser ? T...more >>

Crytal Reports...Export Error with parms
Posted by Tim Jones at 12/17/2003 5:50:38 PM
Hey all, I am trying to try get a crytal report running properly. A "Hello World" report that does not add criteria to the record selection formula of the report (either in the development tool, or in the code) works fine. However, when I try to add any parameter through the record selecti...more >>

Trace debug info "under" my controls
Posted by TPS at 12/17/2003 5:46:54 PM
When I set trace enable to true in my web.config file, the debug info does not display at the "bottom" of the page, it displays "under" all of my buttons, labels, grids etc. This behavior happens in GridLayout, or FlowLayout. ? Thanks, TPS. ...more >>

Caching Question
Posted by SamIAm at 12/17/2003 5:45:51 PM
Hi I have a join page where users enter info to join a site. The page never changes so I would like to cache it. How do I stop the page caching on the PostBack. i.e. the same page is being served again instead of processing the PostBack? Thanks, S ...more >>

HttpWebResponse can't handle duplicate http header
Posted by MrJun at 12/17/2003 5:37:43 PM
Hi, HttpWebResponse will just display the last value of those same name http header. Ex. Aheader: a value Bheader: b value Cheader: c value 1 Cheader: c value 2 Cheader: c value 3 Dheader: d value Retrieving the Cheader value by the headers property...more >>

<asp:Calendar> question
Posted by js at 12/17/2003 5:22:56 PM
Any way to modify an <asp:Calendar> tag with parameters on the fly? Seems I'm not allowed to use the <% =xxx %> substitution for parameters to the <asp:Calendar> tag. Do I have to do code behind procedures to intercept the creation of the Calendar to modify the parameters using DOM? Lookin...more >>

How to Call a client Script from Code behind
Posted by Chung at 12/17/2003 4:58:47 PM
Hi All, Can anyone tell me how can I call a client script (javascript) from Code behind server code (c#)? Chung...more >>

Using cookies
Posted by Jon Cosby at 12/17/2003 4:49:04 PM
I'm trying to use a cookie to track the customer's running total. Private Sub dgProds_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles dgProds.SelectedIndexChanged ... If Request.Cookies("shopping") Is Nothing Then count = 0 pric...more >>

Regular Expression help please...
Posted by dotnetprogram at 12/17/2003 4:44:28 PM
Does anybody have a regular expression to be used in the validation controls of asp.net that checks if the text inputted is: 1) alphanumeric and doesn't include special characters and symbols 2) but allows multilanguage characters or unicode characters I would prefer it to the format of cha...more >>

Return statment
Posted by JL at 12/17/2003 4:23:25 PM
Hi all, I have a self defined function at following Function testing() if a < b then return a else return b end if sqlCon.close() Based on above function, does the system will excute the "sqlCon.close()" statement after "end if"? or quit the function when excuted the "return"...more >>

Amateur Query
Posted by Maurice Newsome at 12/17/2003 4:21:13 PM
I have no programminging experience and seek some guidance. I have a sharepoint team services hosted site. I also have a pocket pc and several handspring visors. The sharepoint site has a survey feature that I often use. I would like to be able to create, administer surveys with the handhelds and...more >>

release or debug configuration ?
Posted by andrei at 12/17/2003 4:00:08 PM
Hi group, How can I find out at runtime which is the active configuration (release or debug) ? I have some code that I want to run only when in release build... Thank you, Andrei. ...more >>

Uploading a file
Posted by Steven Caliendo at 12/17/2003 3:27:00 PM
Hi, I've found the control to use to browse through the client's files, but how do I upload this file to my FTP server ? Thanks, Steve ...more >>

ASP.NET doesn't have permission to access resource
Posted by Brent Bigler at 12/17/2003 3:20:07 PM
The computer: W2K server, domain controller, Microsoft.Net Framework 1.1 ======================== The error message: Access to the path "c:\fanmail\newfiles" is denied .... Exception Details: System.UnauthorizedAccessException: Access to the path "c:\fanmail\newfiles" is denied *(see...more >>

MySQL database connectivity
Posted by Steven Caliendo at 12/17/2003 3:19:42 PM
Hi, I have a MySQL database on a remote server that I need to connect to. I can't seem to figure out what the connectionstring should be? I've searched through the help files, but all I can find is information for SQL server. Thanks, Steve ...more >>

Dynamic Links
Posted by Chad THomas at 12/17/2003 2:38:36 PM
I have a data repeater controll on a page. in each row that is displayed, I would like to have an action column that has differnet links shown depending on certain criteria from the database. In traditional asp you could check the value as you looped through the recordset, but in asp.net I am not...more >>

Connecting DB2 ver 7.1 through ODBC
Posted by moid at 12/17/2003 2:08:55 PM
I want to connect Ibm db2 ver7.1 through ODBC=20 i am not able to connect through it Error is Catastrophic Error Please Help Moid Iqbal...more >>

variant issue
Posted by john88m NO[at]SPAM hotmail.com at 12/17/2003 2:00:31 PM
My vb function in com+ is: public Function updatestatus(byval MessageControlIDas string ,byval Status as string,byref ErrMessage as variant, optional byval QueueErrorMessage as string ="")as variant I am trying to call this through com interop: object ReturnedValue; ReturnedValue = HV...more >>

variant
Posted by john88m NO[at]SPAM hotmail.com at 12/17/2003 1:56:05 PM
My vb function in com+ is: public Function updatestatus(byval MessageControlIDas string ,byval Status as string,byref ErrMessage as variant, optional byval QueueErrorMessage as string ="")as variant I am trying to call this through com interop: object ReturnedValue; ReturnedValue = HV...more >>

TableCell.Text property overwrites dynamic control
Posted by Bob Voss at 12/17/2003 1:24:50 PM
If I add a hidden input control to a tablecell and then set the cell's text property, the hidden control is not output. If I set the text first, then the hidden control is output but the text is not. No errors are generated. I can make it work by adding a literal control instead of using the te...more >>

ASP.NET label control not wrapping text in non-IE browsers
Posted by Mike Casey at 12/17/2003 1:23:16 PM
Hello all, I have ASP.NET label controls tied to a datasource (so text will vary in length depending on the record). In IE everything looks great--text is wrapped if needed. In Netscape and Opera, the text extends horizontally and does not wrap. Any ideas would be most appreciated! ...more >>

variant
Posted by john88m NO[at]SPAM hotmail.com at 12/17/2003 1:00:23 PM
what is the equivalent of a variant in .net? Thanks in advance ...more >>

Solution for specific web app functionality needed (scheduling, networking)
Posted by mirek at 12/17/2003 1:00:10 PM
Hello, My ASP.NET application must have additional functionality which isn't typical for ordinary web use. It is: - connecting to the other server using specified protocol (an option to establish dialup connection also) - scheduling some task to be done at the time (e.g. retrieve info from ...more >>

Nest controls in a MS Treeview Web Control
Posted by Chad at 12/17/2003 12:56:51 PM
I want to nest a grid within a MS Treeview ASP Web Control. It seems that I cannot add controls to a nodes Controls collection, however, I can put HTMLText in the Node.Text property of a Node object. The problem is, how can I get the Html text associated with any normal Web Control? I see it...more >>

Iframe scrolling area
Posted by Harley at 12/17/2003 12:46:58 PM
Can anyone help. We have an ASP.Net Application that uses iframes to create a rectangular scrolling section in the centre of a page. There seems to be a problem when scrolling this region (on some PCs), the controls all get distorded in appearance and may appear many times (ie like a trail of c...more >>

Question: "Life" of a usercontrol's dropdownlist
Posted by VB Programmer at 12/17/2003 12:43:32 PM
I have a usercontrol that contains a dropdownlist that is populated dynamically from a database (Page_Load of usercontrol). How long will the uc "retain" the "life" of that dropdownlist if no other modifications are made to it in code? Until the page that contains the usercontrol is refreshed...more >>

Dynamically changing the HTML in a page.
Posted by sir_sickboy NO[at]SPAM hotmail.com at 12/17/2003 12:40:27 PM
Hello, Now I think that there is a simple answer to my problem, but I don't know what it is and I can't work out what I should be searching for on the internet to read up some more about it. Here is my problem: I have a webpage that shows a graph. The graph is a streamed image from anothe...more >>

DirectoryServices and ASP.Net
Posted by dopey at 12/17/2003 12:16:26 PM
I wrote the following code in a ASP.Net page: DirectoryEntry objDE; string strPath="LDAP://DC=cna,DC=com"; // Create a new DirectoryEntry with the given path. objDE=new DirectoryEntry(strPath); foreach(DirectoryEntry objChildDE in objDE.Children) Response.Write(objChildDE.Path); When I...more >>

Can i send an xml file from one page to another?
Posted by raf_z NO[at]SPAM hotmail.com at 12/17/2003 11:38:04 AM
Here's my question: Our company has several web-apps and we're trying to create a central login page as a separate web-app, which will then, based on the user's selection, redirect the user to the correct app. Now, when a user logs in, some info is retrieved from the DB and stored into an obje...more >>

Help: aspnet_state error
Posted by deepsea NO[at]SPAM aurum.com at 12/17/2003 11:31:57 AM
I am receiving an error each time i attempt to start the aspnet_state.exe program. aspnet_state: exiting with error code 0x80070427. I have verified that the registry keys are present and that aspnet is registered properly. Any ideas? Thanks Tom...more >>

Authentication/Automatic redirection question
Posted by David Kleyman at 12/17/2003 11:30:08 AM
Hello I would like to find out if there is a way to SignOut() the user and redirect the browser back to login page after time out period expired I've added these settings to my web.config file but they don't seem to take any effect <authentication mode="Forms"> <forms name="frmLog...more >>

Best Practice to write header
Posted by Michael at 12/17/2003 11:28:40 AM
I don't like to code redundant information on every web page I write. For a particular website, I want to code the following information at the top of the page. <html> <head> <title>My Title</title> </head> <body> Of course this is simplified, I would like to pass in a title, and I ...more >>

Capitalization and case of html tags?
Posted by Bruce W.1 at 12/17/2003 11:22:02 AM
Looking at the html produced by Visual Studio I see a mixed bag of tag capitalization. For example there's <HEAD> and <body>. Then there's <form and <TABLE>. Is there some logic behind the mixed casing? Is there a right way and a wrong way? I believe that the W3C recommends lower casing....more >>

automatically calling custom isValid() function
Posted by DesignerX at 12/17/2003 11:18:13 AM
when building a custom gui server control how do u get asp.net to automatically call it's IsValid() function? Thanks, Stan ...more >>

Server Error in '/' Application
Posted by Rick Lemons at 12/17/2003 11:05:46 AM
I give up! I've installed a new 2000 Server machine with the .NET framework 1.1. When I create the simplest for .aspx pages (nothing but a paragraph with "test" in it and no codebehind page) and try to view this page I get the following error. I've checked the security settings for the ASPNET use...more >>

Can you share session state with parent project
Posted by Bill Reynen at 12/17/2003 11:05:11 AM
Hello, Working in ASP.NET. I want to create several projects on the web server /Online /Online/App1 /Online/App2 /Online/App3 The /Online project will handle all of the user authentication and present them with a list of applications they can access (App1, App2, App3) /Online/App1...more >>

How can i refresh a frame's source page from Page_Load func.
Posted by Sedat Eyuboglu at 12/17/2003 10:47:52 AM
i have a frame page and when the main frame's page loaded the header frame must be refreshed. i do this with the javascript and onLoad event of body tag. but i want to do this from the Page_load event of the page class. what is the methode for this. the main problem i want to this with vb c...more >>

vbscript validations and .NET
Posted by Jon Paugh at 12/17/2003 10:42:48 AM
Hi, Does microsoft use VBScript or JavaScript to do client- side validation of asp.net web controls? Is there a way to choose which language you would like to use? Thanks, Jon Paugh...more >>

Using assemblies in ASPNET
Posted by Brent Hoskisson at 12/17/2003 10:37:33 AM
I have an assembly which I created for a .NET EXE. This works fine. It runs a process from the system.diagnostics namespace. However when I use this assembly and call the function in ASPNET, I get an exception that says: System.ComponentModel.Win32Exception: The referenced account is...more >>

Check File Size
Posted by Poppy at 12/17/2003 10:10:36 AM
I have written some code which uploads a file. Before I upload the file I would like to check on the file size. If its below a certain limit I want to upload it else present the user with an error message. Any Ideas ? ...more >>

FindByText
Posted by acko bogicevic at 12/17/2003 9:40:16 AM
I have combobox which is filled from database. Afterwords i will get a criteria for searching a combo by value. Hao can i make item in combo to be selected when value in combo match critiria. Thanks *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in U...more >>

.net connection strings
Posted by ibeetb at 12/17/2003 9:28:33 AM
anyone know the connection string for ado.net for Postgresql as well as Sybase Adaptive Server? Your help would be appreciated Thanks ...more >>

JIT select
Posted by Manu at 12/17/2003 8:56:44 AM
How can I select the type of JIT compiler that will be used? (default / EconoJIT / PreJit)...more >>

Server Application Unavailable
Posted by Steve Buster at 12/17/2003 8:54:45 AM
All right, I have read every forum, newsgroup etc about this issue and no one seems to know how to fix it. I am getting a "Server Application Unavailable" exception running my .NET 1.1 application. I use W2K SP4 and have applied the hot Fix KB824146 and KB824105, both IE fixes. I don't ...more >>

Create Logout page with ASP.NET
Posted by Tuan at 12/17/2003 8:52:02 AM
Hi, I am writting a small web application and I want to create a logout page for the users like the logout on yahoo. If the users logout they cannot go back by using back button history on the browser. Instead, they have to login again. Does anyone know how to do it? Or give me some ideas...more >>

SSL problem with ASP.NET and Macintosh browser
Posted by Bob Skutnick at 12/17/2003 8:41:09 AM
Greetings, I'm hoping someone has experienced a problem I'm having: I have an existing ASP application (working fine) that uses an SSL server certificate. My user community is made up of both PC's and Macintosh computers. I've re-written this application in ASP.NET for a number of reas...more >>

ASP.NET Version
Posted by David E. at 12/17/2003 8:28:16 AM
When ever ASP.NET spits up an unhandled excpetion, at the bottom of the error page is both the .NET version and ASP.NET version. This isn't always the same on some of my test systems. I know that I can programatically get the .NET version from System.Environment.Version.ToString(). My...more >>

Problem creating Asp.net web app
Posted by Anu ram at 12/17/2003 8:18:33 AM
Hi, I have Visual Studio.net installed successfully on my new XP system. I wanted to create a Visual C# project using Asp.net Web Application template. I select the template and enter OK. I have new POPup Message "Create New Web" and it displays the message for 30 - 45 mins and fails...more >>

XML 2 Datagrid Question
Posted by raghuvansh NO[at]SPAM yahoo.com at 12/17/2003 8:00:28 AM
I am databinding a grid to an XML source (given below). I am displaying the grid contents inside an TemplateColumn/ItemTemplate using regular <%# DataBinder.Eval(Container.DataItem, "Net-Change-Price") %> tags. My question is: How can I access/display the attributes of an XML node. More s...more >>

stored procedures
Posted by Isz at 12/17/2003 8:00:28 AM
Hello, I have an ASP .NET application that uses a SQL stored procedure to page results back to the application. I'm doing this because I am using the Repeater control for it's customization. My question is how do I handle the case where no results are returned? I'm checking the return value a...more >>

unable to access User Control data HELP
Posted by paul.meaney NO[at]SPAM qa.com at 12/17/2003 6:16:08 AM
All, myself and another developer have been staring blankly at a screen for the past 48 hours and are wondering just what stunningly obvious thing we are missing. We are trying to load up 2 or more user controls dynamically by adding to a placeholder defined in page_load. I've included the ...more >>

COM and asp.net
Posted by Steve at 12/17/2003 6:00:11 AM
Firstly let me say I am not sure if this is an ASP.NET, com interop problem or a com problem. I have a web application that uses a exe server com object through the com interop. When the web application is using NT authentication only a limited number of instances of the com server can be...more >>

DropDownList in client
Posted by Raúl Martín at 12/17/2003 4:37:40 AM
I explain myself: I have a DropDownList of "suppliers" that it has like 300 items, the question is that whenever the client makes any thing with the page then in the servant I recover every time the data of the DropDownList. Then, instead of recovering the data of the data base in each asc...more >>

How do I repeat pages.....
Posted by Jane sharpe at 12/17/2003 4:35:44 AM
Hi I have an aspx page that is called with an ID parameter, it then performs a SQL statement using the ID field and displays some data on the page. It works a treat What I want to do however, is to run it n number of times with different ID's - and have the results displayed in one page one afte...more >>

dropdownlist control-urgent
Posted by reiks at 12/17/2003 3:54:36 AM
I have a dropdownlist control . I want to bind the data to it from an existing datagrid on my page i.e I wnat to specify the datagrid name instead of the datatable name. Is it possible? How can I bind data from a datagrid to ddlistbox? ...more >>

WebException, HTTP 404
Posted by Miro at 12/17/2003 2:10:25 AM
I have an application with a couple of aspx-sites in a frame.aspx, consuming two web-services. (three projects in the same solution) I install this in a tree structure as follows: <webbserver>\<ApplicationName>\<firstWebserviceName> <webbserver>\<ApplicationName>\<secondWebserviceName> ...more >>

HTML Content Editor
Posted by jsouth NO[at]SPAM cix.co.uk at 12/17/2003 1:13:43 AM
I'm looking to develop a simple content editor as part of an web-based cms system. It needs to be able to handle tables and graphics in a non-technical way. The best I've seen is at http://www.crossbowweb.net/Demo/ Can anyone tell me how I can develop something like this in asp.net? John...more >>

Access to path denied error.
Posted by Kevin Quigley at 12/17/2003 1:10:17 AM
Hi, I have a configuration file which stores sql server connection details and some other application data, stored in a directory. When I try to access this file in my code, I get the following error.... Access to the path "D:\WEBSERVER\WeeklyReport\Config\Accounts.Config" is denied. ...more >>

javascript confirm() before postback events
Posted by Adrijan Josic at 12/17/2003 12:46:41 AM
I have a delete asp:button control with an OnClick event. I would like to ask the user with a javascript confirm() something like "are you sure you wish to delete this object" and if he is then do then fire the onclick event on the server... How would I do this?...more >>

Page_Load Not Firing?
Posted by Rohan Parkes at 12/17/2003 12:32:41 AM
I'm fairly new to ASP.NET, and am trying out the Online Newsletter Manager project in Wrox's Beginning C#. The pages are supposed to bind various controls (dropdown lists, datagrids) when the pages load, through code in the Page_Load event. However, it never works the first time the page lo...more >>

Scrollbars
Posted by Don at 12/17/2003 12:15:26 AM
Hi, if a panel has a scrollbar can I access it with the help of some JavaScript and scoll through the panel with the help of this script? Best regards Don...more >>

Quick ToString() Question
Posted by Mark Fox at 12/17/2003 12:02:32 AM
Hello, I have a number that I am looking to change into a string, but when I do this it has to add zeros to make the string long enough. I am looking to have the string be seven chars long no matter what the number is (it's never over 9999999): int string 999 "00009...more >>


DevelopmentNow Blog