Hi all.
I've a TreeView that displays hierarchical data, while I select a TreeNode, I generate a series of links that map the path from selected node till root node
Say:
Root Node --> ChildNode --> SelectedNode
What I need is, while clicking any of these links, select required node in TreeView?
I know that selecting a TreeNode is d...
We're experiencing some really strange problems with Integrated Windows Authentication with IIS and I'm not sure if I can see a pattern or not.
We have a DNS-Cname record called Fred. We have an IIS website with Fred set as the host header. When I connect to this site I get prompted with a credential challenge. I would expect my credent...
I'm using MySQL in an ASP.NET project I'm currently working on, I did some tests to test the performance of the MySQL .NET provider but unfortunately I'm not very pleased with the results.
A very simple loop that only opens the connection was 10x faster in SQL Server:
// MySQL
const string CONNECTION_STRING =
"server=localhost;databa...
Hi,
I want my TextBoxExtender to NOT allow a comma and a slash. How do I set it ? Using an escape sequence ?
Thanks.
...
I am using nested repeaters to build a table for reasons I won't discuss here, but what I'm looking to do is have two datasources, one for the top level repeater that will correspond to the rows, and one for the second level repeater that will return cells within a row.
What I'm wondering, however, is if I can somehow specify a paramete...
I have an ASP .NET website that hosts a Java applet. The Java applet requires version 1.6 Update 11 of the Java runtime.
How can I detect that a client has the appropriate runtime installed so that I can display an informative message if they do not?
Thanks,
Carl.
EDIT: The solution must be platform independant.
...
Sometimes I will be at a breakpoint in my code and I want to view the contents of a datatable variable (or a datatable in a dataset). The quick watch doesn't give you a very clear view of the contents. How can I view them easily?
...
Our web applications are using LDAP Membership Provider to authenticate and register users in Active Directory. In order to allow users to provide usernames that exist in other applications, we need to add a prefix in its username and it should be as transparent and painless as possible.
What I need is a way to extend the LDAP Membershi...
I work on a web-application that is written in C#/ASP.NET. The original framers of this application chose to use encrypted query strings and Viewstate to control the 'security' and 'state' of the application.
Having come from a GET/POST world before this, I don't have a good basis for understanding why people would go through the troub...
I have a web.sitemap with security trimming enabled, however I need to hide a menu item based on a role to a page that has no access rules in the web.config.
i.e I have a Campaign page that is used to view existing campaigns as well as to add new campaigns, but I want the "New Campaigns" menu item to be hidden for anonymous users.
I tri...
We are going to be selling a service that will be hosted by us, and each client we host will have their own database, but there will be one centralized website. I currently have a blank database with the few things that a new client will need. What is the best way to copy this database so I can setup another client? I want to be able ...
What are the disadvantages (if any) of using a virtual private server instead of a dedicated server to host my web application?
I launching my first web application in a couple of months and I'm trying to wonder what's the best way to host it at an affordable price. It's built in ASP.Net and uses SQL Server Express.
My point is, since...
I had a VS2008 project that was showing this warning, and I couldn't find a solution anywhere - perhaps my google-fu is weak.
In any case, the apparent solution to this is to make sure that the TagName is the name of control class.
So for my example, the following displayed the warning:
<%@ Register Src="~/path/to/Control.ascx" TagNam...
Should dynamic business objects for a site be stored in the users session or use ASP.Net caching (objects such as orders, profile information etc)?
I have worked with sites that used sessions to store business objects, but I was wondering...What are the advantages or disadvantages of caching?
...
I have a user control that has multiple update panels
On Page Load, I load a child user control dynamically onto the PlaceHolder (I do this everytime and don't check for postback)
I want to be able to maintain the state of the changes that a user makes in the Child user control. (The ch...
I have an asp page containing a form with two fields where the client is supposed to write his/her information.
<td><%=Html.TextBox("Date")%></td>
<td><%=Html.TextBox("City")%></td>
My action's signature looks (at the moment) like this:
public ActionResult XXX(string Date, string City) {...}
The problem is that I want to propagate...
So, I've got an ASP drop down list (this is .net 2.0). I'm binding it with data. Basically, when the page loads and it's not a post back we'll fetch record data, bind all the drop downs, and set them to their appropriate values (strictly speaking we: initialize page with basic set of data from DB, bind drop downs from DB, fetch actual ...
When an exception occurs to in an Asp.Net web page, an error message is displayed with the complete stack trace.
Example below:
Stack Trace:
IndexOutOfRangeException: Index was outside the bounds of the array.
MyNameSpace.SPAPP.ViewDetailsCodeBehind.LoadView() +5112
MyNameSpace.SPAPP.ViewDetailsCodeBehind.Page_Load(Obj...
I would like to increase the httpruntime executionTimeout for a subsection of an ASP.NET MVC application.
In a regular Web App, you could use
<configuration>
<location path="UploadPage.aspx">
<httpRuntime executionTimeout="600"/>
</location>
</configuration>
however there really is not the idea of "Folders" in ASP.NET MVC, so how wo...
Any good books on ADO.NET out there? Please let me know. Thanks.
...