VS 2010 Hide Tab Control Pages?

Feb 7, 2012

I need to change which pages of a tab control are available at different times. Right now I'm just disabling the unwanted tabs (TabControl1.TabPages(x).Enabled = False), but I've got a user who can't comprehend why she can still view the tab page if she can't use it.

So I need to either hide the tabs altogether or disable them such that you can't switch to that tab page at all.

View 9 Replies


ADVERTISEMENT

Understanding Others Project - Contains Many Directories - Many Asp Pages, Aspx Pages, Jsp Pages, Xml Pages, Css Pages

Jan 17, 2010

My boss has given me an asp.net web application that was done by his former employee. Now my boss has no contact with that employee. He wants me to make some changes in that web application. I went through the application. There is no documentation present for that application . Its a huge application. It contains many directories. I think it was a team work. It has many asp pages, aspx pages, jsp pages, xml pages, css pages, etc... How to understand other person or team's website or web application that was written in asp or asp.net and vb or vb.net?

View 4 Replies

Tab Control Needs Multiple Pages?

Aug 27, 2010

I want to create a UI that uses a tab control to display multiple listview controls, one on each tab page. The number of tab pages/listviews is dynamic and could reach around 20. The listviews are in virtual mode and are populated from an object (custom class) in memory.It seems very wasteful to create 20 listviews. I seem to remember that back in VB4 days the tab control had only one page, and you changed the display yourself in code. Is there a way to do something similar with VB.net (VS2008/Framework 2.0) i.e. just show one listview and repopulate it according to which tab was clicked by the user? Something like this:

Private Sub Tab_Click
listview.load(MyObject(TabClickedIndex))
End Sub

[code].....

View 1 Replies

Count Pdf Pages Using Control For Program?

Dec 1, 2011

I know this topic has been discussed here before, but I haven't found any secure, clear & easy solution.

I can use a commercial solution (if price is ok: I only want it for this feature, not a bloated control with hundreds of pdf functions).

View 1 Replies

Cannot Move Child Controls In Tab Control Pages

Feb 24, 2011

I've created a tab control and on one of the pages I added a button, but I cannot move the button around with the mouse!? I can change the buttons position within the tab control page using the property Location and I can size the button using the mouse and the button is NOT locked. I even tried creating a new project with just the tab control and it still does the same thing. I can, tho, move the button using the keyboard arrows!

I'm using VS2010 V10.0.30319.1 RTMREL on WinXP SP3.

View 1 Replies

Pass Value To Master Pages User Control?

Apr 13, 2012

I have problem. I have site.master wich includes coulple of user controls. Now I need to pass value (srting) from actual pages code behind to master pages user control (Property) .

So my master is like this:

<%@ Master Language="VB" CodeFile="/scripts/pohjakoodit.master.vb" Inherits="pohjakoodit" AutoEventWireup="false" debug="false" %>

... on the end of master there is:

<ucSheriff:sheriffala ID="sheriffala" statvalue="atesti" runat="server" />

Then I have actual page wich strarts like this:

<%@ Page Language="vb" MasterPageFile="site.master" AutoEventWireup="false" CodeFile="/scripts/alkuuutisetxw.aspx.vb" Inherits="uutiset_index" debug="true" %>
The sheriffala.ascx has property

[Code]....

So how do I pass string to user controls property from code behind file?

View 1 Replies

VS 2008 Displaying Same Control On Multiple Tab Pages?

Aug 5, 2009

Basically I have custom events within several classes which populate data for specific controls. I'm only using one form, however I'm using the TabControl which houses 3 tab pages, I want to display the same label on all 3 tab pages, any idea's how I could accomplish this?

View 9 Replies

What Control To Use For Printing / Displaying Pages Of Text

Nov 11, 2011

In my desktop application I am writing output to a rich text file *.rtb and loading it into my rich text box control so the user can see the results of an analysis...This analysis which is saved as *rthas 50-200 pages of textUsing the rich text box control works ok but I would like to have a table of contents with hyperlinks or navigation tree that would allow the user to click on a link and go right to the specific page of output.

View 2 Replies

DataPager Control Changing Pages Automatically Every 5 Seconds

Aug 10, 2011

I have a listview control connected to an SQL database, I have set up a datapager to limit the items shown on each page (3 per page). I have set the datapager to: visible=false and would like to know how to make the datapager change pages automatically every 5 seconds.

View 1 Replies

Web Browser Control Working Offline - (Cached Web Pages) Only?

Aug 18, 2011

Is there a way to work the web browser control for viewing off-line (Cached web pages) only? Is it possible to view cached web pages from IE9 on a web browser control off-line? The reason i am asking this question is because IE9 automatically switches from off-line mode to on-line mode when it cannot find something in the cache by default. For forensic purposes this is not acceptable for these reasons: Active content (Viruses, java script, activex cookies etc)

View 1 Replies

ITextSharp - Calling AddImageToPage() With The The Optional Pages Parameter Will Add The Image To All Pages Though?

Dec 20, 2011

I am using Stanav's PdfManipulation2.AddImageToPage(..., Pages) for iTextSharp library (v5.1.3) and was not able to add the image to specific pages: e.g. to add to only page 1 and 3 of a five pages PDF

Dim Pages() As Integer
Pages = New Integer() {1, 3}
PdfManipulation2.AddImageToPage(..., Pages)

Calling AddImageToPage() with the the optional Pages parameter will add the image to all pages though.

View 14 Replies

Asp.net - FormView Or Not - Page With A Wizard Control Containing Several Pages Of Form Fields

May 20, 2011

I have an ASP.NET page with a Wizard control containing several pages of form fields. The data is collected and inserted to a database from the code behind page. I need to set this form up so you can not only insert, but edit a record as well. Since the form is long and complex, I would rather use the existing one and not make a duplicate one for editing, especially since I want to keep both forms exactly the same and any edits would have to be made to both. But it looks like this is what I need to do if I'm going to databind it. But this would also involve putting the Wizard inside of a FormView, and then I'd have to use FindControl to access any of the fields which would mean altering all my already-existing code (which of course would be time-consuming). So should I manually enter all the values from the code behind instead of databinding it? Which is better, to use a FormView and have duplicate forms (plus have to go in and redo the way I access the fields), or to do everything from the code behind?

View 2 Replies

Possible To Change Color Of 'rectangle Part' At Topmost Of Ab Pages In Tab Control

Mar 2, 2012

ive search on the net on tab control in vb winforms but no luck. It is possible to change the color of the "rectangle part" at the topmost of the ab pages in tab control ? I have 5 tab pages and i want the tab pages small rectangle at the upper part.[code]Is this possible guys using only the properties on the tab pages? I dont need a very long codes which i don't understand in the first place.

View 1 Replies

Form On A .NET Webserver Using Aspx Pages With The Vb Code-behind Pages?

Mar 19, 2009

I have a form on a .NET webserver using aspx pages with the vb code-behind pages. The form collects the entered data and then emails it, that part works fine.Right after it gets emailed, this code checks to see if the email was sent or not and then updates the landing page accordingly. I used to use just an IF THEN statement, but now that doesn't work in these new .NET pages. Here's the end of the code that I am having difficulties with:

[Code]...

View 10 Replies

Make Html Pages Work Like Aspx Pages?

Jun 19, 2009

I have heard of setting server specs to have HTML pages parsed as PHP pages by changing the .htaccess or httpd.conf files. Is there a similar solution to have HTML pages parsed as ASPX pages?

A website I am working on does not want their PageRank to lower since their HTML pages are already indexed and used on other websites but wants to use some dynamic features of aspx pages (like include the navigation file so that changes to the nav will only have to be done in that one file).

View 2 Replies

C# - Show Hide Using Javascript On A Control Inside A ASCX Control In A Gridview (ASP.NET + Javascript)

Oct 8, 2010

I have written a web usercontrol (ascx). Inside, there is a Panel that I want to show/hide on click of a hyperlink inside the usercontrol. Normally, this is easy just by doing something like this (the onclick attribute is added to the hyperlink on prerender):

[Code]...

View 2 Replies

VS 2010 : PDF Printing - Getting Number Of Pages?

Feb 21, 2011

I am working on a printing kiosk and it should handle PDF.When printing PDF I need to get the number of pages the PDF has, so that I can charge the user accordingly.The kiosk will support Word*, PowerPoint*, and Excel* (2010) and I print these files to PDF by Microsoft.Office.Iterop.* namespace.And then print the resulting PDF file to a physical printer. If the file is already a PDF then just print. What would be the best way to get the number of pages the PDF has. Also Printing via code and setting parameters such as paper_size.

View 4 Replies

VS 2010 Extra Pages In ReportViewer

Feb 12, 2012

1. I get an empty page at the end of a report. I have 4 pages instead of 3, 8 instead of 7 and so on. I see and print these empty pages. The report width less than the page width minus margins, so this cannot be the reason of my problem. How can I get rid of these pages?

2. If I have a few controls ReportViewer then to print the report I must to press each print button on each ReportViewer, and each ReportViewer prints with a new page. Have I possibility to print all the ReportViewers consequently pressing one button and to continue the report?

View 5 Replies

Hide A Tab Page In Control?

Nov 16, 2009

I have a tab Control with multiple pages. In my Load Sub routine I have tried the following 2 statements[code]...

View 7 Replies

Hide A Webbrowser Control?

May 10, 2010

I would like to use the webbrowser control to simply read in http data and perform tasks. Henceforth, I would like to hide the webbrowser control.

I've tried:

Webbroser1.hide()

But it doesn't seem to work.

View 5 Replies

Hide Tabs On Control?

Mar 16, 2009

I have a setup/configuration utility that I am making. The form is split the left side has a nodeview that allows the user to select what they want to setup/configure, and the right side displays that screen.

I figured the easiest way to switch between those screens is to place them in a TabControl, but I dont want the tabs to display when its compiled. How can I turn off the display of the tabs?

View 2 Replies

How To Hide Listviewitem In Listview Control

May 21, 2009

I have a listview control on a form. This listview control is populated with at times thousands of listviewitems.Part of my process, is running through custom made filters, to hide unwanted items (before they're even inserted into the listview).So as I hinted earlier, the way I hide items that I don't want is by not inserting them at all. I'd like to make a shortcut available, that would allow me to show / hide the hidden items by simply pressing the shortcut.

My problem is that if I do this, I have to 'refresh' the listview items everytime as I do now ( by removing all and re-inserting the ones I want ).Is there no faster / better way than by removing / re-inserting the items ( which takes roughly 2-3 seconds ); which is a noticeable-enough delay? for a 'visible' property on the listviewitem that I could set to true / false, but that property doesn't appear to exist.As it stands, I have to resort to removing / re-inserting the new 'view' every time.

View 4 Replies

VS 2005 : Hide And Unhide A Tab In A Tab Control?

Mar 26, 2009

Is it possible to either hide and unhide a tab in a tab control?If not how can I add a tab and all the controls on it a run time? Reason i'm wanting this is that a application i'm looking at making will use tabs, the left menu will have options on various parts of the business when it comes to news it will open a tab for news... list the news if i click one and edit tab will show it i click a button for new it will open a tab to write new news..

View 2 Replies

VS 2005 Hide/show Tab In A Tab Control?

May 11, 2010

how to hide/show tab in a Tab Control?

View 1 Replies

Asp.net - Hide A User Control And Remove It's Space?

Jun 6, 2012

I want to hide the user control in asp.net, and remove it's space .. how ?

View 4 Replies

Hide A User Control When A Button Is Clicked?

Nov 28, 2011

How do you hide a user control when a button is clicked? I know how to hide a form but not a control. If it is possible to actually remove the usercontrol from the panel that would be awesome to and then have it show again once I click the other Icon. [cod]e...

View 39 Replies

Hide And Prepopulate Field In ASP.NET CreateUserWizard Control?

May 14, 2012

I have an application in which a user fills out a form indicating their interest in a service. This includes contact info. (e.g. name, email). They are then redirected to a page with a CreateUserWizard control - the idea being that it will prepopulate the form with most of the info. needed to create a user account (excluding username/password which need to be entered manually).

[Code]....

View 1 Replies

Hide Browser Control In SHDocVw.InternetExplorer?

Sep 22, 2010

I need to temporarily hide the control in SHDocVw.InternetExplorer (IE8) that displays the contents of a web page. Setting the SHDocVw.InternetExplorer.Visible property causes the entire form to be hidden. I only need to temporarily hide the control that displays the web page (i.e., the control that is analogous to System.Windows.Forms.WebBrowser in .Net). The Internet Explorer form and all other controls (including the tab that is associated with the web page) should remain visible.

My first thought is to iterate through all of the child controls of SHDocVw.InternetExplorer, search for the control that displays the web page and then set its Visible property, but I'm not sure how to do this because SHDocVw.InternetExplorer is a COM object.

View 4 Replies

IDE :: Hide CANCEL Button In Control WinProgressDialog?

Feb 5, 2009

I need to hide the CANCEL button in the VB.NET control WinProgressDialog(VB.NET 2005) How do I do that?The requirement is that the dialogbox should continue till the time the process is complete.

View 5 Replies

JavaScript - How To Get ASP Table Control To Show / Hide

Apr 19, 2012

I use a Repeater that's databound to a DataRowCollection and programatically build a table through that. I have something similar to:
Private Sub SubAcctGrid_OnItemDataBound(ByVal sender As Object, ByVal e As RepeaterItemEventArgs)
If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then
Dim currentrow = TryCast(e.Item.DataItem, DataRow)
Dim acctSummaryTable = New Table With {.ID = "acctSummary" & e.Item.ItemIndex, .CssClass = "minisub_acct_table"}
[Code] .....

I can't pass in the correct element ID, though. From what I understand, ASP.NET transforms the ID I assign into some huge long ID for the sake of uniqueness. For example, I assign a table with the ID 'drillDownTable0' and it spits out 'ctl00_drillDownTable0' in the HTML markup. It worked the first time around, but then the Repeater gets binded to a new row and then I get 'ctl01_drillDownTable0' so on and so forth. I've tried the ClientID, ID, and UniqueID where I add the attributes to the Cells in the code above and they don't do what I need to. Is there any way I can get that ID and pass it to the Javascript function? Or I guess a better question is: When are the IDs generated and can I get to them before the page is rendered in HTML?

View 1 Replies







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