Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7438049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:29:42+00:00 2026-05-29T10:29:42+00:00

I want to create a control using the jquery ui framework. I know that

  • 0

I want to create a control using the jquery ui framework. I know that I have to use as base the jquery.ui.widget.js as a factory.

This control I want to create has a behavior similar to the tabcontrol. I want to create a tileview, so when yo select a content in a panel of multiples views… it expands and the others collapse to a side of the control.
Like this one http://demos.telerik.com/silverlight/#TileView/FirstLook
Is there any tutorial, step by step to create a custom widget?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:29:42+00:00Added an answer on May 29, 2026 at 10:29 am

    A good starting point is jQuery UI documentation on this topic: http://wiki.jqueryui.com/w/page/12138135/Widget-factory

    At minimum your widget must implement following code (sample taken from documentation):

    (function( $ ) {
      $.widget( "demo.multi", {
    
        // These options will be used as defaults
        options: { 
          clear: null
        },
    
        // Set up the widget
        _create: function() {
        },
    
        // Use the _setOption method to respond to changes to options
        _setOption: function( key, value ) {
          switch( key ) {
            case "clear":
              // handle changes to clear option
              break;
          }
    
          // In jQuery UI 1.8, you have to manually invoke the _setOption method from the base widget
          $.Widget.prototype._setOption.apply( this, arguments );
          // In jQuery UI 1.9 and above, you use the _super method instead
          this._super( "_setOption", key, value );
        },
    
        // Use the destroy method to clean up any modifications your widget has made to the DOM
        destroy: function() {
          // In jQuery UI 1.8, you must invoke the destroy method from the base widget
          $.Widget.prototype.destroy.call( this );
          // In jQuery UI 1.9 and above, you would define _destroy instead of destroy and not call the base method
        }
      });
    }( jQuery ) );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a Silverlight 2 control that has two content areas. A
I have an Ajax control that is loaded into a Yahoo popup using jQuery.
I am learning JQuery. I have a need to create a custom control. This
I'm using the new RichTextBox control in SL4Beta and want to create styles for
Using C# and WinForms in VS2008, I want to create a file browser control
I want to create a custom control in C#. But every time I have
ASP.Net 3.5 I want to create a user control that contains the ListView and
I have a C++ application that currently has console output. I want to add
I am very new to jQuery. I want create a an accordion panel using
I have a panel sitting in a div, and I want to use that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.