Has anyone ever seen an issue with an ASP.NET websuite blows up on initial login, complaining about a system.string type in the profile that is defined in the web.config.
More Info:
Server Error in '/abc' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An ...
I did follow the article TRULLY Understanding ViewState (great article btw) and populating my drop down list is working great. I've even setup a OnSelectedIndexChange event which fires almost as great.
The problem I've found is the SelectedIndexChanged event won't fire when selecting the 0th index. It does all other times however.
...
Here is a code snippet for an asp:Wizard control I have on an aspx page, but the Cancel button is not showing up. Only next and previous buttons are showing. Does anyone know how to resolve this?
<asp:Wizard
runat="server"
OnFinishButtonClick="wizCreateUser_Finish"
OnNextButtonClick="wizCreateUser_StepChange"
Header...
what happens if an user trying to read HttpContext.Current.Cache[key] while the other one trying to remove object HttpContext.Current.Cache.Remove(key) at the same time?
Just think about hundreds of users reading from cache and trying to clean some cache objects at the same time. What happens and is it thread safe?
Is it possible to c...
Is there any way to implement a URL mechanisim in asp.net like it has in asp.net mvc
e.g. mydomain.com/user/myusername but without using the MVC
if so, how?
...
hi everyone,
I am trying to use form collection and this is what i am using to submit the form
<%=Html.ActionLink("Update", "Calendar", ViewData["sub"], new { onclick = "this.form.submit();" })%>
just for the heck of it i tried replacing it with a dropdownlist that retains its value and all of a sudden i get all my form collection
...
I've got one long GridView control on ma website. It allows row selection. The problem is, when I scroll down this GridView and select some of the bottom rows the selection occurs, but whole GridView is scrolling back to top. Does enyone know how to avoid this?
...
i have a series of rows that are generated using an asp:repeater:
<asp:repeater ID="itemsRepeater"
OnItemDataBound="itemsRepeater_ItemDataBound"
runat="Server">
<itemtemplate>
<tr>
<td>
<asp:HyperLink ID="linkView" runat="server"
Text="<%# GetItemText((Item)Container.DataItem) %...
Hello,
First shot at throwing a question on these boards so hopefully I can get some help, here goes:
I am working to start up the .NET practice at my client. We have 5 small scale .NET applications in place currently with a few them of them live into production. They're mostly small reporting pieces with some data entry/business logic...
System.Configuration.ConfigurationErrorsException: Attempting to load this property's type resulted in the following error: Could not load type 'System.String'. (D:\Inetpub\wwwroot\driverseat\web.config line 223)
---> System.Web.HttpException: Could not load type 'System.String'.
at System.Web.Compilation.BuildManager.GetType(String typ...
Is it possible to format how an object is returned as JSON from a PageMethod? ie. removing the first "d" element from the data, without writing the JSON from scratch.
From { "d": { "name": "bob", "email": "[email protected]" } }
To { "name": "bob", email: "[email protected]" }
...
I'm developing an ASP.NET 2.0 app using Visual Studio 2008.
If I want to run a really quick test on a method that's way in my back-end, is there a way for me to just call a main function in that class via command line?
Thanks
...
When does it become unavoidable and when would you want to choose JavaScript over server side when you have a choice?
...
I am looking for the best ORM tool for my upcoming .net web project. I have come across Tier Developer and MS Entity Model framework as the some of the choices. Does anyone guide me which one would be the best? Entity Framework model seems to have issues with referential integrity constraints (cascade delete). Which one would be a better...
Hi,
I have an gridview that I am adding onclick events to a checkbox column via:
cb.InputAttributes.Add("onclick", "checkClick()");
everything works fine, but when the user clicks the save button on the form, (which is within the updatepanel), suddenly the onclick event of the checkboxes stops firing!
Is this a problem with the A...
Using LINQ to SQL
db.Products.Where(c => c.ID == 1).Skip(1).Take(1).ToList();
executes
SELECT [t1].[ID], [t1].[CategoryID], [t1].[Name], [t1].[Price], [t1].[Descripti
n], [t1].[IsFeatured], [t1].[IsActive]
FROM (
SELECT ROW_NUMBER() OVER (ORDER BY [t0].[ID], [t0].[CategoryID], [t0].[Name
, [t0].[Price], [t0].[Description], [t0].[...
I've got a pretty simple site (around 8 pages) with only one way page containing any significant codebehind, and I'd like to try learning MVC, using it as the test.
Is it best to start a new MVC Web App from scratch and cut-and-paste the HTML in, or will it be easier to retool the existing files.
Basically, what am I in for? What's it ...
I'm using the [System.Web.Script.Services.ScriptService] tag to use web services callable from client side javascript. What I need is a way of globally logging any unhandled exceptions in those methods. On the client side, I get the error callback and can proceed from there, but I need a server-side catch to log the exception.
The guy...
I've been trying to install DotNetNuke for the last 3 hours with no luck. What is a good and easy to install ASP.NET CMS?
If there aren't any, what are some recommend PHP ones?
...
I am programatically making some LinkButtons, and they worked fine for a while, but now the events aren't firing and I can't figure out why?
This is what makes the button:
protected void MakeUploadButton(attachment a, PlaceHolder ph)
{
LinkButton lb = new LinkButton()
{
Text = "Upload New " + a.attachment_type.type_name...