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 > march 2008 > threads for tuesday march 18

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

can I progarmatically register asp.net to IIS
Posted by chandan at 3/18/2008 10:59:29 PM
Hi, I am using aspnet_regiss.exe utility from command prompt to register asp.net to IIS. But my requirement is to do it programmatically so that client need not worry about this registration. Can we do this programmatically?? Thanks Chandan...more >>


can I progarmatically register asp.net to IIS?
Posted by chandan at 3/18/2008 10:57:19 PM
Hi, I am using aspnet_regiss.exe utility from command prompt to register asp.net to IIS. But my requirement is to do it programmatically so that client need not worry about this registration. Can we do this programmatically?? Thanks Chandan...more >>

AJAX Toolkit
Posted by Scott M. at 3/18/2008 9:43:49 PM
How do I use the AJAX Toolkit? It seems that this is just one really big Visual Studio solution that consists of samples. How do I get these controls to show up in my toolbox when I build new projects? -Scott ...more >>

User Controls and CSS
Posted by Dune88 at 3/18/2008 8:28:03 PM
Hi there, I've got a user control that uses it's own CSS classes. At the moment, I've put those CSS classes in the <head> section of the ASPX page containing the user control. Ideally, I'd like the user control specific CSS to live with the user control so that the user control can be re...more >>

web service 401 unauthorized
Posted by kishan.bisht@gmail.com at 3/18/2008 7:27:11 PM
I am using Avanade ACA web services which I guess uses .net web services under the wraps. My requirement is use windows authentication and allow user identity to pass thru to the web service and then to a database. I have two websites in the same box - one is the UI and other is the webservic...more >>

css question
Posted by Keith G Hicks at 3/18/2008 6:31:57 PM
asp.net 2.0 I am just learning css. I created a css file for an aspx page. On the page I have several ASP:Label controls. I want them all bold. So I did this in my css file: label { font-weight:bold; } it did nothing to the page when I ran it. I added a cssclass="myclass" to one...more >>

problem with customvalidator
Posted by Jeff at 3/18/2008 4:11:00 PM
hey net 3.5 I have problem with a customvalidator. I enter values into the TextBox named "txt" and clicks on the save button (ibSave) then the TestValidate method get triggered. TestValidate set args.IsValid = false and the customvalidator displays an error on the webpage. The problem is...more >>

conditionally run Javascript alert
Posted by Seth Williams at 3/18/2008 3:31:18 PM
In the middle of my event handler (for a button), I have an if/then statement (using vb.net): if (whatever) then strScript="<script ....... strScript &= alert('This is an alert') strscript &="</script> ' this is all an abbreviated script - - but you get the idea response.write(strscript) en...more >>



Textboxes show colored backgrounds
Posted by Tina at 3/18/2008 3:02:09 PM
When my web pages display in my I.E. 7 Browser there are apparent random background colors in the textboxes - mostly yellow, sometimes green, some are white. This does not happen using firefox. My skin file calls for a white background in the text boxes. The same occurs if I remove the text...more >>

Refresh GridView from another page
Posted by David C at 3/18/2008 2:09:02 PM
I have an aspx page with a GridView named gvTasks that has a linkbutton on each row that calls up another pop-up window using the following js function: function openTask(id, coid) { var surl = "TaskEdit.aspx?id=" + id + "&coid=" + coid; void window.open(surl,null...more >>

Late & Early Binding
Posted by RN1 at 3/18/2008 2:03:37 PM
Is this late binding? -------------------------------------------------------------------------------- Dim dSet As DataSet dSet = New DataSet -------------------------------------------------------------------------------- & is this early binding? ----------------------------------------...more >>

Freeze Headers Spikes CPU
Posted by Ben at 3/18/2008 1:58:22 PM
Hi guys, i'm using this CSS style on my table header rows (gridview in my case) in order to freeze them from scrolling. ..LockedHeaderCell { position:relative; z-index:1; top:expression(this.offsetParent.scrollTop); } It works, but two issues with this approach: 1) it...more >>

Gridview Row Height in Opera
Posted by Phil Johnson at 3/18/2008 1:35:03 PM
Hi, I have a gridview and I need it to display correctly in Opera. I need to set the row height, so that even on the last page of data all the rows are the same height as on the other pages. In IE and firefox, setting a height in the rowstyle of the gridview and not setting any height o...more >>

Detect number of rows on last page of gridview
Posted by Phil Johnson at 3/18/2008 1:31:01 PM
Hi, I have a gridview with paging enabled. I need to know how many rows of data are on the last page!!! When I look at the Gridview1.Rows.Count in the Page_Load, it always returns the number that the paging is set to... currently 13, but if there are only 4 rows on the last page, I ne...more >>

Anigif's freezing during postback, but not when launched via Visual Studio
Posted by Microsoft Newsserver at 3/18/2008 1:26:22 PM
Hi, we have a progress bar which is revealsed before the postback occurs. basically, we add an onclick attribute to the submit button which reveals the progress.gif. This has the effect of showing progress while we are waiting for the back to come page from the server. Now, when we lanch...more >>

SiteMinder vs .NET Membership Provider/Forms Authentication
Posted by vcuankitdotnet at 3/18/2008 12:45:21 PM
Hi everyone, We are currently under-going a new security service and the company is leaning towards using SiteMinder. My question is: why not just use the .NET membership and roles provider and create a custom provider suitable to the business need? What else does SiteMinder do that the .NET ...more >>

Make content in <td> scroll
Posted by Lloyd Sheen at 3/18/2008 12:12:25 PM
I have now spent the entire morning on what I think should be easy. I cannot for the life of me figure out how to make a simple one row, two column table where is the contents of the one of the colums exceeds 100% of the height it should add a scroll bar to ensure that the table remains at ...more >>

mailer doesn't send till program ends
Posted by Web Search Store at 3/18/2008 12:00:04 PM
Hello, The code below works to send email through my email system. However, nothing gets sent till I end the program. I don't understand why. Maybe someone else does. Thanks for any help. Scott -------------------------- public sub sendemail() dim emails(5) as string emails(...more >>

NewBee Q: Saving TextBox data to Table and display a new page.
Posted by Martin Arvidsson, Visual Systems AB at 3/18/2008 11:28:19 AM
Hi! I have a couple of newbee questions. I have a .aspx page with a couple of TextBoxes and a submit button. Now... When i press the submitbutton i want the data in the TextBoxes to be saved in my Sql Table. Do i have to manually create an insert statement and get the text with the ...more >>

using string instead of int
Posted by mavrick_101 at 3/18/2008 11:04:00 AM
Often in code, when retrieving a value from table where I don't have to do any math calculations, I store the value in a string variable instead of converting to an int and then storing in an int variable. Do you guys see anything wrong with this practice? ...more >>

Very Slow VSS Development
Posted by md Webs Unlimited at 3/18/2008 10:25:09 AM
Using VSS 2008 Team Edition When debugging a ASP.Net web site the compile seem fast but starting the application in the web browser, using the development server with FF, takes a very long time > 1.5 minutes in most cases -- the browser appears with the following in the status bar waiting o...more >>

Is there any way to make the VS 2005 HTML designer show something approx to what I ask for
Posted by Lloyd Sheen at 3/18/2008 10:20:47 AM
Code is below. Why in the designer does it show as two rows of the same height? By the way this is just a small sample for discussion purposes not something I would do. The problem is that this is so far from a WYSIWYG that it defys purpose. Thanks <%@ Page Language="VB" AutoEventWi...more >>

How to get application ID from asp page?
Posted by Dan at 3/18/2008 8:58:39 AM
Hi, Is there a way to get app's ID from a page in asp.net? Having application name (from membership) I think I could query aspnetdb for the associated ID. Is this the only way? Thanks, Dan ...more >>

Ajax what could be causing this?
Posted by mazdotnet at 3/18/2008 8:26:57 AM
Hi, I have setup the AjaxToolKit on my box which works great (cleaned up their sample code for AutoCompleteExtender). However, when I import the same code in my current project, it doesn't fire the webservice that's suppose to return the auto complete results. What could be causing this in my...more >>

Refrencing DLL in ASP.NET 1.0 Inline VB SCRIPT?
Posted by wildman@noclient.net at 3/18/2008 8:17:33 AM
Old vb.net asp.net 1.0 vb.net website. We don't have sources, nor can I compile it. One the pages must be replaced to simply redirect to another webserver/ website page, but I need to send some of the session info that the site. Of course session info is lost. Challenge is I'd like to us...more >>

Advantages of using the Visual Studio Development Server (VSDS) compared to IIS
Posted by jeeji at 3/18/2008 6:02:40 AM
Hi I have just installed Visual Studio 2005, and ported a 2003 Web Application to VS 2005. I noticed that I can choose to debug my application using either the IIS Web Server or the Visual Studion Development Server (VSDS) - Are there any advantages in using the VSDS - Where can I find anyth...more >>

SQL question with Autocomplete
Posted by mazdotnet at 3/18/2008 4:44:19 AM
Hi, I'm working on a little autocomplete functionality with the AJAX toolkit. I like to the following, Take the following 2 SQLs SELECT NAME FROM COUNTRIES WHERE NAME LIKE '%TORONTO%' (would return false) SELECT NAME FROM CITIES WHERE NAME LIKE '%TORONTO%' (would return true) I like to...more >>

Breakpoint in jscript not being hit - answer but no solution
Posted by teddysnips@hotmail.com at 3/18/2008 3:58:15 AM
Yesterday I posted a message about a problem hitting a breakpoint when debugging Javascript in VS2003. Today I've found out what the problem is. I created a new VS2003 web solution with a single aspx page, with three controls - a text box, a check box and a submit button. I put the following...more >>

multiproject solutions
Posted by trullock@googlemail.com at 3/18/2008 2:41:17 AM
Hi, I have several websites which share 99% the same code. At the moment i use a text diff program to synchronize changes between each site. This is a right pain because theres lots of sites and lots of code! Because most of the code is the same, surely there must be some way i can share t...more >>


DevelopmentNow Blog