I am tasked with re-architecture an existing ASP.Net 2.0 Web Site. The current solution has 3 projects; Web UI, Business layer project and Data layer project. The Data layer uses some sort of SQL helper class and stored procedures to return DataTable. The Business layer sort of passes the DataTable along, I don't see much business logic. The UI web site is heavy on DataGrids. While brainstorming, my thoughts are; I want to obviously keep the layered design and use the separation of code by using 3 projects in the solution.
The part that I am most confused about is the Data Layer. What should I use for this part, Entity Framework, or create my own Classes that represent my database or logical objects? Speed of development is also an issue, it has to be down fairly quickly and be flexible or decoupled for enhancements. I tried going the MVC route but the learning curve is too steep for the developers at this time. So, it has to be Web Forms. I am leaning on using Enterprise Library for Data access, logging, caching and Exception handling.
I have created a web app using the AJAX Enabled Web App template. I now want to add an advertising banner using an adobe flash file, which requires the use of the "Shockwave flash object" in the Components tab of the toolbox. I have added the relevant .dll file under references but still the option for the control in the toolbox is greyed out.
Is it possible to use the component tools with an AJAX web app?
Are the component tool available when using the express version of Visual Web Developer 2010?
If I can not use "Shockwave flash object" another method of creating an ad banner on my app?
I have a one admin to many clients scenario. The admin asks questions and the clients are expected to respond with a Yes/No. The communication happens real-time and time to live for one question is say about 2 minutes. So, after 2 minutes, the admin refreshes the question and new question is put up. I am working with ASP.NET. Before getting started on code, I was wondering if there are any components available that can be used to work with something like this?
I'm trying to create reusable "zones" but am having trouble figuring out how to give them all unique ids.What I'd like is to be able to create a component which can be put on an mvc page using the usercontrol syntax or using RenderAction or RenderPartial. I want to be able to update these components' content using ajax, so I need someway to reference them by id. However, there is no mechanism in MVC that wraps anything in a div or something like that.
I've learned that if I extend ViewUserControl and put the controls on the page like so:
[Code]....
This way, I can pass the previous ID and put it in ViewData, in case I need it laterThen, I can even go through all my controls on page load event in the master page and get my unique ID and write somekind of register javascript function to the page so that I can do javascript stuff if I want when the page loads.
[Code]....
Is there a more elegant way to do this? I see similar stuff from 'Areas' but never seen an example where someone has put more than one area on a page and then needed to reference them via javascript. This also seems similar to custom templates, but I'm having trouble figuring out how that would work.
I am having problems with 2 popupcontrol extenders. They are used in conjuction with a webservice to display the detail information from a database. Each extender gets information a from 2 different tables. The extenders both work fine except when they have run across a row that has the same primary key number. Here is what the code is (I removed most of the info) to hopefully make it faster to view:
I have a FormView component, that includes an EditItemTemplate. From my code behind, i would like to access some of the components that are children from this EditItemTemplate. I tried with FindComponent() but it doesnt seems to work.
I have gone through many articles which uses different workaround to create .net based ActiveX control. But I did not find any standard way of creating ActiveX controls in C#. Can someone share me how to create and test ActiveX control in c#. Note that I have created ActiveX components in VB6 and now looking for a way to create ActiveX control in c# which might be similar to VB6.
I'm trying to use a GridView to display a list of components in ASP.NET. I'm trying to make it editable at the same time. One of the columns is a string that should be selected out of a list when the user edits the row.
So I've tried the following:
Convert the BoundField row to an ItemTemplate Add a dropbox to the template window in the gridview bound the selecteditem to the string
At this point, I get an error because the list items haven't been set up in the dropbox. So I guess the two things I'm wondering are:
How do I assign the items in the dropbox to a dynamically created list of options? How do I make the dropbox only appear when the row is being edited?
Ok so I've discovered the "EditItemTemplate" field in visual studio, that answers #2.
And now I've discovered that the dropbox has a datasource field which can be linked to a property in the data object, and that holds the options list.
I am trying to convert the Plugin's (Interfaces) developed in VB6.0 to .NET web services. Basically what I am trying to do is that making use of VB6.0 dlls in the web services. This works fine when I am checking the services in the debug mode but It fails to work in the Host enviornment(From IIS).Server: windows 2003Error : Creating an instance of the COM component with CLSID {3FF6ABC1-5FAC-45D3-AFA5-B3472443CAA7} from the IClassFactory failed due to the following error: 80010105.
There was a time, when ASP.NET AJAX was Atlas Alpha version. And there were some projects for update panels: Comfort ASP, FastPage (mine:)), MagicAjax, ZumiPage. Now looks like all they dead. What people now use for update panels, except Asp.Net Ajax that is loading huge amount of js not needed for update panel. I have problems with MagicAjax installing on .net4, its deleting my scripts I dont know why. So is there update panels that 100% is working on .net4 and know about jquery.
Used MagicAjax more old version - and now it works)
I need to integrate ASP.NET into an existing Flash site. The site is heavily laden with Flash and needs to communicate with a SQL Server database. I want to use ASP.NET SQLDataSource for this purpose. Given that I need to integrate the two technologies for one web page on the site, do I need to make the site fully ASP.NET with embedded Flash objects? Or, can I just add a single ASPX page to the site that contains the web.config and connection string to SQL Server?
I installed pure components several times and when i use add items to the toolbox, it doesn't show anything, and when visual web starts, it shows me an error message (pure components failed to load).... but the components are checked when i add items or choose items, but they don't show up in the toolbox.
I'm looking for advice on what .NET user interface components are out there on the market. I have been developing asp.net websites and have mainly been using the Visual studio toolbox build in controls supported by the AjaxcontrolToolkit and the applications have been mainly used inhouse running on our company intranet.
But now a new client wants a much more professional looking, commercial web application and they have a budget for some user components for use in the application. Any recommendations where value for money will be realised.
Interested in components that will integrate well with ASP.NET 3.5 SP1 or even .NET 4.
i have winxp sp3 I have been using windows Install cleanup on vs2008 because I couldnt load setup on vs2008. Now I find I can run setup but I create create asp.net web pages . I click new webiste and get this error 'project system components not installed' on vs2008 this didnt do a thing i still have the same problem
* Go To : start | Run
Type the command mentioned below
* devenv /resetskippkgs
nope didnt work at all
before this happened i iuninstalled vs2008 express editions as I have vs2008 prof, I installed sql server 2008 express
i am designing an registration page in asp.net.to group the components(label, ddl and text boxes) i am using panels,but while running the page positions of components are changing. How to fix components to a particular position?
I have a requirement of accessing Microsoft word Document on asp.net web page. It should be opened in asp.net page only. And one should be able to write anything in it. I knw the reference to Microsoft office object library need to be added. that way we can save a word doc or can append any doc on machine. But to allow it to be visible to all on browser ,we should follow the procedure as for activeX controls. by creating Object tag in page source section.