Showing posts with label solution. Show all posts
Showing posts with label solution. Show all posts

Monday, March 26, 2012

Intellisense / Element unknown errors

So I did some searching around and didn't find any solution to my problem, so I figured I would go ahead and post it.

I think the problems are both related to one another.

#1 - Intellsense does not work - typing <atlas: doesn't have anything appear.

#2 - I have errors in my source view for <atlas:ScriptManager runat="server" /> that element ScriptManager is not a known element.

The problem seems to be that my files are stored on a remote IIS server and I'm connected via a mapped drive to that location. If I copy the web site to my local drive, then everything works great - put it to the server that error comes up.

It doesn't bother me that much, as I normally work in Source View so switching to design isn't the end of the world, but the lack of Intellisense for me is driving me nuts as I'm trying to learn Atlas and how it works.

Thanks to anyone who has any suggestions.

RichardYou can add the Microsoft.Web.Atlas.dll assembly to the Visual Studio toolbox on your local machine. That will make make the controls available to all projects. Seethis post for more information.

-- Karsten
Thanks for the reply. I actually ran across that post and added them to the toolbox. I see them in the tool box, I can drop and drag them to page - but the system still doesn't know what the tags mean.

I will try it again when I get back into the office today.

Richard

Saturday, March 24, 2012

IP based camera solution

Hi again,

I wanted to know if AJAX is a good candidate to capture IP camera images. Basically an interface wraps around the camera image and an event click saves into a database.

Thanks.

Not sure what you have in mind. Are you talking about using an Update Panel?


Thanks for the reply, Ron. I basically need an interface that captures IP based camera images and save to a database or filesystem. Can this be accomplished with AJAX or just plain C# coding.


You should use C#. Add AJAX to increase performance. Are you a programmer?

Is Ajax.Net a Solution Looking For a Problem?

I have been looking into Atlas and Ajax.net for a while and I have yet to see why I should waste my time. It seems like such a raw, immature implementation of a sophisticated technogy that I am better off spending $500-$1000 getting a 3rd-party Ajax component like ComponentArt, or rolling my own nasty Ajax code. Earlier this year I built an entire website with heavy Ajax functionality (www.lagunacollege.edu), and they were all server side 3rdParty controls that I dropped on a page. A couple of lines of JavaScript was all it took for me to have callbacks and all sorts of cool things.

Because, honestly, this Ajax.net stuff is a sandbox. I downloaded the latest beta and got nowhere. There were so many compile errors and bad references that I gave up. Its not like I can't quickly deliver Ajax features from another vendor. When I browsed the code, I saw tons of client-side code that I did not even want to get into. Isn't the whole point of Ajax.net to abstract the nasty internals of Ajax so that a server-side developer can get up and running with high-fidelity web apps with spending his days writing JavaScript?

I was far more productive using a 3rd-party control that had real word examples like load-on demand tree view, images strips, splitters, etc. and spared me the headaches of scripting. These Ajax.net demos are utterly lame. A password strength widget? An accordion thingy? Rounded corners? Give me a break. And what is with all these examples where you have to build a web-service? What is the point of that complexity? When you look at the samples of the 3rd party vendors, they a real world scenarios, like Ajax grids, slick menus and tree-views, etc.

All that I can assume is that this Microsoft's attempt to keep the competion guessing until it comes up with a coherent way to deliver rich UIs for the web. For now I think this Ajax.net stuff is the domain of hobbyists and tight-fisted hackers with plenty of time on their hands.

Yeah, I wrote about the same few posts too. I was required to remove Ajax.net libraries from the solution yesterday because I'm tired to read forum every day and looking for a solutions for many problems... and I haven't time to play with it in the real project. The last thing was that after a new release the webparts stop to be working... Looks like that these controls are in the "Not Supported" list. So I asked in the previous posts - why do I need 300k of additional javascript code? UpdatePanel that supports label with timer? I just for an experiment installed MagicAjax.Net library for asp.net 2.0 (one DLL, few lines in web.config) and... webparts are working very good!!! Why?! I mean why Microsoft team is writing library that can't support own standard ASP.net controls, but 3rd-party solutions can? Lets wait for the release and I hope that there will be no a 300k of javascript code, I do not neet it, and as minimum standard asp.net 2.0 controls will be supported. Otherwise I don't know why Microsoft spent so many months to develop this library...

hello.

TunnelRat:

Isn't the whole point of Ajax.net to abstract the nasty internals of Ajax so that a server-side developer can get up and running with high-fidelity web apps with spending his days writing JavaScript?

well, you can look at that thought that perspective too. so, just drop some updatepanels everywhere and you're ready to go.

you seem to describe yourself as an AJAX programmer with lots of AJAX sites developed, but as i've seen in lots of other threads (so, you're not alone), you don't want to learn Javascript to build better pages. You just want to drag-n-drop controls into the pages and that's it. the last time i looked, the J standed for Javascript...to me, this means that if i want to build cool performant pages, i'd really need to learn Javascript. but hey, that's just me...




Hi Luis, thanks for the answer, but why did you decide that we don't know or do not use javascript? Heh, we use it very well, if you mean about XmlHttp - the same, and we have created own AJAX controls - it is not a problem. Let me to describe my point of view and why I'm waiting for some AJAX solutionfrom Microsoft. The one from many examples - lets look to the nice controls int the ASP.NET 2.0 - WebParts. They are good, but.. if don't want to refresh whole page during every minimize or maximize of any webpart (this is really very bad) - I need to put web zones to a some AJAX panel. What it really means? To implement support of the webparts in the own AJAX panel - we need to wrap (hardcode!!!) some ASP.NET client objects - "__wpm" etc. Lets propose that Microsoft will fix some issues or implement some new features and will create new update for the ASP.NET 2.0 (.NET 2.0 framework). In this update they will rename "__wpm" to "__webPartManager" for a some reason - just for example. Do you think that this is not real? Real! And what? All our AJAX panels will stop working... Do you follow my thoughts...? That is why I like idea of Microsoft to create ASP.NET AJAX extension for theown ASP.NET controls, but guys, please do it normally, please think about developers, real environment, investigate and compare existing AJAX solutions...

hello.

Maryan:

Hi Luis, thanks for the answer, but why did you decide that we don't know or do not use javascript? Heh, we use it very well, if you mean about XmlHttp - the same, and we have created own AJAX controls - it is not a problem.

well, my previous post was a reply to the 1st post of the thread. well, if you read it, you'll see that he's complaning about not having server controls that you can drop in a page and get automatic partial refreshes. to me this sounds like not wanting to learn javascript...

Maryan:


They are good, but.. if don't want to refresh whole page during every minimize or maximize of any webpart (this is really very bad) - I need to put web zones to a some AJAX panel. What it really means? To implement support of the webparts in the own AJAX panel - we need to wrap (hardcode!!!) some ASP.NET client objects - "__wpm" etc. Lets propose that Microsoft will fix some issues or implement some new features and will create new update for the ASP.NET 2.0 (.NET 2.0 framework). In this update they will rename "__wpm" to "__webPartManager" for a some reason - just for example. Do you think that this is not real? Real! And what? All our AJAX panels will stop working... Do you follow my thoughts...? That is why I like idea of Microsoft to create ASP.NET AJAX extension for theown ASP.NET controls, but guys, please do it normally, please think about developers, real environment, investigate and compare existing AJAX solutions...

yes, i follow. web parts have some integration problems with updatepanels and i think this will only be solved after a rewrite of the web part components (it's easy to understand why it doesn't work...just think about the new way to insert scripts in a page during a partial refresh). i understand the pain of migration (i really do). but if they've changed something, i'm really sure that they've only done it because it was really needed and not just to upset the guys that use the platform.

btw, why don't you create your own client framework for building something similar to web parts? instead of relying on server side programming, why not do it only in the client side? ajax extensions give you a lot of help in these scenarios.