The default asp.net calendar renders with 6 displayable weeks, the last week is always the 'next' month and i dont care about it. Is there a way to display only 5 weeks?
How remove "localhost:portno" when running an asp.net website under iis?... When i browse my virtual directory i can http://localhost:120/mine/Forms/Clients.aspx.....
I have a ASP.NET MVC website hosted in IIS.
Sometimes I push changes and user's browser may still using the previous files, causing functionality problems.
It is because the browser is caching those files right?
What can I do to ensure the user browser loading the updated files??
Thanks!
My group is working on a new web application and is considering using MVC. However, there are members who would rather include pages than use master pages. Is this possible to do in ASP.NET MVC? In the small amount of time that I've poked around with MVC I have not yet been able to figure out how one might accomplish that.
The AU file format is very common in the Java world. In .NET however, I found no built-in class to play this format. Did I miss something, or do I need to resort to using a third-party library?
Designer file is locked and when go to project properties it gives this error.
An error occurred trying to load the project properties window. Close the window and try again. The CurrentContext property of the LicenseManager is currently locked and cannot be changed.
.net framework 3.5
VS 2008
Is it advisable to implement url routing for an asp.net(webforms) website which is one year old... What are the factors to be considered before implementing....
How do I attach multiple files as attachments in vb.net? I am trying to use a list box where user will select the file and attach which will appear in a listbox. And also I would like to give the option to delete the attachment also.
I want to access the raw HTML code that my ASP.NET System.Web.UI.Page is about to render.
How can i do that? Is there a property or method like System.Web.UI.Page.HTML or something like that.
I know I could loop through the Controls List of the page and get access to all the Literal Controls etc, but I was wondering if there's a direct property or method that can return me the raw html, which I can modify just before rendering the page.
If you stick to managed code and standard coding (nothing that does unconventional things withe CLR) in .NET, is there any reason to manually invoke the GC or request to run finalizers on unreferenced objects?
The reason I ask is thaty I have an app that grows huge in Working Memory set. I'm wondering if calling
System.GC.Collect();
and
System.GC.RunFinalizers();
would help, and if it would force anything that wouldn't be done by the CLR normally anyways.
I am using vb.net 2005. i am trying to set report groupings of a crystal report at runtime based on user defined options. MSDN says this:
Dim FieldDef As FieldDefinition
FieldDef =
Report.Database.Tables.Item(0).Fields.Item(comboBox1().Text)
Report.DataDefinition.Groups.Item(0).ConditionField = FieldDef
but error shows invalid group number
how to solve this?
I am using Wizard control in VS 2008. I searched the next button coding from net.vI want that if user id and password not match then wizard page should not move to the next step.
Hi,
Is there a free version of IIS to demo ASP.net applications on that will run on XP?
(i.e. or does one need a machine with Windows Server and it's license for a demo - e.g. if a prototype was built in VS2010 but one wanted to demo it on another PC)
I am using .net winforms.
I am having groupBox it contains set of controls like textbox,dropdown....
How to control the filds which is avilable in groupBox?
Example:
I need to clear all the contol fields.
Hi All,
Does anyone know where I can get the API or SDK provided by BlackBoard LMS for .net ?
I have searched over their web site, but didn't found anything apart from documents.
Please help me to get those APIs or SDK.
Thanks in advance.
How can I open a new browser tab in ASP.NET and write to it? I don't want to redirect to a page but I want to write/output the content directly from source.
What is the CodePage for DBCS so I can encode an xml string and show it in a asp.net text box? I don't think I should have to convert the characters myself when Server.HTMLEncode will work if the string is DBCS.
Thanks!
I wrote a WinForms app using .Net and C#. The app accesses DirectoryServices and SQL databases.
The new Win7 workplaces are not allowed to have local admin users and this app will not run.
How can I identify the actions in the app which need local admin rights?
There is a lot of chatter about the improvements HTML5 is about to unleash on the web development world. How will this new standard affect web dev frameworks like Faces, Struts, or even ASP.NET? How long will it take them to 'catch up' in order to emit such code? Will controls get deprecated?
I know you can do it with an WMI event or overriding WndProc and looking for the right messages, but i was wondering if there wasn't something hidden in the net framework that makes this task easyer.
I'm looking for at using ServiceStack for the services part of a web application instead of rolling my own. Anyone have any experience using it? Any C#/.Net alternatives I should consider?
Do we know the algorithm that asp.net uses to create the authentication cookie (when using forms authentication?)
Can we basically create our own copy implementation? if so, how?
What does it use to generate the encrypted cookie value, I know it uses whatever you pass into the SetAuthCookie call (which is usually the userID/username).
The .NET framework provides a few handy general-use delegates for common tasks, such as Predicate<T> and EventHandler<T>.
Is there a built-in delegate for the equivalent of CompareTo()?
The signature might be something like this:
delegate int Comparison<T>(T x, T y);
This is to implement sorting in such a way that I can provide a lambda expression for the actual sort routine (ListView.ListViewItemSorter, specifically), so any other approaches welcome.