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 > june 2005 > threads for tuesday june 21

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

Make rows invisible easier?
Posted by (dik NO[at]SPAM lul.com) at 6/21/2005 11:48:16 PM
Hi I have a lot of rows in my page (see below a sample). How can I make 3 rows invisible/visible at the same time in a group instead of row for row? Is this possible? <asp:Table id="Table1" runat="server" Width="824px" Height="248px"> <asp:TableRow> <asp:TableCell ColumnSpan="4"> <as...more >>

ActiveX and ASPX
Posted by Raed Sawalha at 6/21/2005 10:32:02 PM
I have created an ActiveX control using visual studio 2003 (c#). and i have the following 2 problems: 1. how can I make a setup project for the ActiveX control that will be lunched from IE. 2. how can I make the setup program triggered from the aspx page to install the activeX....more >>

How to integrate MS Word to my .NET Application?
Posted by Narayana at 6/21/2005 10:25:02 PM
Hi, My requirements are 1) There are predefined Headings (Heading1, Heading1.1, Heading1.1.1 and ....) in database and one set of these headings is called Template1 and another set of these headings is called Template2 and so on. 2) User login and selects a template and selects the content....more >>

Looking for CMS (Content Management System)
Posted by Tom at 6/21/2005 10:20:02 PM
Hi, I am currently looking for a Content Management System for one of my project in ASP.NET. Here are the requirements: * web based content management * ability to enter content/fragment in a structured way (mixture of plain text input fields, drop-downs, radio buttons and rich text fi...more >>

right justify a column?
Posted by John Wilson at 6/21/2005 9:47:47 PM
Here's a dumb question from a learner: In a datagrid in a web page, how do I right justify a column of figures? I bet its easy once you know. John Wilson ...more >>

Dynamic controls
Posted by js at 6/21/2005 7:09:14 PM
I am adding a Label and a Textbox server controls to a cell in a table. The code is in Page_Load event. In stead of getting one for each of the controls, I am getting two for each. It seems that the event is fired twice, because I put Response.Write() statement in there, they are output twice....more >>

Inline Expression Resolution
Posted by Darin Higgins at 6/21/2005 5:53:21 PM
Hi everyone: I have a particular situation where I'd like to serve up the content of essentially static html coming out of a database for a website. I've created a generic user control to actually handle retrieving the html text and I've overridden the RENDER method to render the html at ...more >>

Is there a class or method to construct url args or extract url args?
Posted by Ken Varn at 6/21/2005 5:38:17 PM
Is there any class method that can build a url with command args? I know that I can do it by hand, but I would like to do it with a collection of name/value types like the Style and Attributes properties for Controls. I.e., Instead of Page.Response.Redirect("SomeUrl.aspx?Arg1='a'&Arg2='b'&Arg...more >>



Session object gone!
Posted by (dik NO[at]SPAM lul.com) at 6/21/2005 4:58:40 PM
Hi I retrieve data in a seperate function and store the retrieved data in a session object. When I return to the calling routine my Session object is gone!! what could be wrong?? ch Jim ********************************************************************** Sent via Fuzzy Software @ http:/...more >>

Web Application for Active Directory?
Posted by Zean Smith at 6/21/2005 4:37:22 PM
Is there any Web Application I can buy that let me update and edit the Active Directory info?? For example, we want to give H.R. lady the power to edit people's title, their manager, phone number, but of course not limit her to delete or alter some other sensitive information. Although...more >>

Reset all form fields in code behind
Posted by Fetty at 6/21/2005 3:53:02 PM
How do I do this -- David ...more >>

Enter Key Postback
Posted by Andrew Willett at 6/21/2005 2:34:03 PM
I have a web form that is a child of a Master Page. It is a login form for forms authentication. When you fill in the username and password box and press ENTER it doesnt process any of the VB.NET code it sits there doing nothing. I've tried some of the solutions on the internet but they do...more >>

release / debug question
Posted by dee at 6/21/2005 2:25:42 PM
Hi I'm about to upload my site and I have switched to release version. Is that enough or do I still need to disable <compilation defaultLanguage="vb" debug="true" /> the debug="true" in the .pdb file? Is the .pdb necessary for the release version? Thanks a bunch. Dara ...more >>

Best Practice for Checking if user is logged into application
Posted by Mike Moore at 6/21/2005 2:16:13 PM
Does anyone have suggestions on the best way to check if a user is logged into asp.net web application? We are not using forms authentication. We are authenticating our users against active directory. I some people use the database to determine if a user is logged in between web pages and...more >>

Wierd behavior with text box postback
Posted by Michael Loughry at 6/21/2005 1:58:01 PM
I'm working for a company in Houston developing a web application. At one point in the code, we have to refresh the page, but save what checkboxes have been selected. Since these checkboxes are created programmatically according to configuration files, they cannot be asp checkboxes. To do ...more >>

Compilation Error - BC31011
Posted by MrMike at 6/21/2005 12:41:05 PM
Hi. Almost every time I run Copy Project to copy my application to my web server I receive the following Compilation Error. Could anyone suggst how I fix this? Thanks. -------------------------------------------------------- Compilation Error Description: An error occured during the comp...more >>

Session not carrying over
Posted by jamezw at 6/21/2005 12:26:01 PM
I have a web app that uses StateServer to track session. It is cookieless (e.g. session ID in the URL.) We have run into a problem that is like such: we have a page that has multiple frames on it. All the frames point to relative pages except one which points to a specific IP, but it is an IP th...more >>

How to get path argument info?
Posted by Rob R. Ainscough at 6/21/2005 12:14:35 PM
How can I extract the path argument info in ASP.NET (using VB.NET)? Examples my Main.aspx form is linked using "Main.aspx?CallFrom=MyApp" I want to be able to extract the name/value pair "CallFrom=MyApp" from within my Main.aspx? Is this possible? Thanks, Rob. ...more >>

Validation Suggestions??
Posted by DEWright_CA NO[at]SPAM online.nospam at 6/21/2005 11:27:03 AM
This is a hard one for me, I am fairly new to C#/ASP.net and need some suggestions! I have 3 controls on a page, if control 'ivtshp' has a value it is valid and requires 'ivrng' to have a value. And if 'ivsurvnum' has a value then it is valid. But ivtshp/ivrng and ivsurvnum can't both ...more >>

Stopping multiple postbacks ?
Posted by Adrian Parker at 6/21/2005 11:04:49 AM
Say you have a webform with some fields and a button on it. When the user clicks the button, the buttonclicked event gets fired on the server, it does some processing, which includes creating some db records, and then redirects the page. What is happening sometimes is that the server is a ...more >>

How to create a Template Column with an Image in a datagrid?
Posted by Shapper at 6/21/2005 10:58:05 AM
Hello, How to create a Template Column with an Image in a datagrid from my VB code? Thanks, Miguel ...more >>

Is this a good application Design?
Posted by Jay Balapa at 6/21/2005 10:00:01 AM
Hello, Currently my application has three tiers- 1. Presentation Layer (Asp.Net / Win Forms/ Pocket PC UI.) This predominantly contains User Controls, Custom Controls and Win/Web Forms. I have one base form and I inherit from that form. All validation is done in this tier. There is ze...more >>

Another "Virtual File" question.
Posted by Terry Olsen at 6/21/2005 9:46:06 AM
I followed the information in a previous thread, but i'm having problems. I have a couple dropdownlists and a submit button on my form. The user selects choices from the lists and clicks the submit button. The app then places the data requested into a string variable. I want to send this da...more >>

please reply this asap
Posted by Pankaj Jain at 6/21/2005 9:45:01 AM
I have to store the icons in System.Windows.Forms.ImageList.I have to read icons from a icon directory... Which class from System.Drawing is best suited for Working with the images(icon)? System.drawing.Icon OR System.drawing.Bitmap and Why ..... ? -- ___________________________...more >>

Portal Starter kit
Posted by at 6/21/2005 9:21:32 AM
Hello, I have a question about the lastest version of the portal starter kit. In the old version, the configuration of the portal was defined in the database ("module" table). In the current version , all the configuration is in a XML file. My question is Why did the author make this evolution ...more >>

Odd behavior with BinaryWrite and Windows Media Player
Posted by sstreaker NO[at]SPAM gmail.com at 6/21/2005 9:08:28 AM
I'm serving an MP3 file via a BinaryWrite from an ASPX file. If I have Content-Disposition set to "inline", WMP opens as expected but hits my ASPX page 3 times and then finally play the file. This is not desirable because the impact on the server is idential to that if 3 different clients hit ...more >>

server click event on enter press
Posted by csgraham74 at 6/21/2005 9:01:30 AM
Hi there, I have just written an applcation in asp.net. In testing i have found that the enter key press on a button does not fire a javascript confirm prompt. is there anyway i can get this to fire the event when the button is selected and enter is pressed. basically i want code to check...more >>

Connecting to DB with the 'machine' account
Posted by josef NO[at]SPAM wainz.net at 6/21/2005 8:56:10 AM
This seems like a bad idea, but I'm having trouble identifying why. With an ASP.NET application I am using Windows Integrated Authentication. The aspnet_wp.exe runs as 'machine' per the processModel element in machine.config. By creating a domain\machine$ user in the database, I can successfully...more >>

passing info between browser windows
Posted by Derrick at 6/21/2005 8:55:35 AM
Say I have main.aspx, that opens dialog.aspx in a browser dialog type window. User clicks "search" and a list is populated in dialog.aspx. I would like to be able to have the user select a few items from a list box, then be able to click an "ok" button and have the selected items passed back t...more >>

user control, css, and redirect
Posted by Trisha at 6/21/2005 8:43:17 AM
I have a navigation user control navig.ascx that redirects to respective pages based on webcontrols.linkbutton clicks using response.redirect. I would like to control the look and feel of those link buttons. Once I click the button, I would like to make it bold using instructions like li...more >>

Compressing Images before Upload
Posted by news at 6/21/2005 8:30:41 AM
Does anyone know how I can compress images from an asp.net app on the client before they are sent to the server. I can compress them once they are on the server fine with GDI+ functions etc but when I try any code to not have the whole image sent to the server first it won't work and I can see...more >>

write permission
Posted by Alessandro Zucchi at 6/21/2005 7:47:04 AM
Hi all, I'm developing a ASP.Net application. The most important future is to generate PDF files that MUST BE saved on the disk (of the server). To achieve this goal I set write permission on destination folder using "Windows permission". Is possible set write permission using Web.Config...more >>

ASP 2.0.50215 using IIS 5.1 on XP Pro
Posted by Frank Chapman at 6/21/2005 6:04:41 AM
I fully admit to being a true nubie, so be kind. I've somehow screwed up my IIS 5.1 after installing ASP 2.0.50215 and testing some basic ASP pages. I receive a Forbidden message which appears at face value to be a permission issue but I'm running MS Visual Web 2005 with administrative privle...more >>

Could not copy temporary files to the output directory -- Again!
Posted by mbje NO[at]SPAM aats.dk at 6/21/2005 5:12:34 AM
I keep getting this error now: Could not copy temporary files to the output directory. Now i searched the web and found the same two solutions: 1. Set copy local to true 2. Check for extra backslash in path name Neither solutions work for me. Info: Vs 2003 7.1.3088 ..NET 1.1.4322(SP1...more >>

adding user in active directory
Posted by Leo_Surf at 6/21/2005 5:03:02 AM
Hello, I need your help adding user in Active Directory from ASP.net website. Could any one provide me the complete code for the html page. As this is my curriculam project and I dont have any Idea about ASP.net Please Help Thanks in Advance....more >>

ICallbackEventHandler and Mozilla
Posted by dumchikov NO[at]SPAM gmail.com at 6/21/2005 4:33:06 AM
Hi My question is about javascript function WebForm_DoCallback. This function performs callback request. But the thing is that if I use Mozilla, I can't send anisochronous request. XMLHttpRequest supports anisochronous request as well as IE, but implementation of WebForm_DoCallback doesn't al...more >>

Strange Error when viewing page
Posted by Nathan Sokalski at 6/21/2005 4:02:12 AM
When I view my index.aspx page any time after the first time, I recieve the following error: [HttpException (0x80004005): Multiple controls with the same ID 'TitleBanner:_ctl0' were found. Trace requires that controls have unique IDs.] System.Web.TraceContext.AddNewControl(String id, St...more >>

Getting current directory
Posted by alberto.decaro NO[at]SPAM gmail.com at 6/21/2005 3:41:49 AM
Hello everybody. I'm developing a class library project. I want a method to return the path where the compiled .dll file will be placed. I try with the Environment.CurrentDirectory property, testing the class within an ASP.NET application, but it returns the path of the aspnet_wp.exe process ...more >>

asp.NET application deployment problems...
Posted by Stuart at 6/21/2005 2:51:02 AM
Hi there I am used to doing my asp.NET development exclusively for intranet sites where I have full access to the IIS / SQL machines... I have a situation where an application needs to be run on an ISPs Server and I am having more than a little bit of difficulty - hopefully someone will exc...more >>

CheckBoxBoxList outside a DataList!!
Posted by Patrick Olurotimi Ige at 6/21/2005 12:35:58 AM
I have this checkboxlist out side a Datalist below:- <asp:checkboxlist id="chkList" AutoPostBack="True" Runat="server" DataValueField="ProductFeatureID" DataTextField="Feature" OnSelectedIndexChanged="Check_Clicked"></asp:checkboxlist></ And the event that fires after when the checkBoxList ...more >>

Oracle and .NET stored procedures returning dataset...
Posted by Ricardo Magalhaes at 6/21/2005 12:00:00 AM
Hi, How can I return a DataSet from oracle stored procedure(that returns for example, the customers from Brasil) to my ASP.NET application In Sql server is easy.. and seens like this: ------------ into sql Procedure SP_cursos (@categoriaID Int) As Select ds_curso from curso where...more >>

Global Variable
Posted by Shapper at 6/21/2005 12:00:00 AM
Hello, I am declaring a variable in my aspx.vb code as follows: Public Class catalogue Public productid As String Private Sub Page_Load ... I have an image button where I call the following function: Public Sub MyFunction(ByVal sender As Object, ByVal e As CommandEventAr...more >>

Need a reliable ASP.NET hosting provider
Posted by Jon Vitar at 6/21/2005 12:00:00 AM
Can anyone suggest a reliable hosting provider? Our current provider has been experiencing a lot of down time lately. I'm looking for an ASP.NET hosting provider that: 1. allows remote SQL Server access using Enterprise Manager and Query Analyzer 2. high uptime 3. phone technical support ...more >>

Binding data to Table
Posted by Neven Klofutar at 6/21/2005 12:00:00 AM
Hi, How can I bind data to System.Web.UI.WebControls.Table control ? I put a Table objet in the Form. Then I create Table object in Page_Load (I fill Table with data), and then I'm trying to bind data from CS code, to Table object in the Form. ASPX ***** <asp:Table id="table" runat="ser...more >>

What is wrong with this code line?
Posted by Shapper at 6/21/2005 12:00:00 AM
Hello, I have a BoundColumn in a datagrid. The DataField must be created using the Session("culture") value. Shoudn't this work? <asp:BoundColumn DataField='<% "title_" & Session("culture") %>'></asp:BoundColumn> What is wrong? Thanks, Miguel ...more >>

Anyone heard of fuhnxrfp.dll ?
Posted by John B at 6/21/2005 12:00:00 AM
Hi, I'm getting a file not found error - looks like the app is looking for a file called 'fuhnxrfp.dll' or 'fuhnxrfp.exe'. Does anyone know what this file is? I can't find a reference to it anywhere.... Here is the Assembly Load Trace: === Pre-bind state information === LOG: User = N...more >>

Audit trail for web application
Posted by Parag at 6/21/2005 12:00:00 AM
Hello, I have been assigned the task to design the audit trail for the ASP.NET web application. I don't know what the best practices for such audit trails are. Our application one dedicated user name and password to perform the database operations. I need to capture all the operations which are ...more >>

Base class and session object
Posted by Frank Esser at 6/21/2005 12:00:00 AM
Hi, I created a base class for my project from that all other pages inherit. Within this page in the OnLoad event I set some session object variables. My intention is that first of all the OnLoad event is fired on each page load and then the specific Page_Load event of the specific page. ...more >>

Deployment issues in Web.Config file, ASP .Net 2.0 Beta 2
Posted by Pavan Apuroop at 6/21/2005 12:00:00 AM
Hi All, I have developed one web site in ASP .Net 2.0 Beta 2 and published (deployed) the same in my local IIS. Now if i am trying to access the same site, then it is giving me an error as follows: Server Error in '/HotelInput' Application. -------------------------------------------...more >>

Datagrid paging. It's not changing from page to page.
Posted by Shapper at 6/21/2005 12:00:00 AM
Hello, I created a datagrid with: AllowPaging="True" PageSize="2" The page size is correct and I see the navigation buttons "next" and "previous", however when I click "next" the datagrid doesn't change to second page. Why? Thanks, Miguel ...more >>

Session Data Lost
Posted by Jimmy at 6/21/2005 12:00:00 AM
Hi I have built a wizard object with Panels in ASP.net. I store data in the first panel which are used in the second. The Panels contain usercontrols in which data is stored through Session variables. The problem is that session data just disappear when I go from the first to the next panel. ...more >>

Currency
Posted by Shapper at 6/21/2005 12:00:00 AM
Hello, I have an Access database table where the field [price] is of currency type. What do I need to do in my datagrid so that the price column always display the price number in such a format: 10,032.45 € Thanks, Miguel ...more >>

response.redirect
Posted by
at 6/21/2005 12:00:00 AM
Hi Can I response.redirect with a relative path? for example original page url: application_root/dir_1/page_1.aspx want to redirect to: applicaiton_root/dir_2/page_2.aspx TIA -- ...more >>

Datagrid Column Width
Posted by Shapper at 6/21/2005 12:00:00 AM
Hello, I have a datagrid with one template column and 2 bound columns. I need to set the width of each column. How to do it? I was able to set the width of the entire datagrid but not of each column. Thanks, Miguel ...more >>

Adding PrimaryKey to a DataTable
Posted by Shawn at 6/21/2005 12:00:00 AM
Hi. This is my problem. I'm filling a DataTable with data from my DB. The problem is that none of the data is unique, not even combined. So I was wondering if it is possible to add a unique column (AutoIncrement) to the DataTable after (or before) I fill it with data? Thanks, Shawn ...more >>

DataBinder question. Thanks.
Posted by Shapper at 6/21/2005 12:00:00 AM
Hello, I have this line in my HTML code: ImageUrl='<%# DataBinder.Eval(Container.DataItem, "image01_url") %>' The field image01_url has only the image file name. I want to make "images/content/" + image01_url as my ImageUrl. How can I do this? Thanks, Miguel ...more >>


DevelopmentNow Blog