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 2004 > threads for thursday november 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 29 30

Where is my folder?
Posted by anon at 11/25/2004 9:58:31 PM
I have created a folder (called root) in my ftp/web space on a hosted account. The host's website lets you set permissions for this. If I want to access it from ASP.NET, eg to open a stream, what is its path? Is this to do with virtual folders, and if so can I set one up myself or will I nee...more >>


Button Event Inside Table
Posted by Bishop at 11/25/2004 9:58:17 PM
I can't get my button event to fire inside a table. the button outside of the table works. Both make a postback. Any help appreciated. My code below. (Add button to page) Dim myButton As New Button myButton.ID = ButtonID.ToString myButton.Text = "Save" Page.FindControl("FOR...more >>

Save files locally
Posted by Mrunal at 11/25/2004 9:00:19 PM
Hi, I require a file to be created and saved on the client machine bsed on values stored in the asp controls. I sthere some wauy to do this? Thanks, Mrunal...more >>

Compiled, Not Interpreted!
Posted by Arpan at 11/25/2004 8:38:50 PM
This is a multi-part message in MIME format. ------=_NextPart_000_000A_01C4D32E.C5620BF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am a newbie ASP.NET programmer. While going through the MSDN ASP.NET = tutorial, I came across the followin...more >>

looking at the Response
Posted by Abubakar at 11/25/2004 7:49:08 PM
Hi, when my page is *about* to be rendered to the client, I want to see all the html that is generated. How can I see that html? I tried but Render override doesnt give me that information, it only allows me to add information to the page html. Ragards, Ab....more >>

SQL Server Does not exist or access denied
Posted by Steven Ung at 11/25/2004 7:28:21 PM
Hello all, I'm having the following error dump from an ASP.net application. The program is to calculate MRP and it involves complex queries looping thru hundreds of records in an few SQL 2000 table. After running for 2~3 minutes, the below error is shown. I've search high and low, but can't...more >>

Event of dynamic control
Posted by Frank Schumacher at 11/25/2004 7:19:59 PM
Hi NG, I add some ImageButtons to an user control, using the placeholder object as a container. I like to get the clickevent from that button so i added a method to the click property: myIB.Click += new System.Web.UI.ImageClickEventHandler(this.ImageButtonHier_Click); where ImageButtonH...more >>

dropdownlist SelectedIndex property
Posted by charmis at 11/25/2004 5:55:01 PM
In msdn library, DropDownList.SelectedIndex Property is defined as [C#] public override int SelectedIndex {get; set;} The return type is int. In msdn library itself the int is defined as The Int32 value type represents signed integers with values ranging from negative 2,147,483,648 throu...more >>



Build WebControl
Posted by Dexter at 11/25/2004 5:48:01 PM
Hello all, I need to build a WebControl, but i don't know with. Somebody have some tutorial? My WebControl need to build a page as output. Thanks Dexter ...more >>

select product options (color, size, etc) from datebase
Posted by nicholas at 11/25/2004 5:37:05 PM
I got a product with product options, such as color, size, etc All are defined a table. 1 table for the products 1 for the options (optionID, parentoptionID, optionname) ex: 1, 0, color 2, 1, yellow 3, 1, green 4, 1, blue 5, 0, size 6, 5, small 7, 5, medium 8, 5, large I want an webpa...more >>

disabled dynamically added controls and postback
Posted by djk at 11/25/2004 5:24:28 PM
Hi all! Please help me with the following real-trouble: - I have dynamically created controls on page - Everything works unless I set for some controls .Enabled = false In such a case stored value for the disabled control is lost (not sent by MSIE back to server). But it works for s...more >>

webapp restarting every once in a while?
Posted by Flip at 11/25/2004 5:02:52 PM
I have a web app running on w2k3server, and I have an application level variable for a counter. Every once in a while today (I just put this live last night), that counter value is reset to 1 when I hit the page, and I can see the page taking longer to reload (I figure it's recompiling). If I...more >>

Get detailed error report on remote host
Posted by Pavils Jurjans at 11/25/2004 4:54:31 PM
Hello, When developing on the local host, asp.net provides detailed runtime error information - error number, description, and even line of code where the error happened. When the aspx page is put on the remote location, security settings prevent me to get the same detailed runtime error r...more >>

Session_End Breakpoint only steps first line
Posted by Beren at 11/25/2004 4:13:31 PM
Hey, I've got some code in my Session_End which cleans up all Session related items from the Cache object. I needed to store some related sessiondata in there to be able to address it in the AuthenticateRequest event. Now when I breakpoint the first line to test the Session_End code, it o...more >>

Search a database using 3 fields and an input text box.
Posted by Miguel Dias Moura at 11/25/2004 4:06:18 PM
Hello, What I know: To send a Value in the URL and filter the results in order to display only the database records which FIELD_A = Value. What I need to do: I have a page with an Input Text Box and a Search Button. Each record of my database has 5 fields: ID, Title, Author, Editor, Da...more >>

LinkButton Events
Posted by Bijoy Naick at 11/25/2004 3:49:20 PM
I have 2 datagrids, lets call them src and dest. I run a query and databind to src. Src contains a column called "name". I use a templatecolumn to display the name as a LinkButton. I want the user to be able to click on a name, which will then run another query and display all the records p...more >>

CheckboixùList PRoblem
Posted by Alessandro at 11/25/2004 3:39:04 PM
There is a way to disable some items of a checkboxList ? ...more >>

call aspx function/sub/property from ascx event
Posted by comp at 11/25/2004 3:35:17 PM
I have a user control inside an aspx page. I was able to create a Public property inside the ascx file and call it from the aspx but whatever I do, I can't find the way to cause an event from inside the ascx file to call any function/sub/property etc. The error I'm getting is "Reference to...more >>

set ID of control dynamicaly
Posted by nicholas at 11/25/2004 3:32:16 PM
I tried to set the ID of a radiobuttonlist dynamicaly like this: <asp:RadioButtonList id="<%# DataBinder.Eval(Container.DataItem, "optionnameFR") %>" runat="server" ></asp:RadioButtonList> (fyi: the radiobuttonlist-control is placed in a datalist.) But I get this error: '<%# DataBinder.Ev...more >>

#If DEBUG and Response.Redirect
Posted by dotnw NO[at]SPAM hotmail.com at 11/25/2004 2:54:59 PM
I have noticed that this: Response.Redirect("/MyLocalDirectory/MyPage.aspx") seems to be a lot quicker than this: Response.Redirect(sDirectoryString & "MyPage.aspx") In local development mode, I need to have sDirectoryString equal to my local folder structure, but when I upload the pr...more >>

deployment question
Posted by Dicky Cheng at 11/25/2004 2:39:10 PM
Hi, I have a BUSY web site and I made modification in the dll file of the web site. I just replace the dll in the bin folder (from v1 to v2) and the web request queueing up and stop responding. I rollback the deployment (use back v1 dll) and the request queue goes down and back to normal. I am...more >>

ASP.NET stream writer problem
Posted by Ryan Ternier at 11/25/2004 2:38:17 PM
I'm writing a file out using StreamWriter. What i'm outputting is a 6,398 lines of stupid Jscript arrays. Yes the system needs to be very very dynamic, and they don't want a page reload. The arrays are so huge because the program needs: Take table 1, and join each row in table 1 to X rows i...more >>

OCX Problem
Posted by Reetesh B. Chhatpar at 11/25/2004 2:24:58 PM
Hi, I have an OCX (written in C++) that I use in my VFP application. The OCX reads & writes data onto a smart card. I now want to provide the functionality of reading & writing data from & onto the smart card through our ASP .Net based Web application. Hence this OCX needs to be used in the A...more >>

asp.net important help
Posted by ACaunter at 11/25/2004 2:19:02 PM
can someone please explain if there is a way to make an audio recording function in java and embed it into an asp.net application?? - also - why do some function (like a button click or listbox selection) take two tries before it will take place.. i have to put an empty button on each pag...more >>

Now() Fucntion and CurrentCulture
Posted by ra294 at 11/25/2004 2:10:43 PM
When I use the Now() Fucntion i my ASP.net application I get a date format of mm/dd/yy. I want it to be dd/mm/yy. I set in the web config "culture="en-GB" uiCulture="en" and also set the regional setting of the computer. When I am checking "Thread.CurrentThread.CurrentCulture" I can see it's "e...more >>

Two DataSet Updates
Posted by SMG at 11/25/2004 1:48:36 PM
Hi there, I have a dataset in memory, which is filled with 1000 records. If the records are changed in the database, I want to reflect the changes to the previous records that means: Dataset 1 : Table 1 [In memory] Id Name ReportID 1 Shailesh 001 2 gajare 00...more >>

Image displayed on email's body
Posted by Fabio Negri Cicotti [MCP] at 11/25/2004 1:42:07 PM
Hi all. How do I do to display a picture on e-mail's body when visualized using Outlook Express? I've set the properties bellow but till now I've got the image shown as that box with a red "x" (when an image hasn't been downloaded) and the image goes attached instead of displayed on the ...more >>

Textbox Validation
Posted by Craig G at 11/25/2004 1:38:46 PM
i have the following code for validating a textbox once a page posts, but the problem i am having is that the TextChanged event won't fire next time if the user does not change the value again One way round this is to clear the value but user's generally like to see the erroneous data any i...more >>

Creating templated websites in asp.net -- i need feedback
Posted by Hasani \(remove nospam\) at 11/25/2004 1:28:24 PM
The way the system works is, you create a user control (ascx) that will be a template and must implement the interface IPageTemplate. You then create one or more user controls (ascx) that implement the IPageContent interface. A page (aspx) must then be created that loads (using Page.LoadControl) ...more >>

[Help needed]: Error retrieving data from Web.config.
Posted by silktest7 NO[at]SPAM hotmail.com at 11/25/2004 1:25:41 PM
Hi all, Will appreciate if someone can help me with this problem. I am using VS 2003 on Win2000, sp 4. 2GB RAM. Session data is stored on DB on another machine in network. Can connect to the DB (no problem with that). I try to save DB connection string in web.config file, as described in M...more >>

Chat Applications in .NET
Posted by A at 11/25/2004 12:54:57 PM
Hi all! I am currently working on a project where I need to create a web-based chat application that will be used for auctions. If possible, could I get some advice on how to create chat applications and which part of the .NET framework should I delve into? I would really appreciate the ...more >>

need help translating VB.NET -> C#
Posted by Eirik Eldorsen at 11/25/2004 11:57:20 AM
I'm tring to translate an VB.NET method into C#. Here is what I've done so far. Need help on the while loop public static void SetInitialFocus(Control ctrl) { StringBuilder s = new StringBuilder(); s.Append("<SCRIPT LANGUAGE='JavaScript'>"); s.Append("function SetInitialFocus()...more >>

MobLog Applications in ASP.NET?
Posted by clintonG at 11/25/2004 10:53:25 AM
Anybody know if there are any ASP.NET applications for MobLogs yet? Example MobLog [1} -- <%= Clinton Gallagher, "Twice the Results -- Half the Cost" Architectural & e-Business Consulting -- Software Development NET csgallagher@REMOVETHISTEXTmetromilwaukee.com ...more >>

client side dynamic dependent list box
Posted by Amp Inthalangsy at 11/25/2004 9:53:12 AM
Hi there, Was hoping someone would have an fix for me or some kind or work around. I was able to get my client side dynamic dependent list box working but if my child list data has double quotes or hard breaks as values it wont work at all and I am getting a "underterminated string constant" ...more >>

Dynamically Created Control
Posted by Jason MacKenzie at 11/25/2004 9:36:39 AM
I'm trying to capture the text property of a dynamically created textbox on the screen.. I can't get this simple example to work. I get "Object Reference Not set to instance....." on the Response.Write(text.Text) in the Button1.Click event handler. I'm sure this is something painfully sim...more >>

drap and drop files from client to server in asp.net
Posted by ACaunter at 11/25/2004 9:31:03 AM
Can anyone please tell me if this is at all possible in asp.net... client has a folder , with 30+ folders inside it, and 30+ files in each folder... what is the quickest way to upload everything... i know i could zip the folder and upload that, but i have no way to automatically unzip the ...more >>

ASP.Net VB code does not execute on postback (WebMatrix vs. not)
Posted by menairb74 NO[at]SPAM yahoo.com at 11/25/2004 8:47:10 AM
I've been constructing an ASP.Net application using the 1.1 framework, and have been using Web Matrix for development purposes. Now that my application is near completion, I wanted to see if I can set up my pages for access directly via localhost (not using the WebMatrix server). My login page...more >>

URGENT - VB.Net and Oracle Client, 'random' error
Posted by richardsinbox NO[at]SPAM gmail.com at 11/25/2004 8:44:19 AM
Hi, it would be fantastic if anyone could suggest a solution to this problem. I've written an ASP.Net (VB) application which uses stored procedures in Oracle. All seems fine, except occasionally I get the error below: [NullReferenceException: Object reference not set to an instance of an ob...more >>

Making a new DataTable out of an existing one
Posted by Ryan Ternier at 11/25/2004 8:30:59 AM
I'm doing a project where I need to merge 3 Tables within a Dataset into 1 DataTable. All 3 tables have the exact same rows, except one discription field is a Varchar(1000) in one, and a text in the other. What would be the easiest way of doing this. I know it won't let me copy rows fro...more >>

ArrayList Function In Business Tier?
Posted by Leon at 11/25/2004 7:58:43 AM
I have a webform in which when the user press generate button the form generate six unique ramdon numbers, the user can also type these six numbers in manually in any order. however, the user can also press a post button that post these six numbers into the database. My problem is that these s...more >>

CssClass and HTML file field control
Posted by msuk at 11/25/2004 7:51:02 AM
All, I have a ASP.NET/C# webform which contains a Webform button that has a CssClass applied to give it a special effect. Now the same webform has a filefield control but the browse button is the default. I would like to apply the same CssClass style to the browse button is this possible ...more >>

how to unzip a folder in asp.net
Posted by ACaunter at 11/25/2004 7:39:08 AM
can someone please help me try to unzip a folder automatically within an asp.net program... thanks -- AdamPC@hotmail.com...more >>

cannot create a web project in vs.net
Posted by Antuane at 11/25/2004 6:47:16 AM
i can't creat a web project in VS.NET (2003), i get the following message. Any ideas???? First Messagebox = FrontPage has detected a web server conflict on Port 80, which has server extensions for the FrontPage Personal Web Server but is running a Microsoft-IIS/5.1 server. FrontPage requires...more >>

Difference between ASP.Net Forms and XForms
Posted by Kiran at 11/25/2004 6:09:30 AM
Hi, Can someone tell me the ASP.Net Forms and XForms. And also the advantages and Disadvantages of ASP.Net Forms over XForms. Thanks Kiran ...more >>

object oriented question
Posted by russell8mccloy NO[at]SPAM hotmail.com at 11/25/2004 4:31:27 AM
Hello all, I have an object in business layer called JPPage Which has the properties: id title content parent level what I want to know is. I have a crumb trail on my front end which only requires the properties id and title. So do I use a collection of JPPage objects (even though th...more >>

TableCaptionAlign Enum missing in Same Version of two System.Web.D
Posted by Mike at 11/25/2004 3:25:05 AM
I have 2 System.Web.dll taken from 2 different machines, one of the System.Web.Dll contains a enum System.Web.UI.WebControls.TableCaptionAlign and the other did not. I have development a functionality which was not working in some of the machines and on diggin' into, i found this. I also co...more >>

Custom GenericIdentity class for more userdata
Posted by Beren at 11/25/2004 2:54:34 AM
Hello With trial and error I'm attempting to create an extended identity to store some more data than just the Name, for example a Subscription and a LastSearchPerformed property... Is this a good idea ? I'm coming from ASP and Session variables, but I explicitly wanted to avoid that for...more >>

Upload files
Posted by Biao Tang at 11/25/2004 1:49:48 AM
I have one aspx to upload files to web server, then other users will view it. What is the best way to keep those files, saving in file system or database? Thanks in advance! Tang Biao ...more >>

ASP:TEXTBOX TextChangedEvent Focus problem
Posted by Rob Shorney at 11/25/2004 1:49:15 AM
Hi, I have a number of text boxes on my web form. when the text is change the serverside event TextChanged gets raised and I do some server side validation. This is fine. However, when the event has finished processing, I would expect focus to be returned to the next textbox on the page ...more >>

Visual Studio hangs
Posted by Mike at 11/25/2004 1:03:03 AM
Hi, While debugging an ASP.NET project written in C#, I have the CPU always at 100%. Debugging 10 lines of codes could take a couple of minutes. I am using Visual Studio 2003. I have tried re-installing (repairing) the Visual Studio installation, but it did not work. Has anyone experie...more >>

URGENT : ASP .NET cookieless session timeout
Posted by tecknickal NO[at]SPAM hotmail.com at 11/25/2004 12:40:55 AM
Hi I am a little stuck. I have a web app which uses cookieless session management. I would like to inform a user when their session has ended but cannot work out how to implement. I thought of placing a redirect into the Session_End method in the global file but this does not work. To m...more >>

Button not posting back
Posted by VB Programmer at 11/25/2004 12:12:40 AM
I have a cmd button on my ASPX form. On my local machine it works perfectly. After I upload it to the server I click on the button and NOTHING - doesn't post back to the server. Any ideas? I created a new sample test.aspx form with 1 button and this one posted back ok. Thanks. ...more >>


DevelopmentNow Blog