473,395 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Tab page problem

myTab control got 2 pages,
in page1, i need to type in customer code, and the customer information will
displayed in page 1 & page2.
Now, i can see my data in page1 correctly, however, page2 didn't display and
data. all the textbos is blank.
I use messagebox to test the page2 data, it return a correct value.
BUT EVERY THING IN PAGE 2 is blank , why ??
I add 'Me.Tab2.refresh()' it seems useless. I cut some textbox from page2
and then paste in page1.
It displays very well. What happend about Tab page2 ???

FromAgnes
Nov 20 '05 #1
2 918
More, I am using databind to bind all my textbox object first(both tab1 &
tab2).
If i remove the binding , tab2 can display the data very well.
Anybug in VS.NET ?
"Agnes" <ag***@dynamictech.com.hk> ¦b¶l¥ó
news:%2****************@TK2MSFTNGP09.phx.gbl ¤¤¼¶¼g...
myTab control got 2 pages,
in page1, i need to type in customer code, and the customer information will displayed in page 1 & page2.
Now, i can see my data in page1 correctly, however, page2 didn't display and data. all the textbos is blank.
I use messagebox to test the page2 data, it return a correct value.
BUT EVERY THING IN PAGE 2 is blank , why ??
I add 'Me.Tab2.refresh()' it seems useless. I cut some textbox from page2 and then paste in page1.
It displays very well. What happend about Tab page2 ???

FromAgnes

Nov 20 '05 #2
Sol
For what it's worth. I gave up long ago using Data bound controls with Tab Pages.
I've spent long hours trying to get it to work, and never had it working right.
The closest i got was when I set the BindingContext of each tab Page to the main form.
In the end I manually assign the fields from the dataset when the form is drawn and assign back to the dataset when the user tries to Save.
Takes a little bit of code but gives me lots of cnotrol and it always works.

Sol

"Agnes" wrote:
More, I am using databind to bind all my textbox object first(both tab1 &
tab2).
If i remove the binding , tab2 can display the data very well.
Anybug in VS.NET ?
"Agnes" <ag***@dynamictech.com.hk> ¦b¶l¥ó
news:%2****************@TK2MSFTNGP09.phx.gbl ¤¤¼¶¼g...
myTab control got 2 pages,
in page1, i need to type in customer code, and the customer information

will
displayed in page 1 & page2.
Now, i can see my data in page1 correctly, however, page2 didn't display

and
data. all the textbos is blank.
I use messagebox to test the page2 data, it return a correct value.
BUT EVERY THING IN PAGE 2 is blank , why ??
I add 'Me.Tab2.refresh()' it seems useless. I cut some textbox from

page2
and then paste in page1.
It displays very well. What happend about Tab page2 ???

FromAgnes


Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Raphael Gluck | last post by:
Hi Everyone I am having some problems with a master detail page i have set up to catalogue brochures from my site. On my master page www.tripakltd.com/brochures.asp users are invited to select...
6
by: Ed | last post by:
I first noticed this in my own app. Images would show up missing randomly on IE 6.0.2800.1106 on Windows 2000 server. I then was able to repro this problem on Microsoft's website!!! The page I...
7
by: Aaron Prohaska | last post by:
I have just run into a problem where I have a page that posts back to itself to execute code, except when the page does the post back it somehow executes code that is in our home page for the site....
7
by: Brian Paul | last post by:
When a user clicks on a linkbutton on a page, i would like to render a printer-friendly version of the asp.net page and download it as an html attachment to the browser. The code below works great,...
4
by: Richard St?en | last post by:
Hi! We are experiencing a problem with running an .aspx page inside an iframe. The .aspx page is loading perfectly the first time (on load), but when we try to interact/navigate within the .aspx...
3
by: Vince Mele | last post by:
We are having a small problem with a couple of reports we developed for a client website. On two of the reports, sometimes (most of the time) we receive a warning message before the output of...
1
by: Lenard Gunda | last post by:
Hi! I have the following problem. From my main page, when someone clicks a button, it uses client side javascript to open another .aspx page. This page displays content, based on what the...
1
by: Daniel Alvarez | last post by:
Hello. First of all, I'm working in an ASP.NET 1.1 project, which has a large page (due to client requirements, a huge page is needed to process the information, and it has a lot of interactivity...
5
by: henryrhenryr | last post by:
Appologies for unclear title. I don't really understand the problem I'm facing. My system: PHP 5.2.1, Win2K, Apache 2, MySQL 5 (local - problem is same on my live site running php 4.3.9, Linux,...
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.