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 > january 2005 > threads for tuesday january 4

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

datagrid update
Posted by Jim at 1/4/2005 10:17:58 PM
I have a datagrid which has a dataset as it's datasource. The dataset contains a join of a few tables. In order to send an update to the database how do i get all the updates the user made on the datagrid in the dataset? in other words : what is the smartest way of 'updating' a datagrid with m...more >>


How to check if browser supports Flash
Posted by Peter Larsson at 1/4/2005 10:07:58 PM
Hi there, I'm creating an advertisement system that will have several Flash animations to be displayed. However, I'm looking for a way to check if the visitor's browser supports displaying Flash. The purpose is to be able to programmatically display a regular GIF version of the advertisemen...more >>

Creating a Wrapper
Posted by svanrees NO[at]SPAM hotmail.com at 1/4/2005 9:31:16 PM
Hi I am currently developing a web application that has a third party component on it. The third party component is a graph component from Xceed that uses a number of dlls. The problems occur when we attempt to deploy the application and the third party component causes a security exception. ...more >>

Upload huge file size: "The page cannot be displayed" browser error
Posted by Joe at 1/4/2005 8:50:20 PM
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm" ACTION="UploadAction.asp" METHOD="POST" enctype=multipart/form-data> <input type="file" name="fileName"> //etc ... </FORM...more >>

Binary SQL Data Type
Posted by NathanV at 1/4/2005 8:15:02 PM
I have a password field in a SQL Server db that stores passwords as an MD5 encrypted binary(16) value. I'd like to get the value of this field out of the table to compare to user inputted text. I'd like to get the value out of the table in the byte[] form, with something like this: by...more >>

scripts vs. code behind
Posted by nzanella NO[at]SPAM cs.mun.ca at 1/4/2005 8:13:26 PM
Hello, I would like to know what the advantages and disadvantages of using on-page scripts versus code-behind are. It seems to me that both accomplish the same thing, so I would like to hear pros and cons. Thanks, Neil...more >>

ASP.NET service providers using Samba+Unix
Posted by nzanella NO[at]SPAM cs.mun.ca at 1/4/2005 8:08:11 PM
Hello, I wonder whether anyone knows of any service providers which issue shell access for file upload (as in Unix ssh service), and at the same time allow users to serve ASP.NET files (via mounting the Unix drive on a Windows Server with Samba and having such file configured as a virtual IIS ...more >>

SMTP mailing problem (sending 1000 messages)
Posted by Riku Kosonen at 1/4/2005 6:48:36 PM
Hi, We have some problems with sending mail with the SMTP service on IIS (Windows 2000). We use the ASP.NET platform and have an ASPX-page that sends different mail messages to about 1000 clients. After some tests we found out that in one test some messages didn't arrive at all to the recip...more >>



spageti code in asp.net
Posted by TomislaW at 1/4/2005 4:56:50 PM
why this is not possible in asp.net? error: CS0103: The name 'i' does not exist in the class or namespace... <% int i = 0; %> <asp:Repeater ID="RepeaterSoba" Runat="server" EnableViewState="False" DataSource='<%# (DataBinder.Eval(Container.DataItem, "EtazaId"))%>'> <HeaderTemplate...more >>

checkbox databind does not work
Posted by Jim at 1/4/2005 4:31:34 PM
i am trying to bind a checkbox to a tablecolumn available (integer) i get an error: 'The best overloaded method match for Company.Customers.fbool(int)' has some invalid arguments' datagrid: <asp:DataGrid..> <Columns> <asp:TemplateColumn HeaderText="available"> <ItemTemplate>...more >>

Newbie: Screen size issues
Posted by clsmith66 at 1/4/2005 3:49:03 PM
As a new programmer, I was given the task of redesigning a web app for the company using asp.net and vb. I built the app on my screen resolution of 1024x768 and now that the project is nearly over I have been asked to make the app accessible and easy to navigate in a 800x600 environment. Is ...more >>

Accessing ASP.NET HttpContext from a Web Service
Posted by Vincent Keller at 1/4/2005 3:28:47 PM
Hi, I have a web application which accesses a web service as per requirements. Depending on some of the processing done in the web service, I would need to access the HttpContext of the web application. Now since, the web application and the web service are running in separate AppDomains I am ...more >>

calling VB.net function in a XSL transform
Posted by amessimon at 1/4/2005 2:43:16 PM
Hi I have a page I need to access some VB.NET code in an XSL transform. I've used scripting languages before in XSL transforms for string manipulation and other simple tasks but have never needed to use VB. I think what i need to do is outside the scope of a scripting language as it uses ...more >>

ASP.NET + IIS
Posted by Lionel at 1/4/2005 2:15:06 PM
Hi, Is it possible to use something different from IIS with Asp.net + Vb.net ? Thanks, Lionel. ...more >>

Developing on a Remote Web Server
Posted by gemel at 1/4/2005 2:04:17 PM
Up until now I have been developing my ASP .NET web applications on the same machine as the client and then using 'Copy Project' or Web Setup to transfer the application.. This also included the SQL 2000 Server. Now I wish to operate Visual Studio on my client but to use a Web Server and Sql ...more >>

Creating an ASP.NET application on a server with .NET Framework 1.1
Posted by ian at 1/4/2005 1:52:55 PM
The default Web access mode for this project is set to file share, but the project folder at 'http://oor-devel/espdev/dictionaryAdmin' cannot be opened with the path '\\oor-devel.edu\wwwroot$\espdev\webapplication'. The error returned was: Unable to create Web project 'espdev/webapplication'. T...more >>

ASP Error Message
Posted by Kate Kim at 1/4/2005 1:08:32 PM
I am getting ASP Error message called "FW-1 Access Denied." I was wondering what caused this problem. Thanks. Kate *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Which search engine should i use ?
Posted by /dev/null at 1/4/2005 1:05:09 PM
I'd like to have a search engine that supports (only) the html meta tags for keywords. It is to be used on our intra net only. Does anyone know of such a product (free or commercial) ?...more >>

Array Function
Posted by Rock at 1/4/2005 12:51:44 PM
I am getting an error: "Object reference not set to an instance of an object." when trying to use a function that returns an array list. Can I not do this, how would I set the instance of a public function??? I have a global function FieldArray in Class 1: Public Function FieldArray(s1, s2...more >>

Adding attribute to vody element
Posted by David at 1/4/2005 12:36:10 PM
Hello. How can I add some attribute to "body" of the form from the code? P.S. I want to add "onLoad" event from code to execute some JavaScript function. Thank you. ...more >>

Datagrid column customization
Posted by Jon at 1/4/2005 12:27:47 PM
I have a datagrid that is not bound to a dataset until the user inputs information, so the datasource (and number/name of columns) is not determined until runtime. However, I do know that the first column will alsways need to be a link which uses the value of the first column as part of the...more >>

XML output in .aspx page
Posted by Steve Peterson at 1/4/2005 12:17:24 PM
Hi I have an .aspx web form in which I would like to output only XML, no HTML. The datasource is a datatable that's bult on the fly based on user input from previous .aspx page so the XML output has to be genereated in the code behind. I was wondering if there is an elegant way of doing ...more >>

Help with integrating WebCustomControl in Design View
Posted by Lars Netzel at 1/4/2005 11:55:10 AM
Hi! I want to create a propertygroup that is acting the same way as the default "Font" poperty.. which means.. you have a plus sign and open up the properties affecting the Font, how do I do this in my own Class? Right now I can only add the poperties to a specific Catergory Best Regards/...more >>

Set dropdownlist from static data
Posted by tshad at 1/4/2005 11:52:59 AM
I have a dropdownbox object: <asp:DropDownList ID="ddlQuestionType" runat="server"> <asp:ListItem Value="MS" Text="Multiple Single" /> <asp:ListItem Value="MM" Text="Multiple Multiple" /> <asp:ListItem Value="TF" Text="True/False" /> <...more >>

Pre-populating a password field
Posted by MattB at 1/4/2005 11:42:49 AM
I have a page where a person can edit their account information and one of the things to edit is a password. I'd like to be able to pre-populate this field with something to indicate they have one already, but when I put something like this in the page load: password.text = "xxxxxx" The ...more >>

Datalist does not refresh
Posted by Fred Geurtsen at 1/4/2005 11:09:34 AM
Hi, I have made a backoffice where I can put Images and text in the Database. The website load these in a datalist. The thing is that my page does not show the new items! Not even when I refresh my page. Only when I use another browers. What can I do about this? Thx ...more >>

Spawn temp worker thread from Application_Start
Posted by Weston Weems at 1/4/2005 11:05:54 AM
I am loading a buncha cache stuff up on application_start. I was wondering if I spawned a couple worker threads to do the work, they'd have access to HttpRuntime for the app, or HttpContext.Current. That way they could be fetching data for the cache at the same time. Thanks in advance,...more >>

Font size in DropdownList
Posted by tshad at 1/4/2005 11:01:13 AM
How can I set the size of text in the dropdown list: <asp:DropDownList ID="ddlQuestionType" runat="server"> <asp:ListItem Value="MS" Text="Multiple Single" /> <asp:ListItem Value="MM" Text="Multiple Multiple" /> <asp:ListItem Value="TF" Text="True...more >>

SearchBox_TextChanged
Posted by Moojjoo at 1/4/2005 10:55:02 AM
I am building a asp.net 1.1 phone directory that I want to search names as soon as a user inputs values to a textbox called "SearchBox". Example: I enter an “r” all names start showing, then “o” and all “ro” names and so forth. I am assuming the best way to accomplish this is by ...more >>

Problem with global.asax and sare object
Posted by Juan Carlos at 1/4/2005 10:53:08 AM
Hi, I developer an ASP.NET web application that use an COM object. In global.asax put <object id="myCom" runat="server" classid="COMClass" scope="session"/> It's ok, no?? (little question, it's strange that in Visual Studio 2003 .Net need open global.asax with notepad to write the tag ...more >>

HyperLink underline
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 1/4/2005 10:46:23 AM
Is there a way to REMOVE the underline within the HyperLink button? Thanks Brian...more >>

SSL code
Posted by DumberThanSnot at 1/4/2005 10:45:59 AM
Hi Everyone, ok... here's the scoop. I've been programming for a looong time coding for TCP/IP client/server applications. I have been tasked to write an application that requires a secure connection. The company that is requiring the secure connection has a few methods allowing access t...more >>

Standard Page - Inheritance...
Posted by Jim Heavey at 1/4/2005 10:45:01 AM
Hello, my company has a standard format that I must follow when creating a page. The top portion of the page contains a standard heading which should be placed on each page. This "heading" has a form and some javascript which has "action" which invokes some javascript. I am trying to fig...more >>

A potentially dangerous Request.QueryString value was detected from the client
Posted by Hardy Wang at 1/4/2005 10:44:48 AM
Hi, I put following value in my query string, then I got this error fx=hssGdNlaWq6f893_E3AcEHaT9spLQoTEudddVM3nUdMo6pjOvzqS6x9fRHvkZCYzg4Win6qxSVaV*iMtZgcgaSsV8EhgU3UJD6RKCg0l6uk8ic8oNhuJKw== I am wandering what is wrong with this value? I really cannot understand. -- WWW: http://hardywang....more >>

Javascript novice
Posted by Craig G at 1/4/2005 10:43:41 AM
i have the following little jscript function which i use to launch a modal dialog but what i want to do is check the values of txtAddress1 & txtAddress2 to make sure they have values before lauching the dialog. but im not sure of the syntax for it function OpenPostCode2(idname, postBack) {...more >>

Eliminate postback flicker WITHOUT smartnav
Posted by ujjc001 at 1/4/2005 10:43:38 AM
Can it be done? I'd go to almost any length to implement a solution. I've tried <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.01)"> to no avail. Thanks! Jeff C. ...more >>

checking data before allowing user to move on
Posted by davidjames NO[at]SPAM twofourtv.com at 1/4/2005 10:33:59 AM
Scott Mitchell published an article (on the 4GuysFromRolla site) on checking whether data has changed on a page before allowing a user to leave the page. I have used his solution and created a class, ClientSidePage, which inherits system.web.ui.page. In my main page (with the fields to be check...more >>

Currency values , missing 0
Posted by hoz at 1/4/2005 10:27:01 AM
Hi , this is the problem i face : 0,75 comes as ,75 . How can i take it as 0,75 . i am using convert but this doesnt give "," here is the code : <%# DataBinder.Eval(Container.DataItem,"price","{0:#,#.##}")%> in db, price is money and its value is 0,75 ...more >>

System.InvalidCastException: Specified cast is not valid.
Posted by Biva at 1/4/2005 10:16:25 AM
Hello All, Please help. I get the following error from my webpage: System.InvalidCastException: Specified cast is not valid. at Time.MaintAtRiskProjects.UpdateProject(String Project, String AtRiskCode, String Comment) Code for UpdateProject(String Project, String AtRiskCode, String Comm...more >>

Track Images added to images folder and subfolders - send out email alerts
Posted by jason NO[at]SPAM catamaranco.com at 1/4/2005 10:16:07 AM
Is anyone aware of an elegant method to 'track' changes (additions, deletions, edits) to an online server on my web host...in this case various sub folders in the /IMAGES/ directory... The reason I ask is that I need to be able to alert internal staff to to new images added to various boat mod...more >>

code behind button click open 2nd web page
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 1/4/2005 10:00:06 AM
Hi I am using vb.net code behind. In my code I have a button click event on my main web form. Private Sub btNew_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btNew.Click Server.Transfer("New.aspx?") ' this moves to a new pagie End Sub I wo...more >>

Name not exists when it obviously does.
Posted by tshad at 1/4/2005 9:42:31 AM
I am getting an error on a object name that doesn't exist (according to = asp.net), but if you look at the trace, it does. Here is the error: *************************************************************************= ****************** Description: An error occurred during the compilation ...more >>

Set CheckBox or Radio in repeater with if statement
Posted by Mick at 1/4/2005 9:30:20 AM
Hi, Attempting to display a questions list in my aspx page with the help of a repeater. This repeater displays each question (Label and picture) and each answer in a nested repeater. My problem is that each question can have ONE good answer or SEVERAL. If the question has just one good answe...more >>

Placing the form tag within dynamically generated text...
Posted by Stu at 1/4/2005 9:11:19 AM
Hi, I am writing a content management system that has to have W3C compliant output. The pages are template driven and there are special strings within the template to be used as placeholders for the content. However, when I output the content to a literal (as shown below) the body and html ...more >>

Cache Policy Advice
Posted by Weston Weems at 1/4/2005 8:54:50 AM
I attempted to post this yesterday however I dont see that it ever made it up. If this is an error on my part, I apologize in advance. I've got a webapp with somewhat trivial amount of data, however aquiring the data from the database usually takes approximately 1.5minutes. So first thing...more >>

ASP.NET loses Session variables when in Debug mode
Posted by dsmith-nospam NO[at]SPAM poptech-dot-coop at 1/4/2005 8:49:15 AM
Hello, It would be great if someone knows the answer to this problem I'm getting bogged down with it. Basically I'm working with an ASP.NET solution that uses the Session object to maintain state. When I use IIS to browse the .aspx pages the session state works but when I step through the code ...more >>

How to loop thru all textboxes on form?
Posted by VB Programmer at 1/4/2005 8:44:01 AM
How can I loop thru all textboxes on a form? I want to remove any single quotes in the data entry. I was thinking something like this: For Each c As Control In Me.Controls Dim t As TextBox = CType(c, TextBox) t.Text = t.Text.Replace("'", "") Next ...more >>

How does asp.net page know it's postback?
Posted by rrutkows NO[at]SPAM poczta.onet.pl at 1/4/2005 8:35:09 AM
Hi, I need to make a request to a asp.net page using HttpWebRequest class and I need to trick this page into thinking it's a postback and a button was clicked. But the page doesn't handle the click event, despite I'm using "POST" method and sending all the form fields (except of __VIEWSTATE, ma...more >>

finding repeateritem which matches a fieldvalue
Posted by louise raisbeck at 1/4/2005 7:39:13 AM
Hi there, I have a brain block on finding a repeater item which matches a field from the row of the datasource. If my datasource has a column called 'somethingid' i want to find the repeateritem which has somethingid=1 (there will only be one) so I have set up an iterator foreach (Repeat...more >>

.net Sign in
Posted by Esref DURNA at 1/4/2005 7:31:06 AM
Could .net(password.net) users could singing to any web page with using their ..net passwords? I dont want to create a register section for my web site users I want them to be able to sign in with their hotmail passwords. Does this is possible? Esref DURNA...more >>

Losing Session Variable
Posted by Frank Bishop at 1/4/2005 6:23:33 AM
Can someone tell me why I'm losing my session variable when using Response.Redirect? When I use the RedirectFromLoginPage method(currently remmed out below), my session variable works fine, but I'm trying this other way with Response.Redirect and it seems all my redirection works, but it loses t...more >>

Can't dynamically add controls because of <%...%> code blocks
Posted by Axel Dahmen at 1/4/2005 5:48:09 AM
HI, I want to dynamically add controls to a web page from within a common base class. Unfortunately, ASP.NET fails with "System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)." All of my pages contain these kind of block...more >>

How to control controls postback sequence?
Posted by google.news NO[at]SPAM web.de at 1/4/2005 5:35:20 AM
Hi all, I have designed user controls. One search control where I can search for items in the database and show them in a grid. This control also has a button which simply exposes it's click event. When clicking on the button in this control i want to add the selected rows in the grid to ...more >>

Cache.insert problem
Posted by Stuart at 1/4/2005 5:01:02 AM
Hi there I am using the following to take an account number from a datagrid in to another page and use it to load specific details according to the account number: Public Sub CustomerSearchGrid_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventA...more >>

Repeater Control - Suggestion?
Posted by m00nm0nkey at 1/4/2005 4:45:01 AM
I'm not sure if this is a good suggestion, or perhaps just my mis-understanding, but something that seems obviously missing from the ASP.Net Repeater control, is a "no results" template. What I mean by this, is a template, to be used when the datasource for the repeater does not contain any...more >>

Session object is NULL in HTTP handler
Posted by Eric Dan at 1/4/2005 4:43:03 AM
Hi, I have written a simple HTTP handler (inherited IHttpHandler) to handle requests for specific extensions. Basically it works. However when trying to access the context.Session object inside the "public void ProcessRequest(HttpContext context)" method, it seems to be null reference (...more >>

Traversing properties with a datagrid
Posted by nmosafi NO[at]SPAM gmail.com at 1/4/2005 3:40:40 AM
I have a datagrid that I am binding to a custom collection, and I am having problems with data binding in an ASP.NET datagrid (1.1 framework). As a simple example, imagine a class called EmployeeCollection which inherits CollectionBase, and a class called Employee which is the item of the col...more >>

Validation
Posted by sara at 1/4/2005 1:55:01 AM
Hi to all i have a web page with a lot of validation and a lot of server control i want only one control to validate this page can i do that ?? thanks ...more >>

Inheriting an User Control in Whibey , i.e., ASP.Net 2.0
Posted by khasibhatla NO[at]SPAM gmail.com at 1/4/2005 12:56:21 AM
I am trying to inherit an User Control from one another User Control in ASP.Net 2.0. Since we have partial classes in ASP.Net 2.0, this restricts me when I try to do the same. I am using the code chunk below to inherit. public partial class DerivedUserControl_ascx : BaseUserControl_ascx W...more >>

document.execCommand("Refresh"); in JavaScript
Posted by David at 1/4/2005 12:26:08 AM
how can I force the "document.execCommand("Refresh");" command to refresh page only one time? ...more >>


DevelopmentNow Blog