I need to have 2 domain names that will basically be the same application but with a different theme or skin. I know I can check for the domain name using Server Variables, but how do I point both domains to the same application? And do I develop this like a regular site (with the exception of theming?) Do I just make a regular "Web S...
Hello,
I am attempting to iterate through a ControlCollection in the CreatedUser event of my CreateUserWizardStep. I have a ContentTemplate that contains a table full of checkboxes that I am using to gather a user's availability during the week. For the sake of brevity I will paste my code on pastebin.
Here is a link to the .aspx page....
How do I add TemplateField control to the beginning of the DetailsView Fields collection?
Here is my code..
TemplateField tf = new TemplateField();
...
...
dv.Fields.Add(tf);
This adds to the very end of the DetailsView control. I tried dv.Fields(0) but there is no Add method available. I noticed that we have dv.Fields.RemoveAt but w...
hi guys,
I have a datetime for eg:23/9/2009 10:00:00 AM .I want to get date from datetime.Means 23/9/2009 .Can anybody help
...
i have to create a voice conference for our website
what do you thing will be the best option
.Net or Flash ?
...
I am having more then 20 transaction in in one shot. I want to use transaction scope with this. Is it possible? And If possible then what is the advantage of using transacation scope class over simple transaction.
What is the best practice to use transaction scope?
...
I have the following javascript code:
function ClickButtons() {
document.getElementById('Button1').click();
document.getElementById('Button2').click();
}
only Button2 seems to be clicked. If I reverse the order of the statements then only Button1 (which would be called 2nd then) seems to work.
FYI (don't think this is impactin...
Title says it all:
If I am creating a custom ASP.NET control (or, I suppose, a Windows Forms control), how do I specify one or more Smart Tags for it, and the behavior that goes with it? I want to provide some rich designer support.
EDIT: Prefer C# code, but not necessary.
...
I have api key. I need full example with advance options.
...
I am using an UpdatePaenl in an asp.net page. It has a button to trigger it.
I'm able to show "Loading" when the button is pressed.
Here my issue, I need it to show "Loading" when the page is first called, not just when a button is pressed.
Any ideas are greatly appreciated.
Thanks
...
Hi there
I have a web-project running in VS 2008. We have some global resource files (*.resx) in the App_GlobalResources folder for internationalisation. All this works like a charm on my local IIS installation out of VS.
But when I publish my web-project to the local filesystem and/or another server, all the resources can no longer be...
I need help figuring out why my authentication ticket is expiring after about an hour on my hosted website. But if I run the site locally the authentication ticket stays alive for the correct amount of time.
This is my localhost web.config:
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="20160" slidingExpir...
I have some ASPX files deployed in test machine which has IIS7 and Visual Studio 2008.
Now I attached to the w3wp process with VS2008 and open one ASPX file. The ASP file has some inline code like
<% DoSomthing() %>
I move the cursor to that line and press F9, but the status bar shows "This is not a valid location for a breakpoint". ...
Hi
I am working on a asp.net application in which i am creating a page which tracks user activity like no of page visited in my application.
In which i also need to found out the Total KB (data) received since log in and the total KB (data) sent since log in by each user.
How can i achieve this?
...
Hi
In Java Servlets, RequestDispatcher makes it a breeze to navigate around the site without showing the request parameters. What is the equivalent in ASP.Net (framework 3.5)
...
Hi,
I'm wondering if it's possible for me to get the QuestionAnswer field from ASP.NET membership in the same way that you can get the UserName and PasswordQuestion.
MembershipUser mu = Membership.GetUser(userId);
string username = mu.UserName;
string question = mu.PasswordQuestion;
...
I need to create my silverlight framework that has all following features about resources.
Partial loading. So, I can't use sample resource file(*.resx).
Strongly-typed resource file. Because It's very easy to debug.
Easy to edit with sample text editor. Because you can't use some complex editor like visual studio in web server.
Easy t...
class Cache
{
int sizeOfCache;//no of RssFeedDocument
private List<RssFeedDocument> listOfRssFeedDocument = null;
}
i want to find a object in this generic list in class based upon RssFeedDocument 's property FeedId.
...
I have an ASP.NET (C#) class that is used both on the client and server.
Depending on whether the code is being executed on the client or the server, it needs to behave differently.
What is the simplest & most efficient way of telling if the code is executing on the client or the server?
Thanks!
...
What is the best way to use validation on your site when I want to give people client side "helper" validation such as password not long enough, email is incorrect format but also do server side validation and return errors such as username already exists and have both client and server validation messages visually be displayed the same ...