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 > february 2005 > threads for friday february 25

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

How to put some hidden column in a DataGrid?
Posted by Nicky at 2/25/2005 10:01:01 PM
hi, all I got another quesiton, in my DataGrid control, I want to have a hidden column which will contian an ID value, I don't want to display this ID value to user, but I need it when user click it. The problem I got is when I uncheck the "visible" checkbox, it seems DataGrid does not render...more >>


How to Add an new row in DataGrid programmatically?
Posted by Nicky at 2/25/2005 9:55:01 PM
hi, all I have a asp.net page, and there is a DataGrid in it. I want show it like Header: ID, StartTime, EndTime....... 1 12:20 12:40 This is the job which is ........ 2 14:30 14:45 This is the second job ....more >>

GAC + Http module (ISAPI filter) problem
Posted by Dmitry Duginov at 2/25/2005 6:31:17 PM
I wrote HTTP module and configured it to fire with every request to my application. In IIS6 aspnet_isapi.dll mapped as Application Extension, web.config contains the following: <system.web> <httpModules> <add name="RefFilter" type="RefFilter.RefFilter, RefFilter" /> </httpModules> ...more >>

Custom Control Appears to Interfere with ViewState
Posted by Chris Newby at 2/25/2005 5:48:44 PM
I have a very simple custom control that derives from WebControls.Panel and implements INamingContainer. It appear that controls created as children of my custom control are having ViewState problems. For example, suppose I create a ListBox control as a child of my custom control, attach a Sel...more >>

How to start with asp.net 2.0?
Posted by Arjen at 2/25/2005 5:41:15 PM
Hello, How can I start with ASP.NET 2.0? What do I need to instal? Where can I get/download that? Thanks! ...more >>

"Building Blocks" are "Application Blocks"
Posted by Arjen at 2/25/2005 5:28:38 PM
Hello, Are the ASP.NET 2.0 "Building Block's" the same this as the Enterprise Library Application Blocks? Thanks! Arjen ...more >>

aspnet app on new pc
Posted by rodchar at 2/25/2005 5:23:06 PM
hey all, i have a new pc with just the .Net framework on it and i just installed iis on it (i don't have visual studio on it). however, i'd like to put my asp.net page on it but it's not working properly (buttons on the page don't show up). do i have to configure something to make it work...more >>

SMTP problem
Posted by J at 2/25/2005 3:54:44 PM
Hi, All, I am using SMTP on my ASP.NET project to semd user email. I did not got any error message at all, but user (myself) jaust cannot received any email. Any suggestion? Thanks in advance....more >>



Integrating applications?
Posted by ayende NO[at]SPAM gmail.com at 2/25/2005 3:50:19 PM
I want to use Cuyahoga as my CMS, so I place it on the root of the site. I also have a dasBlog on the /Blog/ directory. Both the root & the /Blog/ directory are IIS applications. Each of those applications works very well on its own, but my problem is making both of them play together. I get t...more >>

PostBackEvent
Posted by Arthur Carré at 2/25/2005 3:24:30 PM
Hi everyone, i have an ASP.net webapplication and have a big problem. I found how to solve it, but in the page_load event of my page, i need to know the ID of the control that caused the postback. How can i find the info ?? Thanks in advance, Arthur (PLZ, answer in the newsgroup) ...more >>

Strange Behavior from RequiredFieldValidator (and Two LinkButtons)
Posted by JJ at 2/25/2005 3:12:36 PM
We have an ASP.NET web form with 1 TextBox, 2 LinkButtons, and 1 RequireFieldValidator. The situation is: the user needs to enter a folder name in the TextBox and click the first LinkButton (the Create Folder LinkButton) to create the folder. Then once that's done, they need to click the secon...more >>

static variables in page_load event handler
Posted by Carlos at 2/25/2005 3:01:59 PM
Hi all, I just tried to use a static variable within the scope of the page_load event handler, but apparently it did not work all I wanted to do is to evaluate the postback condition and initialize the variable, when the condition was not met assign its value to a member class variable, and ...more >>

Get remote server system information using asp.net,c#
Posted by Kumar at 2/25/2005 2:43:02 PM
Hi Folks, I would like to develop one custom application using asp.net,C#,SQL server for tracking all our company servers. Most of the functionality is similar to HP Systems Insight Manager (http://h18013.www1.hp.com/products/servers/management/hpsim/) I would like to store as much i...more >>

including several pages in one aspx page
Posted by roger janssens via DotNetMonster.com at 2/25/2005 2:40:05 PM
hello all. i'm used to scripting in php. there, you just include(bla.php) and it works. so i have a template that defines my layout and stays the same forever, but in that file, there's a table that's filled in with other pages, header.php, footer.php, menubar.php, i was trying to do the sa...more >>

Interactive/Non-interactive ASPX ?
Posted by WJ at 2/25/2005 2:03:42 PM
I have three ASPX pages: 1. "WebForm1.aspx" is interactive, responsible for calling a web site (https://www.payMe.com) with $$$. It is working fine. 2. "WebForm2.aspx" is non-interactive, a listener in my site to capture a "STATUS_CD" returned by www.payMe.com. It is working fine. 3. "WebFo...more >>

Accessing .NET components from Dreamweaver?
Posted by inetmug at 2/25/2005 2:03:04 PM
Is there any way to do this? Thanks. -- Patrick...more >>

Q: send dataset as a parameter
Posted by JIM.H. at 2/25/2005 1:45:01 PM
Hello, Can I send a dataset as a parameter into stored procedure and import data to a table in the stored procedure? Thanks, Jim. ...more >>

creating webform controls at run time
Posted by ray well at 2/25/2005 1:25:36 PM
hi, is it possible to create controls in a webform at run time in the Page_Load event. i would like to create a calculated amount of labels as the page loads, place them at certain places on the page, and place some data there, after getting some info from a backend database. is this po...more >>

drawing on a webform
Posted by ray well at 2/25/2005 1:19:37 PM
hi, is it possible to draw on a webform at the server side in the Page_Load event? i would appreciate a bit of code. i need to draw some lines and boxes thanks ray ...more >>

how to Sort a runtime Dynamically created datagrid using templates
Posted by GP at 2/25/2005 1:07:03 PM
I have created a datagrid that is creating columns dynamically at runtime using the template columns.Edit ,add & delete works fine. The only problem I face is with sorting,I am setting the sorting expression to the column name and checked the allow sorting checkbox to true. The code never reach...more >>

Get <TextArea> text
Posted by Wayne Wengert at 2/25/2005 1:06:50 PM
Is there a way for ASP.NET/VB codebehind to get the contents of a plain old <textarea> element? I added an id='myname' to the <textarea> tag but VSNET complains that it is undefined? Wayne ...more >>

position of user control on a asp.net page
Posted by sagars76 at 2/25/2005 12:51:02 PM
I am using the page_load event to load a user control within a place holder control and display it on a page. Then I use response.write statements to loop through the rows of a data table and display the contents on the page. However, the contents of the table always appear above the user cont...more >>

Conditionally display images from database
Posted by Paolo Pignatelli at 2/25/2005 12:06:09 PM
I have a database containing an ImageURL3 column, in which the default = is=20 ~/Images/No-Image.gif . I would like to dispaly the images from the column in a webpage,l as = long as they are not the No-Image "image" (a one pix gif). I get the values to displa fine by coding: =20 ImageUR...more >>

can't get dynamically created checkbox to initialize as 'checked'
Posted by dx at 2/25/2005 11:55:25 AM
I'm extremely frustrated with ASP.NET...again! To me this should be as simple as setting oCheckBox.Checked = True.. yet for some reason it isn't. I have a user control (ascx) that that has a checkbox and I can't get it to default to checked. I tried radiobuttons and experienced the same res...more >>

How to re-assign a value in a datalist.
Posted by craigkenisston NO[at]SPAM hotmail.com at 2/25/2005 11:53:44 AM
Hi, In a datalist I'm displaying data comming from a SQL Server stored procedure that contains null values in numeric values. Since the stored is already used in other applications I can't change it. So, I need to catch this nulls and convert them to zeroes so, they display in the TD on the...more >>

Retrieving a HTML Element's Value via Request.Params
Posted by Praveen at 2/25/2005 11:49:42 AM
As you all know the value of input, checkbox and other "user editable" elements can be retrieved on postback via Request.Params list, if you know their ID. However, if there is a span element (for example) whose value gets updated via javascript when the user does something, that value is not ...more >>

How to connect SQL Server from ASP.NET Page
Posted by Rik at 2/25/2005 11:35:01 AM
Hello Experts, I am new to ASP.NET, I already have hosted my Web site, which Open a SQL Connection to my Static IP Address, But I can't make it happens. My Connection Looks Like this. Data Source = 120.xxx.xxx.xxxx,1444 And rest is the same, it work locallay but not when I launch it on...more >>

Retrieving state information from a middle tier
Posted by Ian Williamson at 2/25/2005 11:25:02 AM
Greetings, My company has an ASP.NET based enterprise product that is undergoing some changes and I need some community input to help solve a problem. In the current implementation, any given installation of the product supports only one database at a time. The server/db information is st...more >>

Request.QueryString
Posted by S. Han at 2/25/2005 11:22:59 AM
When I type in "my.aspx?Detail=Factory+Entry" in IE browser, and retrieve the query string with the following code: string val = Request.QueryString["Detail"]; the returned val is not "Factory+Entry", but "Factory Entry" with a space. Why does QueryString[] converts the '+' character to a s...more >>

Enumerate all the drives including Mapped network drives on a serv
Posted by Pradeep Sundaram(MSFT) at 2/25/2005 11:21:06 AM
Hello, I want to enumerate all the Drives on the web server using ASP.NET (C#) Writing code like this works when i use local host but when i try to access it from another machine it does not show the network drives. Code: foreach (string s in arr) { s2=s2+s; } TextBox1.T...more >>

Custom Container Control Changes the Input Tag Names of Child Controls???
Posted by Chris Newby at 2/25/2005 11:20:42 AM
I have a custom control that derives from the WebControls.Panel class. In a given ASPX document, I have an instance of my custom control with ID set to "MyControl". Then I put a WebControls.TextBox control inside my custom control with ID set to "MyTextBox". When this page renderes, inspe...more >>

Login Failed: Error 18456: Unable to login to run SP on local serv
Posted by garibaldi at 2/25/2005 11:13:04 AM
Don't know if this is the correct newsgroup. If not then I apologize in advance. New installation of SQL Server on local machine. All permissions to access tables and execute stored procedures provided. Changed and reset password. Same errors experienced with accounts other than sa. All per...more >>

Dedicated Server Hosting Recommendation
Posted by Frank at 2/25/2005 10:50:20 AM
I'm looking for "high-end" dedicated server hosting services. I'm looking for quality and reliability here (not necessarily cheapest)... I'd appreciate any recommendations. ...more >>

.NET Security in ASP pages.
Posted by Cambuston at 2/25/2005 10:49:03 AM
I have a big application running in ASP. I am moving it to ASP.NET. Is there a way to use the .NET security authentication in my old ASP pages until I'm able to convert them all? ...more >>

Multiple-lanugage support in ASP.NET question
Posted by 00_CuMPe3WaR3D12 at 2/25/2005 10:30:51 AM
I know there is Culture feature with Asp.net, but what I want to know is how to organize/design a web application that supports multiple languages. What is the best approach? Do I use "If, then.." to display one block of HTML in English, and then another block in French? Is there an easy way?...more >>

Regular expression to exclude special characters
Posted by RJN at 2/25/2005 10:27:34 AM
Hi I want to use regularexpression validator for a text box . I want the entered value to have only alphanumeric , space, underscrore and - In VB I used something like this. [^\sa-zA-Z0-9_-]. Same doesn't seem to work in ASP.Net Any help please? Thanks Rjn *** Sent via D...more >>

conditional DataFieldText when DataBinding
Posted by dhnriverside at 2/25/2005 10:11:03 AM
Hi I'm using a Metabuilders checked list box to create a list of contacts on my page. Each contact has a FirstName, Surname, and Company. Except that some might not have an entry for Company, or for First/Surname. How do I use Databinding and yet say "if theres nothing in Company, show ...more >>

ASP.NET Deployment
Posted by Ann Marinas at 2/25/2005 10:06:00 AM
Hello, all! I am having troubles deploying my ASP.NET Deployment on a virtual webserver. The webserver has 3 different web applications installed (all of them are ASP.NET web apps), and whenever I install my app, it keeps on showing the message below. Tried compiling and removing the une...more >>

Webcontrols with style?
Posted by chriso at 2/25/2005 9:44:30 AM
Hi, I've been playing around with asp.net and don't understand how to get my web controls to 'inherit' (which is probably the wrong phrase) the style from the web form they are on. I cut and paste a text box control and a button from a web form into a blank webcontrol. I then place this ...more >>

Opinion of using "this" keyword on C# ASP.NET pages?
Posted by Thomas H at 2/25/2005 9:42:30 AM
Hi everyone, I've got a question that's more of a "style" question... Do you guys reference "this" for every object that's inherited from System.Web.UI.Page? For example, when you use the Session object, do you say "this.Session.property" or do you just say "Session.property", and leave of...more >>

Need query value not displayed in DataGrid
Posted by Anna at 2/25/2005 9:29:16 AM
I have a simple DataGrid that displays a list of characteristics and allows you to edit a description for each characteristic. The query that feeds this involves a join, as the characteristics and their descriptions are in separate tables. The DataKeyField of the DataGrid is set to the descripti...more >>

Pls Help
Posted by Shailendra Gupta via DotNetMonster.com at 2/25/2005 9:20:00 AM
Hai all! When ever i'm trying to run a web application it's giving error " Unable to start debugging on web server, access denied " or Unable to start debugging on web server, catastropic failure " I'm using a system which has Windows 2000 server and i'm( user id) there in administrator us...more >>

can't debug in ASP.NET
Posted by Passero at 2/25/2005 9:01:40 AM
When i add breakpoint to my asp.net project and run it with F5, he won't break and i'm sure that the code is been executed. I have the entry in my web.config that sais that debug="true": <compilation defaultLanguage="vb" debug="true"> What can it be?...more >>

release resources
Posted by JohnZing at 2/25/2005 8:17:30 AM
Hi, I'm having a problem with our asp.net server. Regularly, lets say each 5 days, my asp.net application starts to lose sessions. I guess that the problem is related with some memory leak problem or application design problem (probably). While I'm studying the issue, an IISRESET is effec...more >>

Searchable Combobox In ASP.NET
Posted by Vadim at 2/25/2005 8:17:19 AM
How To Make Searchable Combobox in ASP.NET? For example: When start typing R it has to show first item starting with 'R' if continue Ro it has to show items starting with 'Ro' How to implement this functionality in ASP.NET? Vadim *** Sent via Developersdex http://www.developersdex.com...more >>

Hashtable problem
Posted by AD at 2/25/2005 8:17:03 AM
Hi All I am using a hashtable and trying to insert rows into sqlserver database. My hashtable has 2 rows. My code is as follows: Dim myEnumerator As IDictionaryEnumerator = vh.GetEnumerator() While myEnumerator.MoveNext() SQL = "INSERT INTO Test(MyKey) VALUES ('" & ...more >>

URL Displays in Title Bar Text
Posted by Newsgroups at 2/25/2005 8:11:24 AM
Hello All, I have a peculiar problem that I'm sure someone out there has run into. I've developed an ASP.NET app under WinXP that I port over to WS2003 for production use. When I'm testing the app under WinXP the title bar displays text that I've programmed into the app without showing the...more >>

Closing DataReader using ApplicationBlocks
Posted by Paolo Pignatelli at 2/25/2005 8:02:06 AM
I have a Function in a Class File that uses ApplicationBlocks: Public Function GetProductsByCategory(ByVal CategoryID As Integer) Dim myConnection As SqlConnection = New SqlConnection(ConfigurationSettings.AppSettings("ConnectionString")) Dim ProductsByCategory As SqlDataReader = SqlHelpe...more >>

ASPNET 1.1 Memory Issues / Leak or heap problems
Posted by JCauble at 2/25/2005 7:43:06 AM
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. Example: After about 5 hours with a concurrent user base of about 150 users the application ...more >>

ASP code does not process in ASP.NET
Posted by leonat at 2/25/2005 7:43:01 AM
I have an asp.net webform. When I view the page in the web browser, the html is returned but not any asp code, i.e., " <% ... %> ". This same code works in the "old" asp page BUT NOT in asp.net. See code below: _________________________________________________________________- <for...more >>

datagrid question
Posted by Boonaap at 2/25/2005 6:25:05 AM
I woul like to put the results of two SQLColumns into one datagrid column Works fine with databinder.eval in a templatecolumn, but I would like to avoid that... ...more >>

Logg off users with session.timeout
Posted by viktor9990 at 2/25/2005 5:59:04 AM
I wonder if it is possible from a button click or a link to logg off (some unwanted logged on users or all users) in an asp.net application with session.timeout or another way?Thankfull for any code example....more >>

Obtain current culture ???
Posted by (cmrchs NO[at]SPAM yahoo.com) at 2/25/2005 2:16:19 AM
Hi, I try to obtain the current culture of a server by executing : string str = Thread.CurrentThread.CurrentCulture.ToString(); Executing this in a console-applicastion results in the correct string (e.g. "en-AU") but when executing in ASP.NET does the command always return "en-US" ???...more >>

Display Image While Importing
Posted by bungle NO[at]SPAM wizardbuy.com at 2/25/2005 1:26:24 AM
Hi I am currently creating part of a system which does a simple import of a CSV file using SQL Server with DTS. The front end to this is a web based .NET (C#) app. Obviously when the CSV file is large, there is a delay for the user receiving any feedback from the system. I therefore want to d...more >>

The dread COMException (0x80004005): Unspecified error...
Posted by Shihao Png via DotNetMonster.com at 2/25/2005 1:14:33 AM
Well, the problem I'am having now applies to web applications only. Therefore, I believe it has something to do with security settings. Here's the code: ------------------------------------------------------------------- Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.E...more >>

Hyperlink HREF
Posted by Alex Nitulescu at 2/25/2005 1:11:23 AM
Hi. I have the following question - is it possible (I assume it is, but I have no idea how to do it) to HIDE the href text which automatically shows in the status bar of IE ? I have build a templated, data-bound custom control. Using it, I am showing a list of names from the Authors table, ...more >>


DevelopmentNow Blog