Web Forms :: Menu From Master Page Get Collapsed After Click On Print Button

Jun 25, 2012

Menu from master page get collapsed or ditrubed  after click on print buttton  from asp page

menu comes back to originally posn after click on cacel button from print page 

I refer [URL] ....

Below is example of my code 

Before Click on print button 

Masterpage
Home
Menu  
Visifire 
Print button 

page code vafter click on print button from page my page changes 

Master page 
Home 
Menu
Visifire
Print button 
page  code 

View 1 Replies


Similar Messages:

Web Forms :: From Site Master Page - Menu Disappears When Click On Any Button

May 15, 2012

I am using ASP: menu in my site.master page ' but when I clicked on any button or drop down from other page the menu is disappeared. Why my menu is disappearing from the site.master page ?

My code is :

<asp:Menu ID="MainMenu" runat="server" Orientation ="Horizontal"  CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" >
        <Items > 
        <asp:MenuItem  Text ="Home" NavigateUrl="AllEMP.aspx" >
              </asp:MenuItem>
            <asp:MenuItem  Text ="Menu" NavigateUrl ="~/Default.aspx">
                   </asp:MenuItem>
  </asp:MenuItem>
        </Items>
        </asp:Menu>

View 1 Replies

Web Forms :: When Click On A Menu, The New Page Loads Which Uses The Same Master Page, But The ASP:Menu Vanishes?

Nov 5, 2010

I have an asp:Menu control on a master page that is reading its menu items from a web.sitemap file via a SiteMapDataSource.When I click on a menu, the new page loads which uses the same master page, but the ASP:Menu vanishes. I have put some plain text next to the menu for testing, this appears on the new page but the menu does not.Does anyone know how to get the asp:Menu to remain visible on the page?

View 4 Replies

Web Forms ::when Navigate To Other Pages Which Have Same Master Page The And Then Click On Button The Button Does No Trick?

Apr 3, 2010

I have a Master page and a user control on it.and i have a ASP Button on Usercontrol,the has to fire when ever i click on thats the default behaviour ..Now when the home page of my website loads and then i click on the button ,It works perfectly fine but when i navigate to other pages which have same master page the and then click on button the button does no trick!!

View 7 Replies

Adding Button On Page That User Can Click To Print

Feb 6, 2012

I need to be able to print a friendly version of the page I am working on. I have done the CSS page for it and it works. However I would like to add a button that the user can click to print. Now i know that some browsers may not allow the button to work, but i know you can use javascript to do it. Any way that it might work other then javascript or selecting file/print. I would like to bring up the print dialog box if i can but not that important.

View 7 Replies

Web Forms :: Master Page Cannot Work On Button Click

Mar 22, 2011

i have a button click event on Content page nad master page have a div(popUp to login).when i fire click event of button it will check weather user is login or not..if he is login user can submit data on button click,but when user is not he will login first(login code is on master page).now after login data will be submit (with out button click v because he is click already)..

View 6 Replies

Crystal Reports :: How To Show Direct Print Dialog Box When Click On Print Button

Jan 8, 2013

how to show direct print dialog box when click on print button in crystal report? when i click on print button the it goes to pdf file i want to show print dialog box?

View 1 Replies

Master Page Menu Button Events Not Firing On Some Pages Only?

Aug 5, 2014

I have a master page with a menu on it. I have found now two pages out of dozens where for some reason the master page events aren't firing. I've put a break point in there and it never hits it. Is there something that could cause a disconnect between the page and the master page events? Really weird it happens in Chrome and IE but they fire correctly in Safari.

View 12 Replies

How To Update A Div Tag In Master Page Using A Button Click In Content Page

Mar 3, 2010

How to Update a div tag in Master Page using a button click in Content page? or Wise versa

View 1 Replies

SQL Reporting :: Getting "Unable To Load Client Print Control" Error When Click On Print Button

Jan 11, 2010

iam using the ReportViewer Control in Visual Studio 2008 for displaying the report on the page. When iam going to Click on Print button iam getting the below error. Unable to load client print control

View 1 Replies

Web Forms :: How To Print A Variable In C# From Button Click

Aug 5, 2012

i have a transaction when i click the submit button i want to print one number , the follwing is my code and procedure . for insert

ReturnIDcount will display a number with every transaction . i want that number to be print instead of displaying in message box.

 C#
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandType = CommandType.StoredProcedure; 
cmd.CommandText = "usp_NEW_TRANSACTIONS"; 
cmd.Parameters.AddWithValue("@Patient", Patient_name);         

[Code] .....

View 1 Replies

Web Forms :: Menu Control Click Event Not Firing / How To Pass The Selected Menu Item Text To The Other Page

Jan 10, 2011

I am using frames in my webpage.in one of the frames i have a menu control whose items are database driven.when click on the menu item, i want another page to be displayed in other frame.

now i want to pass the the selected menu item text to the other page using session variable which is in the menu item click event method.but the thing is when i click on the menu item, the click event is not firing.

is there any better way to pass the selected menu item text to the other page?

View 1 Replies

Web Forms :: How To Show PageSetUp PopUp On Click Of Print Button

Jun 2, 2012

i have to show PageSetUp Popup on click of Print button, User does not want to go in Prefrences of Printer and also i have to set the Default Printer for Print

View 1 Replies

Forms Data Controls :: Print Records On Formview1 Or Gridview1 With Button Click?

Apr 6, 2010

How can I Print Records on my Formview1 or Gridview1 with button click

using visual web 2008 and vbcode

View 4 Replies

Web Forms :: Print Master Page Footer?

Mar 14, 2011

Does anyone know how to print the footer from the master page?

View 3 Replies

Web Forms :: Print Content Page From Master Page?

Aug 23, 2010

I am using a master page to all the pages i am creating in the website. I have to provide a print option to all the pages. how to print the content page when you click the print button in the master page in order to avoid header, footer and side navigation in print.

View 2 Replies

Web Forms :: How To Work With Navigation Menu And Assign Pages In Navigation Menu In Master Page

Aug 25, 2010

Iam using masterpage and i want to use navigation menu ,but i don't want to use sitemap concept

how to work with navigation menu and assign the pages in navigation menu in master page

View 2 Replies

Crystal Reports :: Print On Button Click

Jan 27, 2014

I got a problem with crystal report while printing. The problem is if I select Display Toolbar = False in crystal report viewer then I need to press Ctlr+P to print the report which is not good, because it prints the entire page. If I select DisplayToolbar =True then it displays print button and option to print but When I click print button it prints but all fields empty & |||||||||||||||.

When I press print button It displays an option/Messege in browser (Open With Different Viewer) If I press open then I can open it as pdf and print it, and it prints it correctly.

If I don't use this option it print the report blank or like this ||||||||||||||||||||||.

View 1 Replies

Vb.net - How To Print The Whole Webpage On Single Button Click Event

Feb 8, 2011

how to print the whole asp.net webpage on single button click event iusing VB ?

View 2 Replies

Crystal Reports :: How To Print On Button Click Using JavaScript

May 7, 2015

how to print crystal report  when asp.net button clicks and  after button clicks it shows the print dialogue popup as well as report is save as pdf format in local machine.

View 1 Replies

How To Print A Whole Webpage In A4 Size Paper Using Button Click Event

Feb 4, 2011

How to print a whole webpage in A4 Size Paper using asp.net / vb.net on button click event ?

I wanna print the Whole DIV tag and all the controls inside it ....

View 1 Replies

Crystal Reports :: When Click On Print Button, Data Is Not Coming?

Dec 17, 2010

I have binded crsytal report through dataset. My crystal report is working fine. but when i click on print button, data is not coming on crystal report . the following code i have written. what i am missing out? How to pass parameter when i click on print button? and how to bind data while printing?

On pageLoad

string ReportPath = Server.MapPath("/Reports/CrystalReport1.rpt").ToString();
reportTnaApprovalbyUser.Load(ReportPath);
reportTnaApprovalbyUser.FileName = ReportPath;
ParameterInCrstalReport();
protected void BIndReport()
{
ServerLogonFunction(----);
reportTnaApprovalbyUser.SetDataSource(ds1);
//ParameterInCrstalReport();
reportTnaApprovalbyUser.SetParameterValue("@Date", DateTime.Now.Date);
reportTnaApprovalbyUser.SetParameterValue("@CompCode", bo.CompCode);
//rp.SetParameterValue(
CrystalReportViewer1.ReportSource = reportTnaApprovalbyUser;
}
protected void ParameterInCrstalReport()
{
BO bo = new BO();
ParameterFields pF = new ParameterFields();
ParameterField p1 = new ParameterField();
ParameterDiscreteValue pdv = new ParameterDiscreteValue();
p1.Name = "@Date";
pdv.Value = DateTime.Now.Date;
p1.CurrentValues.Add(pdv);
ParameterField p2 = new ParameterField();
ParameterDiscreteValue pdv2 = new ParameterDiscreteValue();
p2.Name = "@CompCode";
pdv2.Value = bo.CompCode;
p2.CurrentValues.Add(pdv2);
pF.Add(p1);
pF.Add(p2);
//CrystalReportViewer1.ParameterFieldInfo = pF;
reportTnaApprovalbyUser.SetParameterValue("@Date", DateTime.Now.Date);
reportTnaApprovalbyUser.SetParameterValue("@CompCode", bo.CompCode);
}

View 3 Replies

Web Forms :: How To Use StaticSelectedStyle In Menu Control With Master Page/Content Page

Jan 14, 2010

I have a MasterPage where I use the menu control. Clicking a menu item loads a new content page. That part works fine.

I would like to use staticselected style to change the look of the selected menu item. However, when the new content page loads, the staticselectedsyle formatting does not work.

View 6 Replies

Web Forms :: Disable Master Page Menu From Content Page

Dec 16, 2010

I have asp:Menu on Master page like:

[code]

On content page (Login.aspx), I got Uesr Type. For Admin type only, I need to show the above bold menu item. No problem for getting User Type as "Admin". Just problem is that, how to visible/in-visible or enabled/disabled above bold text menu item?

View 3 Replies

Web Forms :: Master Page Menu Appearing Behind Content Page?

Feb 22, 2010

but I've tried everything I could think of and am at the end of my rope. I've got a page (faithfamilychurch.com/v2aspx/Default.aspx) that I am trying to get the flyout menu and flyout quicklinks at the top to come out over the contentPage content. I've set the z-index of each to much higher values than the content page, but still nothing. I've tried the tactic of changing the contentPage z-index to -1, but there is some master page content that needs to appear behind the contentPlaceHolder. Code below.

Master Page:

[Code]....

Content Page:

[Code]....

CSS:

[Code]....

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved