Hello Telerik-Team,
i have a RadLightBox with a ItemTemplate and a RadGrid with an asp:LinkButton, where i open the lightbox.
Open the Lightbox is without any problems. I can change the Textbox Value in the RadLightBox Itemtemplate in PreRender.
But the problem is, in the first call is the Textbox in RadLightbox always empty. The calls after are working without any problems.
Any Ideas?
Thanks,
Nick
function ShowBox(recordId) {
$get('<%= HiddenField1.ClientID %>').value = recordId;
var lightBox1 = $find('<%= RadLightBox1.ClientID %>');
lightBox1.show();
}
<
telerik:GridTemplateColumn
HeaderText="<%$ Resources:Details %>" UniqueName="Details">
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"lnkEdit"
runat
=
"server"
Text="<%$ Resources:Details %>" ></
asp:LinkButton
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:RadLightBox
ID
=
"RadLightBox1"
runat
=
"server"
Width
=
"1000px"
Height
=
"720px"
Modal
=
"true"
ZIndex
=
"100000"
>
<
ClientSettings
>
<
AnimationSettings
HideAnimation
=
"Resize"
NextAnimation
=
"Fade"
PrevAnimation
=
"Fade"
ShowAnimation
=
"Resize"
/>
</
ClientSettings
>
<
Items
>
<
telerik:RadLightBoxItem
>
<
ItemTemplate
>
<
telerik:RadTextBox
runat
=
"server"
ID
=
"LightBoxNotice"
Label
=
"Notlar: "
text
=
""
Width
=
"800px"
Height
=
"300px"
EnableViewState
=
"false"
OnInit
=
"LightBoxNotice_Init"
OnPreRender
=
"LightBoxNotice_PreRender"
TextMode
=
"MultiLine"
></
telerik:RadTextBox
>
</
ItemTemplate
>
</
telerik:RadLightBoxItem
>
</
Items
>
</
telerik:RadLightBox
>