This is a migrated thread and some comments may be shown as answers.

How to Register a postback in a RadScripManager

0 Answers 111 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Enrique Gonzalez
Top achievements
Rank 1
Enrique Gonzalez asked on 06 May 2010, 03:45 PM

How to register a postback in a RadscriptManager, to preserve the value of a FileUpload that is contained in a RadAjaxLoadingPanel.

This in an example using ScripManager and UpdatePanel:

Protected Sub BtnSubirFoto_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles BtnSubirFoto.PreRender

        Dim btn1 As Button = DirectCast(sender, Button)
        Dim rsm As RadScriptManager = DirectCast(MyMaster.FindControl("RadScriptManager1"), RadScriptManager)
        rsm.RegisterPostBackControl(btn1)

End Sub

No answers yet. Maybe you can help?

Tags
ScriptManager and StyleSheetManager
Asked by
Enrique Gonzalez
Top achievements
Rank 1
Share this question
or