473,659 Members | 2,671 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A PopEndTag was called without a corresponding PushEndTag

TJS
can any one help with this error message ? What's missing ?

"A PopEndTag was called without a corresponding PushEndTag"

==============o ffending code to generate droplist =============== =====
......

writer.AddAttri bute(HtmlTextWr iterAttribute.I d, name)
writer.AddAttri bute(HtmlTextWr iterAttribute.N ame, name)
writer.RenderBe ginTag(HtmlText WriterTag.Selec t)

while dtr.read

writer.AddAttri bute( HtmlTextWriterA ttribute.Value, dtr(0) )
If colEditValues(n ame) = dtr(0) Then
writer.AddAttri bute(HtmlTextWr iterAttribute.S elected, "SELECTED")
End If

writer.RenderBe ginTag(HtmlText WriterTag.Optio n)
writer.Write(dt r(1))
writer.RenderEn dTag()

end while

writer.RenderEn dTag()
........
Nov 19 '05 #1
1 4482
> can any one help with this error message ? What's missing ?

As far as I can tell, what's missing is the offending code. The code you
posted by itself is fine. Other than the fact that you're not using Option
Strict. So, I can't tell what exactly is going into your HTML.

You call RenderBeginTag for the Select object. Then you create each option,
calling RenderBeginTag and RenderEndTag with each one. Finally, you call
RenderEndTag on the Select object. In this block, all the PopEndTags have
PopPushTags.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
"TJS" <no****@here.co m> wrote in message
news:uP******** ******@TK2MSFTN GP10.phx.gbl...
can any one help with this error message ? What's missing ?

"A PopEndTag was called without a corresponding PushEndTag"

==============o ffending code to generate droplist =============== =====
.....

writer.AddAttri bute(HtmlTextWr iterAttribute.I d, name)
writer.AddAttri bute(HtmlTextWr iterAttribute.N ame, name)
writer.RenderBe ginTag(HtmlText WriterTag.Selec t)

while dtr.read

writer.AddAttri bute( HtmlTextWriterA ttribute.Value, dtr(0) )
If colEditValues(n ame) = dtr(0) Then
writer.AddAttri bute(HtmlTextWr iterAttribute.S elected, "SELECTED")
End If

writer.RenderBe ginTag(HtmlText WriterTag.Optio n)
writer.Write(dt r(1))
writer.RenderEn dTag()

end while

writer.RenderEn dTag()
.......

Nov 19 '05 #2

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

Similar topics

7
1894
by: Douglas Peterson | last post by:
Take a look at this code, it looks funny as its written to be as short as possible: -- code -- struct Base { ~Base() { *((char*)0) = 0; } }; struct Derived : public Base
9
1040
by: Sashi | last post by:
Hi, when I run the following piece, I don't get any output, suggesting that the default c'tor is not being called. Why? #include <iostream> class A{ public: A(){std::cout<<"Null \n";}; A(int x = 2, int y = 4){std::cout<<"Not Null \n";}; };
10
1390
by: Julia | last post by:
Hi Please can someone explain this behaviour: I have a MustInherit Base class and a Derived class that Inherits Base and Shadows a method in the base class. If I Dim a variable of type Derived and New it as Derived the code in the Derived class is called. However, if I Dim the variable as type Base but New it as type Derived the Base class code is called - I would expect the code in
2
4252
by: Bill Nguyen | last post by:
What do I need to do to add a row to a table with single column? I got the "mnarrowing conversion" ewrror mesage. Thanks Bill -----------------
2
1924
by: jason | last post by:
Since going to framework 2.0 from 1.1, I'm getting error: Overload resolution failed because no accessible 'New' can be called without a narrowing conversion: On line: Dim LogInfo As New FileStream("f:\xxx\xxx.log", FileShare.ReadWrite,FileAccess.Read)
3
1275
by: arorap | last post by:
Hi, I've seen a behavior on both my windows machine and a Linux server that php scripts get called even when called without a .php extension. for example, http://srlchem.com/company/about.php gets executed even when called as http://srlchem.com/company/about
9
2616
anastasius
by: anastasius | last post by:
I have read other posts with a similar problem but I have not read of one like this. When a user selects a name from the drop-down list called "cboLastName" (which is unbound and whose RowSourceType is "Table/Query" and RowSource is a SELECT statement, the following event handler is executed: Sub cboLastName_AfterUpdate() Me.RecordsetClone.FindFirst " = '" & Me! & "'" Me.Bookmark = Me.RecordsetClone.Bookmark cboLastName =...
3
1050
by: tshad | last post by:
I am a little confused here. I was under the impression that before you can use an interface (and you can't instantiate an interface), you have to implement all the methods. But I am trying to set up a Generic DataBase class and this seems to work. I am not instantiating the IDbConnection interface and am not defining any of the methods (ChangeDatabase, Close, CreateCommand, Open). In the following I am defining dbConn as an...
1
976
by: Jimmy Hartzell | last post by:
Specifically this function: void fill_all(GCReference<GCTestwhat_with) { for(int i = 0; i < 16; i++) { refs = what_with; } } Some destructor seems to be getting called within this function, on an improperly constructed object, in the body of the loop (at the end of it). Why would that be?
0
8330
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8746
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8523
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8626
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7355
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6178
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.