Sitefinity PageControl QueryString values - request.querystring

We're upgrading a project from Sitefinity 3.7 to 4.4 and some of our controls need to be updated. Apparently we now have to have our UserControls inherit from PageControl, but when you do that there's no access to the QueryString values.
Anyone know what's going on or how to get around it?
I know we could potentially use the HttpContext, but I'm stumped as to why Telerik would have hidden these values.
Thanks,
jacques

If you are referring to widgets, they can still be developed as UserControls (.ascx files). There is an introduction to widget development here: http://www.sitefinity.com/blogs/gabesumner/posts/11-08-29/ldquo_hello_world_rdquo_guide_to_custom_sitefinity_widgets_amp_controldesigners.aspx
But you can absolutely use a UserControl which would give you full acess to the HttpContext.
I hope this is helpful!

Related

Does intellisense for binding works in html with visual studio code for angular?

I typically use intelliJ (back-end/java) and the intellisense is working for html (basically am able to go to the definitions of the bound properties). And its doing OK with angular...
I tried to do the same with VS Code (as i am trying to evaluate is VS code gives anything more other than chrome-debugging in VS code), but somehow the intelliSense is not working.
I feel like its basic feature, probably I am missing something in my IDE.
Is it supposed to work?
Anything additional config/setup i need to make it work...
And yes, intellisense in ts files is working as expected...
Note:
Installing Angular Language Service extension did not do the trick for me. After installing and reloading (https://github.com/angular/vscode-ng-language-service) when i tried to go to definitions its just keeps spinning (loading). Not even sure what its doing in background as i don't see obvious options to see the details.
Regards.
John Papa the author of both AngularJS and Angular's style guide and Microsoft employee (makers of VSCode) has a blog where he talks about this very thing.
https://johnpapa.net/essential-angular-vs-code-extensions/
I would recommend any of his talks or blog articles!
Regardless, the plugin you're looking for is
Angular Language Service - This extension provides a rich editing experience for Angular templates, both inline and external templates. This extension is brought to you by members of the Angular team. It is fantastic at helping write solid code in the html templates.
https://marketplace.visualstudio.com/items?itemName=Angular.ng-template
and/or
Path Intellisense - Visual Studio Code plugin that autocompletes filenames. Hopefully, VS Code will bake this in at some point. Until then, this is a keeper.
https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense
Here are some extensions that may be useful to you.

Alternative for rich:page component in primefaces UI

I am working on a Migrating project in PrimeFaces 5.1.
The project is already done in rich faces. In our previous project we use Rich:page component for a page. I need a alternative component in PrimeFaces 5.1 UI.
Kindly help me over it. Thanks in advance.
That is very simple to answer. There is none. But if you use a facelets templating mechanism with defines for title etc, there is no real need for such a component in my bit so humbl opinion

Struggling to create clientless IM with Lync

I need to make a clientless IM system with Lync and am struggling to find any existing information on this to help me.
Is this possible? and could anyone help/point me in the right direction?
Thanks!
You've included HTML5 as a tag, so I'm going to assume you want to create an web-page that has IM functionality built in.
UCWA is exactly what you need in this instance. UCWA is a rest-like API for accessing Lync for IM and Presence. You can use UCWA with anything that does HTTP request/response, but all the examples are using Javascript. Have a look at UCWA.Lync.com - where you will find online examples and code samples.
Also, if you're developing a project on this, depending on your timeline, you should also be aware of a new technology recently announced at the Lync Conference 2014. Its code name is JLync, and it will bring "browser extensibility with voice, video & content."

Using polymer.dart to build portable web components

I'd like to use polymer.dart to build a set of portable web components that can be embedded in any random html page (including pages outside of any dart project). The idea is that a customer could embed my polymer.dart elements on his html pages without the customer needing to create a dart application. I would think this would be an obvious and straightforward thing to do - but after going through many tutorials and instructional pages, and reading through lots of dart/polymer.dart documentation, I haven't found any explanation of how to go about this. Presumably the dart/polymer code would have to be compiled to javascript for inclusion on the customer's html page. Could someone comment on if this is possible, and if so, provide an explanation with examples of how to go about it? This dart/polymer.dart newbie would be grateful for any assistance.
I don't think this will work with Dart.
You need to run pub build over a Dart application to get a deployable result.
I guess this would work better with JavaScript Polymer elements.
There are plans to support this scenario but I guess it will still take a while.

A public open source HtmlHelper repository for sharing "controls"

After using the MVC framework for a little while now I must say I love it, but in my opinion there has always been one thing that poops on the MVC party cake. The lack of good, reusable and portable "controls". This is where the HtmlHelpers should kick in.
After reading this blog post I started thinking about what exactly I’m expecting from a good HtmlHelper and I wanted to pull this in the open so other (smarter) people can hopefully join me in the effort.
Common Syntax Conventions
This way any developper can easily get going with some HtmlHelper without having to read the whole documentation. I like how JQuery is usually doing this, so maybe it is a good idea to mimick this.
Html != string
Writing Html with stringbuilders is just a pain. wouldn't it be nice if we could write the Html in an Html or asp file that later gets compiled into the dll?
Put javascript/css where they belong
I think I'm not the only one who has built his masterpage with an asp:contentholder dedicated for his javascript and css. Preferably js at the bottom and css at the top of the page. Wouldn't it be nice if needed references and script blocks could be placed there by the HtmlHelper? Maybe check for double references..
A public repository
Currently I have the feeling that everyone is just recreating the same wheels over and over again in their own private library. Wouldn't it be nice if we had some repository somehwere where we can have all this work combined?
Is there already an existing effort in this line that I have missed? If not do you think this is a usefull idea? Would you be a participator?
I have very little experience in OS efforts, but I have the feeling that this could be something the community is craving for. Does anybody with more os project xp see any pitfalls in this?
There is MVCContrib, but it doesn't address all the issues you raise. I would definitely like to see a better solution to "controls" in MVC than using StringBuilder everywhere.
There's a great asset managing available here (http://weblogs.asp.net/rashid/archive/2009/05/02/script-and-css-management-in-asp-net-mvc-part-2.aspx), which really helps a lot with adding scripts and css..
At the same blog, there's also some neat UI helpers..
I'm starting a small OS project called MVCUIHelpers see (http://github.com/erikzaadi/MVCUIHelpers/tree/master).
The project is rather new (has only Icons and Buttons Helpers so far), but is meant to answer your needs..
If you got something to contribute, that'd be great ;)
Pardon for the broken links, new users can not insert links at here :(
Cheers,
Erik