Login  
Search All Forums
Dart Home | PowerWEB LiveControls for ASP.NET | Custom Development Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
AuthorForum: PowerWEB LiveControls for ASP.NET
Topic: LiveButton not being rendered properly
jaldrich

From: Lakewood, CO USA
Posts: 19
Member Since: 08/08/05
posted February 27, 2007 3:15 PM

I am using LiveControls v1.6

I have a page with many form items and I am trying to add a livebutton and livelabel to quickly display a tiny bit of information.

My problem is that the livebutton is rendered incorrectly and I can't do anything with it.

This is my code for the button:
*********************************************
<cc1:LiveButton ID="LiveButton1" CssClass="button" runat="server" />
*********************************************

This is what is being rendered:
*********************************************
<input type="button" name="LiveButton1" value="LiveButton" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("LiveButton1", "", true, "", "", false, false))" id="LiveButton1" class="button" onclick="pwBeginCallback('LiveButton1', 'Click',event.clientX + '@' + event.clientY, 'pwInternalCallback', '', false, '','Processing...',PW_DISABLEAUTOBEHAVIOR,'',true);" />
*********************************************

This is close to what SHOULD be rendered:
*********************************************
<input type="button" name="LiveButton1" value="LiveButton" id="LiveButton1" onclick="pwBeginCallback('LiveButton1', 'Click',event.clientX + '@' + event.clientY, 'pwInternalCallback', '', false, '','Processing...',PW_DISABLEAUTOBEHAVIOR,'',true);" />
*********************************************

Is anyone else having this problem?

Thanks,
Jeremy
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted February 28, 2007 10:09 AM

Hi Jeremy,
For some reason the LiveControls' onclick attribute is not replacing the default onclick, so they are both present.

The circumstances under which you are using the control must be unusual.
How exactly is the control being used in your project?

Can you send us a very simple demo Project that produces the problem?
If so, please zip it up and send to support@dart.com, referencing this thread.

Thanks,
-ken
Reply | PowerWEB LiveControls for ASP.NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX