I need link button change server side

Posted by Jayakumars under Regular Expressions on 6/21/2011 | Points: 10 | Views : 1556 | Status : [Member] [MVP] | Replies : 3
hi

How to set server side ModalPopupExtender TargetControlID

ModalPopupExtender ID="ModalPopupExtender1" runat="server"
TargetControlID="Lnks2"

Lnks2-> change i need server side.

Mark as Answer if its helpful to you


Responses

Posted by: Robin_ahuja2008 on: 6/21/2011 [Member] Starter | Points: 25

Up
0
Down
please check the link
http://www.asp.net/ajax/tutorials/launching-a-modal-popup-window-from-server-code-cs

Regards,
Robin Ahuja

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ndebata on: 6/21/2011 [Member] Starter | Points: 25

Up
0
Down
in the onint event try to assign based on some condition.
protected override void OnInit(EventArgs e)

{
base.OnInit(e);
//Set ModalPopUpExt.TargetControlID
}


Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lakn2 on: 6/21/2011 [Member] Starter | Points: 25

Up
0
Down
try this

http://forums.asp.net/t/1237820.aspx/1

Thanks&Regards
LakshmiNarayana Nalluri.

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response