Some Client-side Know-Hows

Referring to Scott Mitchell’s article “Client-Side Enhancements in ASP.NET 2.0” on 4GuysFromRolla, it contains How to programmatically set focus to a Web control How to add client-side script when a Button is clicked How to maintain scroll position on postbacks Attached with this is another article on “Resetting scroll positions” that talks about handling scroll … Continued

ClientID & UniqueID

ClientID and UniqueID are definitely different. In the simplest sense, ClientID is used for client-side, UniqueID is used for server-side. However, there are more subtle differences between them. ClientID: Used with id attribute of rendered HTML tag Uses underscore as separator (e.g. ParentPanel_ChildControl) MSDN ClientID reference <%=%>, combined with $get or $find, can be used … Continued

Update Panel control

First step one should take to understand UpdatePanel – what it is and what it can do… MSDN – UpdatePanel Class MSDN – UpdatePanel Control Overview Introduction to the UpdatePanel Control Creating a SImple ASP.NET Page with Multiple UpdatePanel Controls Using the ASP.NET UpdatePanel Control with Data-Bound Controls Using the ASP.NET UpdatePanel Control with Master … Continued

Tab Panel Styles

In order to change the default look of the tab panel, the tab’s css class property needs to be changed. The official AjaxToolkit site talks about how it should be done briefly: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Tabs/Tabs.aspx Here are some more extra resources found thru Google (duh!): http://mattberseth.com/blog/2007/09/creating_a_yui_tabview_style_t.html http://mattberseth.com/blog/2007/09/more_sample_ajaxcontroltoolkit.html http://blogs.visoftinc.com/archive/2007/09/26/ajax-control-toolkit-tab-control-themes.aspx By Bryan Xu