This is a migrated thread and some comments may be shown as answers.

SharePoint 2010 Ajax with DetailsView

6 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chad
Top achievements
Rank 1
Chad asked on 15 Feb 2011, 08:43 PM

What I've done is built a "SmartPart" application in SharePoint 2007 which I'm trying to convert to SharePoint 2010. If you're not familiar with SmartPart, it's essentially a wrapper webpart that lets you load .ascx controls from a designated folder on the SharePoint server.

I've used Telerik controls within a series of .ascx controls. In 2007 everything works fine. In SharePoint 2010 I'm experiencing a ScriptHandler.axd "object expected" error whenever I trigger a partial postback to change the mode on a DetailsView control from ReadOnly to Edit or Insert. Changing from Edit/Insert back to ReadOnly, or loading the page with the DetailsView already in Edit/Insert mode does not cause the error.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Tue, 15 Feb 2011 18:25:21 UTC

Message: Object expected
Line: 5
Char: 32749
Code: 0
URI: http://myHost/ScriptResource.axd?d=5IJVuvjGYmphMWCAkLfCmwAPXrthSXiUWcsZ2-XJPFVyLeGXjv_VkQVwhs7Rbfagz910Hn9YGXyPmImRLglJdlDX3fR00mQLdqSAApxlnZ4LBCFPJ4ROQskZ8-rvBIOcVRyr6yuAXk__TG9yo6erRI62vE01&t=5c2f384e

 
The DetailsView control is using DynamicFields which are constructed from DynamicData FieldTemplates. In these field templates I'm using Telerik controls such as RadTextBox, RadTooltip, RadDateTimePicker, etc. Those controls are what cause the error after a partial postback. As I said, if I load the page in edit/insert mode to begin with, everything is fine. However if I load the page in ReadOnly mode, then trigger a partial postback which causes the DynamicFields to switch from ASP Labels into Telerik Controls the error happens. I want to reiterate that this worked fine in MOSS 2007.

I also found that the ScriptResource it's referring to is MicrosoftAJAX.js, but I'm not sure what it's expecting at Char 32749. Any ideas?

6 Answers, 1 is accepted

Sort by
0
Accepted
Tsvetoslav
Telerik team
answered on 18 Feb 2011, 02:17 PM
Hello Chad,

This a general issue with SharePoint 2010 - it fails to load script control's scripts and resources when those are loaded or made visible on ajax requests. And since in edit/insert mode the grid opens edit/insert forms that usually contain controls not present on the page till that moment (e.g. date-time pickers, combo boxes), the page tries to load those controls for the first time, however, SP 2010 fails to load their scripts. We have reported this bug to MS half a year ago but still no result.

I am sending you a couple of methods as a possible work around for that. Try executing them in the CreateChildControls() method of the web-part as follows:
#if DEBUG
            RegisterScriptsDebug();
#else
            RegisterScripts();
#endif

Hope it helps.

All the best,
Tsvetoslav
the Telerik team
0
Chad
Top achievements
Rank 1
answered on 18 Feb 2011, 05:37 PM
That worked! Thank you.

I didn't use the CreateChildControls() method, but instead added the scripts to the masterpage using the RadScriptManager...

<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
        <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Common.jQueryPlugins.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Input.TextBox.RadInputScript.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Input.DateInput.RadDateInputScript.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Calendar.RadCalendarCommonScript.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Calendar.RadCalendarScript.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Input.InputManager.RadInputManagerScript.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Input.MaskedTextBox.RadMaskedInputScript.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Input.NumericTextBox.RadNumericInputScript.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Calendar.RadDatePicker.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Calendar.RadDateTimePickerScript.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Calendar.RadTimeViewScripts.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Common.Popup.PopupScripts.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Editor.RadEditor.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Common.LayoutBuilder.LayoutBuilderEngine.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Spell.SpellCheckService.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Editor.Modules.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Window.RadWindowScripts.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Dialogs.RadDialogOpenerScripts.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Common.Animation.AnimationScripts.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.Common.Navigation.NavigationScripts.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI, Version=2010.3.1317.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Name="Telerik.Web.UI.ComboBox.RadComboBoxScripts.js" />
            </Scripts>
        </telerik:RadScriptManager>

There was also one script that didn't exist and threw an error (Telerik.Web.UI.Calendar.RadPickersPopupDirectionEnumeration.js). Perhaps the version I'm using doesn't support this? Either way, it worked. Thank you so much.
0
Basil
Top achievements
Rank 1
answered on 26 Jul 2011, 07:55 AM
Hi,

Still I am facing the same issue.Can you just let me know from where i wil be getting this *.js files.I am using Telerik 2009.3.1103.35 version.I am just using the dll.I didnt installed the telerik in my PC.Its giving problem only in SP2010.The same is working in MOSS 2007
Please give me a solution.

Regards

Basil Abraham
0
Tsvetoslav
Telerik team
answered on 26 Jul 2011, 12:15 PM
Hi Basil,

Those js files are embedded in the dll, you just need to add the two script registering methods shown in the attached file of my previous ticket post.

Greetings,
Tsvetoslav
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Basil
Top achievements
Rank 1
answered on 27 Jul 2011, 07:30 AM
Hi
I tried, but still its not working,after implementing this I am getting another error like "An unexpected error has occured".Previously i was getting another error(Error2.jpg).This problem only when am using SP2010.The same is working in MOSS2007.
This is my webpart Code (modified as per to your previous mail)
====================

 

 

 

 

using

 

System;

 

 

 

 

using

 

System.Collections.Generic;

 

 

 

 

using

 

System.Linq;

 

 

 

 

using

 

System.Text;

 

 

 

 

using

 

System.Xml.Serialization;

 

 

 

 

using

 

System.Web.UI;

 

 

 

 

using

 

Telerik.Web.Design;

 

 

 

 

using

 

Telerik.Web.UI;

 

 

 

 

using

 

System.Security.Permissions;

 

 

 

 

namespace

 

BP.SDC.IFDB.WebParts

 

{

[

PermissionSet(SecurityAction.Assert, Unrestricted = true)]

 

 

public class IFDB_STUDIES_AssayStudyWebpart : System.Web.UI.WebControls.WebParts.WebPart

 

 

 

 

 

{

 

protected override void OnInit(EventArgs e)

 

{

 

base.OnInit(e);

 

Page.ClientScript.RegisterStartupScript(

this.GetType(), this.ID, "_spOriginalFormAction = document.forms[0].action;_spSuppressFormOnSubmitWrapper=true;", true);

 

 

if (this.Page.Form != null)

 

{

 

string formOnSubmitAtt = this.Page.Form.Attributes["onsubmit"];

 

 

if (!string.IsNullOrEmpty(formOnSubmitAtt) && formOnSubmitAtt == "return _spFormOnSubmitWrapper();")

 

{

 

this.Page.Form.Attributes["onsubmit"] = "_spFormOnSubmitWrapper();";

 

}

}

 

ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);

 

 

if (scriptManager == null)

 

{

scriptManager =

new RadScriptManager();

 

scriptManager.AsyncPostBackTimeout = 900000;

 

this.Page.Form.Controls.AddAt(0, scriptManager);

 

}

BP.SDC.IFDB.UserControls.Studies.

IFDB_STUDIES_AssayStudy assayStudyObj = (BP.SDC.IFDB.UserControls.Studies.IFDB_STUDIES_AssayStudy)Page.LoadControl(virtualpath);

 

 

this.Controls.Add(assayStudyObj);

 

}

 

protected override void CreateChildControls()

 

{

RegisterScriptsDebug();

}

 

protected virtual void RegisterScripts()

 

{

 

string assemblyFullName = System.Reflection.Assembly.GetAssembly(typeof(RadGrid)).FullName;

 

 

ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);

 

 

if (scriptManager != null)

 

{

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.Core.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.jQuery.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.jQueryPlugins.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.TextBox.RadInputScript.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.DateInput.RadDateInputScript.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadCalendarCommonScript.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadCalendarScript.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadPickersPopupDirectionEnumeration.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.InputManager.RadInputManagerScript.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.RadMaskedInputScript.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.NumericTextBox.RadNumericInputScript.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadDatePicker.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadDateTimePickerScript.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadTimeViewScripts.js" });

 

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.Popup.PopupScripts.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Editor.RadEditor.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.LayoutBuilder.LayoutBuilderEngine.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Spell.SpellCheckService.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Editor.Modules.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Window.RadWindowScripts.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Dialogs.RadDialogOpenerScripts.js" });

 

scriptManager.Scripts.Add(

new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.Animation.AnimationScripts.js" });

 

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.Navigation.NavigationScripts.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.ComboBox.RadComboBoxScripts.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "" });

 

}

}

 

protected virtual void RegisterScriptsDebug()

 

{

 

string assemblyFullName = System.Reflection.Assembly.GetAssembly(typeof(RadGrid)).FullName;

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.Core.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.jQuery.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.RadInputEventArgs.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.RadInputControl.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.InputManager.RadInputComponent.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.InputManager.RadInputExtender.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.DateInput.RadDateInput.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.DateInputManager.RadDateInputComponent.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.DateInputManager.RadDateInputExtender.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.DateInput.DateEvaluator.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.DateInput.DatePickerGregorianCalendar.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.DateInput.DateTimeFormatInfo.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.DateInput.DateTimeLexer.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.DateInput.DateTimeParser.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.RadInputEnumerations.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadDatePicker.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadDateTimePicker.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadPickersPopupDirectionEnumeration.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadCalendar.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.View.RenderDay.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.View.CalendarView.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.Utility.RadHelper.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.Utility.RadCalendar_Utils.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.Utility.Popup.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.Utility.CalendarEngines.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.TimePicker.RadTimeView.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.Selection.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RangeValidation.js" });

 

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadCalendarSelector.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadCalendarEventArgs.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.RadCalendarEnumerations.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.MonthYearFastNavigation.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.DateTimeFormatInfo.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Calendar.Collections.DateCollection.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.Popup.PopupBehavior.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Common.Popup.ResizeExtender.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.TextBoxManager.RadTextBoxComponent.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.TextBoxManager.RadTextBoxExtender.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.TextBox.RadTextBox.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.MaskParts.RadBaseMaskPart.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.MaskParts.MaskedEventWrap.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.MaskParts.RadDigitMaskPart.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.MaskParts.RadEnumerationMaskPart.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.MaskParts.RadFreeMaskPart.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.MaskParts.RadLiteralMaskPart.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.MaskParts.RadLowerMaskPart.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.MaskParts.RadNumericRangeMaskPart.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.MaskParts.RadUpperMaskPart.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.MaskedTextBox.RadMaskedTextBox.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.NumericTextBox.NumberFormat.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.NumericTextBox.RadNumericTextBox.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.NumericTextBoxManager.RadNumericTextBoxComponent.js" });

 

 

ScriptManager.GetCurrent(this.Page).Scripts.Add(new ScriptReference() { Assembly = assemblyFullName, Name = "Telerik.Web.UI.Input.NumericTextBoxManager.RadNumericTextBoxExtender.js" });

 

}

 

string virtualpath = @"~\UserControls\Studies\IFDB_STUDIES_AssayStudy.ascx";

 

}

}

 

 

 

And This is my ascx page
====================

 

<%

@ Control Language="C#" AutoEventWireup="true" CodeBehind="IFDB_STUDIES_AssayStudy.ascx.cs"

 

 

 

 

 

 

Inherits="BP.SDC.IFDB.UserControls.Studies.IFDB_STUDIES_AssayStudy" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<%

@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

 

 

 

 

 

 

Namespace="System.Web.UI" TagPrefix="asp" %>

 

 

 

 

<

 

link href="../../wpresources/IFDB/Styles/IFDBStyles.css" rel="stylesheet" type="text/css" />

 

<

 

link href="../../wpresources/IFDB/Styles/Grid.Hay.css" rel="stylesheet" type="text/css" />

 

<

 

script type="text/javascript" language="javascript">

 

 

 

 

 

 

function fnOpenLoadData(studyId, sampleTestID, sampleId, testID, testType, pagePath) {

 

 

var date = new Date();

 

 

var winSettings = "center:yes;resizable:no;dialogHeight:20pc;dialogWidth:30pc";

 

 

var loadData = window.showModalDialog(pagePath + "Studies/IFDB_STUDIES_ImportPVTDataPage.aspx?" + date.getTime() + "&StudyID=" + studyId + "&SampleTestID=" + sampleTestID + "&SampleID=" + sampleId + "&TestID=" + testID + "&TestType=" + testType + "&AssayData=1", loadData, winSettings);

 

 

return false;

 

}

 

function fnOpenStoreDoc(studyId, sampleTestID, sampleId, testID, testType, pagePath) {

 

 

var date = new Date();

 

 

var winSettings = "center:yes;resizable:no;dialogHeight:30pc;dialogWidth:30pc";

 

 

var loadData = window.showModalDialog(pagePath + "Studies/IFDB_STUDIES_PVTStoreDocPage.aspx?" + date.getTime() + "&StudyID=" + studyId + "&SampleTestID=" + sampleTestID + "&SampleID=" + sampleId + "&TestID=" + testID + "&TestType=" + testType, loadData, winSettings);

 

window.location.reload();

}

 

function fnExportData(studyId, sampleTestID, sampleId, testID, testType, pagePath, ExportFlag) {

 

 

var divPanel = document.getElementById('divLoading');

 

 

var scrollTop = document.body.scrollTop;

 

 

var scrollLeft = document.body.scrollLeft;

 

 

var viewPortHeight = document.body.clientHeight;

 

 

var viewPortWidth = document.body.clientWidth;

 

 

var topOffset = Math.ceil(viewPortHeight / 2 - divPanel.offsetHeight / 2);

 

 

var leftOffset = Math.ceil(viewPortWidth / 2 - divPanel.offsetWidth / 2);

 

 

var top = scrollTop + topOffset - 40;

 

 

var left = scrollLeft + leftOffset - 70;

 

divPanel.style.position =

"absolute";

 

divPanel.style.top = top +

"px";

 

divPanel.style.left = left +

"px";

 

 

var date = new Date();

 

 

var winSettings = "center:yes;resizable:no;dialogHeight:20pc;dialogWidth:30pc";

 

divPanel.style.visibility =

"visible";

 

 

var viewData = window.showModalDialog(pagePath + "Studies/IFDB_STUDIES_ExportPVTDataPage.aspx?" + date.getTime() + "&StudyID=" + studyId + "&SampleTestID=" + sampleTestID + "&SampleID=" + sampleId + "&TestID=" + testID + "&TestType=" + testType + "&Export=" + ExportFlag, viewData, winSettings);

 

divPanel.style.visibility =

"hidden";

 

 

return false;

 

}

 

function fnViewData(studyId, sampleTestID, sampleId, testID, testType, pagePath, ExportFlag) {

 

 

var divPanel = document.getElementById('divLoading');

 

 

var scrollTop = document.body.scrollTop;

 

 

var scrollLeft = document.body.scrollLeft;

 

 

var viewPortHeight = document.body.clientHeight;

 

 

var viewPortWidth = document.body.clientWidth;

 

 

var topOffset = Math.ceil(viewPortHeight / 2 - divPanel.offsetHeight / 2);

 

 

var leftOffset = Math.ceil(viewPortWidth / 2 - divPanel.offsetWidth / 2);

 

 

var top = scrollTop + topOffset - 40;

 

 

var left = scrollLeft + leftOffset - 70;

 

divPanel.style.position =

"absolute";

 

divPanel.style.top = top +

"px";

 

divPanel.style.left = left +

"px";

 

 

var date = new Date();

 

 

var winSettings = "center:yes;resizable:no;dialogHeight:100pc;dialogWidth:100pc";

 

divPanel.style.visibility =

"visible";

 

 

var viewData = window.showModalDialog(pagePath + "Studies/IFDB_STUDIES_PVTViewDataPage.aspx?" + date.getTime() + "&StudyID=" + studyId + "&SampleTestID=" + sampleTestID + "&SampleID=" + sampleId + "&TestID=" + testID + "&TestType=" + testType + "&Export=" + ExportFlag + "&AssayData=1", viewData, winSettings);

 

divPanel.style.visibility =

"hidden";

 

 

return false;

 

}

 

 

 

 

</

 

script>

 

<

 

telerik:RadScriptBlock ID="radScriptBlockMaster" runat="server">

 

 

 

 

 

 

<script language="javascript" type="text/javascript">

 

 

 

 

 

 

function centerElementOnScreen(element) {

 

 

var scrollTop = document.body.scrollTop;

 

 

var scrollLeft = document.body.scrollLeft;

 

 

var viewPortHeight = document.body.clientHeight;

 

 

var viewPortWidth = document.body.clientWidth;

 

 

if (document.compatMode == "CSS1Compat") {

 

viewPortHeight = document.documentElement.clientHeight;

viewPortWidth = document.documentElement.clientWidth;

scrollTop = document.documentElement.scrollTop;

scrollLeft = document.documentElement.scrollLeft;

}

 

var topOffset = Math.ceil(viewPortHeight / 2 - element.offsetHeight / 2);

 

 

var leftOffset = Math.ceil(viewPortWidth / 2 - element.offsetWidth / 2);

 

 

var top = scrollTop + topOffset - 40;

 

 

var left = scrollLeft + leftOffset - 70;

 

element.style.position =

"absolute";

 

element.style.top = top +

"px";

 

element.style.left = left +

"px";

 

}

 

function pnlRequestStartedMaster(ajaxPanel, eventArgs) {

 

centerElementOnScreen(document.getElementById(

'<%=divLoadingPnlMaster.ClientID%>'));

 

}

 

</script>

 

</

 

telerik:RadScriptBlock>

 

<

 

telerik:RadAjaxPanel ID="rapAdminHome" runat="server" LoadingPanelID="aPnlStudyMenu"

 

 

 

 

 

 

EnableAJAX="true" EnableEmbeddedScripts="true" ClientEvents-OnRequestStart="pnlRequestStartedMaster">

 

 

 

 

 

 

<telerik:RadAjaxLoadingPanel runat="server" ID="aPnlStudyMenu" Transparency="20">

 

 

 

 

 

 

<div id="divLoadingPnlMaster" style="position: absolute;" align="center" runat="server">

 

 

 

 

 

 

<table cellpadding="0" cellspacing="0" border="0">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<asp:Image ID="imgLoading" ImageUrl="~/wpresources/IFDB/Images/Loading.gif" runat="server"

 

 

 

 

 

 

AlternateText="Loading..." />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<span class="smallHeaderProgress">Loading...</span>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

</telerik:RadAjaxLoadingPanel>

 

 

 

 

 

 

<div id="divLoading" style="visibility: hidden; position: absolute;" align="center">

 

 

 

 

 

 

<table cellpadding="0" cellspacing="0" border="0">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<asp:Image ID="Image1" ImageUrl="~/wpresources/IFDB/Images/Loading.gif" runat="server"

 

 

 

 

 

 

AlternateText="Loading..." />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<span class="smallHeaderProgress">Loading...</span>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

<table width="100%">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<table align="center">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<asp:Button ID="btnLoadData" runat="server" Visible="false" Text="Load Data" CssClass="button"

 

 

 

 

 

 

CausesValidation="False" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<asp:Button ID="btnVeiwData" runat="server" Visible="false" Text="View Data" CssClass="button"

 

 

 

 

 

 

CausesValidation="False" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<asp:Button ID="btnStoreDocument" runat="server" Visible="false" Text="Store Document"

 

 

 

 

 

 

CssClass="button" CausesValidation="False" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<asp:Button ID="btnExportforQC" runat="server" Visible="false" Text="Export for QC"

 

 

 

 

 

 

CssClass="button" CausesValidation="False" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td colspan="4" class="ScreenHeader">

 

 

 

 

 

 

<asp:Label ID="lblHeading" runat="server" Text="Assay Studies" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td colspan="4">

 

 

 

 

 

 

<asp:ValidationSummary ID="vsErrorMessages" CssClass="ErrorLabel" runat="server"

 

 

 

 

 

 

DisplayMode="List" HeaderText="Mandatory Fields*" />

 

 

 

 

 

 

<asp:Label ID="lblSuccessMessage" runat="server" Visible="false" CssClass="SuccessLabel" />

 

 

 

 

 

 

<asp:Label ID="lblErrorMessage" runat="server" Visible="false" CssClass="ErrorLabel" /><br />

 

 

 

 

 

 

<asp:Label ID="lblInforamation" runat="server" CssClass="ErrorLabel" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td colspan="4">

 

 

 

 

 

 

<telerik:RadGrid ID="grdStudies" OnNeedDataSource="Needdatasource" ImagesPath="../../wpresources/IFDB/Images/"

 

 

 

 

 

 

OnDetailTableDataBind="grdStudies_DetailTableDataBind" OnItemCommand="grdStudies_OnItemCommand"

 

 

 

 

 

 

OnItemCreated="grdStudies_ItemCreated" OnSelectedIndexChanged="grdStudies_OnSelectedIndexChanged"

 

 

 

 

 

 

OnUpdateCommand="grdStudies_UpdateCommand" ShowStatusBar="true" Skin="Hay" runat="server"

 

 

 

 

 

 

AllowFilteringByColumn="True" ShowGroupPanel="true" OnItemDataBound="grdStudies_ItemDataBound"

 

 

 

 

 

 

OnInsertCommand="grdStudies_InsertCommand" FilterItemStyle-BackColor="#d1ffc1"

 

 

 

 

 

 

EnableEmbeddedSkins="false" AutoGenerateColumns="False" PageSize="10" AllowSorting="True"

 

 

 

 

 

 

AllowMultiRowSelection="False" AllowPaging="True" GridLines="None">

 

 

 

 

 

 

<ClientSettings AllowColumnsReorder="True" ClientMessages-DragToGroupOrReorder="DragToReorder"

 

 

 

 

 

 

EnablePostBackOnRowClick="true">

 

 

 

 

 

 

<Selecting AllowRowSelect="True" />

 

 

 

 

 

 

<Resizing AllowColumnResize="false" />

 

 

 

 

 

 

</ClientSettings>

 

 

 

 

 

 

<PagerStyle Mode="NextPrevNumericAndAdvanced" AlwaysVisible="True" ForeColor="#009900"

 

 

 

 

 

 

Font-Names="verdana" Font-Size="8pt" />

 

 

 

 

 

 

<MasterTableView CommandItemDisplay="Top" EditMode="InPlace" Name="Study" EnableHeaderContextMenu="false"

 

 

 

 

 

 

CommandItemSettings-AddNewRecordText="Add Study" AllowAutomaticInserts="false"

 

 

 

 

 

 

AllowAutomaticUpdates="false" AllowFilteringByColumn="True" AllowSorting="True"

 

 

 

 

 

 

AutoGenerateColumns="False" ExpandCollapseColumn-ButtonType="ImageButton" ExpandCollapseColumn-CollapseImageUrl="../../wpresources/IFDB/Images/SingleMinus.gif"

 

 

 

 

 

 

ExpandCollapseColumn-ExpandImageUrl="../../wpresources/IFDB/Images/SinglePlus.gif"

 

 

 

 

 

 

DataKeyNames="StudyID" AllowMultiColumnSorting="false" RowIndicatorColumn-SortAscImageUrl="../../wpresources/IFDB/Images/SortAsc.gif"

 

 

 

 

 

 

RowIndicatorColumn-SortDescImageUrl="../../wpresources/IFDB/Images/SortDesc.gif">

 

 

 

 

 

 

<CommandItemTemplate>

 

 

 

 

 

 

<table width="100%" cellpadding="4px">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<asp:LinkButton ID="lbtnAdd" runat="server" CommandName="InitInsert"><img style="border:0px;vertical-align:middle;" alt="" src="../../wpresources/IFDB/Images/AddRecord.gif" />Add Study</asp:LinkButton>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td align="center">

 

 

 

 

 

 

<asp:Label ID="lblHeading" runat="server" CssClass="SuccessLabel" Text="Studies" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td align="right">

 

 

 

 

 

 

<asp:LinkButton ID="lbtnRefresh" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle;" alt="" src="../../wpresources/IFDB/Images/Refresh.gif" />Refresh</asp:LinkButton>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</CommandItemTemplate>

 

 

 

 

 

 

<DetailTables>

 

 

 

 

 

 

<telerik:GridTableView Name="Sample" EditMode="InPlace" CommandItemSettings-AddNewRecordText="Add Sample"

 

 

 

 

 

 

CommandItemDisplay="Top" AllowAutomaticInserts="false" AllowAutomaticUpdates="false"

 

 

 

 

 

 

AllowFilteringByColumn="True" BorderColor="#009933" BorderWidth="2px" ShowFooter="true"

 

 

 

 

 

 

FooterStyle-Width="2px" MasterTableView-EditMode="EditForms" AllowSorting="true"

 

 

 

 

 

 

AutoGenerateColumns="False" DataKeyNames="SampleID,SampleLocationID" Width="90%" runat="server">

 

 

 

 

 

 

<PagerStyle Visible="false" />

 

 

 

 

 

 

<CommandItemTemplate>

 

 

 

 

 

 

<table width="100%" cellpadding="4px">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<asp:LinkButton ID="lbtnAdd" runat="server" CommandName="InitInsert" Visible='<%# !grdStudies.MasterTableView.IsItemInserted %>'><img style="border:0px;vertical-align:middle;" alt="" src="../../wpresources/IFDB/Images/AddRecord.gif" />Add Sample</asp:LinkButton>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td align="center">

 

 

 

 

 

 

<asp:Label ID="lblHeading" runat="server" CssClass="SuccessLabel" Text="Sample" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td align="right">

 

 

 

 

 

 

<asp:LinkButton ID="lbtnRefresh" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle;" alt="" src="../../wpresources/IFDB/Images/Refresh.gif" />Refresh</asp:LinkButton>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</CommandItemTemplate>

 

 

 

 

 

 

<DetailTables>

 

 

 

 

 

 

<telerik:GridTableView Name="Test" EditMode="InPlace" CommandItemSettings-AddNewRecordText="Add Test"

 

 

 

 

 

 

CommandItemDisplay="Top" AllowAutomaticInserts="false" AllowAutomaticUpdates="false"

 

 

 

 

 

 

BorderColor="#009933" BorderWidth="1px" ShowFooter="true" FooterStyle-Width="2px"

 

 

 

 

 

 

AllowFilteringByColumn="True" MasterTableView-EditMode="EditForms" AllowSorting="true"

 

 

 

 

 

 

AutoGenerateColumns="False" DataKeyNames="SampleTestID" Width="90%" runat="server">

 

 

 

 

 

 

<PagerStyle Visible="false" />

 

 

 

 

 

 

<CommandItemTemplate>

 

 

 

 

 

 

<table width="100%" cellpadding="4px">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<asp:LinkButton ID="lbtnAdd" runat="server" CommandName="InitInsert" Visible='<%# !grdStudies.MasterTableView.IsItemInserted %>'><img style="border:0px;vertical-align:middle;" alt="" src="../../wpresources/IFDB/Images/AddRecord.gif" />Add Test</asp:LinkButton>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td align="center">

 

 

 

 

 

 

<asp:Label ID="lblHeading" runat="server" CssClass="SuccessLabel" Text="Test" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td align="right">

 

 

 

 

 

 

<asp:LinkButton ID="lbtnRefresh" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle;" alt="" src="../../wpresources/IFDB/Images/Refresh.gif" />Refresh</asp:LinkButton>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</CommandItemTemplate>

 

 

 

 

 

 

<Columns>

 

 

 

 

 

 

<telerik:GridEditCommandColumn UniqueName="EditColumn" ButtonType="ImageButton" InsertText="Save"

 

 

 

 

 

 

UpdateText="Save" HeaderText="Edit" ItemStyle-CssClass="ButtonImage" InsertImageUrl="~/wpresources/IFDB/Images/Update.gif"

 

 

 

 

 

 

EditImageUrl="~/wpresources/IFDB/Images/Edit.png" UpdateImageUrl="~/wpresources/IFDB/Images/Update.gif"

 

 

 

 

 

 

CancelImageUrl="../../wpresources/IFDB/Images/Cancel.gif">

 

 

 

 

 

 

<HeaderStyle Width="30px"></HeaderStyle>

 

 

 

 

 

 

<ItemStyle VerticalAlign="Middle" />

 

 

 

 

 

 

</telerik:GridEditCommandColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn HeaderText="InvisibleCLM" Visible="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblSampleTestID" runat="server" CssClass="gridlabel" Text='<%#Eval("SampleTestID") %>'></asp:Label>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="Labs" Groupable="false" ItemStyle-Width="200px"

 

 

 

 

 

 

SortExpression="LabName" DataField="LabName" HeaderText="Lab *" ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblLabs" CssClass="gridlabel" Text='<%# Eval("LabName") %>' runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnLabId" runat="server" Value='<%# Eval("LabID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlLabs" DataTextField="LookupCode" AutoPostBack="true" DataValueField="LookupID"

 

 

 

 

 

 

CssClass="NormalDDL" OnSelectedIndexChanged="ddlLabs_SelectedIndexChanged" runat="server"

 

 

 

 

 

 

AppendDataBoundItems="True">

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

<asp:RequiredFieldValidator ID="rfvLab" ControlToValidate="ddlLabs" Text="*" InitialValue="-1"

 

 

 

 

 

 

runat="server" Display="Dynamic" />

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="StudyTest" ItemStyle-Width="200px" Groupable="false"

 

 

 

 

 

 

SortExpression="TestName" DataField="TestName" HeaderText="Assay Study Test *"

 

 

 

 

 

 

ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnTestid" runat="server" Value='<%# Eval("TestID") %>' />

 

 

 

 

 

 

<asp:HiddenField ID="hdnTypeId" runat="server" Value='<%# Eval("TestType") %>' />

 

 

 

 

 

 

<asp:Label ID="lblStudyTest" CssClass="gridlabel" Text='<%# Eval("TestName") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnTestId" runat="server" Value='<%# Eval("TestID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlStudyTest" DataTextField="LookupCode" DataValueField="LookupID"

 

 

 

 

 

 

CssClass="NormalDDL" runat="server" AppendDataBoundItems="True">

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

<asp:RequiredFieldValidator ID="rfvStudyTest" ControlToValidate="ddlStudyTest" Text="*"

 

 

 

 

 

 

InitialValue="-1" runat="server" Display="Dynamic" />

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="TestStatus" ItemStyle-Width="200px" SortExpression="TestStatus"

 

 

 

 

 

 

Groupable="false" DataField="TestStatus" HeaderText="Test Status" ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblTestStatus" CssClass="gridlabel" Text='<%# Eval("TestStatus") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnTestStatusId" runat="server" Value='<%# Eval("TestStatusID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlTestStatus" DataTextField="Value" DataValueField="ID" CssClass="NormalDDL"

 

 

 

 

 

 

runat="server" AppendDataBoundItems="True">

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="DataStatus" ItemStyle-Width="200px" SortExpression="DataStatus"

 

 

 

 

 

 

Groupable="false" DataField="DataStatus" HeaderText="Data Status" ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblDataStatus" CssClass="gridlabel" Text='<%# Eval("DataStatus") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnDataStatusId" runat="server" Value='<%# Eval("DataStatusID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlDataStatus" DataTextField="Value" DataValueField="ID" CssClass="NormalDDL"

 

 

 

 

 

 

runat="server" AppendDataBoundItems="True">

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="InterpretQuality" ItemStyle-Width="200px"

 

 

 

 

 

 

Groupable="false" SortExpression="InterpretedQuality" DataField="InterpretedQuality"

 

 

 

 

 

 

HeaderText="Interpret Quality" ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblInterpretQuality" CssClass="gridlabel" Text='<%# Eval("InterpretedQuality") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnInterpretQualityId" runat="server" Value='<%# Eval("InterpretedQualityID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlInterpretQuality" DataTextField="Value" DataValueField="ID"

 

 

 

 

 

 

CssClass="NormalDDL" runat="server" AppendDataBoundItems="True">

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="DataQuality" ItemStyle-Width="200px" Groupable="false"

 

 

 

 

 

 

SortExpression="DataQuality" DataField="DataQuality" HeaderText="Data Quality"

 

 

 

 

 

 

ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblDataQuality" CssClass="gridlabel" Text='<%# Eval("DataQuality") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnDataQualityId" runat="server" Value='<%# Eval("DataQualityID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlDataQuality" DataTextField="Value" DataValueField="ID" CssClass="NormalDDL"

 

 

 

 

 

 

runat="server" AppendDataBoundItems="True">

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

</Columns>

 

 

 

 

 

 

</telerik:GridTableView>

 

 

 

 

 

 

</DetailTables>

 

 

 

 

 

 

<Columns>

 

 

 

 

 

 

<telerik:GridEditCommandColumn UniqueName="EditColumn" ButtonType="ImageButton" InsertText="Save"

 

 

 

 

 

 

UpdateText="Save" HeaderText="Edit" ItemStyle-CssClass="ButtonImage" InsertImageUrl="~/wpresources/IFDB/Images/Update.gif"

 

 

 

 

 

 

EditImageUrl="~/wpresources/IFDB/Images/Edit.png" UpdateImageUrl="~/wpresources/IFDB/Images/Update.gif"

 

 

 

 

 

 

CancelImageUrl="../../wpresources/IFDB/Images/Cancel.gif">

 

 

 

 

 

 

<HeaderStyle Width="30px"></HeaderStyle>

 

 

 

 

 

 

<ItemStyle VerticalAlign="Middle" />

 

 

 

 

 

 

</telerik:GridEditCommandColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn HeaderText="InvisibleCLM" Visible="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblSampleID" runat="server" CssClass="gridlabel" Text='<%#Eval("SampleID") %>'></asp:Label>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn HeaderText="Sample Name *" ItemStyle-Width="200px" ItemStyle-Wrap="false"

 

 

 

 

 

 

SortExpression="SampleName" DataField="SampleName">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblSampleName" CssClass="gridlabel" Text='<%# Eval("SampleName") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:TextBox ID="txtSampleName" CssClass="textBox" Text='<%# Eval("SampleName") %>'

 

 

 

 

 

 

runat="server"></asp:TextBox>

 

 

 

 

 

 

<asp:RequiredFieldValidator ID="rfvSampleName" ControlToValidate="txtSampleName"

 

 

 

 

 

 

Text="*" runat="server" Display="Dynamic" />

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn HeaderText="Sample Location *" ItemStyle-Width="200px"

 

 

 

 

 

 

ItemStyle-Wrap="false" SortExpression="SampleLocation" DataField="SampleLocation">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblSampleLocation" CssClass="gridlabel" Text='<%# Eval("SampleLocation") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnSampleLocationId" runat="server" Value='<%# Eval("SampleLocationID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlSampleLocation" DataTextField="Value" DataValueField="ID"

 

 

 

 

 

 

CssClass="NormalDDL" runat="server" AppendDataBoundItems="True">

 

 

 

 

 

 

<asp:ListItem Text="--Select--" Value="-1" />

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

<asp:RequiredFieldValidator ID="rfvSampleLocation" ControlToValidate="ddlSampleLocation"

 

 

 

 

 

 

Text="*" InitialValue="-1" runat="server" Display="Dynamic" />

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="SampleDate" ItemStyle-Width="200px" HeaderText="Sample Date *"

 

 

 

 

 

 

SortExpression="SampleDate" DataField="SampleDate" ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblSampleDate" runat="server" CssClass="griddatelabel" DataFormatString="{0:d}"

 

 

 

 

 

 

Text='<%# Eval("SampleDate") %>'></asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<telerik:RadDatePicker ID="radSampleDate" runat="server" DbSelectedDate='<%# Bind("SampleDate") %>'>

 

 

 

 

 

 

</telerik:RadDatePicker>

 

 

 

 

 

 

<asp:RequiredFieldValidator ID="rfvSampleDate" ControlToValidate="radSampleDate"

 

 

 

 

 

 

Text="*" runat="server" Display="Dynamic" />

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

</Columns>

 

 

 

 

 

 

</telerik:GridTableView>

 

 

 

 

 

 

</DetailTables>

 

 

 

 

 

 

<Columns>

 

 

 

 

 

 

<telerik:GridEditCommandColumn UniqueName="EditColumn" ButtonType="ImageButton" InsertText="Save"

 

 

 

 

 

 

UpdateText="Save" HeaderText="Edit" ItemStyle-CssClass="ButtonImage" InsertImageUrl="~/wpresources/IFDB/Images/Update.gif"

 

 

 

 

 

 

EditImageUrl="~/wpresources/IFDB/Images/Edit.png" UpdateImageUrl="~/wpresources/IFDB/Images/Update.gif"

 

 

 

 

 

 

CancelImageUrl="../../wpresources/IFDB/Images/Cancel.gif">

 

 

 

 

 

 

<HeaderStyle Width="30px"></HeaderStyle>

 

 

 

 

 

 

<ItemStyle VerticalAlign="Middle" />

 

 

 

 

 

 

</telerik:GridEditCommandColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn HeaderText="InvisibleCLM" Visible="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblStudyID" runat="server" CssClass="gridlabel" Text='<%#Eval("StudyID") %>'></asp:Label>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn HeaderText="Study Name *" ItemStyle-Width="200px" ItemStyle-Wrap="false"

 

 

 

 

 

 

SortExpression="StudyName" DataField="StudyName">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblStudyName" CssClass="gridlabel" Text='<%# Eval("StudyName") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:TextBox ID="txtStudyName" CssClass="textBox" Text='<%# Eval("StudyName") %>'

 

 

 

 

 

 

runat="server"></asp:TextBox>

 

 

 

 

 

 

<asp:RequiredFieldValidator ID="rfvStudyName" ControlToValidate="txtStudyName" Text="*"

 

 

 

 

 

 

runat="server" Display="Dynamic" />

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="StudyLastUpdated" ItemStyle-Width="200px"

 

 

 

 

 

 

SortExpression="LastUpdateDate" HeaderText="Study Last Updated *" DataField="LastUpdateDate"

 

 

 

 

 

 

ItemStyle-Wrap="true">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblLastUpdateDate" runat="server" CssClass="griddatelabel" DataFormatString="{0:d}"

 

 

 

 

 

 

Text='<%# Eval("LastUpdateDate") %>'></asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<telerik:RadDatePicker ID="radLastUpdateDate" runat="server" DbSelectedDate='<%# Bind("LastUpdateDate") %>'>

 

 

 

 

 

 

</telerik:RadDatePicker>

 

 

 

 

 

 

<asp:RequiredFieldValidator ID="rfvStudyLastUpdated" ControlToValidate="radLastUpdateDate"

 

 

 

 

 

 

Text="*" runat="server" Display="Dynamic" />

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="QualityStatus" ItemStyle-Width="200px" Groupable="false"

 

 

 

 

 

 

SortExpression="QualityStatus" DataField="QualityStatus" HeaderText="Quality Status"

 

 

 

 

 

 

ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblQualityStatus" CssClass="gridlabel" Text='<%# Eval("QualityStatus") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnQualityStatusId" runat="server" Value='<%# Eval("QualityStatusID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlQualityStatus" DataTextField="Value" DataValueField="ID"

 

 

 

 

 

 

CssClass="NormalDDL" runat="server" AppendDataBoundItems="True">

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="MudStatus" ItemStyle-Width="200px" Groupable="false"

 

 

 

 

 

 

SortExpression="MudStatus" DataField="MudStatus" HeaderText="Mud Status" ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblMudStatus" CssClass="gridlabel" Text='<%# Eval("MudStatus") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnMudStatusId" runat="server" Value='<%# Eval("MudStatusID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlMudStatus" DataTextField="Value" DataValueField="ID" CssClass="NormalDDL"

 

 

 

 

 

 

runat="server" AppendDataBoundItems="True">

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="StudyStatus" ItemStyle-Width="200px" Groupable="false"

 

 

 

 

 

 

SortExpression="StudyStatus" DataField="StudyStatus" HeaderText="Study Status"

 

 

 

 

 

 

ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:Label ID="lblStudyStatus" CssClass="gridlabel" Text='<%# Eval("StudyStatus") %>'

 

 

 

 

 

 

runat="server">

 

 

 

 

 

 

</asp:Label>

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

<EditItemTemplate>

 

 

 

 

 

 

<asp:HiddenField ID="hdnStudyStatusID" runat="server" Value='<%# Eval("StudyStatusID") %>' />

 

 

 

 

 

 

<asp:DropDownList ID="ddlStudyStatus" DataTextField="Value" DataValueField="ID" CssClass="NormalDDL"

 

 

 

 

 

 

runat="server" AppendDataBoundItems="True">

 

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

 

</EditItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

</Columns>

 

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

 

</telerik:RadGrid>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td colspan="4">

 

 

 

 

 

 

<asp:HiddenField ID="hdnStudyID" runat="server" />

 

 

 

 

 

 

<asp:HiddenField ID="hdnSampleLocationID" runat="server" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td colspan="4">

 

 

 

 

 

 

<telerik:RadGrid Width="15%" ID="radgrdDocument" Skin="Hay" runat="server" AllowFilteringByColumn="false"

 

 

 

 

 

 

FilterItemStyle-BackColor="#d1ffc1" AllowPaging="false" AllowSorting="True" GridLines="None"

 

 

 

 

 

 

ShowGroupPanel="false" AutoGenerateColumns="False" OnNeedDataSource="radgrdDocument_OnNeedDataSource"

 

 

 

 

 

 

GroupingEnabled="false" PagerStyle-AlwaysVisible="false" EnableEmbeddedSkins="false">

 

 

 

 

 

 

<ClientSettings AllowColumnsReorder="false" ClientMessages-DragToGroupOrReorder="DragToReorder"

 

 

 

 

 

 

EnablePostBackOnRowClick="false">

 

 

 

 

 

 

<Selecting AllowRowSelect="True" />

 

 

 

 

 

 

<Resizing AllowColumnResize="false" />

 

 

 

 

 

 

</ClientSettings>

 

 

 

 

 

 

<MasterTableView EditMode="InPlace" CommandItemDisplay="None" EnableHeaderContextMenu="false">

 

 

 

 

 

 

<Columns>

 

 

 

 

 

 

<telerik:GridTemplateColumn UniqueName="Title" Groupable="false" SortExpression="Title"

 

 

 

 

 

 

DataField="Title" HeaderText="" ItemStyle-Wrap="false">

 

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

 

<asp:HyperLink ID="hypdocument" runat="server" Target="_blank" CssClass="smallHeaderHyper"

 

 

 

 

 

 

NavigateUrl='<%# Eval("URL") %>' Text='<%# Eval("Title") %>'></asp:HyperLink><br />

 

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

</Columns>

 

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

 

</telerik:RadGrid>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

</

 

telerik:RadAjaxPanel>

 


Please tell me if any workaround is there.

Thanks
Basil





0
Tsvetoslav
Telerik team
answered on 29 Jul 2011, 06:40 AM
Hello Basil,

Please, open up a formal support ticket and attach your complete files as the code you have pasted is not readable and does not provide enough information on the problem.

Regards,
Tsvetoslav
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
General Discussions
Asked by
Chad
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Chad
Top achievements
Rank 1
Basil
Top achievements
Rank 1
Share this question
or