Hi
When I click to Button1, radwindow manager close and page is postback. But I don't want close rand window and page post. How can I make idea?
thank you...
<asp:ScriptManager ID="ScriptManager1" runat="server"> |
</asp:ScriptManager> |
<asp:UpdatePanel ID="UpdatePanel1" runat="server"> |
<ContentTemplate> |
<telerik:RadWindowManager ID="RadWindowManager1" Skin="Web20" runat="server" Modal="true"> |
</telerik:RadWindowManager> |
<script type="text/javascript"> |
function openAndSet() |
{ |
var content = $get("hiddenContent"); |
var oWnd = radopen(null,"RadWindow1"); |
oWnd.set_contentElement(content); |
} |
</script> |
<button onclick="openAndSet(); return false;" type="button">open and set</button> |
<div style="display: none"> |
<div id="hiddenContent"> |
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /><asp:Label ID="Label1" runat="server" |
Text="Label"></asp:Label> |
</div> |
</div> |
<asp:Button ID="Button2" runat="server" Text="Button1" OnClick="Button2_Click" /> |
<asp:Label ID="Label2" ForeColor="red" runat="server" Text="Label"></asp:Label> |
</ContentTemplate> |
</asp:UpdatePanel> |