Hello everyone,
I was wondering if there was a way of using HTML for the content of my ASP:Listbox items instead of plain text? The reason I ask is because I'd like to do some extra formatting on each item in the list. Not just font changes, but perhaps icons alongside the text or table rows to divide up each list item.
I'm vaguely awa...
How to setup a common error page in ASP.NET website?
Also how to handel the error in Data Access Layer by common error page?
...
Hi,
I have a .Net project called:
Whatever.Web.UI: I use this proyect to put all the custom and user controls that will be reused in all the website projects. These are organized in two folders:
- CustomControls folder (with all the custom controls)
- UserControls folder (with all the user controls)
This are future examples o...
Hello,
I have a ASP.NET MVC website with XML based membership and roles. I have the ReadOnlyXmlRoleProvider and ReadOnlyXmlMembershipProvider deployed in bin-folder as two signed dll's.
The site works perfectly on one service provider's new platform (IIS 6 + full trust), where I've tested it. I had to ask for Wildcard Mapping, to get t...
Hi Guys,
I need some expect advice on how to handle the following:- I have a data field misc_text_2 that is of type varchar(25) and allows NULL. Now if I use the following syntax
<asp:Label ID="lblPrinter" runat="server" Text='<%# iif(eval("misc_text_2") is dbnull.value, "", iif(eval("misc_text_2") like "NA", "None", iif(eval("misc_te...
Hi all, i am using asp.net 3.5 and VB.net, i need a validation expression to validate a string of 1 to 50 characters, white spaces, numbers, special character are all allowed, simply, it should match an nvarchar(50) database field.
it will be applied to a textbox, also, the same case but for 1-200 characters which will be validating a mu...
I am trying to pass some text from a textbox to a controller to get JSON results like so
function invokeAction() {
var searchText = $("#SearchTextBox").val();
// Invoke MVC controller action
$.getJSON("/Home/Results/" + searchText, bindResults);
}
If I put an alert here I can see that searchText definately...
I'm using an AspNetSqlMembershipProvider for my application.
On my development machine I recently deinstalled SQL Server 2005 Express and Management Studio Express so that I could install the full version of Management Studio. I chose not to install SQL Server 2005 because, well, I don't want to have unnecessary things running on my mac...
JavaScriptSerializer is not obsolete after .net 3.5 SP1. Should I uses JavaScriptSerializer or the prior recommended DataContractJsonSerializer?. Also why it was made obsolete?
...
For various common reasons I wanted to use tracing for my ASP.NET application. Especially since I found out about the possibility to use the Service Trace Viewer tool which allows you to examine your traces in a powerful way.
Since I had never used this trace thing before, I started stuying it. After a while of Google, SO and MSDN I fin...
Hello
I want to convert an aspx page to PDF using a component that can convert Html to PDF. Is it possible to, during post back, redirect the output from the aspx-page and send it as a stream or string to a HtmlToPdf method?
...
In an ASP.Net application, the user clicks a button on the webpage and this then instantiates an object on the server through the event handler and calls a method on the object.
The method goes off to an external system to do stuff and this could take a while. So, what I would like to do is run that method call in another thread so I can...
'ello!
I'm developing my first WebPart for Sharepoint, and now I'm wondering where/how to include/store my CSS. Where should I put my .css files? How should I include them in my webpart?
...
I have web site (coded in ASP.NET,c#) and I want to show IP based statistic information of it's pages. I don't want to use other analysis tools (like Google Analytics) .
...
I have a Default.aspx that redirects to a Page1.aspx. My ddl is loaded and ordered from a database. How do I make the ddl selection show up on the page load depending on what the user selects on the Default page?
...
First of all - I've seen this question, but mine is a bit different.
What I need is some framework for logging debug information. This information will NOT be present in production environment. It will be used for tracking down performance problems and other generic bugs. Especially for performance problems, so it will be used a lot tog...
Has anybody gone through the process of converting a real-world business application from ASP.NET web forms to MVC? How painful was the transition? Would you say that it was worth it, overall?
I am trying to figure out if it is worthwhile to take the time to convert an application over to MVC for increased performance.
...
Our situation: we have a busy ASP.NET site and use the user profile intensively. This means that not only do we read the profile on every request, but we also write (at least something) in it on most requests. Users typically spend like 15 minutes on our site. We use memcached as a caching system and are very happy with that.
Now, I was...
I need to create an administrative site for managing my web site's db. I don't want to build this myself, I simply want the framework in place so that I can add customization myself after it is in place.
Django has a great auto-generated admin. What's an equivalent auto-generated admin site built under asp.net?
...
I want to be able to produce a single MSI from VS08 which can be used to install e.g. demo, staging and production versions of the same app on the same website in the same IIS. In other words, the user needs to be in control of how many instances they want - I'm not in a position to pre-generate them by varying the product code (though ...