473,569 Members | 2,721 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

resize changes good code to bad

I cannot account for this and have been unable to get an answer from the
vendors forum. They are asking me if I am using 1.1 or 2.0 dot net so I
assume they can't duplicate my problem.

From a working asp.net, VS80, SP1, If I resize their control, the source
code is changed and valid source code become invalid.
This is what it looks like:

This screen shot from Visual Studio 2005 show the paragraph of code that
will compile properly:
http://stateson.net/pub/pintab_bugs/f1.png

I then switch from code to design and move one corner of the Pintab 2.0 box
thusly:
http://stateson.net/pub/pintab_bugs/f2.png
notice the \ arrow where I am resizing.

I then switch back to code mode and the source lines have changed to this:
http://stateson.net/pub/pintab_bugs/f3.png
My program will no longer compile as the tags (id's ??)
pintexx.compone nts.web.pintab. tab are unknown. If I replace those 6 phrases
with pin:Tab then it builds correctly.

If I then attempt to compile I get the error message:

Parser Error Message: Pintexx.Compone nts.Web.pinTab. TabItemCollecti on must
have items of type 'Pintexx.Compon ents.Web.pinTab .TabItem'.
'pintexx.compon ents.web.pintab .tab' is of type
'System.Web.UI. HtmlControls.Ht mlGenericContro l'.

If I replace the illegal 'pintexx.compon ents.web.pintab .tab' with the
original 'pin:Tab' then the compile works fine. Currently, to work around
this problem, I resize the control, make a note of the position values, hit
ctrl-z to restore, then edit the position with my handwritten notes.

I suspect I have not set up my environment or misconfigured something as no
one else seems to have this problem or to have reported it.
--
=============== =============== =============== =============== ==========
Joseph "Beemer Biker" Stateson
http://TipsForTheComputingImpaired.com
http://ResearchRiders.org Ask about my 99'R1100RT
=============== =============== =============== =============== ==========

Apr 23 '07 #1
0 1012

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

Similar topics

3
2973
by: Guadala Harry | last post by:
Here's the functionality I'm after: I need for a page to display a photo. When users click on other links within the page, the photo changes. I'd like to swap out the photo without doing a Postback of the entire page. I initially implemented this with an aspx page that contains an IFame which displays only the picture (gif). The behavior...
15
5312
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the path of the uploaded image, and resize it with the provided dimensions. My function is below. The current function is returning an error when run...
2
17501
by: daveyand | last post by:
Hey Guys I am able to detect a window resize using the following code: window.onresize = function () { if(document.getElementById("parent_for_video").style.display != "none") { calculate_positions(); //Resize the main div
8
6369
by: nirdeshonline | last post by:
Hi, I have added a simple listbox in windows form under c# 2.0. It contains a collection of approx 10 strings as list items. Now when i resize the form whole listbox flickers. Please tell me any feasible solution, i need to use a checked listbox which also has same flickering problem on resize. Thanks & Regards
7
5097
by: Ray Cassick | last post by:
Does anyone here have any code that shows how to resize a control at runtime with the mouse like you can do in the designer? The method has to change depending on what corner of the control you are dragging since of you drag the upper left corner the location changes but the width and height grow and shrink as needed to keep the bottom right...
18
1727
by: n.torrey.pines | last post by:
I wonder if resize() is required to check whether a container is already of the desired size.
2
3350
by: Smitty | last post by:
Did a search & found nothing on this. VB6 did a resize on form load according to what I've read. I Resized screen under vista & now the text box doesn't resize to form's clientarea. Code exists under form1.resize_click Works when I resize the form and also when I include a call to resize under form load event Is this due to vs2005,...
2
1207
by: null | last post by:
Hello I have a listbox in my form, which I want to clear if the form's hieght changes. I am having difficulty with that, as it seems when the form is minimised the height changes, this is not what I need, I need only changes to non minimised sizes, i.e. when the user uses the mouse to increase the size?
10
44067
by: =?Utf-8?B?UmljaA==?= | last post by:
A lot of users at my workplace use different screen resolutions, and I build apps to use 1680 x 1050 pixels res by default. But some users are using 800 x 600, and the apps are too large for their screen. I used to write code in Java a few years ago (2005), and you could stretch a form with the mouse and all the controls and fonts would...
0
7695
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6281
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5218
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.