I am constrained to using a SiteMap for authentication. I am an experienced developer that has not had to use the SiteMap previously, so I am probably missing something due to the paradigm shift.
in order to get around the url limitation in SiteMap, I <doh!>cleverly</doh!> appended a querystring value:
<siteMapNode url="workflow.as...
This code giving me fits. Returns the error:
The given ColumnName 'COURSENAME' does not match up with any column in data source.
If I remove the mappings, nothing gets written to the db either. Help!
Dim connectionString As String = "Data Source=2UA72518QY\SQLEXPRESS;Integrated Security=True;Pooling=False;Initial Catalog='Foo_Con...
I have a ASP.NET web form. The first time I submit the form, the SubmitButton_Click event is raised.
The form is returned to the browser either with validation errors or with the option to submit the form again with new values.
When the form is sumbitted again, the SubmitButton_Click event never fires. Page_Load fires, but not the but...
Has anybody ever converted a visual studio website to a web application? I would like to get sln and vbproj files for my website but I can't seem to find the convert. I would hate to have to do this by hand.
...
On my site, an encoded quote (%22) in url path causes "Illegal characters in path" error
I want specify search URLs like so:
www.site.com/search/%22Vitamin+C%22
%22 is an encoded quotation mark "
I'm using a Asp.Net URL Routing and the route is specified like this: "search/{searchTerm}"
When Context["searchTerm"] is retrieved and De...
I've got a web project. It was a asp .net dynamic data preview that I'm trying to bring into the version 1 dynamic data suite.
I've crossed a lot of hurdles but now when i build i see this error:
The type
'System.Web.DynamicData.FilterUserControlBase'
exists in both
'c:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\3.6.0.0__...
I ‘m trying to make an Ajax call to an aspx page
On the server side request comes as "object object" and I cannot serialize it getting “not a JSON primitive.. ” it works however when instead of json object I pass json string .... Problem is that on a client side I’m using a json object that I have to convert to string before sending. I ...
I'm very new to TDD and I'm having trouble with one of my unit tests. I just can't seem to understand what to do next. :( I'm trying to unit test a service of mine called AccountService and I'm testing a method called DoLogin(username, password). Here's some example code:
[Test]
public void User_With_Correct_Username_And_Pass_Sh...
Our organization has dedicated designers who design the page and cut it up in Dreamweaver. That's worked well in the past with ASP and PHP sites. Now we're trying to make it work with .NET, but are struggling because of the structure of a project in ASP.NET. How does everybody collaborate with developers? The specific points I am loo...
I have the following html which displays 3 textboxes and an add button:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div id="container">
<div id="line-item">
<asp:TextBox ID="txtLineNumber" runat="server"></asp:TextBox>
<asp:TextBo...
Hey,
I have a problem with VS2008: When I create a new ASP.Net website, no database shows up in the AppData folder. I create a new one via the server browser, and then apply "Add existing item" on the AppData folder to "import" the database. Is this the right way to do it?
Plus when I chose Website / ASP.Net configuration, my CPU works ...
I have an application that scans an input directory every five seconds and when a job (i.e. file) is placed in the directory the application reads it, processes it and outputs another file(s) in an output directory.
My question is, If I wanted to put a web based front end on this application, how would I wait for the processing to be co...
Hey all, I'm facing a really strange problem that has me smoked.
I have a fairly simple scenario where I have a strongly typed view that is correctly populated from the controller on the GET, but then when it POSTS the form to the controller, the Reqeust is full of all the right values and right key names for the default model binder ...
Hi,
I need to create a small online store. What is the best opensource .NET storefront out there?
Thanks
...
Hi,
I have aproblem in my asp .net pages
We are using form authentication.Once page is signed out i ama able go back to the previous page.
This is due to pages cached in browser.So i disabled the cache.But this has its own drawbacks.
a) If user is logged in he will not be able to navigate to the previous page using back button since ...
Hi guys,
I want to convert dateformat to mm/dd/yyyy. Whatever dateformat is coming in textbox, I want to convert it into mm/dd/yyyy. Can anybody help?
...
Hi,
After changing a Project to Website, i got an error while running the application.The error is as follows:-
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 ISS.
How can i solve th...
I have a SqlDataSource retrieve tabular data from a store procedure. How can I get to the data it retrieved in order to save it to the cache?
...
I have a test project which is part of a solution that I am trying to unit test. One of the methods that I want to test loads custom controls using the method TemplateControl.LoadControl(string virtualPath) e.g.
LoadControl(“~/CustomControl/Action/FitlerBox.ascx”)
My problem is when I call this method from the Test project, it always...
Is it possible to dynamically change the masterpage on the whole project dependent on current active theme ? or alternatively i need to hide / show details on my existing masterpage dependant on the active theme, hope that makes sense.
suggestions please
Thanks
...