Archive for category References

Sneak Peek: New ASP.NET Editors’ Features and Demo for 2009 volume 2!

Sneak Peek: New ASP.NET Editors’ Features and Demo for 2009 volume 2!

Image: ASPxEditors Demo Menu Check out this list of new controls and features for ASP.NET editor controls in the DXperience 2009 volume 2 release.

First, the common ASP.NET editors like the textbox, combo box and others are finally get their due respect. Yes, these ASP.NET editors, or ASPxEditors, will have their very own demo section in the DXperience 2009 volume 2 release! Preview the editors online or send out direct links to management as you convince them about how much you need these features.

We needed the new demo because the ASPxEditors packs so much functionality with new controls and exciting features:


New ASP.NET ColorEdit Control!

Image: New ASPxColorEdit Control

This slick new control displays a set of colors so that you and your users can customize website pages.

Here’s technical breakdown:

  • ASPxColorEdit has the Color property whose type is System.Color
  • Client-side methods available: GetColor / SetColor
  • ASPxColorEdit works with both color codes(#ff00ff, #D8D8D8) and standard colors (red, green, silver)! The standard colors are converted into color codes
  • ASPxColorEdit is a text editor with a dropdown window

The power of suggestion! The ASPxColorEdit was implemented from your suggestions in the support center. Thanks and keep em coming.


New ‘Drop-down Edit’ Control !?!

Image: New ASPxDropDownEdit Control

Another new control in 2009 volume 2 is the ASPxDropDownEdit. The DevExpress ASP.NET team have created a new derived editor to support custom popup windows. These custom popup windows allow you to easily embed things like the ASPxGridView.

DropDownEdit vs ComboBox

The ASPxDropDownEdit is not a combo box control. Instead, it’s really a textbox with a dropdown window template. Place just about anything into this window template. For example, by using the ASPxDropDownEdit, create an extended lookup control (with editing) using the ASPxGridView or implement a folder selection dropdown using the ASPxTreeList.


Styles for NullText and Focused Event

Image: New Features - NullTextStyle and FocusedStyle

By adding the NullTextStyle and FocusedStyle properties, you’ll have more control of your ASPxEditors’ look and feel at runtime.


Display Format for all ASP.NET Editors!

Image: DisplayFormat for all ASPxEditors

All the ASPxEditors now support the DisplayFormat property including the combo editors! Here’s the full control list: (ASPxTextBox, ASPxButtonEdit, ASPxMemo, ASPxSpinEdit, ASPxDateEdit, ASPxComboBox, ASPxDropDownEdit)


Multiple-Selection List Box and Combo Box!

Image: Multiple Selection ListBox Image: Multiple Selection ComboBox

The ASPxListBox control will now provide three selection modes:

  • Single – Allows end user to select only one item
  • Multiple – End users can select several items at once by using the mouse and keyboard keys: Shift (to select a range of items) and Ctrl (to add an item to a current selection)
  • Check Column – provides multiple selection by using a specific checkbox column (end users don’t need to use the Ctrl and Shift keys).

Using the new ASPxDropDownEdit control and the multiple selection list box, you can easily create a dropdown(combo box style) check list box of your own.

With all these sweet new controls and features, I’m very excited about the DXperience 2009 volume 2 release. Which of these controls and features are you most excited about?

, , , , , , , ,

No Comments

ASP.NET-AJAX MultiSelect ComboBox and ListBox Control by DevExpress

Coming in July 2009 – the multiple selection enabled ASPx List Box Control will ship with DXperience v2009 vol 2.

DevExpress.com is proud to announce the upcoming release of the ASP.NET List Box dropdown control – a feature-rich standalone multi-select component to simplify website design and allow end-user customization of ASP.NET-AJAX webpages.

Features of the new ASP.NET List Box control include:

- Single Select Mode – Allows end users to select only one item.
- Multi Select Mode – End users can select several items at once by using the mouse and keyboard keys: Shift (to select a range of items) and Ctrl (to add an item to a current selection)
- Checkbox Select Mode – Provides multiple selection by using a specific checkbox column (end users don’t need to use the Ctrl and Shift keys).

These features will be released as part of DXperience v2009 vol 2 in July 2009. Sneak peeks and more information on these features are available on the DevExpress Community Site at: http://community.devexpress.com/blogs/aspnet/archive/2009/06/23/sneak-peek-new-asp-net-editors-features-and-demo.aspx

To learn more about DevExpress and to download a free evaluation copy of DXperience, visit them online at
http://www.devexpress.com/Downloads/NET/

For more information, contact Kevin White by email at kevinw@devexpress.com or by phone at (818) 844-3383.

All trademarks and registered trademarks are the property of their respective owners.

, ,

No Comments

ASP.NET Ajax Tutorial Series – Building an Asp.Net AJAX Enabled Web Application Using Visual Studio 2008 – Learn

The DXAirways Tutorial Series hosted on TV.Devexpress.com Demonstrates the Power of ASP.NET and DevExpress AJAX components

TV.DevExpress.com is proud to announce the immediate availability of its online tutorial series for software developers using Visual Studio 2008 and the ASP.NET web platform. These on-going tutorials describe and demonstrate ways in which to develop advanced and feature-rich web and Windows applications.

Launched in April 2009 and hosted on the DevExpress Channel, the DX Airways tutorial series provides step-by-step instruction on the development of a fictitious airline application. To date, the following videos have been published:

- Introducing DX Airways – A Case Study: http://tv.devexpress.com/DXairways01.movie
- System Architecture: http://tv.devexpress.com/DXairways02.movie
- Database Design & Conventions: http://tv.devexpress.com/DXairways03.movie
- Software Configuration Management: http://tv.devexpress.com/DXairways04.movie
- Setting up the Data Access Layer Using XPO: http://tv.devexpress.com/DXairways05.movie
- XPO Continued: Collections, Associations, and Best Practices: http://tv.devexpress.com/DXairways06.movie
- Website Layout & Navigation: http://tv.devexpress.com/DXairways07.movie
- Setting up the Home Page: http://tv.devexpress.com/DXairways08.movie
- Web Site Membership and Authorization: http://tv.devexpress.com/DXairways09.movie
- Flight Availability Search: Setup and Essentials: http://tv.devexpress.com/DXairways10.movie
- Flight Availability Search: Intro to the Client-Side API: http://tv.devexpress.com/DXairways11.movie

To learn more about DevExpress and to download a free evaluation copy of DXperience, visit them online at http://www.devexpress.com/Downloads/NET/

For more information, contact Kevin White by email at kevinw@devexpress.com or by phone at (818) 844-3383.

All trademarks and registered trademarks are the property of their respective owners.

###

, ,

No Comments

Free Asp.Net Live Chat Application for Websites- Open Source Application

Click Here to Download

The project is in re-thinking

I’m taking some time to think about the direction I want to take for the next months, and finally come up with the 1.0 release.

Current beta version

LiveChat Starter Kit is a C# .NET 2.0 web and windows forms application. The application can be use to enable live chat on an ASP.NET website.

Resources

Requirements

Basic Features

  • View the website’s visitors in real-time (Page current viewing, Referrer, etc).
  • An image reflecting the status of the operators (Online/Offline).
  • If no operator are online, the visitor will be able to leave a message.
  • The operators respond to chat with a Windows Forms application.
  • The operators can send link and canned messages to the visitor easily.
  • Multiple-operators is possible with the Sql Provider.
  • Notification when the visitor or operator is typing.
  • Sound on chat request or new messages on the operator console.

The project uses the ASP.NET 2.0 Provider Model and AJAX. The communication process is implemented throw Web Services and the operator console is a Smart Client Windows Forms application.

Last edited Sep 18 2008 at 2:40 PM by dstpierre, version 22

Want to leave feedback?
Please use Discussions or Reviews instead.

Archived page comments (6)

, ,

No Comments

ASP.NET C# Instant Messenger Status Determination – Akxl Labs

First, we need some functions to determine the status of an AIM user. I do this using the http://www.imwrapper.com/ service to get the status, based on the protocol.

The first function figures out if the user is online:

1protected bool GetIMStatus(string screenName, string protocol) 2{ 3 protocol = protocol.ToLower(); 4 5 string imStatusUrl = "http://www.imwrapper.com/" + protocol + "/" 6 + screenName + "/standard"; 7 8 System.Net.HttpWebRequest imStatusRequest = 9 (System.Net.HttpWebRequest) 10 System.Net.WebRequest.Create(imStatusUrl); 11 12 imStatusRequest.Accept="image/*"; 13 imStatusRequest.AllowAutoRedirect = true; 14 15 System.Net.HttpWebResponse imStatusResponse = 16 (System.Net.HttpWebResponse) imStatusRequest.GetResponse(); 17 18 return imStatusResponse.Headers["Content-Disposition"]. 19Contains("online.png"); 20}

GetIMStatus takes the following parameters, and returns a boolean, where true indicates that the user is online.

a screen name:

The screen name of the user to check. This value is generally case-insensitive, but this depends on the protocol.

a protocol:

The protocol to check on. Valid values are:

• AIM
• Yahoo
• MSN
• ICQ
• Jabber
• Skype

Note that these values are case-insensitive.

If that’s all you want to do, then you only need that function. But I wanted a snap-in, linked status indicator.

So, we need a function to display something based on this information. A big part of this will be the link location. Most protocols support a way to launch a message window to a user via a link, so we’ll need to construct a link for each protocol.

1protected string GetIMStatusString(string screenName, string protocol) 2{ 3 return GetIMStatusString(screenName, protocol, "standard"); 4} 5 6protected string GetIMStatusString(string screenName, 7 string protocol, 8 string iconSet) 9{ 10 string html = ""; 11 12 try 13 { 14 protocol = protocol.ToLower(); 15 iconSet = iconSet.ToLower(); 16 17 string imStatusUrl = "http://www.imwrapper.com/" 18 + protocol + "/" 19 + screenName + "/" 20 + iconSet; 21 22 string statusString = 23 ((GetIMStatus(screenName, protocol)) ? "Online" : "Offline"); 24 string linkStart = ""; 25 string linkEnd = ""; 26 27 // jabber : xmpp:<sn> 28 // skype : skype:<sn>?chat 29 // yahoo : ymsgr:sendIM?<sn> 30 // aim : aim:goim?screenname=<sn> 31 32 switch (protocol) 33 { 34 case "aim": 35 linkStart = "<a href=\"aim:goim?screenname=" 36 + screenName 37 + "\">"; 38 linkEnd = "</a>"; 39 break; 40 case "yahoo": 41 linkStart = "<a href=\"ymsgr:sendIM?" 42 + screenName 43 + "\">"; 44 linkEnd = "</a>"; 45 break; 46 case "jabber": 47 linkStart = "<a href=\"xmpp:" 48 + screenName 49 + "\">"; 50 linkEnd = "</a>"; 51 break; 52 case "skype": 53 linkStart = "<a href=\"skype:" 54 + screenName 55 + "?chat\">"; 56 linkEnd = "</a>"; 57 break; 58 } 59 60 html = String.Format("<img src=\"{1}\" alt=\"{0}\" " 61 + "align=\"absmiddle\" /> {3}{0} as {2}{4}" 62 ,statusString 63 ,imStatusUrl 64 ,screenName 65 ,linkStart 66 ,linkEnd 67 ); 68 } 69 catch 70 { 71 // ... 72 } 73 74 return html; 75}

GetIMStatusString takes the following parameters, and returns the HTML for an icon for the client and status, a string describing the screen name and status, and (where possible) a link that will launch a message window to contact the screen name.

a screen name:

The screen name of the user to check. This value is generally case-insensitive, but this depends on the protocol.

a protocol:

The protocol to check on. Valid values are:

• AIM
• Yahoo
• MSN
• ICQ
• Jabber
• Skype

Note that these values are case-insensitive.

optionally, an icon set:

Check http://www.imwrapper.com/ for icon set names. The default is ’standard’, which is the first icon set on each list. All protocols also have ‘default’, which is the icon set actually used by the canonical clients. To find the icon set name, check the URL of the images in the set. For example, if an image’s URL is ‘http://www.imwrapper.com/images/icq/bevelled/offline.png’, the icon set is ‘bevelled’.

The string returned will render something like this:
IM: Offline

To make this code reusable, I made a custom control that can be snapped into a page. The control will render as the above status string. The source code that turns the above functions into a custom control is below. The control can be downloaded at the bottom of the page.

1<%@ Control Language="C#" %> 2 3<script language="C#" runat="server"> 4 private string _screenName = ""; 5 private string _protocol = "aim"; 6 private string _iconSet = "standard"; 7 8 public string ScreenName 9 { 10 get { return _screenName; } 11 set { _screenName = value; } 12 } 13 14 public string Protocol 15 { 16 get { return _protocol; } 17 set { _protocol = value; } 18 } 19 20 public string IconSet 21 { 22 get { return _iconSet; } 23 set { _iconSet = value; } 24 } 25 26 // [ THREE FUNCTIONS FROM ABOVE HERE ] // 27</script> 28 29<%= GetIMStatusString(ScreenName, Protocol, IconSet) %>

To use the control, you need two things:

The following code needs to be at the top of your page, to register the control.

1<%@ Register tagprefix="akxl" 2 Tagname="IMStatus" 3 src="/controls/IMStatus.ascx">

The next code places the control into the page output. You can also add another attribute, IconSet="<string>" to specify the optional icon set parameter. All attributes directly map to the parameters described above.

1<akxl:IMStatus id="akxlIMStatus" 2 runat="server" 3 ScreenName="ImTooSmartForMe" 4 Protocol="AIM" />

Here’s a live example of the control:

IM: Offline

, ,

No Comments