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 2004 > threads for thursday october 7

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

Javascript for Custom web control
Posted by No One at 10/7/2004 11:56:11 PM
I have a custom webcontrol that displays a menu bar consisting of a table with images. Each image as a link. The parts are made of Web controls, not straight html. I need to write a Javascript that will do an image swap on the mouse over event, but I cannot figure out how to get to the parts....more >>

System.StackOverflowException: Exception of type System.StackOverf
Posted by Patrick.O.Ige at 10/7/2004 11:55:05 PM
Error:- System.StackOverflowException: Exception of type System.StackOverflowException was thrown. When is this thrown.. Any ideas...more >>

NEWBIE QUESTION ABOUT LOGOUT
Posted by J at 10/7/2004 11:44:34 PM
Hi, I am using sessions to store user's login and other information on my asp.net pages, also I have a logout button on every page which will redirect user to log-in page. So what kind tasks I need to perform when user click 'logout' button? Thanks in advance....more >>

URGENT-- How to include asp pages in aspx page?
Posted by Tams TS at 10/7/2004 11:30:45 PM
Hi, am in trouble , please giv me some solution. scenario is like this; I have some asp pages and which are commerce server 2000 generated pages and going further am adding one aspx page to the existing app which is in asp. Please suggest me how to go about including thses asp pages in aspx ...more >>

CSS Style Sheets
Posted by Dave at 10/7/2004 11:14:37 PM
Hello. How can I specify CSS Style for the controls (CSS is in external CSS file)? ...more >>

FreeTextBox 2.0
Posted by Brian Henry at 10/7/2004 11:14:02 PM
the site for it is all messed up, and all the links seem to go to blank pages, does anyone know where I can get this at? thanks ...more >>

Cookies: Are they handled by HttpWebRequest and HttpWebResponse classes?
Posted by Ulrich Sprick at 10/7/2004 9:52:43 PM
Hi all, I am beginnig to try out the exciting Web stuff in .NET, so please forgive my perhaps silly question. I am trying to communicate with a Web server using HttpWebRequest and -Response classes from a WinForms application. The server may set and read back cookies. Do I have to support ...more >>

asp.net web farm configuration - (cookie domains?)
Posted by Martin at 10/7/2004 9:42:21 PM
I'm plannig an asp.net web farm. I expect to use a SQL database for session state management, ie. <sessionState mode="SQLServer" cookieless="false" .../> My application uses web forms authentication, with a secure cookie, ie. <authentication mode="Forms"> <forms name="mycookie" loginUrl=htt...more >>



Using application state in asp.net
Posted by Joshua Weir at 10/7/2004 9:13:01 PM
Hi, I am starting my first asp.net application and i have a number of aspx pages. To save the state of my variables at the server, do i use applicationstate and add the variables to it whenever they change? My application works so that i have a separate global functions class (globalfunc...more >>

Server and Client Scripting for a newbie
Posted by Joshua Weir at 10/7/2004 9:09:02 PM
Hi there, I am quite new when it comes to web development with ASP.net. I understand about the aspx file and the behind code (.vb). However I thought that asp is developed using asp code <% %> and client script. In the asp.net structure i have an aspx file that i add a button to. When i do...more >>

Arrrrg !!!! ObjectDataSource Issues
Posted by cwertman NO[at]SPAM webchamps.com at 10/7/2004 8:44:37 PM
I am having some serious problems with the ObjectDatSource in .Net 2.0 I can select as a dataset, I can update , I cannot for my LIFE Delete a record ! It keeps saying "Prepared statement '(@au_id nvarchar(4000))DELETE FROM [authors] WHERE [au_id] = @au' expects parameter @au_id, which was ...more >>

Parsing XML into Array (newbie)
Posted by Jason Williard at 10/7/2004 8:43:30 PM
I am working on a way to easily translate our website into several languages using ASP.NET. To do so, I would like to have an XML file for each language. The file would look like this: <language> <lang name="MENU_HOME">Home</lang> <lang name="MENU_DOWNLOAD">Download</lang> </language...more >>

Error when running site remotely
Posted by John at 10/7/2004 8:34:32 PM
Hi I have a perfectly fine running webform on the local server. When I upload the webform to a remote shared server I get the below error. Any idea what is causing this? Thanks Regards Parser Error Message: Could not load type 'Staff_Application.WebForm1'. Line 1: <%@ Page Langua...more >>

Viewstate problems in web farm
Posted by S S Venkatesh at 10/7/2004 8:29:22 PM
Hi, I'm involved in a ASP.NET web project with a web farm and load balancing(windows server 2003 ) with no afinity (no sticky sessions) and i am facing problems in view state. I get an error like this. Server Error in '/ViewState' Application. ---------------------------------------...more >>

screen scraping question
Posted by niv at 10/7/2004 8:23:35 PM
Hello, I would like to screen scrape certain parts of a webpage...how can I do this in asp.net For instance.... a stockticker thats embeded on a webpage.. I dont want the entire page.. I would like just the stock ticker... Thanks for your help, niv...more >>

Accessing Session variables from custom class
Posted by mohyneenm at 10/7/2004 8:13:05 PM
hi, as i understand we can read session or cache objects from a custom class using httpContext.Current.Session("..."). Is there a way to add/modify Session variables from the custom class? httpContext.Current.Session("...") doesn't seem to work :( thanks. ...more >>

How Dangerous Is Server.Transfer?
Posted by Guadala Harry at 10/7/2004 7:42:58 PM
I've been reading up on Server.Transfer as well as doing some testing, and it appears to always raise the ThreadAbortException error. On one hand I've read a bunch of promotional-type material touting the benefits of Server.Transfer and none of them mention ThreadAbortException - but the MSDN do...more >>

Show pictures in database on Webform
Posted by Greg Cyrus at 10/7/2004 6:43:57 PM
Is it possible to show pictures stored in a database on a Webform? Thanx in advance. Greg ...more >>

How can I allow access for a "ASP.Net" user in Excel?
Posted by Michael Tkachev at 10/7/2004 6:29:22 PM
Hello, I need to create an "Excel" file in the ASP.net. But a security system = doesn't allow to do it. What can I do? There is an exception heppens when I try to execute the = following row: Excel.ApplicationClass c =3D new Excel.ApplicationClass(); Exception Details: System.Unauthorize...more >>

Why ASP.NET is better then PHP?
Posted by S³awomir Adrych at 10/7/2004 5:43:05 PM
I am looking for any documents that compared ASP.NET with PHP. Best regard, Slawek ...more >>

Accessing Session information from Javascript
Posted by Jeronimo Bertran at 10/7/2004 5:37:08 PM
Hi, How can I access session information stored during the code behind from within my javascript? Example... in my javascript I have the following: var url = "RenderPage.aspx"; document.all.MyFrame.contentWindow.navigate(url); Where MyFrame is an IFrame..... inside the codebehind f...more >>

DataSet paging vs Datareader paging
Posted by Patrick.O.Ige at 10/7/2004 5:29:06 PM
I have been paging with DataSet using "DataGridPageChangedEventArgs" and i guess it works with only Dataset because default paging requires that the DataGrid be able to determine the number of total records in the DataSource.This is possible with the DataSet, but not with the SqlDataReader.. ...more >>

ASP .NET vs. ASP
Posted by Mohit Gupta at 10/7/2004 5:19:03 PM
Hi all, I have been thinking for long long time that how to create VB style class in ASP .NET page. Below I am writing code written in normal ASP that I want to convert to ASP .NET. I need your help for how to convert it. Please follow the code below ----------------------------------...more >>

Enabling or not a validator control using javascript
Posted by Eric Caron at 10/7/2004 5:00:37 PM
Hi everybody, I have a form where I have checkbox that triggers javascript code to make a div appear. This is when the user selects "Other" in the list of choices and we ask him to specify his choice using a textbox control. Now if the user has selected the "Other" choice, the entry of the i...more >>

define style sheet with data drom dbase
Posted by nicholas at 10/7/2004 4:35:54 PM
how can I have the stylesheet of my page defined from within my database. now there is just this: <link href="mystylesheet.css" type="text/css" rel="stylesheet" /> and I want this: <link href="generated_from_the_database.css" type="text/css" rel="stylesheet" /> My dbase connection etc is...more >>

If statement in a repeater control
Posted by Fernando Chilvarguer at 10/7/2004 4:34:19 PM
My problem: I have a field in a database table that contains URL info. The values can be: 1. A Url 2. Null If the value is null I still need to display the record but not the url link. How do I accomplish this with the ASP.NET repeater control? In regular ASP I would just do somethi...more >>

Inheritance
Posted by Bart Schelkens at 10/7/2004 4:31:26 PM
Hi, I'm writing a programme in VB.Net with winforms. My boss has changed his mind and wants me to redo the programme using webforms. My question is this : is it possible to have a basic webform with some controls on it and then have other webforms inherit from this form ? Thx for the inf...more >>

GridView Formatting
Posted by sck10 at 10/7/2004 4:29:21 PM
Hello, How do you change the color of the gridlines in the GridView control? I have tried changing the following, but only the border changes to black, but the grid lines stay a light gray: BorderColor="#000000" BorderStyle="Solid" RowStyle-BorderColor="#000000" RowStyle-BorderStyle="S...more >>

System.Runtime.InteropServices.COMException: Class not registered
Posted by Donnie at 10/7/2004 4:11:01 PM
Hello, I'm trying to develop an ASP.NET application that uses a third-party COM dll. I've added a reference to the dll in the web app project along with adding a "using" directive in the code-behind (referencing the COM namespace). Every time I try and run the application and call methods o...more >>

common assemblies
Posted by Param R. at 10/7/2004 4:05:27 PM
Hi all, is there anyway to install an assembly so that I dont have to reference it in all my .aspx pages with the import directive? The assembly is registered in the GAC and also added to the <assembly> section in machine.config TIA! ...more >>

Tree View for WebApp
Posted by Just D. at 10/7/2004 4:00:40 PM
Do we have a TreeView to show something like question/subquestion list? Just D. ...more >>

sort tables more comfortably
Posted by Thomas Tomow at 10/7/2004 4:00:02 PM
Hello, I have to sort a table. Ok, that's not realy a problem, but I have to do it with a HTMLTable via ASP.NET. The task is to click the header row and get the sorted result. The table is generated dynamically with the help of a dataset, a repeater and a dataview. The problem is, that I hav...more >>

How to Access Virtual Directory???
Posted by Steve Taylor at 10/7/2004 3:40:56 PM
I have a WEB Farm with 2 servers. When running Reporting Svcs I stream the output to a shared dir on one of the servers. Both servers have no problem with this. The 2nd server tho is unable to load the URL containing the file (from the 1st server). Any Ideas on how to use a single virtual l...more >>

show real time alert when data entered in a table in database
Posted by rana at 10/7/2004 2:35:32 PM
Is there you to show message to all asp.net users when any data get entered in a table in the database. Just to give an idea I am trying to show Outlook webaccess style alert that it shows when new mails come. ...more >>

ASP.NET+Javascript
Posted by Surjit Madiwalar at 10/7/2004 2:17:45 PM
Hi, Main Box Box 1 ---------------------- --------- | | -> | | | | <- | | | | -------- | | Box 2 | ...more >>

dynamically generate script block and attach to event
Posted by Nikhil Patel at 10/7/2004 2:11:04 PM
Hi all, Is it possible to add two lines of javascript code from code behind at runtime and link it to a DropDown control's SelectedIndexChanged event? Thanks. -Nikhil ...more >>

MailTo Link in GridView
Posted by sck10 at 10/7/2004 2:11:03 PM
How do you create a MailTo Link using the GridView Control with a boundfield element: <asp:BoundField HeaderText="Doc Group" DataField="strSubmitter" /> For example, I can use the following in the repeater control: <a href="mailto:<%#Eval("strOwnerEmail")%>"><%#Eval("strSubmitter")%></a> -...more >>

User control with dynamically created link buttons -- Issue
Posted by geeksgk NO[at]SPAM yahoo.com at 10/7/2004 1:35:41 PM
I'm have coded a simple menu (using link buttons as menu items) in a user control to be reused across many ASPX pages. In the page_load method I dynamically create the link buttons as follows LinkButton myLB = new LinkButton(); ......... ......... I put the above code inside a for loop ...more >>

Redirect Options
Posted by Guadala Harry at 10/7/2004 1:31:58 PM
I need to add logic to the Page_Load event behind a site's default.aspx; that will allow either default.aspx to load - OR load a completely different page instead of default.aspx. The other pages to possibly load exist within that site. The site owner says he wants to be able to specify any of hi...more >>

Redundant ASP.NET SQL command executions.
Posted by John Walker at 10/7/2004 1:07:01 PM
Hi, In order to have my application give the best performance, I'm trying to design my ASP.NET page where I will only have to populate my DataReader once. It is a simple application where we accept date range from the user, and any records in our SQL table, called SHIPMENTS, which has a valu...more >>

Good defect tracking system for software development
Posted by Shaw at 10/7/2004 12:37:01 PM
We develop ASP.NET based web application for a while, and don’t have defect (bug) reporting and tracking system for development right now. We consider using defect report and track software. There is tan of similar software there, but we don’t know which one is good enough and not costs us...more >>

httpHandlers for child directories
Posted by Grant Harmeyer at 10/7/2004 12:33:55 PM
How would I set up an httpHandler so that it would only apply to certain child directories of the application? I.E: <httpHandlers> <add verb="*" path="/files/*/*/*/*.aspx" type="App.HttpHandlers.ThreeDeepPage, App" /> <add verb="*" path="/files/*/*/*.aspx" type="App.HttpHandlers....more >>

Good Auto test tool for ASP.NET web applications
Posted by Shaw at 10/7/2004 12:07:02 PM
Does anyone know where I can find good and reliable automated test tools for ASP.NET web applications. I need some basic test features, such as detecting crash, stress test… We have very limited budget, perhaps few hundreds dollar. So, low cost and freeware are very welcomed. Thanks ahead. ...more >>

dataview
Posted by nicholas at 10/7/2004 11:48:18 AM
think it's rather simple...but don't know how. Showing bound data on a page is quite simple if you use a datagrid, datalist, etc. But I just want to put some databound items on my page, without datagrid, etc. (And there will be just 1 record selected, so no repeating problem) So, here is...more >>

Max Array index
Posted by Freddy at 10/7/2004 11:46:59 AM
Hi, What is the maximum number of items that a single or multi dimensional array can hold? Regards, Freddy ...more >>

Session variable got lost after I switched to another server
Posted by Vlady at 10/7/2004 11:39:02 AM
The scenario is the following: from the login page I set a session variable like Session["USERID"]=3; Server.transfer("anotherpage.aspx"); In anotherpage.aspx in page load I check to see if that Session is null, if it's not show a javascript message window with the ID. The funny thing is th...more >>

passing in parameters
Posted by Tommy at 10/7/2004 11:32:53 AM
i'm new to asp.net, and i need to create a link in an email that will pass to a web page the email address as a parameter. I'm not sure how to grab the parameter from the web page? thanks!...more >>

Dynamic Table Control placement
Posted by klynn at 10/7/2004 11:25:08 AM
I have 2 Table Controls generated with Visual Studio .NET. I dont know how big the first one will be until after page load (this page is called from somewhere so the tables rows/columns vary each time). So I need to place the second one below the first one automatically. Plus I'll also be plac...more >>

Application_Error not Transferrig to custom page
Posted by MattC at 10/7/2004 11:19:33 AM
When a System.ArgumentOutOfRangeException is throw it gets caught in my = Application_Error event. But I want it to be dealt with and then passed = to a specific page. I dont want to use redirect becuase i want the = Server info that gets picked up by Error.aspx page. Instead of = transferrin...more >>

Creating Custom Controls
Posted by Ryan Wade at 10/7/2004 11:10:55 AM
I created a custom control that works great if you drop it on the web form. If I dynamically create it by this.Response.Write("<td>"); this.Response.Write("<uc1:EnterCase id=\"cEnterCase\" runat=\"server\">"); this.Response.Write("</uc1:EnterCase>"); this.Response.Write("</td>"); The ...more >>

Create Datagrid Controls as runtime
Posted by david.wade NO[at]SPAM raymondjames.com at 10/7/2004 11:08:08 AM
I'm driving myself nuts trying to find a good tutorial in vb.net to create a datagrid at runtime. I've got how to do it at design time, but I'd like to build a class that handles all of the coding so I don't have to do it every time. Does anybody know of a good tutorial that covers adding colu...more >>

client script syntex error
Posted by Nikhil Patel at 10/7/2004 10:54:46 AM
Hi all, I have the following code in the asp.net page added at runtime using RegisterStartupScript. But I get an error in the browser(syntex error-no details). DisplayLookupValues is a function declared as protected in code behind file. Thanks. <script>EditLookup("LeaseType",45); <% Di...more >>

My ASp.NET application just stoped working..
Posted by Lars Netzel at 10/7/2004 10:52:01 AM
Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceExc...more >>

default website
Posted by js at 10/7/2004 10:24:11 AM
Does anyone know how to create a web project with Visual Studio.Net 2003 on IIS6 running on Windows Server 2003? The IIS has the default website disabled, and a new website is created. I have been developing ASP applications on this new website by editing individual file in Visual Studio, beca...more >>

HTML code warnings in asp.net html code view
Posted by Craig Kenisston at 10/7/2004 9:59:38 AM
Hi, This is a silly question. I'm relatively new to asp.net and asp at all. But I always had this doubt. I'm working with Visual Studio and while exploring the ASPCommerce starter kit, when I switch from design view to html code view, I see many keywords underlied, like if they were inva...more >>

Validation across user controls?
Posted by Neil at 10/7/2004 9:43:06 AM
Hi, Does anyone know if it's possible to do validation across 2 different user controls? I have a custom datepicker control in the first user control and several datapicker controls in a second user control. I want to (client side) make sure the user cannot select a date in the second us...more >>

Cache DataSet
Posted by Nikhil Patel at 10/7/2004 9:38:47 AM
Hi all, If I want to access the contents of a DataSet in multiple ASP.Net form requests without manually saving it in Cache, do I have to add the DataSet to the form at design time or can I just declare it as Protected and the Form will save its contents? Thanks. -Nikhil ...more >>

Base Page inheritance in ASP.NET 2.0
Posted by Craig Street at 10/7/2004 9:38:38 AM
Hi How do i create a base page in ASP.NET 2.0? I don't want to use master pages as I don't need any visual inheritance. You could do this simply in ASP.NET 1.1 by creating a base page that inherted form System.Web.UI.Page and then ensuring that all of your pages inherited from your own base...more >>

Simple (I Think!) Question
Posted by Derek Martin at 10/7/2004 9:32:11 AM
I am new to ASP.NET but fairly good at VB.Net. I have an ASP.Net web project going (VB.Net as the codebehind). I have created a page that I dropped a DropDownList and a button on. I populated the dropdown list in the Mybase.Load with some strings. When I click the button, I need to get t...more >>

ItemDataBound event of DataGrid
Posted by Dave at 10/7/2004 9:31:58 AM
Hello. How can I field value in ItemDataBound event of the DataGrid control? I'm writing: e.Item.Cells[0].Text; But this always returns empty string:( Thank You. ...more >>

Page Inheritance in ASP.NET 2.0
Posted by Craig Street at 10/7/2004 9:29:13 AM
Hi How do i create a base page in ASP.NET 2.0? I don't want to use master pages as I don't need any visual inheritance. You could do this simply in ASP.NET 1.1 by creating a base page that inherted form System.Web.UI.Page and the ensuring that all of your pages inherited from your own ba...more >>

Fileuploading?
Posted by Lars Netzel at 10/7/2004 9:28:05 AM
Is there something build into ASP:NET to upload files to the webserver? /Lars ...more >>

View some custom text in DataGrid
Posted by Dave at 10/7/2004 9:22:08 AM
Hello. I have a boolean field in my database (true=1, false=0), nowwhen I bind data to my DataGrid it shows me "1" or "0", but I want while displayng this data show some ohter text, for example if field is 1 show "Active" and if 0 "Inactive"? How can I do this? Than You. ...more >>

ASP.Net and Excel Process is not killed. Unmanged code problems
Posted by Praveen K at 10/7/2004 9:13:02 AM
I have a problem in communicating between the C# and the Excel Interop objects. The problem is something as described below. I use Microsoft Office-XP PIA dll’s as these dll’s were been recommended by many for web applications. I create the instances of Excel, Workbook and the worksheet...more >>

Writing code that use a "FormElement"
Posted by helen NO[at]SPAM helephant.com at 10/7/2004 9:07:05 AM
Is there a generic way to deal with html form elements in ASP.NET? A couple of the components I've written only really need to know that they're dealing with an element that has a value and can do a postback but I've had to write seperate classes (or horriblely hackish code) to make the componen...more >>

DataGrid, DataAdapter, SP Parameters?
Posted by James at 10/7/2004 9:02:20 AM
I have an sp with paramaters like this: ALTER PROCEDURE dbo.SomeProc ( @SortBy varchar(50) = NULL @ShowComplete bit = 0 @StaffID int = NULL ) AS DECLARE @SQL varchar(2500) SET @SQL = 'SELECT StaffID, Status FROM SomeTable ' IF @StaffID IS NOT NULL SET @SQL = @SQL + ' WHERE St...more >>

How to Get a collection of page-names from your current project
Posted by Yidaki NO[at]SPAM hotmail.com at 10/7/2004 8:31:06 AM
I have a testproject with a number of pages. Here I want to build a Array with all page-names(physical name & ID's). This array will be used to fill a listbox/table/ something else. QUESTION : How to get all pages within your project??...more >>

Firing Events of dynamically loaded User Control
Posted by Raed Sawalha at 10/7/2004 8:20:16 AM
I am trying to sort a DataGrid in a user control that is programatically loaded when a link button is clicked. UC1 is loaded onto Page1.aspx after clicking a link button. No problem, loads fine. How do I call the following event on UC1 when the sort collumn of the data grid is clicked? Sub ...more >>

checkbox
Posted by Mike at 10/7/2004 8:11:04 AM
I have several checkboxes on my screen and i only want to show the data associated with the checkboxes that the user selected. Is there a way to do that? ex: checkbox1 BMW checkbox2 Chevy checkbox3 Jag if checkbox1 and checkbox2 are checked then i only want to see BMW, and ...more >>

Critical section in WebForms
Posted by Christian at 10/7/2004 8:07:06 AM
I have a class named AccessClass to access a legacy system. In a webform i instanciate an AccessClass object named myAccess and i call a method : myAccess.accessmethod() I want to insure that no two webforms run simultaneouslly the code in accessMethod() So the code of accessMethode() is ...more >>

Placeholder or Panel
Posted by gordingin NO[at]SPAM consiliumsoft.com at 10/7/2004 8:01:32 AM
What is the difference and why would you use or the other if you just need a place to hold other controls? Thanks Ralph Krausse www.consiliumsoft.com Use the START button? Then you need CSFastRunII... A new kind of application launcher integrated in the taskbar! ScreenShot - http://ww...more >>

Postback Events Not Raised
Posted by Solel Software at 10/7/2004 6:45:07 AM
Hi, I have a user control embedded in another user control that is embedded in a web form Page.aspx < Module.ascx < ProblemHere.ascx In ProblemHere.ascx I have a regular <asp:Button and a <asp:LinkButton and am attempting to raise the Command event when one or both are clicked. Unf...more >>

Databinding to a lookup table in an edititemtemplate class
Posted by david.wade NO[at]SPAM raymondjames.com at 10/7/2004 5:52:46 AM
Good morning. This group has been a great help so far, and it is much appreciated. Here's my new question. I want to be able to create a datagrid at runtime, which will have template columns for editing. I have a table called company that has a field called business model id. That id is a ...more >>

get value of asp:ListBox
Posted by Dan Nash at 10/7/2004 5:07:03 AM
Hi again! Right, okay... im now trying to get the value of an <asp:TextBox> control. so I have on my ASPX page... <asp:ListBox id="results" runat="server"></asp:ListBox> <asp:TextBox id="txtSelected" runat="server"></asp:TextBox> In my code-behind Page_Load i have.. results.Items.Add("D...more >>

ASP.NET + VBSCRIPT
Posted by Ana Rita at 10/7/2004 4:59:02 AM
Hello to all. I’m using a vbs file in a aspx page. In the page load I add the attribute onclick to a web button control , a sub define in my vbs file. Something like this: Btn.attibutes.add(“onclik”,”vbscript:teste”) The sub teste after fill the bookmarks in a word document...more >>

Need help for the .net
Posted by phangmo NO[at]SPAM gmail-dot-com.no-spam.invalid at 10/7/2004 4:00:05 AM
Hi, When I run my program at home, there's no problem. But when I run it in office, I've got this error: ----------------------- Unhandled Exception: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. at System.Net.HttpWebRequ...more >>

best way to open a popup with vars
Posted by Dan Nash at 10/7/2004 3:55:03 AM
Hi I want to be able to click an item in a list, and a new window popup. Obviously i would use window.open in javascript within a RegisterClientScript thingy. However, i want to pass the id of the selected list item to the new popup window. SO presumably i cant use RegisterClientScript? ...more >>

SSL from a web user control?
Posted by Thomas Andersson at 10/7/2004 2:19:02 AM
Hi all, Is it possible to have a specific postback from a non-SSL page to be SSL enabled? I want to have a login form (which is a web user control) on my starting page and if the user logs in I want to do a post back with SSL (https...) to my server. Please note that I do not want the start...more >>

passing variables to a user control
Posted by Dan Nash at 10/7/2004 1:41:03 AM
Hi I'm new to C#, moving from ASP, and slightly confused so bear with me! Basically I've got 4 pages, each of which runs the same user control (some header information). I want to be able to change the data in the user control based on the page (everything else would be duplicated, hence t...more >>

Performance and nitty gritty things like this.member v member
Posted by foldface NO[at]SPAM yahoo.co.uk at 10/7/2004 1:33:18 AM
Hi Is there any difference between using this.member and member performancewise. I'm sure I could find out if I could read the decompiled stuff but I can't yet. In general is there any info out there on what you might call the hidden performance hits, equivilent to "Inside the C++ Object M...more >>

Approach to get a common layouts
Posted by Craig Kenisston at 10/7/2004 1:32:04 AM
Hi, I'm developing my first asp.net application. It will be a small e-commerce site, with product catalogos, shoping cart, etc. I started to develop using a single page, the default.aspx, and having all the content in User Controls. The header, footer and menu are user controls, as well...more >>

Datagrid not paging
Posted by Patrick.O.Ige at 10/7/2004 12:25:01 AM
Hi Guys, I have a datagrid wit editing and updating. But after adding Paging IT WON'T PAGE!! It compiles well but when i click on the paging link it doesn't go to the next link.. When i remove AllowCutomPaging it gives error:- "AllowCustomPaging must be true and VirtualItemCount must be...more >>

Error running site remotely
Posted by John at 10/7/2004 12:20:09 AM
Hi My site runs fine locally but when uploaded to a remote server gives the below error. What is the problem and how can I fix it? Thanks Regards Parser Error Message: It is an error to use a section registered as allowDefinition='MachineOnly' beyond machine.config. Line 13: <...more >>

Dear MVP; ASP.NET 2.0 combo box questions.
Posted by Asha at 10/7/2004 12:11:02 AM
Greetings, The current asp.net 1.1 combo box allow auto postback, and when this happens, the whole page actually refreshes its self. But with the advent of xmlhttp, we can solve this matter. Can MVP or anyone who is familiar with asp.net 2.0 clarify this matter for me which is, does asp.net...more >>


DevelopmentNow Blog