User Control and Custom Control - user-controls

I'm purely new to this topics.(User Control and Custom Control)
Even i saw some other sites for learning,i'm totally confused about these topics.
Which site is best to start these topics with examples from beginning?

I think, MSDN is the best one.
See following link :
http://support.microsoft.com/kb/893667

Related

Adding onBlur and onFocus events

My company is currently looking into making our website "Web Accessible". I'm very rough when it comes to using Kentico (v8.2.50), but that's the CMS that is driving our site.
Running the front page through a Web Accessibility Checker, we encountered this warning on our main menu strip:
script not keyboard accessible - onmouseout missing onblur
onmouseover event handler missing onfocus event handler.
The fix sounds simple, but I'm not sure where to add these events. Has anyone had any experience with this?
It really depends on how your site has been put together. If the site has been built using the portal engine, you're probably able to find the markup that you're looking for in one of the transformations. There is a possibility that you're using the CMSListMenu control which for restricted flexibility in terms of markup. Without a little more information or a page to look at it is hard to tell.
As for looking through transformations, I can highly recommend Search for Kentico to help find things within the CMS, it's been invaluable on a number of occasions when looking for specific markup. What it can do is help you locate things within Kentico by very quickly looking through the templates and transformations etc.

Have small chat application but i need current online users

In sharepoint I do have chatter web part.
That web part does not show the online user.
In sharepoint are there any ways to get online users into the WEB PART.
Please guide it is the requirement.
THanks a lot in advance
This is not possible out of the box with SharePoint. It's a big limitation, I know because I've been looking for ways to do this as well. But there may be a ways around it:
The following was proposed here: go4answers.webhost4life.com/Example/code-get-many-users-logged-sharepoint-79841.aspx
What comes to mind is that you could write something that would hook into the session_start and session_end. Here's an ASP.NET blog that covers it. http://imar.spaanjaars.com/QuickDocID.aspx?QUICKDOC=223.
I then realized that this may not work since sharepoint uses SqlServer, by default, not InProc for its session mgmt. This would prevent session_end from firing.
Ok, so if you change your web.config to use InProc, it should work. There are implications in doing this, of course. Here is an article that lets you assess where this is a safe thing to do based on your environment. http://sharepoint-one-stop.blogspot.com/2008/06/moss-2007-interview-questions.html

Basic Groovy query regarding security / visibility

I am building a .gsp page to list the user details of an application with their specifications.
I want to let 3 roles to view it but allow only admin role to save any changes they make. For this I want the save button to be visible on screen only when the admin logs in.
I know I should be handling this in the controller, but being very new to programming I have no idea how that can be achieved?
Even if you could point me to a link that explains this it would be helpful.
I assume this is with Grails?
You really shouldnt invent your own security layer, the possibilities for getting it wrong are huge. Have a look at the spring-core-security plugin
It has detailed documentation (and for the bit in your question when you get it all set up, the documentation is here)
There are also tutorials to be found all over the web (one is here)

What is the accepted portlet framework for .Net?

What is the accepted "portlet" framework for .Net these days? By this, I mean the whole "add little widgets to a page and move them around" type of thing.
I know that Web Parts were big at one time, but is this architecture still the "accepted" method in the .Net world? Is this still what Sharepoint uses? (And should that matter?)
I need to use portlet-type things for a client project, and I don't want to re-invent the wheel. I'd like to use the tool that have the most momentum and community support behind it?
Yes, SharePoint still uses web parts. That being said, there are many ways of creating SharePoint web parts.
You can't really go wrong with ASP.NET User Controls. User Controls give you a lot of freedom, are still very "accepted" and supported (and that won't stop anytime soon). What's more, you will be able to re-use the control everywhere (SharePoint or not) with little refactoring which is a big plus in my book.
You can read this article by Scott Gu for more details : http://weblogs.asp.net/scottgu/archive/2006/09/02/Writing-Custom-Web-Parts-for-SharePoint-2007.aspx

No-code or little-code website

What is a (free) technology which requires the least amount of code for creating a website with the following requirements:
Sign-up/login
Form for adding your personal info. which gets databased
Each person can view and edit their own info
Admin can view and edit any
The form needs to be easily customizable and extensible (by the website's owner, not during run-time)
Is there a beginner tutorial for such a thing?
(For me, this question is about a friend who wants me to do this, but I want him to do it himself so I don't have to get roped into maintenance. I also want to keep it more general for the sake of Stack Overflow and future readers.)
Edit: I thought I remembered some ASP.NET tutorials that were mostly drag/drop or things where it was all but made for you from the database schema (which can be made with SSMS's GUI) but I can't seem to find them now.
Responding to posts below requesting specifics: this site will be for potential clients to sign-up and enter their company's info and fill out a form about their advertising needs.
I thought about putting this on SU instead, but since there was likely going to be some coding involved (I assumed no-code was an unreachable goal) SO seemed more appropriate.
Your friend can consider a framework like drupal. It has a bit of a learning code but, you can create a website with everything you ask for without code. You may want to modify it to change the look but there are themes for that.
Also, some hosts like godaddy.com have this installed and you do not have to worry about the complex installation procedures. Just start modifying the content of the site, select a built in template and go...
PhpBB? I think you need to specify what the website is going to be used for before you can get better/more specific answers.
... have a look at Drupal or Joomla, expect a learning curve nevertheless.
Is this friend a programmer as well? If so, I'd suggest building such a site using a PHP framework. Deploying an existing forum/wiki is also an option of course, but will probably have much more features than you describe. But if s/he's not a programmer, I don't see how s/he will be able to develop a site like that in a reasonable amount of time.
Why not using a CMS like wordpress, drupal and co. ?

Resources