This question is locked. New answers and comments are not allowed.
When I try to LoadFromContent DropDownList I am getting 'jQuery.telerik.load is not a function' javascript error.
Content is being loaded inside the Tab in Hierarchy Grid (server binding)
I tried jQuery versions from 1.5.1 to 1.6.2 with the same result.
I am using the latest Q2 2011 version 2011.2.712.0
UPDATE: I just discovered that issue is not directly related to DropDown, already whatever Telerik control I am trying to use here, the same error is occurring. This fact leads me back to LoadFromContent inside the Hierarchy Grid Tab control.
If I try to LoadFromContent some static content (pure HTML) everything works fine, however any load of Telerik controls ends with the javascript error.
Grid-> DetailView -> Tab -> Control LoadFromContent
Also, there is an additional issue within.
When I try to add TabStrip Content between TabStrip LoadFromContent controls ( Tab Strip -> items.Add()), everything after Tab Strip Content control will not trigger loading. When I move Tab Strip Content at the end, everything is being loaded correctly.
Example:
However, if I change the order to:
Everything works fine.
Content is being loaded inside the Tab in Hierarchy Grid (server binding)
I tried jQuery versions from 1.5.1 to 1.6.2 with the same result.
I am using the latest Q2 2011 version 2011.2.712.0
<%=Html.Telerik().DropDownList()
.Name(
"ReturnReasonIdentities"
)
.HtmlAttributes(
new
{style =
"width: 450px;"
})
.BindTo(
new
SelectList(Model.ReturnReasonIdentities,
"RetReasonIdentityId"
,
"RetReasonIdentityText"
))
%>
UPDATE: I just discovered that issue is not directly related to DropDown, already whatever Telerik control I am trying to use here, the same error is occurring. This fact leads me back to LoadFromContent inside the Hierarchy Grid Tab control.
If I try to LoadFromContent some static content (pure HTML) everything works fine, however any load of Telerik controls ends with the javascript error.
Grid-> DetailView -> Tab -> Control LoadFromContent
Also, there is an additional issue within.
When I try to add TabStrip Content between TabStrip LoadFromContent controls ( Tab Strip -> items.Add()), everything after Tab Strip Content control will not trigger loading. When I move Tab Strip Content at the end, everything is being loaded correctly.
Example:
items.Add()
.Text(
"1"
)
.LoadContentFrom(
"ReturnManagerReturnOrderEdit"
,
"ReturnManager"
,
new
RouteValueDictionary { {
"id"
, e.RetOrderId } });
items.Add()
.Text(
"2"
)
.Content(ReturnWeb.StatusRender.Render(
"RM"
, (
int
)e.RetOrderId,
"ALL"
,
true
));
items.Add()
.Text(
"3"
)
.LoadContentFrom(
"ReturnManagerReturnOrderEdit"
,
"ReturnManager"
,
new
RouteValueDictionary { {
"id"
, e.RetOrderId } });
--------------------------------
Text(
"3"
) - Couldn't be loaded
However, if I change the order to:
items.Add()
.Text(
"1"
)
.LoadContentFrom(
"ReturnManagerReturnOrderEdit"
,
"ReturnManager"
,
new
RouteValueDictionary { {
"id"
, e.RetOrderId } });
i
tems.Add()
.Text(
"3"
)
.LoadContentFrom(
"ReturnManagerReturnOrderEdit"
,
"ReturnManager"
,
new
RouteValueDictionary { {
"id"
, e.RetOrderId } });
items.Add()
.Text(
"2"
)
.Content(ReturnWeb.StatusRender.Render(
"RM"
, (
int
)e.RetOrderId,
"ALL"
,
true
));