Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > june 2006 > threads for monday june 5

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

Authorization & Theme
Posted by Anthony Small at 6/5/2006 10:07:28 PM
Hello, I have a login.aspx page that is associated with a theme. When I view the page login.aspx with forms authentication/authorization set as below in the web.config file the theme displays on the page as expected. <authentication mode="Forms"> <forms loginUrl="~/Pages/Login.aspx" p...more >>

ajax
Posted by jack at 6/5/2006 9:07:01 PM
Hi all i have just tried an example of ajax. i just wanted to know is ajax possible in asp.net with c# Thanks for replying me . ...more >>

Upgrading the use of session variables...
Posted by jonefer at 6/5/2006 8:59:02 PM
I have the following snipets of code that work fine in my ASP 1.1 application This code just takes a string description from one page and passes it to another page but in the conversion to 2.0 it just comes up blank: =====1st page (submit button)===== dim sSearchingFor as string sSearchin...more >>

Next recordset
Posted by simonZ at 6/5/2006 6:54:45 PM
I have sqlProcedure which returns 2 recordsets. First recordset I put into sqldatareader: SqlDataReader rdr; SqlDataReader rdr1; rdr = oCmd.ExecuteReader() This works. But how can I get next recordset? In past(ASP), I could use method rs.NextRecordset. How this can be done in ado.net?...more >>

Need help converting GridViewCommandEventArg CommandArgument to an integer
Posted by keithb at 6/5/2006 5:28:03 PM
I have a command button in GridView row that fires the RowCommand Event when clicked. The event handler looks like this: protected void grid_RowCommand(Object sender, GridViewCommandEventArgs e) { int rowIndex = Convert.ToInt32(e.CommandArgument); When this code runs it triggers...more >>

Change value of DataGrid columns
Posted by John Smith at 6/5/2006 5:12:22 PM
I'm looking into this peace of code: protected void DropDown_SelectedIndexChanged(object sender, EventArgs e) { DropDownList list = (DropDownList)sender; TableCell cell = list.Parent as TableCell; DataGridItem item = cell.Parent as DataGridItem; int index = item.ItemIndex; ...more >>

datagrid column exists
Posted by gane at 6/5/2006 5:10:11 PM
Hi, I am creating datagrid bound column dynamically and need to check if a datagrid column already exists?Is there a way to check this? thanks gane ...more >>

problem with onclick/onserverclick with hjtmlbutton
Posted by phil at 6/5/2006 4:38:52 PM
Hi, I defined a Html button but added the option 'runat="server" ' like this: <form id="form1" runat="server"> <input id="Button1" type="button" value="button" runat="server" onclick="hfd()" /> </form> <script language="javascript" type="text/javascript"> function hfd() {alert("ok")} </s...more >>



What's a good way to store the info in a multi-stage form?
Posted by Alan Silver at 6/5/2006 4:26:06 PM
Hello, I am designing a form that allows people to request the formation of a limited company. When they fill in the form, they have to supply a certain amount of information relevant to their choice (company name, address, various other options). I was thinking about doing this with a wi...more >>

ViewState and efficiency
Posted by Justin at 6/5/2006 4:23:34 PM
I have aspx pages with 10 checkboxlist controls. Each checkboxlist is databinded from database. Total individual checkbox (the sum of individual checkbox in those 10 checkboxlists) on the page is about 1710. You can imagine how large the viewstate is. Is there anyway I can shrink the view...more >>

ArrayList - Newbie Misunderstanding
Posted by mosscliffe at 6/5/2006 4:10:47 PM
I thought I was getting the hang of all this VB and OOP etc, so I thought I would test ArrayList and Session Variables. I defined a Class of three variables and added values to them. I looped 5 times and added the class to an arraylist I added the arraylist to a session variable and then read ...more >>

Problem Invoking a .net dll (Class Library - com+)
Posted by shanmani at 6/5/2006 4:02:40 PM
Hi, I am developing a .NET application which will invoke the methods from different COM / .NET DLLs. While invoking methods from .NET DLLs, I am encountering the following error. I have also included the detail of the error stack trace and the code that I have written to invoking the methods. ...more >>

Tooltip question
Posted by ODAN at 6/5/2006 3:51:19 PM
I have an application that was developed in ASP.NET/C#. On one of the pages, we are using tooltip to display the description of the textboxes. Wehn you move your mouse over a textbox the tooltip appears with a full description of the textbox on which you have your mouse. By default the tooltip...more >>

'MachineToApplication' Error when trying to compile project...
Posted by VMI at 6/5/2006 3:28:01 PM
When I'm trying to compile my web application, I get this error: 'It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.' I was recently g...more >>

GridView Control Image button: How to connect to a click event
Posted by keithb at 6/5/2006 3:02:28 PM
I need help connecting an image button in a GridView control to an event handler. Using the OnCommand property results in the following error: Error 3 'UserControls_Rem.ImageButton_Command(object, System.Web.UI.WebControls.CommandEventArgs)' is inaccessible due to its protection level C:\lo...more >>

How to differentiate between click event of multiple server buttons
Posted by mayur_hirpara NO[at]SPAM hotmail.com at 6/5/2006 2:46:36 PM
Hi, I have been developing web applications for a while now. However, as I was thinking through the architecture I really don't understand the "How server can identify between which buttons has made the postback request.???" for e.g. I have a webpage default.aspx. I place TWO or more server b...more >>

KB 911309: memory leak w/ application that has custom URL's
Posted by Steve Besalke at 6/5/2006 2:40:02 PM
Greetings, I have a question about KB 911309 (http://support.microsoft.com/?kbid=911309) and what it fixes. My company is using a purchased ASP.NET application and virtual directories to provide group access to the application. We are using Windows 2000 Server, IIS 5, and .NET 1.1 SP1. ...more >>

Font download to web client
Posted by Microsoft at 6/5/2006 1:26:13 PM
I have a font that most systems will not have. How do I get the font to the client. The font is identified in the CSS page. TIA, Steve ...more >>

<asp:PasswordRecovery>
Posted by ned.kraushaar NO[at]SPAM earthlink.net at 6/5/2006 1:12:51 PM
Currently, the email that gets sent to a user with a new password is very cryptic: Please return to the site and log in using the following information. User Name: nedkraushaar Password: @(])1L7s!.xUD5 I would like to add some additional text and found that one can use custom text specifie...more >>

How to change the X and Y coordinates for a .NET WebForm Hyperlink
Posted by jarrett.roberts NO[at]SPAM gmail.com at 6/5/2006 1:10:49 PM
I am relatively new with C# and ASP.NET. I created an application using WinForms in which I have several hyperlinks. I want their position on the webpage to be determined (dynamically) based on the state of the user. I have been checking online, but I can't find anywhere that explains how I c...more >>

RE: how to programmatically assign text to a label control within a da
Posted by kenfine NO[at]SPAM nospam.nospam at 6/5/2006 12:49:20 PM
That worked great, thank you so much, timkling. Just as a curiosity thing: is the consensus view that what is described below is a good and conistent code thing, a bad and "overwordy" thing, or a necessary byproduct of ASP.NET's design? I don't know anything here, but I prefer Actionscrip...more >>

how to programmatically assign text to a label control within a datalist template?
Posted by kenfine NO[at]SPAM nospam.nospam at 6/5/2006 12:23:27 PM
I have a label control that I've embedded in a datalist template. I will be binding data to that label. I want to run a string formatting function on the database text before it is injected into the datalist. When I try to do this, I get a "... [control] does not exist in the current contex...more >>

Dynamic Arrays
Posted by Larry Charlton at 6/5/2006 11:52:01 AM
Is there a high performance way in .Net to dynamically build single dimension arrays when the number of elements in the array is unknown until after the array is built? (i.e. I only need the array to grow, I don't need to remove elements) I noticed that Dim myVar As List(of X) gets convert...more >>

Raising SelectedIndexChanged event in a gridview
Posted by -MT at 6/5/2006 11:48:01 AM
Hello, I have a gridview in ASP .Net 2.0 whose datasource is a dataview. I want to raise the SelectedIndexChanged event when I click anywhere in a Row of the GridView. I don't want to use a separate "ButtonField" to raise a SelectedIndexchangedEvent. Right now all I have in amy gr...more >>

Dynamic compilation fails
Posted by J.A. at 6/5/2006 11:34:31 AM
Hi, I'm trying to use the CSharpCompilerProvider to dynamically compile some code. The test console app works fine but I get this error when using the same code in an ASP.NET app: error CS1619: Cannot create temporary file 'c:\WINDOWS\system32\CSCCB.tmp' -- Access is denied. I attached ...more >>

Datagrid column name
Posted by gane at 6/5/2006 11:29:31 AM
Any ideas on how to assign value to a datagrid cell referencing the column name? I would like to assign a value to a datagrid item using the column name (from web.config file) instead of using something like e.item.cell[1].text in itemdatabound Thanks Gane ...more >>

datagrid not sorting
Posted by gane at 6/5/2006 11:26:50 AM
Hi I have a datagrid with bound columns generated in code behind with allowsorting set to true and OnSortCommand set to a sort function. I can see the sorted results only if i remove the autogeneratecolumns = false, otherwise i am not getting the results. It is not getting to the dgresults...more >>

Manually create aspnet_user
Posted by happypwc NO[at]SPAM cxoxmxcxaxsxtx.net at 6/5/2006 11:24:25 AM
I am trying to create a user in the aspnet_user table but if keeps failing because of the unique variables. My hoster doesn't allow me to add users to this table other than through a t query. any help will be appreciated. I have looked everywhere and just keep getting more confused. Yes, I ...more >>

Salaries for ASP.NET deveopers
Posted by MattB at 6/5/2006 11:21:36 AM
I've asked my employer for a raise (which of course I believe is justified). They are asking me to provide some input and I'm looking for a good resource(s) for what we typically make. Any links or suggestions? Thanks! Matt...more >>

Session Variable References Incorrect
Posted by GHawley at 6/5/2006 11:13:02 AM
I have a fairly large application with about 200 users that uses Session variables. It would seem that occasionally these variables are being referenced incorrectly to the extent that different users are updating information and it is being saved to the wrong user. Is there any problem wit...more >>

slow page load - empty code behind
Posted by Martin Eyles at 6/5/2006 10:52:00 AM
Hi, I have a .aspx page, but have not done any codeBehind for it. I use javascript to open this page, and on my development server this is fine. However, when I copy all the files to another server, and try running the same thing there, the page takes an age to load. (Note, the pop-up windo...more >>

SmartNavigation breaks CSS inside IFRAME
Posted by jordan.weberflink NO[at]SPAM gmail.com at 6/5/2006 10:36:21 AM
I built a new module for an existing ASP based web application. I was asked to put the new module (ASPX page with ASCX user controls) into an IFRAME on an asp page. The IFRAME src attribute points to the virtual directory where the ASPX page is hosted. When SmartNavigation is enabled, CSS rule...more >>

where did the methods for a component go???
Posted by Adam Sandler at 6/5/2006 9:54:37 AM
Hello, Using VWD 2005 here... I have a GridView and for usability, the edit template for one of the columns was changed from the defaut to a calendar control. Also, I have some content which I want to add to the calendar... something akin to this MSDN example... http://www.asp.net/QuickSta...more >>

GridView Footer - Put a link into the Edit / Delete column
Posted by Remy at 6/5/2006 9:02:51 AM
Hi I would like to put a link into the Footer of the first column of an ASP.NET 2.0 GridView. By first column I mean the column where it normally displayes the Edit and Delete link. I've built the Insert functionality into the footer, but I only wanna display those controls if someone clicks ...more >>

Passing value between webpages
Posted by amjad at 6/5/2006 8:36:02 AM
Hi i have a webpage which has datagrid with one column called customer ID.. that customer ID is hyperlink mean i a click that customer ID it open a web page and display that customer ID on that page. is it possible to exchange value between web pages like my code is <asp:DataGrid id="Data...more >>

DataGrid Viewstate
Posted by kpg at 6/5/2006 7:44:16 AM
Hola, I have a datagrid with button columns. I bind the data on page load, and the table is read only, so I don't need the datagrid viewstate enabled. When I turn it off however, I no longer get the button click events. I know events are passed in the viewstate, but I don't need the data s...more >>

ASP Table
Posted by ^MisterJingo^ at 6/5/2006 6:32:12 AM
Hi all, I'm dynamically creating a table based upon user feedback, and I need to databind some of the items. I've not had much success looking for examples on this through google, but I've found I can access controls placed into the table as such: ((DropDownList)tblLayout.Rows[0].Cells[1]...more >>

Setting up asp.net page over a domain.
Posted by accyboy1981 at 6/5/2006 4:34:31 AM
Hi, I'm trying to setup a asp.net (c#) webpage over a domain. I've got IIS 5 install on a windows 200 server and the actual wepage (i.e. the files) stored on another computer on the same domain. I'm creating a virtual directory in IIS over the domain, that is being created successfully. Howev...more >>

Master Pages in ASP.net 2.0
Posted by Lakshmi at 6/5/2006 4:19:29 AM
I want to know about masterpages in ASP.Net 2.0 and how to work wit these. bhavani: -- Lakshm ----------------------------------------------------------------------- Lakshmi's Profile: http://www.hightechtalks.com/m2 View this thread: http://www.hightechtalks.com/t37833 ...more >>

How to Update or Change the Master Page Variables from a different Page?
Posted by savvy at 6/5/2006 2:35:51 AM
I'm developing a shopping cart. I've assigned some Session values to Labels on the Master Page. The Basket panel which is small window for the basket items will be visible on every page if there are any items in the basket. It will display Total Quantity and Total Price in that window. The Maste...more >>

ASP.Net Question
Posted by amjad at 6/5/2006 2:19:01 AM
Hi i want to desing asp.net application. My requirnment is i dont want to use data grid instead i have five text boxes and a save button.. i want to navigate like vb application where i have next button to navigate through records. and text box to jump to specific record... is it possible w...more >>

Installing ASP.Net 1.1 App
Posted by CharlesA at 6/5/2006 1:50:02 AM
Hi folks, My googling skills are not usually so dire, but nothing I type can point me to an article on how to successfuly create an installation project for an ASP.net application anyone know any useful URLs? Regards and Thanks in advance, CharlesA...more >>

Asp.net membership security in VB.net?
Posted by Karl at 6/5/2006 1:17:49 AM
We have an application that uses the new ASP.Net 2.0 membership security, but we are writing the backoffice administration for it in vb.net as an in house product. We would like to be able to create users using batch file from our customers and in doing this we will need to access the new asp....more >>

working with asp:TreeView, CLIENT side
Posted by Daves at 6/5/2006 12:09:30 AM
is there any documentation out there to find out if and then how I can work with TreeView on client side through jscript? For example I want to change title of nodes and remove without doing postback. MS doesn't seem to have any official documentation on this. And please notice I'm not refe...more >>


DevelopmentNow Blog