Founded in 1974, ISIS is an international non-profit organization that provides world-standard zoological data collection and sharing software to more than 800 member zoos, aquariums and related conservation organizations in almost 80 countries. The ISIS global database for the zoological community contains information on 2.4 million animals -- 10,000 species -- and is constantly growing.
ISIS is a network more than 800 zoos, aquariums and related conservation organizations in almost 80 countries that have come together to collaborate and share information on more than 2.6 million animals – many who are endangered or threatened species. Together with other ISIS members around the world, we will use the ISIS computer-based information systems to record and share basic biologic information about our animal collection to enhance our care of the animals in our facilities and to manage our genetic and demographic programs.
ISIS worked with the world zoological community to create the Zoological Information Management System (ZIMS) application; the first real-time, online, global animal management tool. ZIMS will provide uniform, consistent and comprehensive information.
The ZIMS application has been in the making for years. The zoological community began discussing the need for a real-time pooled animal knowledgebase 10 years ago. ISIS developed the ZIMS application through the cooperation of animal care experts worldwide.
Zoos, aquariums and other conservation organizations worldwide will use the ZIMS application to track pertinent information needed by their animal-care staff, including collection management, husbandry, and health and disease history to further enhance local care and international conservation efforts.
The ZIMS application will feed the ISIS central database, which currently includes information on 2.6 million animals – more than 10,000 species. As the more than 800 institutions that belong to ISIS begin to expand their use of electronic records through the ZIMS application, this knowledgebase will greatly expand.
<script language="javascript" type="text/javascript">
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function EndRequestHandler(sender, args) {
if (args.get_error()) {
var msg = args.get_error().description;
alert(msg);
args.set_errorHandled(
true);
}
}
</script>
Is there a simplier way, like some client event on the RadAjaxManager ?
p.s. : I'm using RadControls for ASP.Net Ajax v 2010.1.519.35
Hi Team-
I do have radgrid in my application.I want Javascript Validations on Submit button of row.(Client side validations)
Below code in Java script gives me orignal values loaded in MasterTableView but not changed values.
I am geting orignal values loaded in Textbox not changed by user.
***************************************************************************************************************************************************
JavaScript Code is below
//Check Validations for grid like Mandatory and
function Validations(sender, args)
{
var itemIndex = args.get_commandArgument();
var row = sender.get_masterTableView().get_dataItems()[itemIndex]; //to access the row
var cellvalue = row._element.cells[2].innerHTML; // to access the cell value
alert(cellvalue);
}
I also Tried ,
var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
var oldValues = masterTable.extractOldValuesFromItem(0);
alert(oldValues);
But it gives me error.
GRID Code is below
**<radG:RadGrid ID="RadGrid1" runat="server" OnDeleteCommand="RadGrid1_DeleteCommand"
AllowFilteringByColumn="true" AllowSorting="true" OnItemDataBound="RadGrid1_ItemDataBound"
DataSourceID="SqlDataSource1" GridLines="None" Skin="Outlook" Width="93%" OnItemInserted="RadGrid1_ItemInserted"
OnItemUpdated="RadGrid1_ItemUpdated">
<MasterTableView CommandItemDisplay="Bottom" AllowAutomaticUpdates="True" DataSourceID="SqlDataSource1"
AllowAutomaticDeletes="True" AutoGenerateColumns="False" AllowAutomaticInserts="True"
DataKeyNames="id" ClientDataKeyNames="id" >
<FilterItemStyle HorizontalAlign="left" />
<HeaderStyle ForeColor="Navy" />
<ItemStyle BackColor="White" Height="20px" />
<AlternatingItemStyle BackColor="#E5E5E5" Height="20px" />
<Columns>
<radG:GridTemplateColumn AllowFiltering="False" UniqueName="TemplateColumn">
<ItemTemplate>
<asp:Image ID="Image1" ImageUrl="../frames/images/ADMIN/Grid-settings.png" runat="Server" />
</ItemTemplate>
<ItemStyle Width="10px" />
</radG:GridTemplateColumn>
<radG:GridBoundColumn Display="false" ReadOnly="True" DataField="id" DataType="System.Int32"
UniqueName="id" Visible="true" SortExpression="id" HeaderText="Id">
<ItemStyle Width="100px" />
</radG:GridBoundColumn>
<radG:GridBoundColumn EditFormColumnIndex="0" DataField="Agent_Name" UniqueName="Agent_Name"
HeaderText="Agent Name" SortExpression="Agent_Name" AllowFiltering="true" AutoPostBackOnFilter="true"
CurrentFilterFunction="Contains">
<ItemStyle Width="500px" HorizontalAlign="Left" />
</radG:GridBoundColumn>
<radG:GridBoundColumn EditFormColumnIndex="1" DataField="Phone1" UniqueName="Phone1"
HeaderText="Phone-1" SortExpression="Phone1" AllowFiltering="true" AutoPostBackOnFilter="true"
CurrentFilterFunction="Contains" >
<ItemStyle Width="500px" HorizontalAlign="Left" />
</radG:GridBoundColumn>
<radG:GridBoundColumn EditFormColumnIndex="0" DataField="Phone2" UniqueName="Phone2"
HeaderText="Phone-2" SortExpression="Phone2" AllowFiltering="true" AutoPostBackOnFilter="true"
CurrentFilterFunction="Contains">
<ItemStyle Width="500px" HorizontalAlign="Left" />
</radG:GridBoundColumn>
<radG:GridBoundColumn EditFormColumnIndex="1" DataField="Address" UniqueName="Address"
HeaderText="Address" SortExpression="Address" AllowFiltering="true" AutoPostBackOnFilter="true"
CurrentFilterFunction="Contains">
<ItemStyle Width="500px" HorizontalAlign="Left" />
</radG:GridBoundColumn>
<radG:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditColumn">
<ItemStyle Width="50px" />
</radG:GridEditCommandColumn>
<radG:GridButtonColumn ConfirmText="Delete this record?" ConfirmDialogType="RadWindow"
ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
UniqueName="DeleteColumn">
<ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />
</radG:GridButtonColumn>
</Columns>
<EditFormSettings ColumnNumber="2">
<FormTableItemStyle HorizontalAlign="left" Wrap="False"></FormTableItemStyle>
<FormCaptionStyle HorizontalAlign="left" CssClass="EditFormHeader"></FormCaptionStyle>
<FormMainTableStyle HorizontalAlign="left" BorderColor="black" BorderWidth="0" CellSpacing="0"
CellPadding="3" BackColor="White" Width="100%" />
<FormTableStyle HorizontalAlign="left" BorderColor="black" BorderWidth="0" CellSpacing="0"
CellPadding="2" BackColor="White" />
<FormTableAlternatingItemStyle HorizontalAlign="left" BorderColor="blue" BorderWidth="0"
Wrap="False"></FormTableAlternatingItemStyle>
<EditColumn ButtonType="ImageButton" InsertText="Add New Agent" UpdateText="Update"
UniqueName="EditCommandColumn1" CancelText="Cancel Edit">
</EditColumn>
<FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>
</EditFormSettings>
<ExpandCollapseColumn Visible="False">
<HeaderStyle Width="19px"></HeaderStyle>
</ExpandCollapseColumn>
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<CommandItemSettings AddNewRecordText="Add New Agent" />
</MasterTableView>
<ClientSettings EnableRowHoverStyle="true" AllowColumnsReorder="true" ReorderColumnsOnClient="true">
<Resizing AllowRowResize="False" EnableRealTimeResize="True" ResizeGridOnColumnResize="True"
AllowColumnResize="True" ClipCellContentOnResize="False"></Resizing>
<ClientEvents OnRowDblClick="RowDblClick" OnCommand="Validations" />
</ClientSettings>
</radG:RadGrid>*
************************************************************************************************************************************************
***************************************************************************************************************************************************
Please suggest its very urgent.
Many Thanks
Shashank
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ViewMarsLogs.aspx.cs" Inherits="Mars.Console.Web.ViewMarsLogs" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
id
=
"Head1"
runat
=
"server"
>
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
//
<![CDATA[
function pageLoad(sender, args) {
setInterval("MarsLogsWS.GetRecentLogMessages(updateGrid)", 1000);
}
function updateGrid(result) {
var tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
tableView.set_dataSource(result);
tableView.dataBind();
}
function OnRowDataBound(sender, args) {
var spanControl = args.get_item().get_cell("Change").getElementsByTagName('span')[0];
var image = args.get_item().get_cell("Change").getElementsByTagName('img')[0];
if (args.get_dataItem().Change > 0) {
image.style.display = "";
image.src = "Images/up.gif";
spanControl.style.color = "green";
}
else if (args.get_dataItem().Change < 0) {
image.style.display = "";
image.src = "Images/down.gif";
spanControl.style.color = "red";
}
else {
image.style.display = "none";
spanControl.style.color = "";
}
}
//]]>
</
script
>
</
telerik:RadCodeBlock
>
</
head
>
<
body
class
=
"BODY"
>
<
form
runat
=
"server"
id
=
"mainForm"
method
=
"post"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager"
runat
=
"server"
>
<
Services
>
<
asp:ServiceReference
Path
=
"MarsLogsWS.asmx"
/>
</
Services
>
</
telerik:RadScriptManager
>
<!-- content start -->
<
h3
class
=
"qsfSubtitle"
>
RadGrid bound to live data:</
h3
>
<
telerik:RadGrid
ID
=
"RadGrid1"
AutoGenerateColumns
=
"false"
runat
=
"server"
>
<
MasterTableView
TableLayout
=
"Fixed"
>
<
Columns
>
<
telerik:GridTemplateColumn
UniqueName
=
"Type"
HeaderText
=
"Type"
DataField
=
"Type"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"Type"
runat
=
"server"
Style
=
"font-weight: bold;"
/>
</
ItemTemplate
>
<
ItemStyle
Width
=
"150px"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"Priority"
DataField
=
"Priority"
HeaderText
=
"Priority"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"Priority"
runat
=
"server"
/>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"Text"
DataField
=
"Text"
HeaderText
=
"Text"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"Text"
runat
=
"server"
/>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
DataField
=
"EventTime"
UniqueName
=
"EventTime"
HeaderText
=
"Event Time"
DataFormatString
=
"{0:dd/MM/yyyy' 'HH':'mm':'ss}"
/>
</
Columns
>
</
MasterTableView
>
<
ClientSettings
>
<
ClientEvents
OnCommand
=
"function(){}"
OnRowDataBound
=
"OnRowDataBound"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
<!-- content end -->
</
form
>
</
body
>
</
html
>
<?
xml
version
=
"1.0"
?>
<
configuration
>
<
appSettings
>
<
add
key
=
"Telerik.ScriptManager.TelerikCdn"
value
=
"Disabled"
/>
<
add
key
=
"Telerik.StyleSheetManager.TelerikCdn"
value
=
"Disabled"
/>
</
appSettings
>
<
system.web
>
<
compilation
debug
=
"true"
targetFramework
=
"4.0"
/>
<
pages
>
<
controls
>
<
add
tagPrefix
=
"telerik"
namespace
=
"Telerik.Web.UI"
assembly
=
"Telerik.Web.UI"
/>
</
controls
>
</
pages
>
<
httpHandlers
>
<
add
path
=
"ChartImage.axd"
type
=
"Telerik.Web.UI.ChartHttpHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.RadUploadProgressHandler.ashx"
type
=
"Telerik.Web.UI.RadUploadProgressHandler"
verb
=
"*"
validate
=
"false"
/>
<
add
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
validate
=
"false"
/>
</
httpHandlers
>
<
httpModules
>
<
add
name
=
"RadUploadModule"
type
=
"Telerik.Web.UI.RadUploadHttpModule"
/>
<
add
name
=
"RadCompression"
type
=
"Telerik.Web.UI.RadCompression"
/>
</
httpModules
>
</
system.web
>
<
system.webServer
>
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
<
modules
runAllManagedModulesForAllRequests
=
"true"
>
<
remove
name
=
"RadUploadModule"
/>
<
add
name
=
"RadUploadModule"
type
=
"Telerik.Web.UI.RadUploadHttpModule"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"RadCompression"
/>
<
add
name
=
"RadCompression"
type
=
"Telerik.Web.UI.RadCompression"
preCondition
=
"integratedMode"
/>
</
modules
>
<
handlers
>
<
remove
name
=
"ChartImage_axd"
/>
<
add
name
=
"ChartImage_axd"
path
=
"ChartImage.axd"
type
=
"Telerik.Web.UI.ChartHttpHandler"
verb
=
"*"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
/>
<
add
name
=
"Telerik_Web_UI_SpellCheckHandler_axd"
path
=
"Telerik.Web.UI.SpellCheckHandler.axd"
type
=
"Telerik.Web.UI.SpellCheckHandler"
verb
=
"*"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"Telerik_Web_UI_DialogHandler_aspx"
/>
<
add
name
=
"Telerik_Web_UI_DialogHandler_aspx"
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
verb
=
"*"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"Telerik_RadUploadProgressHandler_ashx"
/>
<
add
name
=
"Telerik_RadUploadProgressHandler_ashx"
path
=
"Telerik.RadUploadProgressHandler.ashx"
type
=
"Telerik.Web.UI.RadUploadProgressHandler"
verb
=
"*"
preCondition
=
"integratedMode"
/>
<
remove
name
=
"Telerik_Web_UI_WebResource_axd"
/>
<
add
name
=
"Telerik_Web_UI_WebResource_axd"
path
=
"Telerik.Web.UI.WebResource.axd"
type
=
"Telerik.Web.UI.WebResource"
verb
=
"*"
preCondition
=
"integratedMode"
/>
</
handlers
>
</
system.webServer
>
<
system.serviceModel
>
<
bindings
/>
<
client
/>
</
system.serviceModel
>
</
configuration
>
</
script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/Core.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Ajax/Ajax.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/jQuery.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Splitter/RadSplitterScripts.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/jQueryPlugins.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/TouchScrollExtender.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Input/TextBox/RadInputScript.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/Navigation/NavigationScripts.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/ComboBox/RadComboBoxScripts.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Calendar/RadDatePicker.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Calendar/RadDateTimePickerScript.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Calendar/RadTimeViewScripts.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Input/DateInput/RadDateInputScript.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Calendar/RadCalendarCommonScript.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Calendar/RadCalendarScript.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Grid/RadGridScripts.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Common/Scrolling/ScrollingScripts.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Menu/RadMenuScripts.js" type="text/javascript"></script>
<
script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.3.1109/Menu/ContextMenu/RadContextMenuScripts.js" type="text/javascript"></script>
<
script type="text/javascript">