Google released of a new, open sourced programming language called Go. The company says that Go is experimental, and that it combines the performance and security benefits associated with using a compiled language like C++ with the speed of a dynamic language like Python.
Here’s how Google describes Go in its blog post:
Go attempts to combine the development speed of working in a dynamic language like Python with the performance and safety of a compiled language like C or C++. In our experiments with Go to date, typical builds feel instantaneous; even large binaries compile in just a few seconds. And the compiled code runs close to the speed of C. Go is designed to let you move fast.
We’re hoping Go turns out to be a great language for systems programming with support for multi-processing and a fresh and lightweight take on object-oriented design, with some cool features like true closures and reflection.
For more details check out Golang.org.
eTMS
eTMS is designed for managing the training programmes in your organization. Publishing new training programmes, updating the annual training calendar, monitor the enrollment of the participants, managing the training resources and tracking the learning history. eTMS is a secure and robust system with the features you require to manage the training activities with ease. E Mail notifications and reminders help to keep the participants on track with their learning activities. Participants on their own can completely access or track their training information
Try it....
Hide the div on Mouse click - Javascript
The following Program is the easiest way to hide the div control on Mouse click event. The simple java script function is used to check and validate the click event and Enabling and disabling the div.The main theme of the program is to hide the div on mouse click event on any part of the of page other than the parent div.
Lets try it, if any problem post your comments
How to implement rad tooltip control in web application
- Introduction
- Features
- Some important properties
- Integration of RadTool tip with other controls
- Summary
- Conclusion
Tool tip control can display the rich content including not only text and images, but also some interactive forms with standard ASP.NET and user controls. This will allow you to create context sensitive interfaces which do not permanently occupy space on the form. The Rad Tool tip and Rad Tool tip manager are used to show rich web contents like ASP.net Controls, Ajax generated Contents etc.,
• Rad Tool tip control should be used for single elements like how the normal tool tip control that is used in labels, buttons etc.
• Rad Tool tip manager control should be used where a collection of elements would require a tool tip i.e. data bound Controls, Calendar etc.
The only difference between these controls is the place where we implement them in the form.
2. Features
• Tooltip Positioning: The position of the tooltip can be configured manually by using the properties such as; Relativeto, Position, OffsetX and OffsetY properties.
• Content Scrolling: If the content shown in the tool tip control exceeds the control size, then the content can be scrolled horizontally and vertically.
Server Side
• IsClient ID - True if the TargetControlID is a client id. By default, RadTooltip assumes a server ID. If the ID is client-side, as in the case where an element is pure HTML and not a server control, then the IsClient property should be set to True.
Server side:
• On Ajax update – event to supply the content of tool tips generated by RadToolTipManager.
• Implementation of tooltip in databound Controls
- Add the Rad Tool Tip Manager and Data List control in the markup page; Assign the data source to Datalist.
- At the time of Item Data bound event add the target Controls and the clientID for Tooltip control.
- Two events are mandatory to fire the tool tip
OnAjaxUpdate and UpdateToolTip
o The content shown in the tooltip control can be in the same page / form or else it can be a user control.
For e.g.
Here ’EmployeeDetail.ascx’ is a user control and it can be converted into an individual Control and it is added to a template container of the ToolTip in UpdateToolTip event Handler.
lblProgramNameValue is a target Control in the datalist.
The OnAjaxUpdate event, Calls the function UpdateToolTip by passing EmployeeID as args.Value
• The content or control shown in tool tip should be added to ContentTemplateContainer, here we are showing dlEmployeeDetails (Datalist Contains details about Employee)
• Source assign code for dlEmployeeDetails is written in the Function MouseOver(EmployeeID)
Note:
Tooltip control works better in data bound controls when paging and sorting option is disabled; if paging option is used in Databound controls then, the target controls collection should be cleared while navigating the page else the Same ’ID’ will be passed in each page navigation. Consider the scenario - In Page 1 the 3rd count ID is “123” in Page 2 the 3rd count ID is “456”, while navigating to second page instead of “456” the ID “123” will pass through the Ajax update Function. To rectify this problem,
in Item_Command Event
Sort – sorting Function and Page – For Paging Function.
Implementation of Tooltip with calendar control is simpler. In Datalist control, the Target control is added in Item_DataBound, similar to that, in a Calendar control the target control is added in a Day_Render event.
For e.g.: In Day_Render Event of Calendar,
Then Call: OnAjaxUpdate and Update tooltip Event as shown in data bound controls.
Note:
If Updatepanel or Ajax panel is used for the calendar control, then the Tooltip is shown only for the current month and for the previous month or the next month, the tooltip will not be displayed. For this scenario, we have to use RadAjaxManager control to update the ToolTip controls with the calendar.
To solve this problem follow this code below:
ClientSide:
Summary
• In this blog we sawn about Basics of Radtooltip’s important properties and Features.
• Basic events of RadTooltip• Integration of Radtooltip with Databound Control and Calendar control.
Conclusion
From this blog you are able to understand about basics of Rad Tooltip control, important properties and how to implement and integrate this control with Data bound controls and calendar control.
Remove HTML tags from string
It’s so easy to remove HTML tags from your text or code instead of using the lengthy codes or functions, just use these regular expression in your coding,
Regular Expression: "<[^>]*>"
Eg Code: Vb.net
Public Function RemoveHTMLTab(ByVal pHTMLString As String) As String
Return System.Text.RegularExpressions.Regex.Replace(pHTMLString, "<[^>]*>", String.Empty)
End Function
Eg Code : C#.net
public string RemoveHTMLTab(string pHTML) as string
{
return System.Text.RegularExpressions.Regex.Replace(pHTMLString, "<[^>]*>", string.Empty);
}
Regular Expression: "<[^>]*>"
Eg Code: Vb.net
Public Function RemoveHTMLTab(ByVal pHTMLString As String) As String
Return System.Text.RegularExpressions.Regex.Replace(pHTMLString, "<[^>]*>", String.Empty)
End Function
Eg Code : C#.net
public string RemoveHTMLTab(string pHTML) as string
{
return System.Text.RegularExpressions.Regex.Replace(pHTMLString, "<[^>]*>", string.Empty);
}
Subscribe to:
Posts (Atom)







