Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Ajax ModalPopupExtender with FormView

Reply
Thread Tools

Ajax ModalPopupExtender with FormView

 
 
john
Guest
Posts: n/a
 
      10-27-2007
Button invoking FormView:
It opens the FormView as expected, but when I Click New it Disappears during
postback and remains Invisible. When I Click the Original Button again that
invoked it, it Shows again in the "New" Mode (or Edit Mode if I Clicked that
Choice).

How do I get it to show itself automatically by code, if that is the answer?

I've tried Me.FormView.Visible = True on the FormView DataBound Event but
did not work

Thanks
John


 
Reply With Quote
 
 
 
 
john
Guest
Posts: n/a
 
      10-28-2007
Protected Sub FormView10_ModeChanged(ByVal sender As Object, ByVal e As
System.EventArgs) Handles FormView10.ModeChanged

If IsPostBack Then

ModalPopupExtender1.Show()

Me.ModalPopupExtender1.X = 100

Me.ModalPopupExtender1.Y = 100

End If

End Sub

"john" <> wrote in message
news:...
> Button invoking FormView:
> It opens the FormView as expected, but when I Click New it Disappears
> during postback and remains Invisible. When I Click the Original Button
> again that invoked it, it Shows again in the "New" Mode (or Edit Mode if I
> Clicked that Choice).
>
> How do I get it to show itself automatically by code, if that is the
> answer?
>
> I've tried Me.FormView.Visible = True on the FormView DataBound Event but
> did not work
>
> Thanks
> John
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax Control Toolkit - ModalPopupExtender SD ASP .Net 1 11-11-2010 02:08 PM
ajax, modalpopupextender/updatepanel Heron ASP .Net 0 05-03-2008 08:15 PM
Ajax TabContainer & ModalPopupExtender mistryman06@gmail.com ASP .Net 1 04-24-2008 05:38 AM
Multiple CancelControlID using AJAX ModalPopupExtender lundd@fihrst.com ASP .Net 1 01-08-2007 04:38 PM
ASP.NET AJAX Modal or ModalPopupExtender in Codebehind? xeroxero ASP .Net 0 12-07-2006 04:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57