Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
179 views

HI,

1. I would like to refreshthe scheduler by Button click event

2. I am able to get the appointmentsfrom the database  and bind to scheduler.

3. I got the java scrip error“ Sys.InvalidOperationException: A control is already associatedwith the element”.

4. I tried without updatepanel there is no issue its working fine

5. Any idea let me know.

Thanks

Sabarish
Veselin Vasilev
Telerik team
 answered on 24 Sep 2009
3 answers
176 views
I have created a hierarchical grid with one sublevel. I want all the child tables visible from start so I've set the

HierarchyDefaultExpanded = true.

When I do this, all the items are expanded but the child tables are empty. Not even the "No child records to display" is there, it's just plain empty.

If I remove the HierarchyDefaultExpanded = true it works as expected, I can manually expand each item of the mastertable, and the child records will display.

Does anyone know what more steps I have to take to have all subtables displayed with data on page load?

 

Dan Pettersson
Top achievements
Rank 1
 answered on 24 Sep 2009
1 answer
306 views
I have a small application using the radgrid that has work perfectly. I have re-published the application and now certain pages do not work. I re-created a page and found the exact line that is causing the error.

The error I am receiving is:

 

Server Error in '/necaadmin' Application.

Could not load file or assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace:

[FileNotFoundException: Could not load file or assembly 'System, Version=1.0.7.30072, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.]
   System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64
   System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
   System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +65
   System.Security.Util.XMLUtil.GetClassFromElement(SecurityElement el, Boolean ignoreTypeLoadFailures) +119
   System.Security.Util.XMLUtil.CreatePermission(SecurityElement el, PermissionState permState, Boolean ignoreTypeLoadFailures) +1434
   System.Security.SecurityElement.ToPermission(Boolean ignoreTypeLoadFailures) +23
   System.Security.PermissionSet.CreatePerm(Object obj, Boolean ignoreTypeLoadFailures) +1042
   System.Security.PermissionSet.CreatePerm(Object obj, Boolean ignoreTypeLoadFailures) +941
   System.Security.PermissionSet.CreatePermission(Object obj, Int32 index) +17
   System.Security.PermissionSetEnumeratorInternal.MoveNext() +7515060
   System.Security.PermissionSet.ToXml(String permName) +207
   System.Security.PermissionSet.ToXml() +12
   System.Security.SecurityException..ctor(String message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence) +146
   System.Security.SecurityException.MakeSecurityException(AssemblyName asmName, Evidence asmEvidence, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) +579
   System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) +143
   System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) +100
   System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException) +318
   System.Security.PermissionSetTriple.CheckSetDemand(PermissionSet demandSet, PermissionSet& alteredDemandset, RuntimeMethodHandle rmh) +69
   System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandle rmh) +150
   System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) +30
   System.Threading.CompressedStack.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) +40
   System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant, CompressedStack securityContext) +123
   System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant) +54

[MethodAccessException: System.Runtime.CompilerServices.StrongBox`1..ctor(System.__Canon)]
   System.Reflection.MethodBase.PerformSecurityCheck(Object obj, RuntimeMethodHandle method, IntPtr parent, UInt32 invocationFlags) +0
   System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +470
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
   System.Linq.Expressions.ExpressionCompiler.AddGlobal(Type type, Object value) +75
   System.Linq.Expressions.ExpressionCompiler.GenerateConstant(ILGenerator gen, Type type, Object value, StackType ask) +946
   System.Linq.Expressions.ExpressionCompiler.GenerateConstant(ILGenerator gen, ConstantExpression c, StackType ask) +20
   System.Linq.Expressions.ExpressionCompiler.Generate(ILGenerator gen, Expression node, StackType ask) +193
   System.Linq.Expressions.ExpressionCompiler.GenerateArgs(ILGenerator gen, ParameterInfo[] pis, ReadOnlyCollection`1 args) +157
   System.Linq.Expressions.ExpressionCompiler.GenerateMethodCall(ILGenerator gen, MethodInfo mi, ReadOnlyCollection`1 args, Type objectType) +71
   System.Linq.Expressions.ExpressionCompiler.GenerateMethodCall(ILGenerator gen, MethodCallExpression mc, StackType ask) +365
   System.Linq.Expressions.ExpressionCompiler.Generate(ILGenerator gen, Expression node, StackType ask) +358
   System.Linq.Expressions.ExpressionCompiler.GenerateLambda(LambdaExpression lambda) +206
   System.Linq.Expressions.ExpressionCompiler.CompileDynamicLambda(LambdaExpression lambda) +74
   System.Linq.Expressions.ExpressionCompiler.Compile(Expression`1 lambda) +89
   System.Linq.EnumerableExecutor`1.Execute() +84
   System.Linq.EnumerableExecutor`1.ExecuteBoxed() +23
   System.Linq.EnumerableQuery`1.System.Linq.IQueryProvider.Execute(Expression expression) +83
   Telerik.Web.UI.GridDynamicQueryable.Count(IQueryable source) +143
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData35() +216
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData() +626
   Telerik.Web.UI.GridResolveEnumerable.Initialize() +32
   Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized() +20
   Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, DataView dataView, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) +158
   Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) +76
   Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields) +98
   Telerik.Web.UI.GridTableView.get_ResolvedDataSource() +141
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +33
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   Telerik.Web.UI.GridTableView.PerformSelect() +4
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   Telerik.Web.UI.GridTableView.DataBind() +239
   Telerik.Web.UI.RadGrid.DataBind() +80
   eventgrid.GridDataLoad(Boolean blnWantDataBind) +153
   eventgrid.Page_Load(Object sender, EventArgs e) +65
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

 


 

Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053

 

 

 

 

 

My code is as follows:

 

<?

 

xml version="1.0"?>

 

<!--

 

 

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config.comments usually located in

\Windows\Microsoft.Net\Framework\v2.x\Config

 

 

 

 

-->

<

 

configuration>

 

<

 

configSections>

 

<

 

sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

 

<

 

sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

 

<

 

section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

 

<

 

sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

 

<

 

section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />

 

<

 

section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

 

<

 

section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

 

<

 

section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />

 

</

 

sectionGroup>

 

</

 

sectionGroup>

 

</

 

sectionGroup>

 

</

 

configSections>

 

<

 

appSettings />

 

<

 

connectionStrings />

 

<

 

system.web>

 

<!--

 

 

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

 

 

-->

 

<

 

compilation debug="true">

 

<

 

assemblies>

 

<

 

add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

 

<

 

add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

 

<

 

add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

 

<

 

add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

 

<

 

add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />

 

<

 

add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 

<

 

add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

</

 

assemblies>

 

</

 

compilation>

 

<!--

 

 

 

 

The <authentication> section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

 

 

-->

 

<

 

authentication mode="Windows" />

 

<!--

 

 

 

 

The <customErrors> section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

<error statusCode="403" redirect="NoAccess.htm" />

<error statusCode="404" redirect="FileNotFound.htm" />

</customErrors>

 

 

-->

 

<

 

pages>

 

<

 

controls>

 

<

 

add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

</

 

controls>

 

</

 

pages>

 

<

 

httpHandlers>

 

<

 

remove verb="*" path="*.asmx" />

 

<

 

add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />

 

<

 

add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

 

</

 

httpHandlers>

 

<

 

httpModules>

 

<

 

add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

</

 

httpModules>

 

</

 

system.web>

 

<

 

system.codedom>

 

<

 

compilers>

 

<

 

compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

 

<

 

providerOption name="CompilerVersion" value="v3.5" />

 

<

 

providerOption name="WarnAsError" value="false" />

 

</

 

compiler>

 

<

 

compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">

 

<

 

providerOption name="CompilerVersion" value="v3.5" />

 

<

 

providerOption name="OptionInfer" value="true" />

 

<

 

providerOption name="WarnAsError" value="false" />

 

</

 

compiler>

 

</

 

compilers>

 

</

 

system.codedom>

 

<!--

 

 

The system.webServer section is required for running ASP.NET AJAX under Internet

Information Services 7.0. It is not necessary for previous version of IIS.

 

 

-->

 

<

 

system.webServer>

 

<

 

validation validateIntegratedModeConfiguration="false" />

 

<

 

modules>

 

<

 

remove name="ScriptModule" />

 

<

 

add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

</

 

modules>

 

<

 

handlers>

 

<

 

remove name="WebServiceHandlerFactory-Integrated" />

 

<

 

remove name="ScriptHandlerFactory" />

 

<

 

remove name="ScriptHandlerFactoryAppServices" />

 

<

 

remove name="ScriptResource" />

 

<

 

add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

 

<

 

add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />

 

</

 

handlers>

 

</

 

system.webServer>

 

<

 

runtime>

 

<

 

assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

 

<

 

dependentAssembly>

 

<

 

assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />

 

<

 

bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />

 

</

 

dependentAssembly>

 

<

 

dependentAssembly>

 

<

 

assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />

 

<

 

bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />

 

</

 

dependentAssembly>

 

</

 

assemblyBinding>

 

</

 

runtime>

 

<

 

location path="Telerik.Web.UI.WebResource.axd">

 

<

 

system.web>

 

<

 

authorization>

 

<

 

allow users="*"/>

 

</

 

authorization>

 

</

 

system.web>

 

</

 

location>

 

</

 

configuration>

 

 

 

 

<%

@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>

 

<%

@ Register src="wucHeader.ascx" tagname="wucHeader" tagprefix="uc1" %>

 

<%

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

 

 

 

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

head runat="server">

 

 

 

 

 

 

<title>Untitled Page</title>

 

 

 

 

 

 

<link href="necaadmin.css" rel="stylesheet" type="text/css" />

 

</

 

head>

 

<

 

body>

 

 

 

 

 

 

<form id="form1" runat="server">

 

 

 

 

 

 

<div>

 

 

 

 

 

 

 

<table align="left" cellpadding="0" cellspacing="0" class="classTblMain">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td></td>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">

 

 

 

 

 

 

</telerik:RadScriptManager>

 

 

 

 

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

 

 

 

 

<AjaxSettings>

 

 

 

 

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

 

 

 

 

<UpdatedControls>

 

 

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1"

 

 

LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

 

 

 

</UpdatedControls>

 

 

 

 

 

 

</telerik:AjaxSetting>

 

 

 

 

 

 

</AjaxSettings>

 

 

 

 

 

 

</telerik:RadAjaxManager>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblMain_TL"></td>

 

 

 

 

 

 

<td class="classTblMain_TC"></td>

 

 

 

 

 

 

<td class="classTblMain_TR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblMain_ML"></td>

 

 

 

 

 

 

<td class="classTblMain_MC">

 

 

 

 

 

 

<uc1:wucHeader ID="wucHeader1" runat="server" />

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td class="classTblMain_MR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblMain_ML"></td>

 

 

 

 

 

 

<td class="classTblMain_MC"></td>

 

 

 

 

 

 

<td class="classTblMain_MR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblMain_ML"></td>

 

 

 

 

 

 

<td class="classTblMain_MC">

 

 

 

 

 

 

<table align="left" cellpadding="0" cellspacing="0" class="classTblWork">

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblWork_TL"></td>

 

 

 

 

 

 

<td class="classTblWork_TC"></td>

 

 

 

 

 

 

<td class="classTblWork_TR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblWork_ML"></td>

 

 

 

 

 

 

<td class="classTblWork_MC">

 

 

 

 

 

 

<asp:Label ID="Label1" runat="server" CssClass="mytxt Large Bold" Text="Events"></asp:Label>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td class="classTblWork_MR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblWork_ML"></td>

 

 

 

 

 

 

<td class="classTblWork_MC">

 

 

 

 

 

 

<telerik:RadGrid ID="RadGrid1" runat="server" AllowMultiRowSelection="True"

 

 

AllowSorting="True" GridLines="None" Height="350px" Skin="Gray" Width="900px">

 

 

 

 

 

 

<HeaderContextMenu>

 

 

 

 

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

 

 

 

 

</HeaderContextMenu>

 

 

 

 

 

 

<MasterTableView ClientDataKeyNames="id" CommandItemDisplay="Top"

 

 

DataKeyNames="id">

 

 

 

 

 

 

<CommandItemTemplate>

 

 

 

 

 

 

<asp:ImageButton ID="cmdSpace0" runat="server" CausesValidation="False"

 

 

Height="16px" ImageUrl="~/images/spacer_10.png" />

 

 

 

 

 

 

<asp:ImageButton ID="cmdNew" runat="server" CausesValidation="False"

 

 

CommandName="cmdNew" ImageUrl="~/images/page_white.png" ToolTip="New" />

 

 

 

 

 

 

<asp:ImageButton ID="cmdEdit" runat="server" CausesValidation="False"

 

 

CommandName="cmdEdit" Height="16px" ImageUrl="~/images/Edit.png"

 

 

ToolTip="Edit" />

 

 

 

 

 

 

<asp:ImageButton ID="cmdSpace2" runat="server" CausesValidation="False"

 

 

Height="16px" ImageUrl="~/images/spacer_10.png" />

 

 

 

 

 

 

<asp:ImageButton ID="cmdDelete" runat="server" CausesValidation="False"

 

 

CommandName="cmdDelete" Height="16px" ImageUrl="~/images/Delete.png"

 

 

ToolTip="Delete" />

 

 

 

 

 

 

</CommandItemTemplate>

 

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

 

<HeaderStyle Font-Bold="True" Font-Names="Arial" Font-Size="8pt" />

 

 

 

 

 

 

<ClientSettings>

 

 

 

 

 

 

<Selecting AllowRowSelect="True" />

 

 

 

 

 

 

<Scrolling AllowScroll="True" UseStaticHeaders="True" />

 

 

 

 

 

 

</ClientSettings>

 

 

 

 

 

 

<FilterMenu>

 

 

 

 

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

 

 

 

 

</FilterMenu>

 

 

 

 

 

 

<CommandItemStyle Height="30px" />

 

 

 

 

 

 

</telerik:RadGrid>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td class="classTblWork_MR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblWork_ML"></td>

 

 

 

 

 

 

<td class="classTblWork_MC">

 

 

 

 

 

 

<asp:LinkButton ID="btnDeleteHide" runat="server" CssClass="myhyp Small"

 

 

OnClick="btnDeleteHide_Click"></asp:LinkButton>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td class="classTblWork_MR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblWork_ML"></td>

 

 

 

 

 

 

<td class="classTblWork_MC"></td>

 

 

 

 

 

 

<td class="classTblWork_MR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblWork_BL"></td>

 

 

 

 

 

 

<td class="classTblWork_BC"></td>

 

 

 

 

 

 

<td class="classTblWork_BR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td class="classTblMain_MR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblMain_ML"></td>

 

 

 

 

 

 

<td class="classTblMain_MC"></td>

 

 

 

 

 

 

<td class="classTblMain_MR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td class="classTblMain_BL"></td>

 

 

 

 

 

 

<td class="classTblMain_BC"></td>

 

 

 

 

 

 

<td class="classTblMain_BR"></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td></td>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Behavior="Move"

 

 

Behaviors="None" Height="320px" Modal="True" onclientclose="closeRadWindow"

 

 

ReloadOnShow="True" ShowContentDuringLoad="False" Skin="Black"

 

 

VisibleStatusbar="False" Width="780px">

 

 

 

 

 

 

</telerik:RadWindowManager>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

<tr>

 

 

 

 

 

 

<td></td>

 

 

 

 

 

 

<td>

 

 

 

 

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"

 

 

BackColor="Yellow" height="75px" MinDisplayTime="500" Transparency="50"

 

 

width="75px">

 

 

 

 

 

 

<br />

 

 

 

 

 

 

<br />

 

 

 

 

 

 

<br />

 

 

 

 

 

 

<br />

 

 

 

 

 

 

<img alt="Loading..."

 

 

src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'

 

 

style="border:0px;" />

 

 

 

 

 

 

</telerik:RadAjaxLoadingPanel>

 

 

 

 

 

 

</td>

 

 

 

 

 

 

<td></td>

 

 

 

 

 

 

</tr>

 

 

 

 

 

 

</table>

 

 

 

 

 

 

 

</div>

 

 

 

 

 

 

</form>

 

</

 

body>

 

</

 

html>

 




 

 

Partial

 

Class Default2

 

 

Inherits Telerik.Web.UI.RadAjaxPage

 

 

Private MySess As New classSession

 

 

Private MySql As New classSql("necadata", "necadata", False)

 

 

Private MyUtil As New classUtil("necadata", "necadata")

 

 

 

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

 

MySess.SiteProcess(

"root", "eventgrid", True)

 

 

If Not Page.IsPostBack Then

 

 

 

 

 

GridDataLoad(

True)

 

 

End If

 

 

 

 

 

 

End Sub

 

 

 

 

 

 

 

Public Sub GridDataLoad(ByVal blnWantDataBind As Boolean)

 

MySess.SiteProcess(

"root", "eventgrid", True)

 

MySql.sSql =

"SELECT * FROM vNecaEventGrid; "

 

 

 

 

 

MySql.SqlSelect(

"griddata")

 

RadGrid1.DataSource = MySql.ds.Tables(

"griddata")

 

 

'If blnWantDataBind Then RadGrid1.DataBind()

 

 

 

 

 

 

End Sub

 

 

 

 

 

 

 

Protected Sub RadGrid1_ColumnCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridColumnCreatedEventArgs) Handles RadGrid1.ColumnCreated

 

 

Dim MyGridColumn As Object

 

 

 

 

 

 

Dim s As String

 

 

 

 

 

 

Select Case UCase(e.Column.ColumnType)

 

 

Case "GRIDEXPANDCOLUMN" : Exit Sub

 

 

 

 

 

 

Case "GRIDBOUNDCOLUMN" : MyGridColumn = New Telerik.Web.UI.GridBoundColumn

 

 

Case "GRIDDATETIMECOLUMN" : MyGridColumn = New Telerik.Web.UI.GridDateTimeColumn

 

 

Case "GRIDNUMERICCOLUMN" : MyGridColumn = New Telerik.Web.UI.GridNumericColumn

 

 

End Select

 

 

 

 

 

MyGridColumn = e.Column

 

With MyGridColumn

 

s = UCase(.UniqueName)

 

Select Case s

 

 

Case "ID"

 

 

 

 

 

.Visible =

False

 

 

 

 

 

 

Case "EDATE"

 

 

 

 

 

.DataType = System.Type.GetType(

"System.DateTime") : .DataFormatString = "{0:MM/dd/yyyy h:mmt}"

 

 

 

 

 

.ItemStyle.Width = 100 : .ItemStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderStyle.Width = 100 : .HeaderStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderText =

"Date"

 

 

 

 

 

 

Case "LOCATION"

 

 

 

 

 

.ItemStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderText =

"Location"

 

 

 

 

 

 

Case "TOPIC"

 

 

 

 

 

.ItemStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderText =

"Topic"

 

 

 

 

 

 

Case "SPEAKER"

 

 

 

 

 

.ItemStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderText =

"Speaker"

 

 

 

 

 

 

Case "ATTACHFILE"

 

 

 

 

 

.ItemStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderStyle.HorizontalAlign = HorizontalAlign.Left

.HeaderText =

"Attach"

 

 

 

 

 

 

Case Else

 

 

 

 

 

.ReadOnly =

True

 

 

 

 

 

.Visible =

False

 

 

 

 

 

 

End Select

 

 

 

 

 

 

End With

 

 

 

 

 

 

End Sub

 

 

 

 

 

 

 

Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand

 

 

Select Case UCase(e.CommandName)

 

 

Case "CMDEDIT"

 

 

 

 

 

 

'Session("sessJhaAdmin_contacts_code") = RadGrid1.SelectedItems(0).OwnerTableView.DataKeyValues(RadGrid1.SelectedItems(0).ItemIndex)("ID")

 

 

 

 

 

 

'Response.Redirect("contactsopen.aspx")

 

 

 

 

 

 

End Select

 

 

 

 

 

 

End Sub

 

 

 

 

 

 

 

Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource

 

 

'GridDataLoad(False)

 

 

 

 

 

 

End Sub

 

 

 

 

 

 

 

Protected Sub RadGrid1_PageIndexChanged(ByVal source As Object, ByVal e As Telerik.Web.UI.GridPageChangedEventArgs) Handles RadGrid1.PageIndexChanged

 

 

'GridDataLoad(True)

 

 

 

 

 

 

End Sub

 

 

 

 

 

 

 

Protected Sub RadGrid1_SortCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridSortCommandEventArgs) Handles RadGrid1.SortCommand

 

 

'GridDataLoad(True)

 

 

 

 

 

 

End Sub

 

 

 

 

 

 

 

'Protected Sub RadAjaxPanel1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxPanel1.AjaxRequest

 

 

 

 

 

 

' RadGrid1.Rebind()

 

 

 

 

 

 

'End Sub

 

 

 

 

 

 

 

Protected Sub btnDeleteHide_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnDeleteHide.Click

 

 

'Dim iDataValue As Int32

 

 

 

 

 

 

'Dim i As Int32

 

 

 

 

 

 

'MySql.sSql = ""

 

 

 

 

 

 

'For i = 0 To RadGrid1.SelectedItems.Count - 1

 

 

 

 

 

 

' iDataValue = RadGrid1.SelectedItems(i).OwnerTableView.DataKeyValues(RadGrid1.SelectedItems(i).ItemIndex)("id")

 

 

 

 

 

 

' MySql.sSql &= "DELETE FROM Event WHERE id=" & iDataValue & "; "

 

 

 

 

 

 

'Next i

 

 

 

 

 

 

'If Len(MySql.sSql) > 0 Then MySql.ExecuteNonQuery()

 

 

 

 

 

 

'GridDataLoad(True)

 

 

 

 

 

 

End Sub

 

 

End

 

Class

 






The line that throws the error is: RadGrid1.DataSource = MySql.ds.Tables("griddata")



Thanks for any help
Ryan

 

 

 

 

Pavlina
Telerik team
 answered on 24 Sep 2009
3 answers
139 views
HI,
I am working on tooptip edit in RadGrid. I am facing a problem whenever i am editing something on tooltip and call button event it close the tooptip and client side and later it binds only single row in Radgrid on which i edit the tooltip other data loose.

see the code..

Tooltip code:

 

protected void Swap_Click(object sender, EventArgs e)

 

{

 

 

 

DataSet ds1 = (DataSet)Cache[dKey];

 

 

DataView dv = ds1.Tables[0].DefaultView;

 

 

string preLink2 = "<A href='MainAction.aspx?mode=ComponentInfo&suppliedComponentID=" +suppliedComponentID.ToString() + "'>";

 

 

string postLink2 = "</A>";

 

 

dv.RowFilter =

string.Format("BlockID={0}", ProductID);

 

dv[0][

"SuppliedComponentID"] = suppliedComponentID;

 

dv[0][

"ReservationStatusID"] = reservationStatusID;

 

dv[0][

"ConfirmationSize"] = confirmedAllocation;

 

dv[0][

"SupplierPlain"] = AssociatesList.SelectedItem.Text;

 

dv[0][

"SupplierID"] = suppliedComponentID;

 

dv[0][

"SupplierName"] = preLink2 + AssociatesList.SelectedItem.Text + postLink2;

 

Cache[dKey] = ds1;

 

 

 

//Close the active ToolTip.

 

 

ScriptManager.RegisterClientScriptBlock(

 

 

this.Page,

 

 

this.GetType(),

 

 

"WebUserControlSript",

 

 

"CloseActiveToolTip('" + this.ProductID + "')",

 

 

true);

 

}


On Control Page :

 

/

 

SCRIPT>

 

 

 

 

 

 

<script type="text/javascript">

 

 

 

 

 

 

function CloseActiveToolTip(supplierID) {

 

 

var tooltip = Telerik.Web.UI.RadToolTip.getCurrent();

 

 

if (tooltip) tooltip.hide();

 

 

var grid = $find("<%=RadGrid1.ClientID %>").get_masterTableView();

 

grid.rebind();

}

 

</script>

 



IN Code behind file

I am binding

 

protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

 

{

 

if (!e.IsFromDetailTable)

 

{

 

DataSet ds = new DataSet();

 

ds = (Cache[dKey] !=

null) ? (DataSet)Cache[dKey] : ds;

 

RadGrid1.DataSource = ds.Tables[0];

 

//DataTable ds = new DataTable();

 

 

//ds = (Cache[dKey] != null) ? (DataTable)Cache[dKey] : ds;

 

 

//RadGrid1.DataSource = ds;

 

}

}



but it only display the row which i edit in tooptip

and same thing happen in paging also.

plz help me

Yavor
Telerik team
 answered on 24 Sep 2009
7 answers
121 views
Hi,

We are actually trying to display a progress bar on a button click event in a user control which has radajaxmanagerproxy.We have a radajaxmanager in th epage which holds the user control.
But for no reason the RadProgressaraea is not showing up at all.
Below is the code snippet for the same

User Control with RadAjaxmanagerProxy
----------------------------------------------------

<telerik:radajaxmanagerproxy id="radAjaxMgrQCMapping" runat="server">
     <AjaxSettings>
           
            <telerik:AjaxSetting AjaxControlID="btnMap">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radProgressManager1" LoadingPanelID="radAjaxLoadPnlUnmappedItems"/>
                    <telerik:AjaxUpdatedControl ControlID="radProgressArea1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:radajaxmanagerproxy>

<

 

telerik:RadProgressManager id="radProgressManager1" runat="server" RefreshPeriod="5" />

 

 

<telerik:RadProgressArea id="radProgressArea1" runat="server" DisplayCancelButton="False"

 

 

ProgressIndicators="TimeElapsed">

 

 

</telerik:RadProgressArea>

CodeBehind file:
--------------------------

 

public

 

void UpdateProgressContext(StringBuilder projectStatus)

 

{

 

RadProgressContext context = RadProgressContext.Current;

 

context.SecondaryTotal = 100;

 

for (int i = 1; i < 100; i++)

 

{

context.SecondaryValue = i;

context.SecondaryPercent = i;

context.CurrentOperationText = projectStatus;

 

if (!Response.IsClientConnected)

 

{

 

//Cancel button was clicked or the browser was closed, so stop processing

 

 

 

 

 

break;

 

}

 

// simulate a long time performing the current step

 

 

 

 

 

Thread.Sleep(100);

 

}

}




Could you please provid eus a solution tio implement this functionality.

Thanks and Regards
V.Balamurali

Genady Sergeev
Telerik team
 answered on 24 Sep 2009
2 answers
171 views
I have a RadAjaxLoadingPanel in a user control (I develope with Sitefinity) and i am trying to make the full browser screen shade or overlay with a transparency when someone clicks a button to perform a action, i have found some info on this within the forums but none talk about it from within a usercontrol.

Could somone help me get this working? This is what i have so far:

html, 
body, 
form 
    min-height:100%; /*all except IE6*/ 
    margin:0; 
    padding:0; 
 
* html html, 
* html body, 
* html form 
    height:100%; /*IE6 only*/ 
 
body { 
    background-color#5b9cda
 
....etc.... 


<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewsletterSignupMini.ascx.cs" 
    Inherits="UserControls_NewsletterSignupMini" %> 
<telerik:RadCodeBlock runat="server"
 
    <script type="text/javascript"
     
   function centerUpdatePanel() 
   { 
        centerElementOnScreen(document.getElementById("<%=RadAjaxLoadingPanel1.ClientID%>")); 
   } 
    
   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"; 
    } 
    </script> 
 
</telerik:RadCodeBlock> 
 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" 
    ClientEvents-OnRequestStart="centerUpdatePanel();"
    <table border="0" cellspacing="0" cellpadding="0" class="NewsletterTable"
        <tr> 
            <td class="Name"
                <telerik:RadTextBox ID="txtFirstName" runat="server" EmptyMessage="First Name" SkinID="sknNewsletterMini_Name" 
                    TabIndex="1" ValidationGroup="valNewsletterForm"
                </telerik:RadTextBox> 
                <asp:RequiredFieldValidator ID="valreqFirstName" runat="server" Display="Dynamic" 
                    ControlToValidate="txtFirstName" ValidationGroup="valNewsletterForm" /> 
            </td> 
            <td class="Name"
                <telerik:RadTextBox ID="txtLastName" runat="server" EmptyMessage="Last Name" SkinID="sknNewsletterMini_Name" 
                    TabIndex="2" ValidationGroup="valNewsletterForm"
                </telerik:RadTextBox> 
                <asp:RequiredFieldValidator ID="valreqLastName" runat="server" Display="Dynamic" 
                    ControlToValidate="txtLastName" ValidationGroup="valNewsletterForm" /> 
            </td> 
            <td rowspan="2" class="Button"
                <asp:ImageButton ID="btnNewsletterSignup" runat="server" SkinID="sknNewsletterMini_Button" 
                    TabIndex="4" OnClick="btnNewsletterSignup_Click" ValidationGroup="valNewsletterForm" /> 
            </td> 
        </tr> 
        <tr> 
            <td colspan="2" class="Email"
                <telerik:RadTextBox ID="txtEmail" runat="server" EmptyMessage="Email Address" SkinID="sknNewsletterMini_Email" 
                    TabIndex="3" ValidationGroup="valNewsletterForm"
                </telerik:RadTextBox> 
                <asp:RegularExpressionValidator ID="valexpEmail" runat="server" Display="Dynamic" 
                    ControlToValidate="txtEmail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ValidationGroup="valNewsletterForm" /><asp:RequiredFieldValidator ID="valreqEmail" 
                        runat="server" Display="Dynamic" ControlToValidate="txtEmail" ValidationGroup="valNewsletterForm" /> 
            </td> 
        </tr> 
    </table> 
</telerik:RadAjaxPanel> 
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" IsSticky="true" 
    Skin="Web20" Style="position: absolute; top: 0px; left: 0px; width: 100%; height:100%" EnableSkinTransparency="true" 
    Transparency="20"
</telerik:RadAjaxLoadingPanel> 

This is not filling the whole screen, instead is seems to be the size of the control container... It is centered on the screen though. Additionally i am unable to see the Web20 skin loading gif...

Any help would be great

Duncan
Iana Tsolova
Telerik team
 answered on 24 Sep 2009
1 answer
128 views
I installed Telerik Trial Q1 for first time, the complete option, but when I drag and drop a Telerik Control, appear this error

"Could not load file or assembly 'Telerik.Web.UI, Version=2009.1.527.35..."

I installed in other machine and appear the same error.

Can you help me

Thanks.
Shinu
Top achievements
Rank 2
 answered on 24 Sep 2009
1 answer
141 views
Hi there, just to avoid confusion, I am not asking about adding ItemTemplate in run time.

At moment, we can add normal radcombobox items with .items.add, how can we do equivalent for itemtemplate items? If we don't rebind it everytime anything new.

Searched for posts and get no result, pls help, thanks
Shinu
Top achievements
Rank 2
 answered on 24 Sep 2009
5 answers
141 views
Hello- how do we control the sort order of the folders in the RadFileExplorer?  We want the folders to appear in descending order so:

2009
2008
2007
etc...

Thanks
Lini
Telerik team
 answered on 24 Sep 2009
1 answer
100 views
Hi there,

I have reviewed several of your samples, including the Database state version of the portal.   While that is very close to what I am trying to achieve, the main difference on my end, is that my DockZones are created Dynamically as well.

Do you have any examples like this?   The problem I am running into specfiically compared to the existing DB Portal example is that my Docks(s) are floating, because it cannot figure out which DockZone to add it to.  


Thanks,

BG
Pero
Telerik team
 answered on 24 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?