I have got a simple page with a HtmlInputHidden field. I use Javascript to update that value and, when posting back the page, I want to read the value of that HtmlInputHidden field. The Value property of that HtmlInputHidden field is on postback the default value (the value it had when the page was created, not the value reflected throug...
I have a asp.net web application which has a number of versions deployed on different customer servers inside their networks. One practice that we have is to have clients email screenshots when they have issues.
In the old asp.net 1.1 days, we could grab details of the build DLL, using reflection, and show info about the build date and...
I'm looking for the BEST asp.net calendar/schedule component that it out there.
I like the look of google calendar, and it absolutely needs to be a native .net component, which can be customized.
I don't mind if it is part of a bigger framework (like telerik, for example).
Links to samples would be great.
...
Can you use WebPartManager with web parts constructed from mobile web controls? If this is possible, should it be done?
...
Hi,
I have written an ASP.NET composite control which includes some Javascript which communicates with a web service.
I have packaged the classes for the control and the service into a DLL to make it nice and easy for people to use it in other projects.
The problem I'm having is that as well as referencing the DLL in their project, th...
I would like to be able to use an ASP.NET view as an email template, complete with the <%= "hi there" %> syntax. Is there a way to invoke/setup this view engine in a standalone way?
...
Im trying to generate views in unit tests but i can't get around the missing VirtualPathProvider. Most viewengines use the VirtualPathProviderViewEngine base class that gets the provider from the current HostingEnvironment.
protected VirtualPathProvider VirtualPathProvider {
get {
if (_vpp == null) {
_vpp = Hosti...
What do people recommend for creating popup's in ASP.Net MVC? I have used the ajax toolkit and component art's methods in the web forms world and am looking something with simillar capability.
What JQUERY plugins do people like? SimpleModal, JBOX (I think this was what it was called)
Is it worth exploring pulling out the javascript fr...
Exact duplicate of this question.
When You get an error in .Net application we got an a Stack Trace.
For example
[ADOException: cannot open connection]
NHibernate.Impl.SessionFactoryImpl.OpenConnection() +153
NHibernate.AdoNet.ConnectionManager.GetConnection() +119
NHibernate.Impl.SessionImpl.get_Connection() +42
What do...
Hi,
I want to pass some parameters to a Crystal Report like this:
ReportDocument.DataDefinition.FormulaFields[parameterName].Text = 'Text';
This workes fine unless I want to pass a multiline textbox from ASPX
(containing \n and \r chars.)
The reportviewer reports that "The matching ' for this string is missing.".
Is there any ex...
Hi,
I added the following to my web.config to redirect the user to the login page if they aren't authenticated, but going to the URL does cause a redirect?
<location path="user/add">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
I have setup forms authen. lik...
We have a legacy ASP.net powered site running on a IIS server, the site was developed by a central team and is used by multiple customers. Each customer however has their own copy of the site's aspx files plus a web.config file. This is causing problems as changes made by well meaning support engineers to the copies of the source aspx f...
Hi there,
I have my WCF service defined as follows
[ServiceContract]
public interface IService1
{
[OperationContract]
IList GetMyTable();
[OperationContract]
void SendMyTable(List<RatePositions> ratePositions);
[OperationContract]
void SendString(string value);
}
When I call GetMyTable() fro...
Hello to everyone
how do i create asp.net web service that return JSON fromated data.??
...
I am in the process of collecting ideas for building an opensource CMS based on ASP.net framework.
I have choosen ASP.NET MVC with Jquery as the tool to develop this.
I have made this as community wiki.
Background:
Most of the good CMS that is available is built on PHP, though off late CMS built on ASP.net framework seems to be croppi...
I am having trouble getting my ASP.NET application to start an application. For example when I type:
http://my.domain.com/virtualdir or
http://my.domain.com/virtualdir/default.aspx
My application will start but I cannot get ASP.NET to start when I type http://my.domain.com.
I have tried to set the default document to default.aspx ...
We are contracting an external consultant out to generate XHTML (Transitional) and CSS for most of the major pages of a new project we are currently working on.
I've been asked to put together a list of guidelines for them so that we can be sure that a certain level of quality can be expected. As a bit of technical background, we will b...
I am currently researching an Exception handling architecture for our App.
We will be using UpdatePanels extensively and we will also be calling webservices.
I want to know if there is any real need to implement a ScriptManager.OnAsyncPostBackError handler compared to, the Page_Error event which seems to catch all exceptions that are ...
I know there is a similar problem on this forum, but the solutions did not really work for me. I am populating form controls with fields from a few different data sources, and the data shows up great.
I have an ImageButton controlwhich has an OnClick Event set to grab all of the data from the form. Unfortunately, when I click the butt...
I want to cache custom data in an ASP.NET application. I am putting lots of data into it, such as List<objects>, and other objects.
Is there a best practice for this? Since if I use a static data, if the w3p.exe dies or gets recycled, the cache will need to be filled again.
The database is also getting updated by other applications, so...