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()
........ 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()
....... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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";};
};
|
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
|
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
-----------------
|
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)
| |
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
|
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 =...
|
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...
|
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?
|
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,...
|
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...
| |
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,...
|
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...
|
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...
|
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...
|
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |