I've got an ASP.NET application that uses the CreateUserWizard to register new users. Part of my registration process is creating a "home directory" for the user where they'll be able to upload files.
I'd like to use the ASP.NET authorization features to restrict access to the "home directory". Only the registered user assigned to the...
I'm using an Infragistics grid on a form and am handling multiple client-side events on the cells (e.g. cell click, before cell edit, before cell update, etc).
On the cell click event, I'm spawning a secondary window (successfully) as follows:
var convChartWindow = window.open("conversioncharts/" + currentCell.getValue() + ".html", "...
I'm looking through the asp:chart documentation and I don't see where you set a "ChartType" on a ChartArea. How do you make a simple 2D PieChart? I don't see where you set the type at all.
Note:
Adapt Gordon's answer to ASP.NET. Close enough to get me on the correct path. Thanks.
...
I have been using gridview since a long time. I have a "cant live with you and cant live without you" relationship with it.
The idea of Edits, inserts and deletes from within the grid is great but having to do something like
var sometext = ((TextBox)editRow.FindControl("tbSomeText")).Text;
just seems very un-clever to me. Has anyone ...
I have a listbox inside an update panel. When I scroll down and select an item, it scrolls back to the top of the listbox. I heard that the dom does not keep track of the scroll position on a postback. Does anyone have a solution/example on how to solve this?
Thanks,
XaiSoft
...
I'm in the process of buidling a few ASP.NET webforms that need to support approvals. The approvals would be done based on a org chart, probably represented as a tree. I've been thinking the approval routing (process of determining who soemthing should be routed to) should be seperate from the actions being performed. This would allow...
Similar Questions
How to return XML in ASP.NET
References
How Return XML From ASPX in ASP.NET 1.1
http://forums.asp.net/t/1298093.aspx
How do you output XML from ASP.NET?
Creating an ASHX handler in ASP.NET
What is the proper method to return XML in ASP.net?
Any thorough answer must address why you must have, why you cannot ha...
How many of you prefer PHP over ASP.net because of its open source nature?
I find there are more open source projects based upon PHP (and therefore more reusable code) because the sort of people who like to share are attracted to the language. I'm aware of a few open source ASP.net projects, but they're not as mature or active.
...
I searched for a few days now but didn't find a solution. So here is my scenario:
I have a DetailView with a DataBindung to a database and DefaultMode set to "Insert" as a input-form for a new db-entry. One field in this DetailsView is a TemplateField with a InsertItemTemplate containing a DropDownList. This DropDownList is also bounded...
Hi,
I have posted a question few days ago about Querying on collections with the Criteria API and after all the answers i see that the thing that i am trying is not possible with the Criteria, there is a bug for the situation in nhibernate and also in hibernate
I was using DetachedCriteria to get all criterias together and the list is ...
I have a user control (a user details form) which has a lot of javascript and css attached to it.
i'm struggling to make my control decalre that it needs a certain file so it will be included in the "head" section of the html.
I also wonder what happens if i enter mutiple instances of a control (the is no InamingContainer or anything si...
I'm building an internal site with the main function of serving up software downloads. One thing I want to guard against though, is people finding the source paths and circumventing the site (the site logs the download for auditing.)
Is there a way to conceal the source of the binaries? (I'm using ASP.NET)
...
What's my best bet for implementing a simple chat client (2-person) in an ASP.NET 1.1 application? I'm using ExtJS for the front-end so if it integrates well with that it would be great.
...
An IT Manager is not allowing the use of SQL Server with an ASP.NET website being developed. The current setup being replaced is a php site connecting to a Microsoft Access database. I have a few reasons of my own as to why SQL should be used, but would like as many strong arguments as possible (student vs. IT Man.). Does anyone have a...
Currently in my ASP.Net applications web.config I have an application setting that stores a comma delimited list of mapping values, like the one below. In the code behind I need to perform a lookup on this data based on input values 1, 2, 3 etc. I can either string split it and loop until I find a match, or use Regex to pull the value fr...
On a project I'm working on we have a web application with three configuration files;
Web.Config
Web.Config.TestServer
Web.Config.LiveServer
When we release to the test server, Web.Config is renamed to Web.Config.Development and Web.Config.TestServer is renamed to Web.Config, making that configuration active for the application.
It is ...
In the View page, code is below:
<% =Html.BeginForm("About", "Home", FormMethod.Post, new {enctype="multipart/form-data "})%>
<input type ="file" name ="postedFile" />
<input type ="submit" name ="upload" value ="Upload" />
<% Html.EndForm(); %>
In the Controller, something like this:
[AcceptVerbs(HttpVerbs.Post)]
public ActionRes...
I've looped over the Request.ServerVariables collection in ASP.NET, but it's not as comprehensive as phpinfo().
Anyone aware of a script for ASP.NET that includes all that info, including server software, drivers, etc.?
...
I'm currently buying webhosting on a shared server with uses IIS6 and ASP.NET2.0 (They advertise 3.5 but investigation on my part has proven this to be false).
I did some legwork to make my 3.5-sensitive ASP.NET apps compile on my hosting then discovered another problem: My apps are failing at 'File.Open()' calls due to no FileIOPermiss...
Hello all,
I need help for dynamic edit button event.When i am log in as User I am getting welcome message...welcome user! exactly under this welcome i am putting Edit profile link.So whenever the user click on edit profile he should see only his profile and will be able to edit his profile.Please somebody help me with code.
Thanks,
Mas...