[RESOLVED]How To open Dynamic Resizeable Window

hi all

I’m trying to open new  Aspx page in new window which should be of specified size..

i used following code with JavaScript but window is not opening in specified size

can any one solve this issue….

<ItemTemplate>
                                    <asp:LinkButton   ID="LinkButton1" OnClientClick="window.open(‘EditPays.aspx’),’height=200px,width=350px,resizable=yes,

scrollbars=no,status=no,toolbar=no,menubar=no,location=no’" runat="server">Pays</asp:LinkButton>
                                  
                                </ItemTemplate>

If you mean to open a pop up, try this

<asp:LinkButton ID="LinkButton1" OnClientClick="window.open('EditPays.aspx','_blank','height=200px,width=350px,resizable=yes,scrollbars=no,status=no,toolbar=no,menubar=no,location=no')" runat="server">Pays</asp:LinkButton>

Leave a Reply