<telerik:RadButton ID="ImageButtonStatusLock" CssClass="UnLockIcon" runat="server" Text="Image Button" OnClientClicked="OnClientClicked" AutoPostBack="false" ButtonType="StandardButton"> <Image EnableImageButton="true" /> </telerik:RadButton>Good afternoon,
I have in my aspx page RadTextBox:
<
telerik:RadTextBox ID="CFNTextBox" runat="server" Font-Bold="true" TabIndex="1" Width="150px" CssClass="textbox" >
I would like fire on clientevent OnFocus and OnBlur to change backgroundColor.
When focus gets on textbox one color and when focus leaves textbox another color.
How can I do that?
Thanks so much for your help.
Private Sub rg_EditCommand(sender As Object, e As Telerik.Web.UI.GridCommandEventArgs) Handles rg.EditCommand
Dim uc As UserControl = CType(e.Item.FindControl(GridEditFormItem.EditFormUserControlID), UserControl)
lbl_test.Text =
CType(uc, uc_Steps_Party).ID 'this is where the error occurs because uc == Nothing
End Sub
I have also tried:
ItemDataBound
ItemCreated
ItemCommand
Always a null exception refering tot he usercontrol.
The Telerick examples seem to only show finding the usercontrol (after) it has renedered like in the UpdateCommand or InsertCommand. I need to find the user control and set its properties before it gets to those events, when the usercontrol is first shown.
We're experiencing this on our own site, but I also reproduced it in the Default Example for RadEditor. Steps to take: