Last post Jul 26, 2012 08:31 AM by shivani.gupta
Jul 23, 2012 07:23 AM|selvakumars|LINK
i am very new to web application, now i have to create new page on on_click of master page button.that new page is not new window or new tab , it like printable page. i dont know how to create in the new page also i have to give 2 buttons , header and
so please help me.
Jul 23, 2012 08:03 AM|ignatandrei|LINK
now i have to create new page on on_click of master page button.that new page is not new window or new tab , it like printable page.
create a html page. File.WriteAllText
i am very new to web application
please see http://www.asp.net/web-forms
Jul 25, 2012 12:11 AM|Miikey|LINK
Right click on C:\...\Website\ (inside your solution Explorer) and click add new item and it will show you the types you can add.
^whatever you named your web applicationn
You can add buttons throw the toolbox using drag and drop, or on your source page (default.aspx) you could write:
Jul 26, 2012 05:40 AM|shivani.gupta|LINK
I do not understand with create new page from onclick event.
Hope this will help you.
Jul 26, 2012 06:52 AM|selvakumars|LINK
my doubt is , in on click i wrote Response.Redirect("Newpage.aspx");, so it will open new tab or window, but i dont want new tab or window. i want one white page with 2 buttons and maximun of 10 labels. (note: i dont want new tab or window)
Jul 26, 2012 07:26 AM|shivani.gupta|LINK
but Response.Redirect never open the new page or window. it redirect the page in same window.
Jul 26, 2012 07:33 AM|selvakumars|LINK
No i am not having any java script on the submit button
Jul 26, 2012 08:31 AM|shivani.gupta|LINK
Can you please provide your code?
Check below link:
Check solution 1 in the above link. might be you are doing link this.
<asp:Button ID="btnNewEntry" runat="Server" CssClass="button" Text="New Entry" OnClick="btnNewEntry_Click" OnClientClick="aspnetForm.target ='_blank';"/>