.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

How can I use vb codebehind to open an aspx form in "full screen" mode as if I had pushed the F11 ke

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :ASP.Net
I can create an ActiveX control to active F11 to enable full screen mode, but would rather not.  Is there an easier way?   Thanks 

View Complete Post

More Related Resource Links

Reg: Turn on more accessible mode & Skip to main content link message on Infopath2007 browser form



I have a infopath 2007 browser enabled form with c# code behind . The Infopath form is embeded\hosted in to a custom layouts page (.aspx) on MOSS 2007. The issue is when users use keyboard to fill the form, they often use <TAB> & <Enter> keys. So when they are using the tabbing at one location in the form, I have a "Contact selector" field, I enter a name & then hit <TAB> key the focus now comes to "name cheker" I then hit <Enter> key, I hit <TAB> again, the focus now comes to a button named "Accept", I hit <Enter> key & a filed below is populated with the values from user profile service. Now when I hit <TAB> I expect the focus should now come to that automatically populated field below the "Contact selctor". Because Infopath assings the tab order by default form top to bottom & left to right and I havent changed that default tab order.   

But, the focus moves to top of the webpage with a clickable link to "Turn on more accessible mode" I hit tab one more time & the link on top changes to "Skip to main content". This bheaviour does not seem to be happning in other form controls when they hit <Tab>, <Enter>. There are couple of areas on the infopath form where I have such a controls (layed ou

Moved from WinXP to Win7 - don't see choice to open file in read only or edit mode


I just recently moved from Win XP Pro SP3 to Win 7 32-bit Pro. I am logging into domain X normally. Our Sharepoint 2007 server authenticates only on domain Y. So I start Internet Explorer with "run as different user" and provide my domain Y credentials. All fine. 

In win XP, after I did this, when I click on an Excel file on Sharepoint, I would get a dialog asking if I wanted to check out and edit or open as read only. 

In win7, I don't get that choice. The file simply opens, and I get a bar at the top which allows me to check out the file if I wanted to. 

How can I restore the functionality I used to have, with the dialog for checking out the file before opening it?

Open aspx page in new window or tab



    I use the following code in a Buttons onClick handler.



Is it possible to open the EIQuotationReport.aspx web form in a new window or a new tab? I could change the button to a hyperlink if required.



Open a windows application form names in another

Hi, Now i am in a horrible situation. I want to create an application for open another application(exe) and display all the form names in newly opened application in a compobox.If we selected a compobox item,ie;a form name in new application opened,i want to display all the control names in that form... is it possible? we can do it in same application.but how can i do it in another application? thanks in advance   Anoop

Submit a aspx form to a sharepoint list?

Hi,I have a wizard control form in visual studio 2008.. I need to submit this form to a sharepoint list? Is this possible?thanks!

Open my aspx page in new window....

Hi..On button click im using this Server.Transfer("abc.aspx", true); to transfer to abc page.. what i need is i need to open in new window by this abc.aspx page on button click..here im passing parameter to abc.aspx page, so let me know how to do...so plz let me know how to achieve this....

SharePoint Designer can't open defaul.aspx page

I tried to edit the default.aspx page of a WSS 3.0 site using SharePoint Designer and I get the following error:"The server could not complete your request.  Contact your Internet service provider or Web server administrator to make sure that the server has the FrontPage Server Extensions or SharePoint Service installed."When I click on the 'Details' button I get:"soaperverServer was unable to process request. ---> A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered as safe on this site. You may not be able to open this page in an HTML editor that is compatible with Microsoft Windows SharePoint Services, such as Microsoft Office SharePoint Designer. To fix this page, contact the site administrator to have the Web Part or Web Form Control configured as safe. "I don't have any custom built Web Parts installed and I checked the web.config file to make sure that other parts are marked as safe.The weird thing is that I can successfully edit other default.aspx files on sub-sites  Thanks for any help

Expense Reimbursement Approval template cant open infopath form

hi, i just created a site using the template Expense Reimbursement Approval. but when i click on the Expense link and click new it try to open infopath form but it gives me this error: The form template was created with a newer version of InfoPath. This form template was created by InfoPath version 12.0.0. do i have to use infopath 2007 to open this form? thnx

Can i Start Workflow on Infopath form open?

HI, I Have a Scenario where when i open a Infopath 2010 form in Sharepoint 2010 as XML Form View Webpart, Custom workflow must be enabled, can i do this? If Yes, Please tell me steps to configure or code for starting a workflow. Thanks you all in Advance

How to open the stored document in form library as readonly

Hi,    I have a library, am storing the form in this library, when ever the new form is created, the mail will send to the administrator for getting approval. Now i want to open the stored library form in read only for the administrator. How can i achive this?

SPCalendarView in sharepoint 2010 placed on custom aspx form does not respond to any actions

Hello everybody! We are facing strange problem when using SPCalendarView  in custom aspx form. Calendar does not cause any postback when clicking on any of its buttons. We have have used script fix (step 4) from this microsoft walkthrough and our calendar started to partially work, but it was throwing javascript exceptions in new inserted function. After function fix (semicollon missing), calendar stopped working again... Does anybody have any idea what can be wrong?

in the aspx.cs of the form

I put this in the aspx.cs of the form I am doing, but, since I haven't found a way to call variables from the ASP, I recreated them, still, even if I did get those, this problem would still exist:private void DrawPicture(Bitmap bitmap)        {            System.Web.UI.WebControls.Image PictureFinger;            int PictureFingerW = 248;            int PictureFingerH = 288;            PictureFinger.ImageUrl = new System.Drawing.Bitmap(bitmap, PictureFingerW, PictureFingerH);    // fit the image into the picture box        }Does anyone know how to fix?The ImageURL doesn't take the image, but the URL. So, how can I save the image into a variable?

Not able to open workflow task form

I have a workflow created using SharePoint Designer 2010. This workflow has 'Collect Data' task. When the workflow is run, a task is created in the task list, however users can not open the task from the list and get the following error. There has been an error while loading the form. A form template (.xsn) file can not be accessed. You may not have the required permissions to open the file. The users who are trying to open the task have full control on the task list as well as the list from where the workflow is started. Site Collection Administrators are able to open the task. I am not sure at which place the users dont have permissions that they are not able to open the task.Tarun

How to send form result to e-mail from aspx page ?

Hello , I'm stuck with this problem. I have aspx page , (.net 4 , web form ) on this page I have 3 text fields, 3 radio buttons groups, and 6 checkboxes, and button ( submit) . I'm trying to send data to e-mail using button event. The problem which I found that CheckBoxes giving boolean, I want transfer it to Yes or Not. Radio button giving boolean or integer as well. And another problem, I want to send only part which has been answered. empty ( NULL ) field should be ignored. If you can point me in right direction could be cool. What the best way for this? Thank you!

Problem to open infopath form : The file cannot be opened because it is not a valid InfoPath form

Hi i have a winform app which host of infopath forms. form templates and data stores in database and when user want to open/edit an existing infopath form data, it must be extract from database, save on disk and then open it to display it in formControl. my problem is that when i open form data, after it has been extracted on disk, i got this error : InfoPath cannot open the following file: C:\Users\Hamed\Documents\Visual Studio 2008\Projects\InfopathFormTest2\InfopathFormTest2\bin\Debug\d00d73e8-cf5c-4b12-b9a6-591c4ade83aa.xml. The file cannot be opened because it is not a valid InfoPath form.  The processing instruction in the file is missing or invalid. here is my code : this._fullPath = System.IO.Path.Combine(Application.StartupPath, this._dataRow.FormID.ToString() + ".xml"); this._templatePath = System.IO.Path.Combine(Application.StartupPath, this._templateRow.TemplateID.ToString() + ".xsn");if (HelperClass.ExtractToDisc(_fullPath, ASCIIEncoding.Unicode.GetBytes(this._dataRow.FormContent))) { this.formControl1.Open(_fullPath); this.txtFormName.Text = this._dataRow.FormName; } where is my problem and how to solve this ? thanks in advancehttp://www.codeproject.com/KB/codegen/DatabaseHelper.aspx

how to open a subform model Form,Sub Window form using jquery that save the data ajex

how to open a subform model Form,Sub Window  form using jquery that save the data ajex

Need help on Main Form Open Child Form

Hi, I've 2 form which is frmA and frmB. frmA have a 1 button and 1 label named Button A and Label1. frmB have a 1 button named Button B. frmA is a Main Form. frmB is a Child Form for Form A. My objective is when frmB is closed, then Label1 in frmA showing the value. My code in frmA as follow public partial class frmA : Form { public frmA() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { frmB oFrm=new frmB(this); oFrm.ShowDialog(); } public void PerformRefresh() { label1.Text = DateTime.Now.ToLongDateString(); } } My code in frmB as follow, public partial class frmB : Form { frmA _owner; public frmB() { InitializeComponent(); } public frmB(frmA owner) { _owner = owner; this.FormClosed+=new FormClosedEventHandler(frmB_FormClosed); } private void frmB_FormClosed(object sender, FormClosedEventArgs e) { _owner.PerformRefresh(); } } At this level, i can call function in frmA from frmB after closed event. My problem is when Button A in frmA clicked, frmB not showing like frmB as per design. It's display a windows without Button B. I'm stuck. Really need help
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend