Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
124 views
I have a Page with a list box. The List Box has been ajaxified. In the codebehind I have an if (listbox1.selected) statement but it never detects that an item has been selected.

Can anyone help.
Steve
Telerik team
 answered on 08 May 2008
2 answers
168 views

I just downloaded RadControls for ASPNET AJAX Q1 2008. I want to use web20 skin. Do I have to create a "RadControls" Folder in my asp.net web application directory? If yes, then what is the folder structure and from where can  get the web20 skin?. Even the skin chooser option does not show up in RagGrid Design view. The documentation does not mention this basic and important step.


Any help is appreciated.

Luv.
AL
Top achievements
Rank 1
 answered on 08 May 2008
0 answers
94 views
I've been able to generate a simple sample that generates a security exception when running on a shared hosting environment.

The error:

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

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.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Security.Permissions.ReflectionPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) +150
   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) +281
   System.Security.PermissionSetTriple.CheckSetDemand(PermissionSet demandSet, PermissionSet& alteredDemandset, RuntimeMethodHandle rmh) +67
   System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandle rmh) +145
   System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) +43
   System.Threading.CompressedStack.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) +41
   System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant, CompressedStack securityContext) +139
   System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant) +51

The sample page:

<%

@ Page Language="C#" %>

<%

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

<!

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>PanelBar Test</title>

</

head>

<

body>

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

<div>

<asp:ScriptManager ID="ScriptManager1" runat="server" />

<asp:XmlDataSource ID="XmlDataSource1" runat="server"

DataFile="~/menu.xml" XPath="/Items/Item"></asp:XmlDataSource>

<telerik:RadPanelbar runat="server" ID="RadPanelbar1" Skin="Mac"

datasourceid="XmlDataSource1"

DataTextField="Text" DataNavigateUrlField="Url" DataValueField="Text" Width="140px"

OnClientItemClicked="OnClientItemClickedHandlerForMenu" >

<ExpandAnimation Type="OutQuint" Duration="300" />

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

</telerik:RadPanelbar>

</div>

<

input type="submit" />

</form>

</

body>

<

script type="text/javascript">

function

OnClientItemClickedHandlerForMenu(sender, eventArgs)

{

}

</

script>

</

html>


The page loads fine.  However, when I click on the 'submit' button during the postback it generates the above security error.

Gerry
gerry
Top achievements
Rank 1
 asked on 08 May 2008
1 answer
96 views
So I take it if using ASP.NET RadEditor we can't use it to browse on the local machine for files?

Thanks!

Robert
Lini
Telerik team
 answered on 08 May 2008
3 answers
100 views
Hi, I am getting the error "The type name 'Charting' does not exist in the type ..." when I try to build this solution with your example. I am using the latest version of Telerik (2008 Quarter1). Can you tell me how to resolve this ?

Thanks a lot,

Pete Walker.
Ves
Telerik team
 answered on 08 May 2008
1 answer
142 views
Hi!

I want to add some custom css to the Content area css. In the sample I can see how to override the whole css. But how do I keep the defaults and just add to it? Is the default ContentAreaCssFile available, can´t find it.

Thanks!
Rumen
Telerik team
 answered on 08 May 2008
3 answers
298 views
I've been trying to figure out how to accomplish a specific behavior and I haven't been too successful.  Here's what I'd like:

I want to specify an EmptyMessage for a radTextBox and specify a style that displays that message in a light gray color.  I have successfully accomplished this by setting the Skin property to "" and specifying my desired class for the EmptyMessageStyle-CssClass property.  When someone actually types, the text should appear in black.

These two things work, but the problem is in the in-between phase -- if the user hovers over the empty message text, it turns black!  I have tried forcing the hover style to not apply, but I've been unsuccessful.

Any suggestions?  I really don't want any hover behavior whatsoever.

Josh
Dimo
Telerik team
 answered on 08 May 2008
10 answers
697 views
Hi,

I have RadGrid with details table. It is showing plus sign on left side for every record in the grid.
I don't want to show "+" sign for the records which do not have any child records. Currently if we expand by clicking "+" it is showing empty detail table structure.
Is there any way to show "+" sign only for those records with child records associated with them?

I have specified Master table/Detail table structure in .aspx. I am attaching datasource to both tables from code behind.

Regards,
Vinayak
Vinayak
Top achievements
Rank 1
 answered on 08 May 2008
1 answer
166 views
Hi,

I'm using radEditor 7.3.2.0 in my ASP.Net 1.1x application. Last week i updated the latest service pack "RadControls_Q3_2007_SP2_dev_hotfix.zip" after that when i tried to upload image, it gives error like "The file could not be uploaded because the application did not have enough permissions. Contact Administrator.". But this is working localy. When the site is published cannot possible to upload image in the RadEditor.

Pls provide a solution to solve this issue.

Thanks
Vijay
Rumen
Telerik team
 answered on 08 May 2008
3 answers
177 views
When the Grid goes into Edit mode with a GridDateTime column with picker, if the column is NULL (a valid value in the db in this case) I get an exception.

This is bound to a LINQ datasource, is there any way to handle this exception or cause a default value to appear?
Rosen
Telerik team
 answered on 08 May 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?