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 > may 2007 > threads for friday may 4

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

Some basic questions.
Posted by jack at 5/4/2007 11:08:45 PM
1. Can viewstate of one page be posted in other page. in 1.1 or 2.0 ? ...more >>

column.width and data update
Posted by L.Peter at 5/4/2007 10:45:35 PM
Hi Group, I have a gridview bound to a sqldatasource, this datasource pulls data out from select and update procedures with 10 update parameters the gridview has 15 columns, in edit mode, I want to hide some columns by setting gridvew1.columns[7-15].visible = false. so users can focus on 2 edit...more >>

ASP Syntax using Variable for DropDownList1 as criteria in Pervasive SQL query
Posted by bryant NO[at]SPAM 4dnssupport.com at 5/4/2007 10:09:11 PM
Hi all. I am new to ASP and working in Expression Web. The following query displays the information I need in the gridview for a single record. SELECT "OE_HDR"."ORD_NO", "OE_HDR"."CUST_NAM", "OE_HDR"."SLS_MAN_NO", "OE_HDR"."SLS_MAN_INITIALS", "OE_HDR"."ORD_DAT", "OE_HDR"."SHIP_DAT" FROM "O...more >>

Server tags cannot contain <% ... %> constructs
Posted by lm Jr at 5/4/2007 8:59:57 PM
<cc:SourceWindow id="SourceWindow1" FileName="<%=Request.ServerVariables["PATH_INFO"]%>" RunAt="server" > The above produces the following error: Server tags cannot contain <% ... %> constructs. Any idea, what to do here? I am an old ASP programmer. Thanks for help ! LMJ ...more >>

file searching in given directory or drive
Posted by Timothy at 5/4/2007 8:26:38 PM
Hi All, Please everyone this is my humble request to all of you if you please have idea about my question then please help me with your master ideas. I have requirement that i should either have windows or ASP.NET Application using VC# - there is start date and end date and there would be thre...more >>

Controls in VS2005
Posted by stephen at 5/4/2007 6:02:28 PM
Hi all, I am new to VS 2005. In 2003, when you drag and drop a web control for e.g. a textbox, in the code behind, it automatically creates "protected System.Web.UI.WebControls.TextBox textbox1" but I do not see this VS 2005. can you please tell me where is it written/created? Thanks, ...more >>

What that site is running?
Posted by ASP.NET explorer at 5/4/2007 5:52:26 PM
http://news.netcraft.com/ has a simple utility "What that site is running?" that lets us know the server software of a website. http://toolbar.netcraft.com/site_report?url=http://www.sap.com I am just wondering how this checker utility can coded in C-sharp? Thanks, lmn ...more >>

Error checking
Posted by JJ at 5/4/2007 5:16:36 PM
What's best practise in this situation: Upon submitting data input on a detailsview (bound to an objectdatasource), I need to check for a duplicate email address (in an sql database) and present the error message (if the email already exists) on the detailsview. The data is strored in the ...more >>



dynamic user controls in compiled site
Posted by germ at 5/4/2007 4:31:26 PM
I am moving a web application from 1.1 to 2.0 This site builds pages dynamically as : PlaceHolder.Controls.Add(LoadControl("~/Controls/Ctl1.ascx")); Everything is working fine as long as the web site is updateable - the .ascx files exist on disk. I would like to use the non-updateable and sin...more >>

java script to validate combobox
Posted by bbawa1 NO[at]SPAM yahoo.com at 5/4/2007 4:07:58 PM
have to validate my web page using java script. I have one dropdown list also . I need a javascript to validate weather any item in dropdownlist is selected or not. e.g ddlDrop is my dropdownlist. To validate other controls I am using following function validate() { if (document.getElementB...more >>

emulating window.focus in Body onload() event and setting focus to a control on same page
Posted by Jason at 5/4/2007 3:46:45 PM
Hi, Here's the scenario: I have a web application that has window A and window B. A user has both window A and B open - window A is in the foreground and window B is behind it. If the user looking at window A clicks the "open window B" link, I want window B to come to the front. M...more >>

web.config ignored!?!?!
Posted by Jonny Bergdahl at 5/4/2007 3:33:49 PM
I have a ASP.Net 2.0 web application that I am trying to debug. Problem is that I can't get the error message to show in the browser. It always returns the generic error message telling me to set customErrors="Off". Problem is I have already done that. I have tried to activate tracing as we...more >>

Win 2003 svr/ASP.NET 2.0 UNC share
Posted by Langedal, Roger at 5/4/2007 2:15:46 PM
I'm trying to setup a simple test on writing to a file on an UNC share from an asp.net 2.0 webpage. This is whats happing in default.aspx: ----------------------------------------------------------------------------------- Dim path As String = "\\remoteserver\testshare" Response.Write(User....more >>

URL Rewriting
Posted by Tony at 5/4/2007 1:57:25 PM
I want to rewrite URL in asp.net 2.0 but I can't. I wrote this in web config file: <urlrewrites> <rule> <url>/urlrewriter/show\.asp</url> <rewrite>show.aspx</rewrite> </rule> <rule> <url>/urlrewriter/wohs\.asp</url> <rewrite>show.aspx...more >>

Getting error referencing Hyperlink from code-behind
Posted by John Kotuby at 5/4/2007 1:26:39 PM
Hi guys... I must be going brain dead from working on this project for 80 hours in the last week. I suppose that's part-time for some coders.. anyway... I created a simple Hyperlink in a user control: <asp:HyperLink id="lnkRefine" runat="server" >Refine Search</asp:HyperLink> In the code...more >>

& and &amp;
Posted by Tony at 5/4/2007 1:20:00 PM
I see that many pages have &amp; in querystring instead &. What is difference? Can I put page link (url) www.mysite.com/mypage.aspx?lang=EN&ID=15 or I need to write www.mysite.com/mypage.aspx?lang=EN&amp;ID=15 What is difference between & and &amp; and what is better? ...more >>

Adding to listbox without refreshing..
Posted by JJ at 5/4/2007 12:28:47 PM
I want to have two lists (may have to be listboxes) on a page that are populated from a database. I then need to be able to click on an entry in one box and add it to the other, _preferably_ without refreshing the page. Is this possible? Am I coming across another reason to venture into AJ...more >>

Adding several records at once
Posted by JJ at 5/4/2007 12:22:54 PM
I have a need to add several userid's (for example) to a table in an sql database. The usernames will all added to a listbox (or similar) and a 'submit' button will be clicked to send them to the database. I have a stored procedure which adds once username at a time. I therefore wondered wh...more >>

Graphical display of data
Posted by JJ at 5/4/2007 11:49:53 AM
Just wondered what is generally used to display data in graphical form? (i..e I have some simple data to display in a bar graph/pie chart for example). ? JJ ...more >>

button Click event
Posted by bbawa1 NO[at]SPAM yahoo.com at 5/4/2007 11:45:23 AM
I have a button( btnLogOut)in my master page. In page_load event of this master page I want to verify if the button is clicked or not. How can I do that. Thanks in advance. seema ...more >>

different results from compiled dll deployment to different server
Posted by bic at 5/4/2007 11:35:01 AM
I am getting a "Unable to Process The Request The page you are requesting cannot be displayed, please try again." when I attempted to bring up the login page before hitting the new page I am deploying. This happens on our staging server although I have no problem running everything on our d...more >>

Can no longer publish my web site project
Posted by Jason at 5/4/2007 11:04:19 AM
Hi all, I am no longer able to publish a web site project using Visual Studio 2005 Professional. I am publishing it to an FTP url, and this used to work just fine. I enter the username and password and select "passive mode" when publishing the site, like I have always done. Visual Studi...more >>

Preferred method of debugging SQL statement
Posted by Larry Bud at 5/4/2007 10:36:46 AM
What's the preferred method of debugging SQL using ASP.NET 2.0 and VWD or Visual Studio 2005? For now, I'm just using SQL Profiler to trap the SQL statement, but that seems a bit kludgy. Any way to set a break point and see the actual SQL statement being sent to the SQL server? ...more >>

SqlDataSource not loading on page load
Posted by David Lozzi at 5/4/2007 10:32:25 AM
Howdy, I have a gridview and a sqldatasource. i need to do a little processing before I can let the GridView run and load from the SqlDataSource. I have the query I need already in the SelectCommand of the SDS so it runs when the page is first loaded. Is there a way to stop it from loading ...more >>

Lowered version of columns in Asp.Net membership.
Posted by fischermx NO[at]SPAM gmail.com at 5/4/2007 10:22:47 AM
I've found several columns like: LoweredUserName LoweredEmail etc Why are this column needed? ...more >>

help with code in displaying images
Posted by vncntj NO[at]SPAM hotmail.com at 5/4/2007 9:58:11 AM
I'm trying to display an image that is stored in a sql server db. <asp:Repeater ID="RepeaterControl" runat=server DataSourceID="SqlDataSource1"> <HeaderTemplate> <table border=1> </HeaderTemplate> <ItemTemplate> <tr> <td><asp:Image id=Image1 run...more >>

Providing Credential without login screen
Posted by TJO at 5/4/2007 9:27:40 AM
Can someone advise about feasibility of passing user credentials to an asp.net 2.0 application using query string or other techniques? I want to avoid the login screen. Thank you. ...more >>

do i have to do this the old fashion way
Posted by rodchar at 5/4/2007 9:01:04 AM
hey all, if i have a GridView of records which contain a start and end date for each record and i need to validate these dates to make sure: 1. they are valid dates 2. dates don't over lap among records 3. there can only be 1 record that has a null end date to represent a arbitrary current r...more >>

what does this mean again...
Posted by rodchar at 5/4/2007 8:56:02 AM
hey all, in a web.config, what does the following mean? allow users="*" Does this mean all intranet users? thanks, rodchar...more >>

AJAX and .Net
Posted by HockeyFan at 5/4/2007 8:20:15 AM
I'm new to AJAX, but wanting to use it in my ASP.Net app. I've done a simple example that I read about that adds 2 numbers and puts up an alert box. Now I want to do something real world and having trouble. I have a form with a bunch of information that the user fills out. I then an putting...more >>

custom serialization
Posted by AVL at 5/4/2007 7:02:05 AM
Hi, I'm new serialization concepts....I need some hwlp.. I've a class defined as follows class CustomSerialization1 { private string s; public string Test { get { return s; } set { s = value; } } private int i; ...more >>

GridView DataFormatString at RunTime
Posted by bsm at 5/4/2007 6:58:08 AM
I have created GridView and assign Datasource at RunTime. I need to format one Column which will have the following data. Start_date Want to Format as Start_date -------------- ------------------------------------------ 10-Mar-2005 10:50:00 ...more >>

problem with saving global login information
Posted by linda.chen NO[at]SPAM faa.gov at 5/4/2007 6:48:16 AM
I am not an experienced asp.net developer. A while ago I created a website related to my other project, which requires login before start. I created a global.asax file, set the user name and a couple other information as properties of global class. I get and display the user name in each we...more >>

Problem with hyperlinks
Posted by rcoco at 5/4/2007 5:22:04 AM
Hi all, I have this big problem with hyperlinks I would appriciate any help please. My web site has two datagrids on the same page. And one has a list of names of the users which are in form of hyperlinks. The second datagrid is for inserting data, and when a user inserts data I used 'Window...more >>

How create a general class from System.Web.UI.Page?
Posted by Pasquale at 5/4/2007 5:19:01 AM
I'm programming in ASP.NET 2.0. For a set of applications I need to create some general classes that inherit from System.Web.UI.Page. In particular, I have tried to construct a class (from System.Web.UI.Page) that must be the base class for other inherited objects. But I have tried to aknowl...more >>

asp.net error writing to database
Posted by Harrison Schofill at 5/4/2007 4:52:01 AM
I've got a developer who is running into problems getting a web app to write to a SQL database. I am posting his error message. Any ideas? Server Error in '/CTRS Web' Application. -------------------------------------------------------------------------------- Could not find a pro...more >>

important query:::::
Posted by bushi at 5/4/2007 4:33:57 AM
hi every one! i'm developing a web application in asp.net,c#(VS 2005). for the security of the administrator i have to pass some information to the next page(as we can do with html pages using query string).so that user cant directly access that page.i tried the same thing with ...more >>

Help me - Visual Studio debug error
Posted by mauridepa NO[at]SPAM gmail.com at 5/4/2007 2:17:12 AM
I have Windows Vista with Visual Studio 2005 SP 1 i have a problem with debugger, when i start debug display this error: Unable to attach to application 'WebDev.WebServer.exe' (PID: 4832) using 'namePc'. A Microsoft.NET Framework component diasymreader.dll, is not correctly installed. Please re...more >>

datgrid to excel with image
Posted by joy at 5/4/2007 12:33:19 AM
Hi. I have a datagrid which displays images in cells. User wants to download the grid data as excel file. Now, if datagrid contains only data, it is fine. But if it contains some images, images are not displayed in the excel.is it possible to display... ...more >>

How can I duplicate the form data?
Posted by Harry Haller at 5/4/2007 12:00:00 AM
I want to duplicate the form data, edit it to remove some items (such as __EVENTTARGET, __EVENTVALIDATION, etc) and save it to a log. How can I make a duplicate (editable) copy of the Form Collection? The Form Collection is of type NameValueCollection is, underneath the covers, an object o...more >>


DevelopmentNow Blog