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

Avoid postback on Radwindow open

1 Answer 64 Views
Window
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 23 Jul 2015, 06:40 AM

Hi,

I have problem in opening radwindow, postback occurs on everytime when i open the radwindow.

i used button click for opening radwindow. i pasted the code below, which i have used.

<telerik:RadButton ID="create" Text="New meeting" runat="server" OnClientClicking="Open" AutoPostBack="false" CausesValidation="false" Skin="WebBlue" Font-Bold="true" Height="22px" Width="97px" ToolTip="Click here to Create a new meeting">
</telerik:RadButton>
  
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" EnableViewState="false"></telerik:RadWindowManager>
 
<telerik:RadWindow id="radCreatePopup" NavigateUrl="CreateMeeting.aspx"  Top="30" OnClientShow="OnClientshow" Left="100" VisibleStatusbar="false" Modal="true" CenterIfModal="true" OnClientClose="Close" runat="server" Width="770px" Height="390px" Skin="WebBlue" Behaviors="Resize, Close, Move, Reload" ReloadOnShow="True" />

and javascript function ..

(function (global, undefined) {
  var button = null;
  function OnClientshow(sender, eventArgs) {
  }
  function Open() {
      var oWnd = $find("<%= radCreatePopup.ClientID %>").show();
      }
      global.OnClientshow = OnClientshow;
      global.Open = Open;
 })(window);
 
function Close() {
 var oWnd = $find("<%= radCreatePopup.ClientID %>").Close();
 return false;
 }

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 27 Jul 2015, 02:05 PM
Hello Balaji,

I am not able to reproduce the mentioned issue. I can suggest the following:
    - If you are not using latest Telerik UI version - 2015.2.623, does upgrading to it helps?
    - Are there any JavaScript errors on your page? If there are such errors they should be found and fixed.
If the above steps, however, do not help could you please try to reproduce the problem with the attached example and then tell us what changes you have made, so that we can proceed further with the investigation?

Regards,
Danail Vasilev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Window
Asked by
Balaji
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or