Showing posts with label extension. Show all posts
Showing posts with label extension. Show all posts

Wednesday, March 28, 2012

ContextKey is not a valid attribute of AutoCompleteExtender

So we need to use the ContextKey (and, by extension, UseContextKey) property with our project but it doesn't seem to in the actual control even though I've seen form posts in which people speak of using it. I also can't find any reference to the ContextKey being mothballed anywhere.

What gives? Where's thebeef ContextKey?

Hi,

Do you have the latest version of the Toolkit? Those properties were added pretty recently.

Thanks,
Ted


Yeah, that was the first thing I checked...

Hi,

I'm using 1.0.10618. And I can see Contextkey property is there.

Saturday, March 24, 2012

Confirm Button Extension with Wizard buttons?

Hi

I would like to use the AJAX confirm button extension, but I am trying to attach it to the "FinishButton" that is automatically created with the ASP Wizard.

So in a nutshell when a user clicks the "finish" button in my wizard a message box will pop up asking the user if they are sure they would like to continue.

I'm using VWD2005 express and scripting in visual C#.

Please can someone help me out or point me in the right direction?

Cheers!!!

Hi

I managed to solve this one! Woooohoooo.

If anyone is interested then here's my ASP. You need to put the button extended inside the Finish Navigation Template itself.

<FinishNavigationTemplate>

<cc1:ConfirmButtonExtenderID="ConfirmButtonExtender1"runat="server"TargetControlID="FinishCompleteButton"ConfirmText="Are you sure you want to place this order?">

</cc1:ConfirmButtonExtender>

<asp:ButtonID="FinishPreviousButton"runat="server"Text="Previous"CommandName="MovePrevious"/>

<asp:ButtonID="FinishCompleteButton"runat="server"Text="Finish"OnClientClick="Wizard1_FinishButtonClick"CommandName="MoveComplete"/>

<asp:ButtonID="CancelButton"runat="server"Text="Cancel"CommandName="Cancel"/>

</FinishNavigationTemplate>