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 > october 2006 > threads for wednesday october 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 31

Simple Reg Expression (Must end with .doc or .pdf or .tif)
Posted by Phillip Vong at 10/25/2006 11:29:16 PM
I'm looking for a simple Reg Expression to validate a textbox where the text must in in .doc or .pdf or .tif. Thanks in advance. Phil ...more >>

Delete Button!!!
Posted by Child X at 10/25/2006 9:17:03 PM
Hi all, I have the following datagrid: <asp:GridView ID="gv" AutoGenerateColumns="False" DataKeyNames="ID" runat="server"> <Columns> <asp:BoundField DataField="ID" HeaderText="ID:" /> <asp:CommandField ShowDeleteButton="true" /> </Columns> </asp:GridView> What...more >>

Navigation Buttons
Posted by Samuel Shulman at 10/25/2006 8:59:33 PM
I just started using VS 2005 and I can't find the Navigation buttons (which are very useful) Were they removed from this version or they can be found elsewhere? Thank you, Samuel ...more >>

IsPostBack == true, even though its a callback
Posted by Angel Of Death at 10/25/2006 7:14:20 PM
How come if I have a server side callback function, the IsPostBack value is always true , when I check it in the Page_Load ?...more >>

newbie: how do I? <export table to sql script>
Posted by Jeff at 10/25/2006 6:15:59 PM
Hey I've created a simple asp.net 2.0 (visual studio 2005) project containing a database in the App_Data folder I wonder how I can export individual tables from this database to sql script... Any suggestions? Jeff ...more >>

Detect browser's time zone or country?
Posted by dw at 10/25/2006 6:10:02 PM
stilHello... Is there a way to detect a person's time zone and/or country when they browse to a site? I want to dynamically display controls and labels based on the user's time zone or country.....if possible. thanks - will...more >>

ASP.NET - C# How to customize user control?
Posted by Mikaël_PLOUHINEC at 10/25/2006 4:32:24 PM
Hello, I work in a ASP.NET (C#) project. I would like to create an user control with a label and a textBox. My component myTextBox.ascx is present in my page (aspx) with <toto:TextBoxPerso ID="TextBoxPerso1" runat="server" /><br /> So I would like to manage the component of my component...more >>

ASP.NET - how to get the properties of a component?
Posted by Mikaël_PLOUHINEC at 10/25/2006 4:30:14 PM
Hello, I work in a ASP.NET (C#) project. I would like to create an user control with a label and a textBox. My component myTextBox.ascx is present in my page (aspx) with <toto:TextBoxPerso ID="TextBoxPerso1" runat="server" /><br /> So I would like to manage the component of my component...more >>



kill my asp.net app
Posted by David Thielen at 10/25/2006 3:26:03 PM
Hi; If I want to kill my asp.net application (the license check fails), how can I do that? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - http://www.windwardreports.com/film.htm ...more >>

response.transmitfile fails (ASP.NET 2)
Posted by EmeraldShield at 10/25/2006 2:36:29 PM
I am confused about this... I have an app that has worked for a long time in 1.1. I upgraded it to 2.0. Everything works on my local machine, including transmit file. When I deploy the site to a Server 2003 (SP1) machine the transmit file files for some reason. I don't get an exception, ju...more >>

Question on rendering images from SQL database
Posted by Blasting Cap at 10/25/2006 1:50:49 PM
I am using the following code to pull an image out of a database & display it on a web page. Dim data As New data Dim sID As String = Request.Params("itemID") Dim sqlConnection As New SqlConnection(data.connectionString) Dim sqlCom As New SqlCommand("Select Data, Type From tblImageStorage ...more >>

multiple framework versions and performance
Posted by dinosaur8000 NO[at]SPAM yahoo.com at 10/25/2006 1:48:46 PM
Hi, I'm starting to introduce .NET Framework 2.0 into some of my projects, and I'd like some advice on best practices for running multiple-framework-version code within a web application. My current system consists of... Built with Framework 1.1: (a) External web application (ASP.NET) (b)...more >>

Custom validator in <ASP:Table>
Posted by Andy at 10/25/2006 1:45:05 PM
Hi folks, I have a customvalidator control that works properly if it isn't contained in an ASP:TABLE. But, when I place it inside an ASP:TABLE, I find that _ServerValidate doesn't get fired, even if I force the customvalidator to validate by invoking its validate() method after a button is c...more >>

Capture/send video and audio via asp.net . Does WCF help?
Posted by Jens Jensen at 10/25/2006 1:23:13 PM
Hello, I'm looking for ways to build a web chat application that can also send audio and video without using flash or any com component. I will use ajax though. But my concerns are, weather i can gain anything from WCF. Any comment will highly appreciated. Thanks JJ ...more >>

DetailsView ItemUpdating woes...
Posted by Timothy H. Schilbach at 10/25/2006 12:54:17 PM
Hi Everyone, I am having a massive issue trying to get custom data into my DV. What I want to do is sooo simple: 1. I have a single DV on a page 2. I created my own template (see below) 3. I created the DetailsViewDataBinging sub which populates the field using a datatable 4. I cr...more >>

open a new page
Posted by MATT at 10/25/2006 12:51:02 PM
Very Simple: Sub OpenPage if x = 0 then open ../page1.html else if x = 1 then open ../page2.html end if End Sub could someone please tell me the correct syntax for this? Thanks...more >>

2.0 and 1.0 on Win2K
Posted by Missy Isaacson at 10/25/2006 11:58:22 AM
I have a Win2K SP4 server running Framework 1.1 with lots of 1.1 ASP.NET websites. I would like to install Framework 2.0 to run in parrallel with 1.1. From what I understand, I can install 2.0 with the /noaspupgrade switch to prevent existing applications/sites from being upgraded, but if I a...more >>

still trying to figure out datalist event handler
Posted by rodchar at 10/25/2006 11:46:02 AM
hey all, i was just wondering when does the DataList_SelectedIndexChanged ever occur. I've only used it as a container for other controls such as a link button. thanks, rodchar...more >>

DB Connection with ODBC ASP.NET
Posted by MATT at 10/25/2006 11:45:01 AM
Using ASP.NET I would like to connect to a database using a System DSN in ODBC. Will this allow me to make the connection without having to specify in the code the server, user, password...etc...? Could someone please give me an example of a simple query using this method Thanks MATT...more >>

Forms Authentication Issue
Posted by kuladeep.mohan NO[at]SPAM gmail.com at 10/25/2006 11:34:34 AM
Hi I am using Forms Authentication in my app. I am using asp.net 2.0 and I need only few pages to be wrapped with the login and other pages are public. So the problem is the login feature is working in most of the browsers and users are able to login. But in few places the login is not work...more >>

manual threading in asp.net - vb
Posted by Jon Paal at 10/25/2006 11:06:50 AM
how can I make the connection to the database : --a separate thread , --return a reader and then --close the thread ? ...more >>

Problems dynamically adding controls to a page
Posted by Mark Denardo at 10/25/2006 11:01:41 AM
I'm trying to dynamically create and add controls to a web page: Label obj1 = new Label(); DropDownList obj2 = new DropDownList(); Controls.Add(obj1); Controls.Add(obj2); But I get the following error when the DDL is added (but not the Label): "Control 'ctl07' of type 'DropDownList' must...more >>

vs2005 publish website doing bad things, bad things
Posted by William Sullivan at 10/25/2006 10:56:02 AM
K, got a website, need to publish it to the test server. Publish the website, k. As its publishing, it creates a copy of my bin directory under my bin directory on my dev box. Now I've got ...\coolwebsite\bin\bin with everything in my \coolwebsite\bin directory. It then tries to publish th...more >>

Simple Web Form
Posted by John Rivers at 10/25/2006 10:48:22 AM
Hi I am new to ASP.NET and I am trying to create a very simple form with one TextBox and one Button which will update one record The TextBox is data bound to: "select top 1 value from table" I am using SqlDataAdapter.Fill(DataSet) and TextBox.DataBind() I have setup the SqlDataAdap...more >>

Send MMS
Posted by Kevin at 10/25/2006 10:29:34 AM
hi! How to send a MMS with my GPRS modem? Thanks ...more >>

Re: Dropdown list
Posted by Greg Collins [Microsoft MVP] at 10/25/2006 10:27:44 AM
Here is an updated link: Create Groups in a Drop-Down List Box http://www.braintrove.com/Html/Articles/18/Create-Groups-in-a-Drop-Down-L= ist-Box --=20 Greg Collins [Microsoft MVP] Visit Brain Trove ( http://www.BrainTrove.com ) ...more >>

xml attribute as css
Posted by ampeloso NO[at]SPAM gmail.com at 10/25/2006 10:07:51 AM
Hello, I'd like to use an attribute in an xml file as a css class. I am binding a treeview to an xml file and want different colors. Has anyone tried this? If any help would be appreciated. Thanks Mike ...more >>

Javascript inside aspx file
Posted by Pitaridis Aristotelis at 10/25/2006 10:05:46 AM
I have put javascript code inside an asxp file but it does not work. When i use the same script with html file it works fine. What is the problem? Do I have to declare something in my script? Aristotelis ...more >>

databinding and webusercontrol
Posted by rodchar at 10/25/2006 9:49:02 AM
hey all, i've exposed the .Text property of a TextBox on my control page. Is there anyway to make this show up in the QuickMenu -> EditBindings dialog? thanks, rodchar...more >>

How should i go about creating a tabs that load different forms?
Posted by axristo NO[at]SPAM gmail.com at 10/25/2006 9:04:27 AM
Greeting, this is my firt post in this forum .. so be gently ;) I am developing a database application and i want some help on the following scenario user enters some data in a table and when this is performed additional tabs are activated to allow the user to connect the entry to other rel...more >>

ASP.NET 2.0 Application: Tracking clicks on banners in a generic way?
Posted by Jimmy at 10/25/2006 7:41:15 AM
In the asp.net application I develop, we need to provide the marketing department with the ability to insert small JavaScript code snippets into predefined content areas on several pages. This code is supplied from 3rd parties and may display banners, links and do various other things. So far so...more >>

Access denied errors
Posted by krallabandi NO[at]SPAM gmail.com at 10/25/2006 7:14:29 AM
Do you have any idea about the below errors? Access to the path "C:\DOCUME~1\P005715\ASPNET\LOCALS~1\Temp\cumhnc6b.cmdline" is denied. Access to the path "C:\DOCUME~1\P005715\ASPNET\LOCALS~1\Temp\fbc8tyiu.cmdline" is denied. Access to the path "C:\DOCUME~1\P005715\ASPNET\LOCALS~1\Temp\...more >>

measuring web controls height at runtime (or converting .height % to px)
Posted by Wotney at 10/25/2006 6:15:45 AM
Hoping someone out there can help... I have an UpdatePanel that uses Atlas/Ajax to update it's contents without having to postback the entire page. (pnlUpdate) Within pnlUpdate I have a normal panel holding a tree-view control. (pnlTreeView) All the controls on my page are dynamic in size...more >>

read rowindex from gridview (template column)
Posted by cartmann at 10/25/2006 5:46:03 AM
Hi, I have a gridview with a template column. In the template column i have two commandbuttons. When clicking the buttons I enter the cmd_click event - but how do I read in which row the button was clicked?? I hope this makes sense? /Claus...more >>

Single DLL - How to get rid of ASPX files?
Posted by Boris Yeltsin at 10/25/2006 5:18:01 AM
I'm using a Web Deployment Project under Visual Studio 2005. What I would love to be able to deploy to a fresh server is just the \bin folder and the web.config (and perhaps a couple of other support files). But essentially I don't want to have to deploy all the ASPXs, images, .js etc. Is ...more >>

<browserCaps> Update for IE7 and Firefox
Posted by Lui at 10/25/2006 4:44:48 AM
I was wondering if anyone knew if Microsoft had released or are planning to update the <browserCaps> for .Net 1.1 to support other browsers like IE 7 and Firefox 2 etc... ...more >>

Web User Control Callback
Posted by Webmills at 10/25/2006 3:13:40 AM
Hi I have a web user control that, as part of its functionality, calculates a value that needs to be passed back to its' parent page for further calculation and display. This value is stored within theViewState collection for the web user control and accessors exist. At which point within t...more >>

firing once a day
Posted by JP.Gantlin at 10/25/2006 3:07:40 AM
i gotta routing to fire off once a day, I figure the first hit of each day will cause it to run. would i keep track of that in the global.asax and a session variable? ...more >>

Developer API
Posted by Jeet Disuja at 10/25/2006 2:48:02 AM
What is developer API, how can i built this in vb.net to establish connection with National Stock Exchange (www.nseindia.com) -- Jeet Disuja Delhi ...more >>

How to establish connection of DataGridView Control to National St
Posted by Jeet Disuja at 10/25/2006 1:05:01 AM
Dear Sir, I m develop a application in vb.net which update a live prices of stocks by a website named (www.nseindia.com) i m using datagridview control for this. Please give ur suggestion how can i bind my datagridview control to www.nseindia.com website for live updation of stocks. ...more >>


DevelopmentNow Blog