<%#String.Format("{0:c}", Eval("Subtotal"))%>
I am doing that but if the language is Spanish, this is being displayed 475,00 €
The client wants it so that it is actually $ 475.00
possible?
...
Unlike IIS7, in IIS6 the 'Compress application files' and 'Compress Static files' options are server wide so they apply to every website and virtual directory.
I recently enabled it server wide and I'm beginning to see more and more places where things are being compressed that I don't want -- notably dynamically created images.
Is the...
I work in Visual Studio working on sites mostly myself and occasionally I start on new features for a site and bam a bug pops up on the live site and now I am in the middle of changes and can't post a fix to the bug until everything I started to change is complete.
So I am looking for a nice an simple way to work with this type of situa...
Does anyone know of a good .Net2.0+ compatible dual listbox control that either offers dragging and dropping between lists, or simple buttons to move items between lists and also sort the items in a particulr list. This is for a web based app and I would prefer some nice javascript to make this one speedy.
...
I use ths script in Default.aspx page.
<script id="clientEventHandlersJS" type="text/javascript">
function Button1_onclick() {
var locator = new ActiveXObject ("WbemScripting.SWbemLocator");
var service = locator.ConnectServer(".");
var properties = service.ExecQuery("SELECT * FROM Win32_Netw...
I have a problem in a project wherein my App_Resources folder has the following structure:
App_Resources
CTemp
Images
The problem is, while the Images folder has content files, CTemp does not. The result is that the folder is not created during installation, after which an error occurs because a lot of different parts of the applic...
I have three web application projects that share a common library of custom server controls. Sharing the code behind files is easy - they are compiled into a dll that i reference in the other projects using a project reference. But how do I handle files like JavaScript, style sheets and images? I am trying to do this "the Visual Studio w...
I've got a textbox where the user can enter text that includes html markup.
Of course, when the page does anything that involves a postback, it breaks (error 500) because the parser thinks the html code in the textbox is a hack attempt.
Now, I know there is a way to allow it, but I can't for the life of me remember.
Help?
I'm using V...
Well i have a list of objects List<UserDC> now i would want to display this in some kind of grid so i tryed the GridView
GridView1.DataSource = list
GridView1.DataBind()
Well that did work but now i want to hide some columns but that does not seem to be so easy :
GridView1.Columns(0).Visible = False
GridView1.Columns(1).Visible = Fa...
Hi!
I want to develop an ASP.NET application that can detect the user logged on a Window Domain. These credentials are going to be used to logging on the ASP.NET application.
How can I do this?
Thanks!
...
I've got a Website project in VS.NET 2008. I have a class in App_Code folder
namespace RM{
public class MyClass{
...
}
}
I need to know what assembly this will compile to? You'd think it should be RM.dll but doesn't look like it.
I know that it's better to use WebApplication project instead, but it's not an option at ...
We have a Web project containing both an ASP.Net (forms) UI, and some WCF web services. This is hosted in IIS 6. Both the UI and the WCF services make use of a PDF-generating tool which requires a license, stored in the <appSettings> section of the web.config file. The license is based on the domain of the website, i.e. xxx.com (all subd...
Well fast question is there any way to use a css class in a web user control?
why?
well i have some classes in css that change the layout dramatically so if i want to view the result of the changes i dont want to press f5 and se the page load....
ps im using visual stuido 2008
...
I have a system that builds up reports on incedents. This allows the users to fill in multiple web forms and upload PDF documents, jpeg images and tiff images.
I have a cystal report that prints of all the form data related to the incedent but cannot find a quick method of printing off all the data and the pdf documents with one click....
Sorry if this post appears to be long winded.
I have a parent repeater with nested repeaters.
My problem is I am trying to use 'Next' and 'Previous' buttons to rebind my repeater (rptTabContent) and thus the inner repeaters also, but when I try to manipulate the state of these links during the ItemCommand event they are overwritten by ...
I have an SSL certificate setup for www.mydomain.com. I'm having a strange issue in IIS 6. When I navigate to www.mydomain.com everything works fine. Since the www. part is what my ssl certificate is registered under I get no issues. Hwoever, all of my links in my site take me to mydomain.com/mylink which causes a cetificate error becaus...
How can I make a website multilingual?
I want to create a website and in the home page i want the client to choose a language from English and Arabic. Then the whole website is converted to that language. What should I do to achieve this? I am creating this website in asp.net 2.0 with C#
...
I have an aspx page in a ASP.NET 2.0 application using several ObjectDataSources.
They are all bound to the same class like so:
<asp:ObjectDataSource ID="TitleDataSource" runat="server" OnSelecting="TitleDataSource_Selecting" SelectMethod="GetTitle" TypeName="DropDownDataSource"></asp:ObjectDataSource>
This was working fine. Then I m...
Hallo,
i have created a web site with Asp.Net by using Sql Membership Provider, sitemap and security trimming enabled.
Based on these i have set web.config files into directories for allowing or not the users access according to their roles.
After some time i removed the MembershipProvider and i creted by hand the "standard" login proc...
Is there any way to get HttpContext.Current.Request.Url.Host and HttpContext.Current.Request.ApplicationPath in one call?
Something like "full application url"?
EDIT: Clarification - what I need is this the part within []:
http://[www.mysite.com/mywebapp]/Pages/Default.aspx
I ask simply out of curiosity.
EDIT 2: Thanks for all the...