I'm using the built in web server in Visual Studio to test some pags but I wanted to be able to connect to it from other machines to test out browsers on different platforms. I was wondering if it was possible to configure that server to listen to an external interface or if I have to throw this over to IIS. I've turned off the windows...
The following line gives an error (cannot convert type "string" to "System.Guid")
userId = Request.QueryString["id"];
is there any solution to pass Guid variable in http header Get?
...
I am refactoring a working ASP.NET Web Application to expose Web Services interface using ASP.NET Web Service. According to Web Services authentication - best practices, Basic Auth over https is the way to go. Let's assume it is, as opposed to doing WS-Security, X509, etc..
On .NET 3.5/VS 2008, what's the simplest way of implementing cu...
I am creating a web based application using C#, ASP.NET. I have a requirement in my project - to have a control in my web page that would allow the users to enter text or copy paste image from the clipboard (say a snapshot). Is there a control in .NET like the clipboard control in Windows?
I tried creating a RichTextEditor custom contro...
I have an Ajax request to a web service that typically takes 30-60 seconds to complete. In some cases it could take as long as a few minutes. During this time the user can continue working on other tasks, which means they will probably be on a different page when the task finishes.
Is there a way to tell that the original request has be...
I have placed a treeView in One Update Panel and Each View in one update Panel
something like this
<UpdatePanel id="UP1">
<ContentTemplate>
<TreeView/>
</ContentTemplate>
</UpdatePanel>
<MultiView>
<UpdatePanel id="UP2">
<View1/>
</UpdatePanel>
Now I want to know how I can make sure When ...
We have a live running business system with an error which occurs from time to time. The error is according to the stack trace comming from the asp.net membership provider. It does not seem to matter which user is currently logged on. As far as i can tell the asp.net membership tables in the database are fine.
Example of a code row gene...
How do I convert:
<%@ Application Language="C#" %>
<script runat="server">
void Session_Start(object sender, EventArgs e)
{
}
</script>
To a scheme that uses HttpModule?
Also, can I write the Global.asax as pure C# instead of using tags?
...
I currently use the Linq to SharePoint to retrieve data from several SharePoint lists.
This is my current preferred method of coding my way from ASP.NET and WinForms to retrieve this data.
My only issue with this project:
I have to manually generate the SPML file and add this to the development environment, compile it in the project...
I get the following error message trying to run my page
Compiler Error Message: CS0433: The type 'usercontrols_BirthDetails' exists in both 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5c377e82\1f883022\App_Web_ub0hcxgl.dll' and 'c:\windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\5c...
Most of you here must have used polldaddy. I would like to get some advise from you guys about how can I design an editor like the one seen in polldaddy. Below is a screenshot.
On the left side there is a list of controls (Text box, list etc) and on the right there is a panel(editor). I can click and drag on of the control and as soon a...
I have a DIV in my HTML page. I am showing this DIV based on some condition. But DIV is displaying behind any HTML element where I pointed the mouse cursor.
I have tried all value for Z-INDEX property from 0 - 999999.
Can anyone tell me why this is happening?
Is there any minimum or maximum value of Z-INDEX property of CSS?
For examp...
I have an web application which serves SQL reporting services reports via the reportviewer control. Because of the complexity of some of the reports I use rdlc reports attached to business objects.
Now I would like to expand the system and allow some form of user-defined reports. Ideally I would like the users to connect their reports t...
say we have simple asp.net repeater,
in a row we have one checkbox, one label (database-id of the record) and not visible (used for postback) and one text (in a tabelcell)
now i want to make it like in windows, if you click on the text, the checkbox should be selected or deselected.
has somebody a link or solution for this, maybe alre...
My application makes multiple HttpWebRequests to a REST webservice sometimes as many as 50 for a single page. I have started intermittently getting the following WebException, which occurs on random endpoints
The underlying connection was closed:
An unexpected error occured on a
receive
The application is on IIS6, Windows Serve...
I have a control on an Asp.Net page, on that page is a control with the name "PaReq" that violates the rule:
CA1704:IdentifiersShouldBeSpelledCorrectly
I've used suppression before I'm not sure how to suppress this error since it is defined in the generated file.
I could do this in a custom dictionary but that would mean all the ...
You can modify the columns and the ItemTemplate of columns in a GridView's HeaderRow. But the same is not possible on the FooterRow since it's read-only.
Is there any way that I can programmatically add a TextBox control to a FooterRow in a GridView control?
Note: I don't need databinding on the controls I add.
...
I am attempting to use a .sitemap file to build a menu in my site; however I am having a number of issues with the output.
Firstly, the table output wasn't nice - I downloaded the 'CSSFriendly' DLL (http://www.codeplex.com/cssfriendly).. This now gives the output in ul and li's ..
But I want the menu to be free of javascript or css th...
Hi,
I'm trying to understand how error handling works when using the Authorize [Authorize] Action Filter in MVC Preview 4.
I have an action that looks like this:
[Authorize(Roles = "DOMAIN\\NOTAUTHORISED_ROLE" )]
[HandleError]
public ActionResult NeedAuthorisation()
{
throw new NotImplementedException();
}
...
Hi all,
I have developed a 'REST-like' XML API that I wish to expose for consumption by third-party web applications. I'm now looking to implement a security model for the exchange of data between a third-party application and the 'REST-like' XML API. I would appreciate suggestions for a suitable asymmetric encryption model.
Thanks.
...