| Thread | Last Post | Replies |
|
| Re-render the page | 23 Mar 2006 14:32 GMT | 3 |
Using ASP.NET 1.1 I make a change that effects the .text property on all the labels on page load. However, since the page_load event is raised automatically on post-back before the click event, when I make an explict call to page_load I
|
| Page.Error handler returning a blank page | 23 Mar 2006 14:28 GMT | 2 |
I've been following the "ASP.NET Custom Error Pages" article (http://www.aspnetresources.com/articles/CustomErrorPages.aspx), but when I implement either subscribing to base.Error or overriding base.OnError an empty page is returned to the client browser.
|
| Static fields in ASP.NET pages | 23 Mar 2006 13:59 GMT | 3 |
I'm writing an application in ASP.NET 1.1 and have come across a problem using static fields in my page classes. I have lots of controls on the page that all need to bind to the same datasource, so I thought I'd create a singleton in the base class that
|
| How to invoke Edit mode in GridView when dataSource is set programatically? (ASP.NET 2.0) | 23 Mar 2006 11:50 GMT | 3 |
I have following problem: 1. In my web page I have a GridView control, which does not have a DataSourceId set in designer. 2. When user presses Start button then I create programatically a
|
| getting the value of the primary key on an insert | 23 Mar 2006 11:10 GMT | 3 |
I am having pretty much of the same problem but with an access Database. When I insert a new product, I need to update a second reference table with the primary key of the new insert. I have included my code below to make it a little clearer... if anyone can offer me any
|
| How to Determine asp: control ID Name at Runtime in ASP.NET 2.0? | 23 Mar 2006 10:48 GMT | 3 |
I am working on developing a generic Web framework using Master Pages in ASP.NET 2.0. What I have done is created a PageRenderer class which has a public method which will retrieve the path of the content I want to execute based on the name of the asp:Content control. As shown ...
|
| OnSelectedIndexChanged runs twice! | 23 Mar 2006 10:42 GMT | 3 |
Using ASP.NET 2.0... My GridView is partially defined as such.... <asp:GridView ID="CartGrid" AutoGenerateColumns="False" DataKeyNames="ID" OnSelectedIndexChanged="RemoveCartItem"
|
| Keep panel from resizing | 23 Mar 2006 10:08 GMT | 2 |
I am using a panel inside an asp.net 2.0 page so that I can have the scrolling capabilities. Inside the panel I have a datagrid that I would like to stay within a certain area. On the initial page load the panel works as expected but when I load the datagrid the panel expands ...
|
| asp.net .dll code protection | 23 Mar 2006 09:21 GMT | 5 |
I often write some .dll component for other people. Because of CLR, I often find easily access to all source code of my .DLL file by using some kind of reflector. Is there an easy to protect my .NET .DLL class source code?
|
| ASP.NET Page refreshes Twice | 23 Mar 2006 08:42 GMT | 2 |
I am working on somebody else's code built in ASP.NET/C#, during some of the request, ASP.NET Pages refreshes twice unexpectedly. My application runs in an IFrame with a LHS navigation tree, I am passing querystrings using javascript on a HTML button control, which
|
| Formview Replace function: Add LineFeed | 23 Mar 2006 08:23 GMT | 1 |
When I open a FormView in View mode, the line breaks are missing, but they show up when I enter edit mode. So I tried to use the following on a Textbox with a replace function, but got the following error: Public member 'Replace' on type 'DBNull' not found.
|
| Object variable or With block variable not set | 23 Mar 2006 07:50 GMT | 6 |
I am trying to deal with an image in code-behind. I consistently get the following error: Server Error in '/' Application. Object variable or With block variable not set.
|
| reading text file to dataset | 23 Mar 2006 07:39 GMT | 4 |
I need to read text file having data either comma seperated or tab seperated or any custom seperator and convert into a DataSet in C# . I tried Microsoft Text Driver and Microsoft.Jet.OLEDB.4.0 to read text file but could not get the data in correct format.
|
| GridView Update not updating data | 23 Mar 2006 07:35 GMT | 6 |
I have a GridView with a couple of TemplateFields. When I click the update link the Gridview returns to display mode with no errors but the data from bound text fields or dropdown list isn't updated in the table. I'm stumped and any help would be appreciated.
|
| obtaining username with anonymous IIS access | 23 Mar 2006 05:51 GMT | 1 |
I can think of 3 places where a user's username is stored on their PC: * in the %username% environment variable and * in the Registry. * in at least one WMI class
|