asp.net

Are 'www.example.net' and 'forum.example.com/content' two different web sites?

There is a website www.example.net and it has a Forum link on its home page which leads to forum.example.com/content. I found out that the main site has been developed using the .NET Framework, and the forum has been built using PHP based vBulletin. Are these two different domains? In other words, is the Forum some folder inside the V...

Genrating the designer file for an asp.net application

Hello Guy's, Here i want to generate the designer file like default.aspx.designer.cs file for the page default.aspx. i had been seen it in may application but i don't know how it be happened so please tell me some solution . ...

Sharepoint 2010 - connection between custom webparts on different site pages.

Hello! I would be grateful if you could help me / hint me on the issue I'm struggling with at the moment. I try to implement connection (using custom connection interface) between 2 custom web parts on different pages, essentially a "master-detail" behaviour. If I add both web parts on the same page, they can be connected successfull...

Generating gridview to Excel also want to generate other page of grid then the displayed pages.

i got some code to export grid-view in excel format but tee problem is that it doesn't generated paging grid on excel. i mean it does not generate grid for other than the first page. So please let me know what i am missing. ...

Date Of Birth validation

I am working in asp.net and I want to take DOB from user in a text box,how can i validate the testbox for feb and leap year consideration.I also want the date to be entered in DD/MM/YYYY. ...

asp.net - pressing ENTER in a textbox and form submits

it's a simple question and yet i couldn't figure how this works. I created an aspx page without any master page. Put one text box on the form. then use Internet Explorer 8 and visit that page. typed something and hit ENTER on the keyboard. The form submits (judging by that page being refreshed). I didn't even put any buttons on the form....

The user instance login flag is not supported on this version of SQL Server. The connection will be closed.

Hi I am using sql server fulll edition. any idea how should I solve this issue, I search on net but not found any helpful answer. Thanks ...

Problem with autoextender poisitioning asp.net

Can anyone help with this issue i have with the auto complete extender for asp.net 3.5. Basically when i type the text into the texbox, the autocomplete extender does not appear underneath the textbox. It appears sometimes on top or underneath the textbox. Is there a way i can fix the position of the autoextender popup? Thanks ...

How can we publish an asp.net website with Visual Studio 2008 ?

I've created an asp.net website with VS2008, how can I publish it in VS2008? P.S: I've used Right Click -> publish but, I've used a Database in my project, but VS2008 doesn't publish it. P.S: I'm using SQL Express 2008 ...

VIP WCF, Only My Application can see but no else can see any reference at all

There is a WCF I created on the server, running. And I built an application that connects this url. This is an exe that can be run in every PC. The thing that I want, only this app can see this WCF, and can use its utilities, the others can see nothing, no url , no reference, no wsdl of the web service. How can I create this environmen...

closing pop up window on button click(if successcede) and reload parent window

I am using this code.This pop up window pops up when I clicks a button on the main page.Now I want the pop up window to be closed if the password is successfully changed and reload the main page,but if the password is not changed then refresh the pop up window again. I used javascript for form validationenter code here Here is the code.....

How to go about reducing ASP.NET MVC application startup Memory Footprint?

I have an ASP.NET MVC application that also employs the typical NHibernate / Castle stack. On startup, the application's memory footprint sits around 190Mb and I wish to be able to run multiple isolated AppPools, each of which will serve a different domain. This is before really hitting anything serious in the database or putting anythin...

ConnectionString from app.config of a DLL is null

I have a class library that contains a valid connectionString inside the app.config. Inside that class library I want to use it with ConfigurationManager.ConnectionStrings["NAME"].ConnectionString My ASP.net 4.0 framework application references that DDL and retrieves data from it. I want create a Entity Framework 4 DataContext within ...

Is there any big perfomance difference between RenderPartial and Partial?

Also RenderAction and Action. RenderXXX akaik write directly to response stream and XXX use additional string buffer. I don't really want doing benchmark my myself, so maybe someone already do it. ...

Membership IsUserOnline Problem

I have a chat application.The problem is i'm using asp.net membership for checking whether the user is Online or not.I haven't set any time window.Now when the user logs out using LoginStatus,the user is still shown online.What should i do to resolve this ...

Windows Azure Storage in VB: Not running in a hosted service or the Development Fabric.

I'm trying to run an instance of the Azure Blob Storage in the Azure Visual Studio 2010 development environment, but keep getting the following error: System.InvalidOperationException: Not running in a hosted service or the Development Fabric. The stack trace is pointing to these lines: Imports Microsoft.WindowsAzure Imports Microsof...

Reusable Page_PreRender function in asp.net

I have a function which sets my linkbutton as the default button for a panel. protected void Page_PreRender(object sender, EventArgs e) { string addClickFunctionScript = @"function addClickFunction(id) { var b = document.getElementById(id); if (b && typeof(b.click) == 'undefined') ...

SQL Query Error in defining the alias for column

My following sql query giving me the following error, What does it mean. Am i defining the alias fir column in wring way. Please help me out with this. My error is this and i am putting query just below the error. Error in SELECT clause: expression near 'Year'. Missing FROM clause. Unable to parse query text. SELECT [tbl_students].pa...

ASP.net Forms Authentication Issue When User Logs into the site as 'www.thedomain.com' vs. 'thedomain.com'

I have a 3.5 .net site running forms authentication on a folder named "portal". Once the person has logged in successfully all code runs from within that folder, and everything works very well. However I recently installed sigma grid and it uses a JSON type call to data.aspx to populate the grid. It worked just fine until a client tri...

How can I view all the properties of a given JS object?

I have a 3rd party server side control that generates JavaScript and I'd like to see what methods and properties it exposes. Currently I just type in an invalid function like asdf123() so VS will break and I can add a watch to the variable, but there are a ton of methods and I don't know what I'm looking for (I'm trying to make the cont...