I am working on asp.net. and i want to implement partial posts in my application. my situation is like that i dont want to url changed in address bar and even page should not refreshed at all.
for that i used script manager and update panel but still page refreshes and url also changes.
i m working in asp.net and i want to implement partial views. i want to load .ascx page without refreshing the current page and not even url changed. can i implement it in asp.net.
In one of the applications I am working on, there are two basic functionalities included: Create and Update. However, there is a need sometimes to add custom code, so I thought of extending the code by allowing 3rd parties to write and embed their own code:
OnCreating OnCreated OnUpdating OnUpdated
Is there a way to enable the above across multiple assemblies? MEF might help here?
How do I implement partial page caching with an AdRotator control? I know it's supposed to do it automatically, but I'm using the AdCreated event to handle stats, and this seems to cause the ad to be cached along with the rest of the page.
I have implemented master pages using this example How to implement a status bar in an ASP.NET application?. I have a property on my SiteMaster.cs inherited MasterPage called Environment. On my MasterPage.master I have this code:
<body> <form id="frmMaster" runat="server"> <.. some content removed for brevity ...> Environment: <%= this.Environment %> </form> </body>
What I would like to do is evaluate this.Environment and if it is "LIVE" then colour the background of this.Environment text red, and if it's "TEST" colour it yellow. How would I do this?
UPDATE I've just added this code to MasterPage.master
i am trying to implement ldap features to my web application in asp.net C#......
i implemented the ldap features in such a way that,if the ldap path is given like:
ldap://serverneame/ou="sdfsd",dc=""",dc=""
this will allow all the groups under this server and domain how can i differentiate between the groups for example consider an hospital i want this application to be accesible only by doctors,even the cashiers of the hospital will be able to access my application,how should i not allow certain set of groups to be authenticated to my application.
I have a asp.net website with separate web server, Application server and database server. Now I need to have configure load balancing with two web and Application server. I don't have any idea about load balancing. how to proceed with load balancing.
I need to implement a chat application in my asp.net C# used Web Application. I am looking a 1 to 1 chat . Here i am users and i need to chat those users with other ones.
I am a noob in ASP.NET and building a website currently... I want the site to have a search feature.. How can I add this to my site? Is there a good tutorial out there ?
I've built an ASP.NET MVC application with MVC 2.0 and Fluent NHibernate (hided behind repositories for some reasons). The application represents a quite complex domain with some different objects like users, messages, comments, files and appointments.
Now I want to implement a fulltext search which is enabling the user to find easily all types of content by simply entering a search phrase. When handling all that types of different objects in the application seperately, I now have to put them "together" for the search. That means the user makes no distinction between the different types, he just enters "xyz" and wants to get results in a list, comments mixed up with messages etc.
Option 1 is to create a search service which fetches the search result from the different repositories and prepares the combined output (sorting, paging etc.). But that's really, really expensive when the data behind grows (and it will grow).
So I am looking for an alternative solution. Currently I am working with SQL Server 2008. What I have found is lucene.net [URL], but I didn't invest much time yet.
How can I implement Jquery JSONP in my ASP.NET project. My application flow is described below:
1) I am opening a HTTP page, where I have got JQuery login dialog box, from which username and password is posted to my Login.aspx page, which has got one method "GetLoginDetails" which takes posted username and password and sends to a WEBSERVICE which checks the users name and password and return back with "success=true"
2) so in my response I get "success=true", I read that value from jquery and works according to responded text on my client side it display message "Logged in Successfully".
I need to implement a web site installer for my asp.net application. The installer will be handling following features - Deploy the .net web application on to the IIS server Setting up the Sql database connection to run the DB scripts. Execute all the DB scripts. Run another exe for the license management. If some thing goes wrong, need to rollback everything. I have heard about wix and install shield and wondering what would be the best technology suitable for this particular case.
I am trying to implement a plugable architecture within my MVC application. The modules are based on the following post [URL].
When I drop the DLL into the bin folder manually, everything works perfectly.
What I'm trying to do is, upload the DLL via a webform and copy the stream to the bin folder. But when I try view the page I get the following error - The module was expected to contain an assembly manifest.
i want to impliment multithreading into my web application how to do that..
i have already knew the concept of multithreading but want to impliment into application..
i have developped an application this application runs correctly for 400 users but when more user hits the server than the application fails to respond...
how improve the performance of the application..is this problem is related to the database server of the application server.
"We should also have an option under the contacts tab, for a chat option .The idea behind it is that if a user is looking to communicate with a staff person they should be able to open a chat session and start a typing their questions and/or concerns. While building the chat option, the chats should be logged for certain period of time and there should be an option of retrieving particular chat sessions as needed."
What is the best way to implement this ? I prefer jquery plugin for implementing the above task () ? I am using asp.net 2.0.Is there any need to update to 3.5 to achieve the above task ?
I'm trying to decide which of the two factory patterns I should use in my Asp.Net applications:
1 : All DAL providers derive from same abstract base class DepartmentsProvider, which defines public interface of the class ( all the necessary CRUD methods for which derived classes (providers ) provide a concrete implementation ). BLL layer instantiates correct provider by calling DepartmentsProvider.Instance:
public abstract class DepartmentsProvider { static private DepartmentsProvider _instance = null; /// <summary>[code]....
In first case we implement new provider by deriving from DepartmentsProvider class, while in second case new provider is implemented by deriving from DBProviderFactory. What are pros and cons of each implementation?