We are using a custom sitemap provider to populate an ASP.Net application's menu control from a recursive database table and therefore do not use the static xml web.sitemap file:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="" title="" description="...
Hi,
I have an ASP.Net application that is hosted on my corporate clients web servers on their internal networks.
I wish to enforce various known licensing terms (expiry date/ number of users etc etc)
I am planning to use an encrypted xml document containing the terms as key/value pairs and store it on the web server as an encrypted fl...
What i am doing is a new image uploader, i want to put the input file in the iframe and show the uploaded images in the parent page.
So how can i access the parent elements from the inner iframe?
or if some one have an example, that will be nice as well.
...
We have a flex application that works with ASP.NET. (through weborb).
And we use several data at the .NET Side to load data, ex: UserId, ChannelId, ...
For now only userid is stored in the name of the HttpContext.Current.Identity.
So the flex side doesn't need to push the user id all the time, but now we want to disable the "push" of the...
Hello,
is there any way of checking with an ASP.NET webpage
if the client pc has the NET framework 2.0 installed?
...
I have a method that loops through a list and creates Links using the LinkButton control. For the purpose of this question, assume that it is a list of colors and that I have 5 colors: red, green, blue, red, and yellow. Here is a code snippet of how I am creating the links and adding the event handler.
foreach(color in colors)
{
L...
When uploading files to a web server using HTTP post, are there any restrictions on the client side (for instance in popular browsers or in the HTTP protocol), that sets a hard boundary on how large a file can be uploaded ? If you know of any browser imposed restrictions, it would be nice if you include the browser version and, if possib...
I have this following data source binding:
MembershipProvider provider = new MembershipProvider();
UserUpdateLogs userUpdateLogs = provider.GetUserUpdateLogs(username);
dgUserUpdateLog.DataSource = userUpdateLogs.Logs;
dgUserUpdateLog.DataBind();
Logs is a collection of UserUpdateLogEntry. This class owns the UserData Property, and U...
In Visual Studio 2005, is there a way to indent correctly the tags in the aspx file (not in .cs files but really in ASPX files which contain HTML/ASP code)?
...
Ok due to some client security something or other the DB tracking only works when there is a www in front of the subdomain. I want to prevent further support tickets from users going to thewebsite.com and finding out later the DB was not recording for them. I need it to redirect to www.thewebsite.com if they hit thewebsite.com.
PS: I he...
Hi guys,
How can I set the resource string in javascript?
I have a resource file called, for example,
myResourceFile.resx
in my code and using the literal control I can use:
lblName.Text = Resources.myResourceFile.ajaxRetrievingInformation;
<asp:Literal id="lit" runat="server"
Text="<%$ Resources:myResourceFile, ajax...
I've had a good look through a load of MS documentation only to find a tree view like structure to the use of sitemaps. I don't suppose anyone's aware of how it's possible to have a folder-like structure for sitemap navigation? Take for example a structure as follows
Home
About
Me.aspx
MyFamily.aspx
MyPets.aspx
...
I am looking to move an existing WordPress installation to a custom platform comprised of a .net based blog as well as other new functionality/modules on the site running under IIS6/Win2k3. There are several thousand posts in the existing WordPress site that have been migrated to the new database structure, however, I'd like to preserve...
I don't know how to using dynamic master page in ASP.NET MVC RC 1.0. Please help!
...
Hi I have a Repeater and I am doing various things during the ItemDataBound event. My Repeater is in a control. What I am noticing is that the things that are supposed to happen in the ItemDataBound event happen after the Page_Load of the page hosting the control. Is there a way to use some sort of ItemDataBoundComplete trigger so I c...
Hi,
I have a weird problem where the "Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints." error sometimes pops up when I am trying to build my project.
The line in question throwing the error was auto-generated code in the designer file for the dataset. To find out the ...
I tried to find tutorials/articles on using UnitOfWorkApplication in ASP.NET (not MVC). But all information I can find is about how to use it in ASP.NET MVC.
Does it mean that it is not possible to use Rhino.Commons.HttpModules.UnitOfWorkApplication in our old webform applications?
I run into the problem that I am using repository inh...
Hello,
I'd like to populate my DropDownList using a simple xml file:
<?xml version="1.0" encoding="utf-8" ?>
<Databases>
<Database>foo</Database>
<Database>bar</Database>
<Database>baz</Database>
</Databases>
My XPath is
/Databases/Database
My drop down list is rendered as:
<select name="databaseDropDownList" id="databaseD...
I have a store procedure that handles paging at database level, receiving @PageSize and @PageIndex. I can create another to return @PageCount, given a page size.
Can I make a datagrid do paging at database level without having to develop it outside the control, using the control pager?
It seems default use of datagrid paging receives a...
Hi all
I have an asp.net application developed. It uses LINQ to SQL to access database, using the .dbml designer in Visual Studio 2008. We are installing the application on client, and they have decided to change the database name on their servers. Now, the application does not work because LINQ can't find the database information. This...