our company holds a dynamic website which is being hosted and config in IIS .now i wanna know is it possible to Add Ajax Controls or Ajax Control Toolkit to my website or if i have to make any updations and i want to do it with the help of update panel is it possible i can do with my existing website let's say adding New Pages (no modifications on prev page's) i already went through video of joe stagner how to add ajax to an existing project
is there any more changes do i have to make either in my IIS or on my Windows Server 2008 R2 to make the New Pages? how to add ajax to an existing project,as it will be a great help for me i wanna perform this thing exactly live on my production server so chances of any error should not be there.
I have web site with Dotnet 2.0 framework With Ajax1.0. Now My requirement is to add Web Application built in 3.5 framework not used Ajax at all. But I am getting Ajax Error
I have a client that currently has a comprehensive php website (with a huge amount of functionality built in).
We have been requested to link into our c#/SQL server application and pull information from the SQL database and display this on the existing website.
I would like to do this as aspx pages. However, I do not want to re-create the complete existing website. I would like to add the aspx functionality onto the current website.
I want to add WCF to existing asp.net application and host both of them in the same virtual directory is it possible ?? Also when i click new item to add app.config file from visual studio its not showing.
I am writing to a CSV that will contain different customer information. Right now when I write to it, it overwrites whatever is in the path right now. Instead of overwriting I would like the new writer.WriteLine to append to the current CSV without overwriting it.
Code
[Code]....
Also, can anyone help me with writing the file to a different location other than my local project file? I need the path to become a server location instead of the CSV folder stored locally.
We have a web application written in ASP.NET for .NET 3.5, using standard web forms.
Going forward we want to start building new features, and over time migrate existing features, in ASP.NET MVC.
Is such a thing doable? Can we add the necessary files to an ASP.NET web application and thus "upgrade" it to be compatible enough with MVC so that we can start adding routes, controllers, views, etc.?
The old site is using a frameset containing a top header, a left menu, and a main content. What I envisioned was to create a new masterpage for all the existing pages, integrating all of those things into each page instead, and then start adding new pages using views instead.
I understand that unless we upgrade to .NET 4 we cannot use MVC 3, so the way I see it we have the following options:
Build a new website, somehow auto logon the new site with the same credentials when logging in on the main site, and link between the sites. I see tons of problems with this solution. Integrate ASP.NET MVC 2 into the existing software, adding the necessary files, and starting to add new content in MVC style, only fixing critical bugs in the old files, and over time migrate them over to MVC. Upgrade to .NET 4 and integrate ASP.NET MVC 3, pretty much the rest the same as option 2. Wait until we can schedule a full rewrite, likely to not happen in any foreseeable future. Don't do it, keep web forms.
Note that a full rewrite is out of scope at the moment, so some transitional period is the only option we can do right now.
Option 2 and 3 are the ones we want, the rest are just for completeness.
I have a running ASP.NET web site. There is following problem with one of the forms:
One part of submitted data is added to database after "submit" is clicked. (to "table1") Another part is lost (not added to "table2", and no files uploaded) I have no source code of that project. So, because I cant edit existing page, I came to a decision to add new .aspx page to a running application with same functions as existing one. How can I do that? Or maybe you can recommend some other solution.
What options do I have for adding a blog to an existing ASP.NET Web Forms web site. Ideally it should be able to transition to MVS as and when my site does.
I need to add rows to an existing (maybe) datatable in a dataset that combines the IIS6 index search with my own sql table. I keep getting object reference errors.
What are the steps to implement webparts into an existing application that already has been set up to use asp.net membership? I have yet to see how to get this to work. The only thing I am accomplishing is generating the following error:
The specified connectionStringName, 'LocalSqlServer', was not registered. (C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Configweb.config line 312) at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType) at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType).
So, what is the deal here? Is it because my site uses masterpages? I have profile, roleManager, membership and connectionstrings in my web.config. I tried adding a webpart section, like I found on one website, to no avail. I was still getting the 'LocalSqlServer' error bunk.
I have a Gridview on my aspx page. On my page_load event I check for a record in the database, if the record exists for that row in the gridview I would like to add a new column in the same gridview and add a button control to it. This adding of new column in the Gridview should happen in the codebehind (c#). see the code I wrote for this, but when I run it, it does not create any column on the gridview page.
I have a WCF service which has 4 Operation contracts.
I have added a new contract and it gets the data from database and returns the result set.
I can access the new contract and the service get the correct result set. But while passing the result set to the client I get the error of The underlying connection was closed: The connection was closed unexpectedly.
What are the steps to follow after adding a new contract like new binding etc.
I have a gridview that contains template fields with textboxes that is used to look up inventory items. The page loads using an arraylist to display a gridview control with a predetermined number of rows. There is also drop down control that allows the user to add additional rows to the gridview if needed.
Currently when a user has already entered some data if you use the drop down to add more empty rows all the original entrys are removed. I want to save the original data and then add empty rows at the end.
>>
Private Sub LoadDataGrid(ByVal numberOfRows As Integer) Dim Counter As Integer Dim GridList As New ArrayList For Counter = 0 To numberOfRows GridList.Add(New LibVB.Form2VB(Counter)) Next gvEnterParts.DataSource = GridList gvEnterParts.DataBind() End Sub <<
I'm lost, kind of a newbie to .net, have been working on this for 2 days! d.
Before using any class in your website project/page we have to add it's assembly reference to our project. Right?
Now, when I am using SmtpClient class from System.Net assembly after adding the System.Net.Mail namespace in namespace node of application's web.config file but without adding assembly reference to the project, it still accepting and running the code. Why?
I enquired the machine's web.config file located at C:WINDOWSMicrosoft.NETFrameworkv2.0.50727CONFIG but didnt find assembly reference for System.Net there also.
So bit confused how it is working and where the assembly reference has been added and how?
I have running 3.5 application, an i want to use ajax for this application after enabling ajax everything workign fine but i have a problem with hiddent fields. As I have hidden field i set a value tru or false in it but he data is dublicated like (False, False) I donot know how, or from where this dublication is comming.
I am creating an Asp.net web site which will support dynamic data. When I am creating a dynamic web site from Scratch (from template in VS) all is working fine. But when I am trying to add dynamic entity (.edmx) file and running the application I am getting following error
"The method 'Skip' is only supported for sorted input in LINQ to Entities. The method 'OrderBy' must be called before the method 'Skip'. "
I'm trying to emulate an Ajax CalendarExtender to match an existing ASP:Calendar using CSS. Here are the properties (not in CSS but on the actual .aspx) of the regular ASP:Calendar:
I'm trying to implement AJAX within an existing application and it seems to be running slow.
I have 3 datallist that all have checkboxs. I have buttons that all users to check all checkbox for a specific datalist. I have an update panel around each datalist. When I check and uncheck it seems to be really slow. I also have 3 textboxes and 4 buttons within my update panel.
When I user uses this site it hides and shows different panels and that seems to be really slow when the users press a button. There is no database stuff happening when the slowness occurs.
I am executing a long-running Oracle stored procedure from .NET. The procedure takes about three hours to run. Ideally, the user should be able to kick off the procedure, close the browser, and come back later to check the results.
The problem is that the connection to the Oracle procedure is lost after exactly an hour. As you would expect, the Oracle procedre runs to completion if it is executed from SQL Plus. Strangely enough, it will also run to completion if I run in debug mode on my local machine (I start two threads, one of which executes the procedure. I set a breakpoint on the second thread).
Here is my connection string:
data source= (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=serverx)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TestSID)))