At the current my website is using ajax:DragPanelExtender to show my grid data as a popup, and now I want to replace it with Telerik RadWindow to consistent with the UI of the website.
BUT, I still have not found a way to do it. Because ajax:DragPanelExtender is server-side while Radwindow is Client-side.
Is there any way that can solve my problem?
Please give me an advice.
Scenario: In my website, there is a button named "mybutton". When I hit it, ajaxToolkit:ModalPopupExtender will be shown my data under a popup.
Here is the code in my *.ascx file:
<
asp:LinkButton
ID
=
"myHiddenControl"
runat
=
"server"
Text
=
""
></
asp:LinkButton
>
<
ajaxToolkit:ModalPopupExtender
runat
=
"server"
ID
=
"myModalPopupExtender"
TargetControlID
=
"myHiddenControl"
BehaviorID
=
"programmaticModalPopup"
PopupControlID
=
"myPanel"
BackgroundCssClass
=
"modalBackground"
DropShadow
=
"True"
RepositionMode
=
"RepositionOnWindowScroll"
DynamicServicePath
=
""
Enabled
=
"True"
>
</
ajaxToolkit:ModalPopupExtender
>
<
asp:Panel
runat
=
"server"
CssClass
=
"modalPopup"
ID
=
"myPanel"
Style
=
"width: 440px; height: 500px; padding: 10px;"
meta:resourcekey
=
"Resource2"
>
<
div
>
<
asp:UpdatePanel
ID
=
"UpdatePanel1"
runat
=
"server"
UpdateMode
=
"Conditional"
>
<
ContentTemplate
>
<
table
>
<!-- show my data in a table -->
</
table
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
</
div
>
</
asp:Panel
>
And here is vb code
Protected
Sub
mybutton_Click(
ByVal
sender
As
Object
,
ByVal
e
As
EventArgs)
Handles
mybutton.Click
myModalPopupExtender.Show()
End
Sub