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 2006

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

Script tags in ASPX files
Posted by Flodpanter at 11/30/2006 11:41:53 PM
Im trying to add a script tag(or whatever is is called) in my aspx file. Basically Im trying do to something like this: <asp:label id="label1" runat="server" Text="Hello!" Visible='<%# ShowLabel%>' /> where ShowLabel is a property defined in my code behind file. Apparently the ShowLabel i...more >>


hi help me loading a page with out the full page refresh
Posted by muthu at 11/30/2006 10:58:26 PM
Hi I am developing a ASP.NET web application. I am having links on my left pane. While clicking links the page should be loaded into right pane without full page refresh. To be correctly say, I want to develop application which should look like http://www.microsoft.com/windows/windowsmedia/playe...more >>

problem with rendering page using 'Response.Redirect' and 'Response.OutputStream'
Posted by André at 11/30/2006 10:55:27 PM
Hi, I want to include a graphic made in file2 into file. File must first send a value to file2 (with Response.Redirect) which will be used for the graphic. My problem is that only the graphic is rendered and not the content of file1. Thanks for help. André See how i did: file1:...more >>

Limit the length of databound text on datalist
Posted by Derty at 11/30/2006 9:41:50 PM
Any way to limit the length of databound text on a datalist itemtemplate? ...more >>

Code behind not in separate file
Posted by Terry Olsen at 11/30/2006 8:48:29 PM
I didn't choose "code in separate file" when creating a web page. So I have to use the fully qualified object names because I can't figure out where, or even if i can, put the Imports statement. Can anyone shed some light on this? What are the limitations when you have the server-side code in ...more >>

Reading from registry from within IE7
Posted by Henk at 11/30/2006 8:15:39 PM
Hi, Is there a way to read a registry key from HKLM from an asp.net page? regards, Henk ...more >>

ASP.NET 2.0 Reading/Writing to SQL 2000 Text DataType Field
Posted by ChrisFrohlich at 11/30/2006 8:11:02 PM
ASP.NET 2.0 with Text DataTypes: I've got a similar question going in the SQL group, but I was wondering if anyone has successfully implemented reading/writing character data from a Text datatype column in SQL 2000. I know there's a Varchar(MAX) feature in SQL2005, but my budget mocks me rig...more >>

Help - I'm stupid
Posted by jake at 11/30/2006 7:08:30 PM
Server Error in '/' Application errors... I can not figure out how to deploy an asp 2.0 website without getting an error. I can get the website to run great on my machine, and then once I uploade to the webserver...pooh....error city. Please help ...more >>



file not rendered because too many cookies
Posted by André at 11/30/2006 6:29:42 PM
Hi, Not sure it's a asp.net problem, but i discovered it with asp.net, so ... I need to pass data from page to another, so i use cookies for that. My problem is that when a certain amount of cookies are created, the browser doesn't render the page anymore. The threshold i found (with trial...more >>

HOW TO get innerText from IFrame in C# (server-side)?
Posted by SMichal at 11/30/2006 5:36:41 PM
Hi, is there some posibility how to read inner text from IFRAME on server-side ? I've tested it with innerText and InnerHtml but it doesnt work ...more >>

Can a UserControl perform some action on the hosting page codebehind?
Posted by Benton at 11/30/2006 5:32:07 PM
Hi there, I have a UserControl with a couple of textboxes and a couple of buttons ("Save" and "Cancel"). The Click event for this buttons is in the UserControl's codebehind of course, so here's my question. Once the UserControl is dropped onto the container page, how can I perform some a...more >>

Change headertext dynamically populated gridview
Posted by Sharon at 11/30/2006 4:41:06 PM
Hello All, I have a gridview control in webform which is dynamically populated on page startup with a query. I was trying to change the header text for the columns and also set wrap to false. i have four columns in gridview. Any suggestions guys This is what i used but i keep getting error ...more >>

dynamic controls with wired-up event
Posted by BillE at 11/30/2006 4:32:43 PM
I have a web form which has dynamic controls for order entry, (item selected, #,etc.) which are wired to an event handler which fires when the dynamic controls content changes. These controls have to be recreated on the Page_Init for the events to fire. The content of the controls is based...more >>

404
Posted by Peter Morris [Droopy eyes software] at 11/30/2006 4:19:46 PM
Hi all http://trentinney.airsoftware.co.uk/pigsbums.aspx This URL will show my NotFound.aspx page due to the 404 setting in my web.config file, but the following will not http://trentinney.airsoftware.co.uk/pigsbums nor will this http://trentinney.airsoftware.co.uk/NotHere.txt ...more >>

How to show GridView bound to empty data source? (2.0)
Posted by Tomasz Jastrzebski at 11/30/2006 3:57:21 PM
Helo All, The problem: GridView control does not render at all (header/footer) when the data source is empty. I have seen a similar question posted already, but I just can not believe there is no simple solution. I do not believe ASP.Net team took this, sort of, innovative approach and le...more >>

javascript fails
Posted by Morten Snedker at 11/30/2006 3:44:11 PM
If my question is off this group, please point me in the right direction. Here goes: My scipt fails between alert-2 and alert-3 with "Object doesn't support this property or method" (freely translated from Danish). Any idea what could be wrong? The code is a rip-off from http://xap...more >>

Change to _doPostBack
Posted by david NO[at]SPAM edks.com at 11/30/2006 3:02:10 PM
hi... When using the .net framework 1.x, the _doPostBack server-generated Javascript used to contain a test for the browser type: function __doPostBack(eventTarget, eventArgument) { var theform; if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) { ...more >>

Testing Without A Sub-Folder
Posted by Tarun Mistry at 11/30/2006 2:52:34 PM
Hi all, I have created an ASP.NET application and would like to test it within a subfolder on my main site (i.e. www.site.com/test). In my code I have many references to root (i.e. "~/About/about.aspx"). Now when running via the sub-folder, I get lots of errors saying it cannot find the ...more >>

Formatting numbers and page reload
Posted by Morten Snedker at 11/30/2006 2:49:30 PM
The following code works well: If Not Double.Parse(Me.txtTilslutning.Text) Then Me.txtTilslutning.ForeColor = Drawing.Color.Red Else Me.txtTilslutning.ForeColor = Drawing.Color.Black End If The only problem is, that it reloads the page, in wh...more >>

Add Images in BoundColumn when Sorted
Posted by rn5a NO[at]SPAM rediffmail.com at 11/30/2006 12:37:51 PM
I would like to add arrow images along with the HeaderText of each BoundColumn of a DataGrid when the DataGrid gets sorted. Is there any way to do this? ...more >>

Compiler Error Message: CS0246: The type or namespace name could not be found (are you missing a using directive or an assembly reference?)
Posted by infinetinc NO[at]SPAM gmail.com at 11/30/2006 11:22:19 AM
I'm receiving the following error when this site is published to the production environment: Compiler Error Message: CS0246: The type or namespace name 'GridViewHelper' could not be found (are you missing a using directive or an assembly reference?) The error does not occur on my local machin...more >>

Timeout Expired
Posted by rn5a NO[at]SPAM rediffmail.com at 11/30/2006 11:00:33 AM
I am working on Win2K Pro (SP4) with P4 2.80GHz, 256MB RAM & 20GB hard disk (IIS5.0). I use Visual Web Developer 2005 Express Edition to create & edit ASP.NET apps. Whenever I log in to my m/c. & run any ASPX page in IE6.0 for the very first time, I always get the following timeout expired err...more >>

Custom Provider. Please, need some help.
Posted by shapper at 11/30/2006 9:04:18 AM
Hello, I created 2 related SQL tables (Content and ContentLocalized) and a few queries: Add (Add one record to both tables) Remove (Remove one record from ContentLocalized given an ID) RemoveAll (Remove one record from Content and all child records from ContentLocalized given an ID) Find ...more >>

Newbie : aspx and javascript
Posted by Bartlett at 11/30/2006 8:08:24 AM
Hello, Is it possible to call an aspx page from an html page (via javascript) and get some return value from the aspx? I want to get a string from the aspx and add it to a div, something like : myDiv.innerHTML += returnValueFromAspx; Thanks in advance for the response. ...more >>

Legacy ADODB.Stream and System.IO.Filestream
Posted by Hawksey at 11/30/2006 7:48:44 AM
Hello, I have an older CRM Web application, that we are not going to change to ..net that makes use of the ADODB object to load images into a SQL database (varbinary) field. I am rewriting an application in .NET that retrieves these images. I have used the following article to retrieve the...more >>

Master Pages help please
Posted by NW Technicals at 11/30/2006 7:42:07 AM
HELLO, I created my site with absolute positioning of controls. Upon suggestions from a good friend of mine I am trying to move my site to Relative positioning, but having problems All my problems are related to control positioning only 1) All my controls would not fit in the contentpane ...more >>

Switching Domain name depending on server?
Posted by brett at 11/30/2006 7:21:04 AM
I use two test servers and one production. I have a Utilities class that holds many of the links used through the site. One of the variables in this class is assigned the domain name. I need to automatically set this value depending on the server I'm on. The domain can be similar to any of t...more >>

Help with listboxes
Posted by fatima.issawi NO[at]SPAM gmail.com at 11/30/2006 5:39:19 AM
Hello, I am creating a web page using c# and asp.net. I am trying to populate a list box by reading text from a file. The text in the file has leading spaces in order to show a hierarchy of the items. I would like this formatting to show up in the listbox, but it seems that strings are ...more >>

Redirect with POST
Posted by Thom Little at 11/30/2006 5:10:41 AM
In ASP.NET 2.0 C# I need to redirect to an .ASP or .HTML page and include POST data (i.e., formatted like a form. The form data is changed dynamically by the C# page. Can anyone point me to an example? -- -- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd. -- ...more >>

help needed
Posted by nil at 11/30/2006 3:24:42 AM
hello all... i did one coding to bind an image in the datagrid but the problem is that it binds every image control with the last image in the dataset...actually i am storing path in the oracle. here's the coding that i did.. private sub dg_itembound(byval sender as object,byval e as ...more >>

Master Pages and Absolute Image URI's in HTML
Posted by Admin.TalkPC NO[at]SPAM googlemail.com at 11/30/2006 12:52:06 AM
=EF=BB=BFHi Guys I have an ASP.NET project with a rough layout as shown below Default.aspx Login.aspx Site.master web.config /IMAGES/Image1.jpg /Image2.jpg /Image3.jpg ... /Secure/SecurePage1.aspx /SecurePage2.aspx /SecurePage3.aspx /web.config ...more >>

Gridview: What happened to nTier architecture?
Posted by Richard Coltrane at 11/30/2006 12:00:00 AM
Hello Im reading this article about the Gridview: http://msdn.microsoft.com/msdnmag/issues/04/08/GridView/ Whilst I realise that im not forced to use their methods I do find it confusing that the article states that the code below is an example of the "recommended data binding approach ...more >>

Ecommerce Free download.
Posted by Ram at 11/30/2006 12:00:00 AM
Hello, Sorry if its been posted and answered already. But since I could not get any required info, I am posting this Is there any free ecommerce tool available (open source) with source code (c#) for asp.net. I tried BVCommerce but the charge is huge for source code and project files. or ...more >>

Gridview not displaying data - please help!
Posted by Greg Lyles at 11/29/2006 11:54:34 PM
Hi all, I'm trying to develop an ASP.NET 2.0 website and am running into some real problems with what I thought would be a relatively simple thing to do. In a nutshell, I'm stuck on trying to display data in a "GridView" which is tied to an "ObjectDataSource". In turn, this ObjectDatasourc...more >>

Web Service fail
Posted by ad at 11/29/2006 9:43:37 PM
I have a web service in http://xxx.xxx.xxx.xxx/HealthService/Service.asmx When I enter the URL in browse, it run ok. But when I call it by web service client, it fail with message: can't connect to remote server. ...more >>

Capture screenshot of video automatically?
Posted by VB Programmer at 11/29/2006 7:06:55 PM
Using ASP.NET is it possible to capture a screenshot of a video (MPG, AVI, FLV, etc...) automatically? The end result being a JPEG. Kind of what google video, youtube, etc... does? ...more >>

Difference
Posted by rn5a NO[at]SPAM rediffmail.com at 11/29/2006 6:09:29 PM
I have a DataGrid named "dgUsers". The OnDeleteCommand event of the DataGrid invokes a handler named "DeleteUser". The OnUpdateCommand event of the DataGrid invokes a handler named "UpdateUser". This is the code: Sub DeleteUser(ByVal obj As Object, ByVal ea As DataGridCommandEventArgs) R...more >>

relative link
Posted by simonZ at 11/29/2006 5:38:09 PM
I have image folder in root folder of my application and one image inside it: /images/image.jpg How can I access to this image from all my subfolders using relative link? something like: ~/images/image.jpg where ~ means root folder of my application. <img src="~/images/image.jpg"> d...more >>

Bind ASP.NET Image Control
Posted by markcash NO[at]SPAM Hotmail.com at 11/29/2006 4:41:31 PM
I am trying to bind an ASP.NET image control to images stored locally on the hard drive of the web server. The images will be frequently changing so I am dynamically creating the filename. I am using File.Exists and it returns true, but when I try to bind it to the control, I am not getting the...more >>

Application_Start - does it run all the time?
Posted by Eric at 11/29/2006 3:41:54 PM
Simple stupid question. Web application in VS2005 - I want to run a thread that is active all the time as long as pc stays on. Is it possible in ASP.NET? Is the instance of web application destroyed when the client exits a web page? Or it runs continuously. Application_Start event fires 1 time o...more >>

Add new record to database
Posted by Marko at 11/29/2006 2:20:44 PM
I am trying to add new record in database. There is no compile error but program is not adding any record to database. Hot to fix it? This is my code: OleDbDataAdapter odbAdapt; DataSet dsObject= new DataSet(); DataTable dtObject; string SQL; string ConnStr; int BrojSlogova; ConnStr =...more >>

How to read long url with parameters from WEB.CONFIG ?
Posted by SMichal at 11/29/2006 1:38:44 PM
Hi, how can I read this link with parameters from web.config ? There's syntax error when I try to define it in web.config. http://dotnet1/carspecs/options.asp?language_id=3&specsdb=SSCD_CS2002&target_currencies=EUR&projectdb=carspecs_PROJECT&screen=options&category=O&init=" ...more >>

Retrieving client side control value using servre VB.NET
Posted by Kevin Humphreys at 11/29/2006 1:30:36 PM
Hi There, Is it possible to retrieve a client side control value using server VB.NET? Thanks, Kevin. ...more >>

Strange problem with HttpWebRequest
Posted by Blackstar at 11/29/2006 11:39:33 AM
I have a website I am trying to download a file from. This website is strange in the fact that there is no direct link to the URL of the file. The way the site works is as follows: 1) Enter in search criteria 2) Click on Download button to go to download page 3) Click on Download button on ...more >>

Master page and HTML FORM tag?
Posted by brett at 11/29/2006 11:27:04 AM
How can I use an HTML FORM tag on a content page that uses a Master page? The HTML FORM is now inside the Master page serverside FORM. I need to use the HTML FORM on a few pages. Thanks, Brett ...more >>

Extensive Web Charting
Posted by GW at 11/29/2006 10:34:06 AM
Hello, I am in the process of learning .net 2.0 / 3.0 c# using Visual Studio 2005. My machine has the .NET 3.0 framework installed. I have about 10 - 15 different tables, all requiring various bar charts and graphs - I am wondering if I should be attempting such a feat by hand, OR if I ...more >>

General Web Question
Posted by Brian at 11/29/2006 10:28:22 AM
I would like to build a scalable database web application. What is the best way to go about doing this? I'm looking for answers in terms of programming language and database backend. I know .NET and SQL server, PHP and MySQL. I've also heard of Ruby on Rails and AJAX. What are the pros and...more >>

Droplist in header template
Posted by NerdRunner at 11/29/2006 8:58:35 AM
Hello group, I am using a data grid with template columns. I have a drop list in the header of the template column that will allow users to select a value for filtering of the data in the grid. When would I populate the drop list? Sean M. Severson ...more >>

Postback thru javascript
Posted by krallabandi NO[at]SPAM gmail.com at 11/29/2006 8:41:09 AM
I have asp button control on the page. I need to check some condition before I postback the page. Actually it is posting back for both true, false conditions. I want to postback only if the condition is true. otherwise I want to stay on the same page. Note: I have many other asp buttons c...more >>

ASP.NET Localization and SEO
Posted by wwwmike NO[at]SPAM gmx.ch at 11/29/2006 7:13:25 AM
Is ASP.NET 2.0 localization functions an ideal solution for SEO. I am wondering I should use use localization features which would speed up things or just created a new page in the new language under a different name. Does localized pages get indexed for all cultures? I wonder if Google goe...more >>


DevelopmentNow Blog