Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Wed, 25 May 2011 14:09:07 UTC
Message: 'Sys' is undefined
Line: 70
Char: 1
Code: 0
URI: http://localhost:8080/PRWeb/
Message: Object expected
Line: 201
Char: 9
Code: 0
URI: http://localhost:8080/PRWeb/
I have a LinkButton that i am using to activate a tooptip that is displaying a RadGrid of items. When i try to filter the items in the Radgrid the filter menu displays behind the grid. Any help would be appreciated.
A gif of what it looks like is attached.
Code snippets are below.
Markup:
<%@ Register Src="~/Controls/FavoritesTooltip.ascx" TagName="OrderStatusTooltip" TagPrefix="ost" %>
...
<
telerik:RadToolTipManager
ID
=
"RadToolTipManager1"
runat
=
"server"
Position
=
"BottomLeft"
RelativeTo
=
"Element"
ShowEvent
=
"OnClick"
HideEvent
=
"ManualClose"
Animation
=
"Fade"
OnAjaxUpdate
=
"OnShowDeletedItems"
Width
=
"225px"
Style
=
"font-size: 18px; text-align: left; font-family: Arial;"
>
<
TargetControls
>
<
telerik:ToolTipTargetControl
TargetControlID
=
"btnShowDeletedItemsTop"
/>
<
telerik:ToolTipTargetControl
TargetControlID
=
"btnShowDeletedItemsBottom"
/>
</
TargetControls
>
</
telerik:RadToolTipManager
>
...
<
asp:Panel
ID
=
"pnlDeleteItemsLinkTop"
runat
=
"server"
Visible
=
"true"
>
<
p
style
=
"float:left"
>
<
asp:LinkButton
ID
=
"btnShowDeletedItemsTop"
runat
=
"server"
CssClass
=
"button_b"
>
<
span
><%= DeletedItemsPrompt %></
span
>
</
asp:LinkButton
>
</
p
>
</
asp:Panel
>
Code Behind:
protected
void
OnShowDeletedItems(
object
sender, Telerik.Web.UI.ToolTipUpdateEventArgs e)
{
if
(e.TargetControlID ==
"btnShowDeletedItemsBottom"
)
RadToolTipManager1.Position = Telerik.Web.UI.ToolTipPosition.TopLeft;
System.Web.UI.Control ctrl = Page.LoadControl(
"~/Controls/FavoritesTooltip.ascx"
);
e.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl);
StringBuilder sb =
new
StringBuilder();
if
(!CurrentList.Description.IsNullOrWhiteSpace())
sb.AppendFormat(
"{0}'s "
, CurrentList.Description);
sb.Append(
"Deleted Items"
);
Controls_FavoritesTooltip tooltip = (Controls_FavoritesTooltip)ctrl;
tooltip.FavoritesID = CurrentList.Id;
tooltip.FavoritesDescription = CurrentList.Description;
tooltip.Heading = sb.ToString();
}
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FavoritesTooltip.ascx.cs" Inherits="Controls_FavoritesTooltip" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="Telerik" %>
<
div
id
=
"Tooltip"
class
=
"tooltip"
>
<
asp:Panel
ID
=
"Panel1"
runat
=
"server"
>
<
div
class
=
"header"
id
=
"HeaderContent"
runat
=
"server"
>
<
h4
style
=
"color: White;"
>
<%= Heading %>
</
h4
>
</
div
>
<
telerik:RadGrid
ID
=
"rgDeletedFavoriteItems"
runat
=
"server"
ShowFooter
=
"True"
EnableEmbeddedSkins
=
"false"
GridLines
=
"Both"
AllowSorting
=
"True"
AutoGenerateColumns
=
"false"
Skin
=
"ECISkin"
st
AllowFilteringByColumn
=
"true"
AllowPaging
=
"true"
PageSize
=
"20"
>
<
GroupingSettings
CaseSensitive
=
"false"
/>
<
PagerStyle
Mode
=
"NumericPages"
/>
<
MasterTableView
DataKeyNames
=
"OldItemCompany,OldItemNumber"
NoMasterRecordsText
=
"No Items Found"
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"OldItemCompany"
SortExpression
=
"OldItemCompany"
HeaderText
=
"Item Company"
UniqueName
=
"OldItemCompany"
FilterControlWidth
=
"40px"
ConvertEmptyStringToNull
=
"false"
>
<
ItemStyle
Width
=
"40px"
HorizontalAlign
=
"Left"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OldItemNumber"
SortExpression
=
"OldItemNumber"
HeaderText
=
"Item Number"
UniqueName
=
"SiteAccount"
FilterControlWidth
=
"80px"
ConvertEmptyStringToNull
=
"false"
>
<
ItemStyle
Width
=
"80px"
HorizontalAlign
=
"Left"
/>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
asp:Panel
>
</
div
>
public
partial
class
Controls_FavoritesTooltip : System.Web.UI.UserControl
{
private
Guid _favoritesID = Guid.Empty;
private
string
_favoritesDescription = String.Empty;
private
string
_heading = String.Empty;
public
Guid FavoritesID
{
get
{
return
_favoritesID; }
set
{ _favoritesID = value; }
}
public
string
FavoritesDescription
{
get
{
return
_favoritesDescription; }
set
{ _favoritesDescription = value; }
}
public
string
Heading
{
get
{
return
_heading; }
set
{ _heading = value; }
}
#region OnInit
protected
override
void
OnInit(EventArgs e)
{
rgDeletedFavoriteItems.NeedDataSource += rgDeletedFavoriteItems_NeedDataSource;
base
.OnInit(e);
}
#endregion
protected
override
void
OnLoad(EventArgs e)
{
if
(Heading.IsNullOrWhiteSpace())
Heading = FavoritesDescription;
base
.OnLoad(e);
}
void
rgDeletedFavoriteItems_NeedDataSource(
object
sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
string
lastSku =
string
.Empty;
List<FavoritesFactory.ChangedFaveItem> deletedList =
new
List<FavoritesFactory.ChangedFaveItem>();
using
(SqlCommand command =
new
SqlCommand(
"[dbo].[usp_ItemListDetailLogGetList]"
) { CommandType = CommandType.StoredProcedure })
{
command.Parameters.Add(
new
SqlParameter(
"@ItemListID"
, SqlDbType.UniqueIdentifier)).Value = FavoritesID;
command.Parameters.Add(
new
SqlParameter(
"@ActionID"
, SqlDbType.VarChar)).Value = 6;
// delete actionid
using
(SqlBuilder sqlBuilder =
new
SqlBuilder())
using
(SafeDataReader reader =
new
SafeDataReader(sqlBuilder.ExecuteReader(command)))
while
(reader.Read())
{
FavoritesFactory.ChangedFaveItem cfi =
new
FavoritesFactory.ChangedFaveItem
{
NewItemCompany = reader.GetString(
"NewItemCompany"
),
NewItemNumber = reader.GetString(
"NewItemNumber"
),
OldItemCompany = reader.GetString(
"OldItemCompany"
),
OldItemNumber = reader.GetString(
"OldItemNumber"
)
};
if
(lastSku != cfi.OldSku)
{
lastSku = cfi.OldSku;
deletedList.Add(cfi);
}
}
}
rgDeletedFavoriteItems.DataSource = deletedList;
}
}
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
</
telerik:RadScriptManager
>
<
telerik:RadMaskedTextBox
ID
=
"txtShift"
runat
=
"server"
MaxLength
=
"11"
Width
=
"60px"
Mask
=
"##:##-##:##"
SelectionOnFocus
=
"SelectAll"
>
</
telerik:RadMaskedTextBox
>
This will allow you to repeat it in IE6. This does not happen in IE8, or IE9.
Regards
Nick
The filter boxes require me to type in a value to filter on. Is there an option for something closer to how Excel handles filters?
Hello,
I've developed my web app with Telerik ASP.NET AJAX libraries; when build my app (without errors) and deploy it on IIS obtain this error:
"Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. There is not enough space on the disk."
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. |
I've search on Google; I've change quota disk for IIS User, but the results don't change.
Where is the error?
Thanks.
M.<
script
type
=
"text/javascript"
>
function setEmpty()
{
var combo = $find("<%= combo1.ClientID %>");
combo.clearselection();
combo.set_emptyMessage("select please");
}
function nodeClicking(sender, args) {
var comboBox = $find("<%= combo1.ClientID %>");
var node = args.get_node()
comboBox.set_text(node.get_text());
comboBox.trackChanges();
comboBox.get_items().getItem(0).set_text(node.get_text());
comboBox.get_items().getItem(0).set_value(node.get_value());
comboBox.commitChanges();
comboBox.hideDropDown();
// Call comboBox.attachDropDown if:
// 1) The RadComboBox is inside an AJAX panel.
// 2) The RadTreeView has a server-side event handler for the NodeClick event, i.e. it initiates a postback when clicking on a Node.
// Otherwise the AJAX postback becomes a normal postback regardless of the outer AJAX panel.
//comboBox.attachDropDown();
}
function StopPropagation(e) {
if (!e) {
e = window.event;
}
e.cancelBubble = true;
}
function OnClientDropDownOpenedHandler(sender, eventArgs) {
var tree = sender.get_items().getItem(0).findControl("rvt1");
var selectedNode = tree.get_selectedNode();
if (selectedNode) {
selectedNode.scrollIntoView();
}
}
</
script
>
<
telerik:RadComboBox
ID
=
"combo1"
runat
=
"server"
CausesValidation
=
"false"
EnableEmbeddedSkins
=
"false"
OnClientDropDownOpened
=
"OnClientDropDownOpenedHandler"
EmptyMessage
=
"select please"
MaxHeight
=
"200px"
ShowToggleImage
=
"True"
Width
=
"50%"
AllowCustomText
=
"True"
>
<
ItemTemplate
>
<
div
id
=
"div1"
>
<
telerik:RadTreeView
ID
=
"rvt1"
runat
=
"server"
Width
=
"100%"
Height
=
"250px"
DataSourceID
=
"ds1"
DataFieldID
=
"ID"
DataValueField
=
"ID"
DataFieldParentID
=
"ParentID"
DataTextField
=
"Name"
OnClientNodeClicking
=
"nodeClicking"
>
<
DataBindings
>
<
telerik:RadTreeNodeBinding
Expanded
=
"true"
/>
</
DataBindings
>
</
telerik:RadTreeView
>
</
div
>
</
ItemTemplate
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
<
asp:ObjectDataSource
ID
=
"ds2"
runat
=
"server"
EnablePaging
=
"True"
OnSelecting
=
"dds2_Selecting"
SelectMethod
=
"GetList"
TypeName
=
"BLL"
>
<
SelectParameters
>
<
asp:Parameter
Name
=
"p1"
Type
=
"Int32"
/>
<
asp:Parameter
Name
=
"p2"
Type
=
"Int32"
/>
<
asp:Parameter
Name
=
"p3"
Type
=
"Boolean"
DefaultValue
=
"True"
/>
</
SelectParameters
>
</
asp:ObjectDataSource
>