Showing posts with label atlascontroltoolkit. Show all posts
Showing posts with label atlascontroltoolkit. Show all posts

Monday, March 26, 2012

ConfirmButtonExtender Doubt

Hi Pals,

Help me to solve this problem in creating sample atlas control helloworld site

1.i have created new tab & placed the atlascontroltoolkit dll in the toolbox

2.i am trying the use confirmbuttonextender control available in the atlascontroltoolkit dll

3.i darg asp.net server control button in the webform

4.Now when see the properties of the button,confirmbuttonextender is available,but when i click plus on that confirmbuttonextender property,i was not apple to get the confirmtext property.

Thank & Regards,

Ram

This is a known issue. You can either do the hookup in the ASPX code or you can download a newer build of the AtlasControlTookit fromhttp://www.codeplex.com

ConfirmButtonExtender

i put

<

addnamespace="AtlasControlToolkit"assembly="AtlasControlToolkit"tagPrefix="atlas" />in web.config

then confirmButtonExtender in GridView TemplateField no alert window showed ?

if i put extender outside gridview i get id error!

<

asp:TemplateFieldShowHeader="False"><ItemTemplate><asp:ImageButtonID="ImageButtonDelete"runat="server"CausesValidation="false"CommandName="ImageButtonDelete"ImageUrl="~/images/trashcan_empty.png"OnClick="ImageButtonDelete_Click"Visible="false"/><atlas:ConfirmButtonExtenderID="ConfirmButtonExtender1"runat="server"><atlas:ConfirmButtonPropertiesConfirmText="Confirm"TargetControlID="ImageButtonDelete"/></atlas:ConfirmButtonExtender></ItemTemplate><ItemStyleBackColor="White"BorderColor="#5D7B9D"Width="15px"/></asp:TemplateField>

Hi Torna -

A few quick thoughts:

1) I think you'll need to register a different prefix than "atlas" since Atlas already uses that one, which could be causing problems.

2) Make sure you've got an Atlas ScriptManager on the page

Your code looks fine so I suspect one of those two issues is the problem.

Thanks,

Shawn


I fond the error i had put the deletebutton in visible=false this did the skriptmanager missing the targetid of the delete button! Im thinking maybe to set the column vidth to 0 ? maybe i donot have to hide the deletebutton when i have a confirm that a can put row info in. still a deletebutton in all rows looks abit messy. meybe next time i use a HoverMenuExtenderBig Smile [:D]


Ah - I see. Thanks for reporting back!