ModalPopupExtender scroll position




Hello
Probably this is an easy one...
I have a ModalPopupExtender thatshow a panel when a client validation function returns false (just to show the ValidationSummary in a fancy way).
The difficulty is that the scroll offset of the page is reset to the top when the ModalPopup displays the panel.
Even if I manually set the offset after the show() method is called, Ithink that somewhere in the behavior of this extender, the top offset is set to 0 asynchronously. So when i set it to my deed position, the behaviour sets it back to 0.
I can actually view this if I use some "alerts" as breakpoints:
-I click on the submit button (and save the current offset)
- The offset goes to 0 when panel is shown
- The offset goes to my desired position (using the saved offset in a "set offset" function)
- The offset off the page goes to 0 again (I think that somewhere in the behaviorjavascript of the PopupExtender the offset is being set to 0 asynchronously)
Any solutions

View Complete with Replies


RELATED TOPICS OF Ajax Control PROGRAMMING LANGUAGE




Displaying modalpopupextender from a grid



everyone. Pls assist By this. How do I display a modalPopupExtender from a Button field or a link button inside a Template field in a gridView

VIEWS ON THIS POST

10

Posted on:
Saturday, November 3, 2012
View Replies !

modalpopupextender position all wrong only in IE6 why?



I have an application that uses modapopupextender and in IE6 and only IE6 it positions the popup all wrong on the page. Why in IE6 only and what can be done about this

VIEWS ON THIS POST

5

Posted on:
Saturday, November 3, 2012
View Replies !

scrollbars in modalpopupextender??



Folks
I am attempting to show list of records almost 20 in modalpopupextender i am using repeter control. but i want scroll bars in repeter to make the popup look improve. i succeeded in doing that by putting repeter in seperate page and calling inside mod

VIEWS ON THIS POST

13

Posted on:
Saturday, November 3, 2012
View Replies !

confirmation message with modalpopupextender



How can I do the postback with the modalpopupexteder I set up the panel for the popup but I'm stuck on how can i write the javascript function behind the Ok button, say, my message is are u sure u need to DELETE this item, and when tclick Ok,

VIEWS ON THIS POST

30

Posted on:
Saturday, November 3, 2012
View Replies !

Selecting a value from listbox in modalpopupextender




I am having an listbox in my modalpopupextender. Listbox gets populated on the page_load event of the page from the db. I need to select an item from the listbox and use it in the main page. When i am attempting to use listbox.selectedvalue the value returned

VIEWS ON THIS POST

15

Posted on:
Saturday, November 3, 2012
View Replies !

Hide modalpopupextender inside usercontrol



I have modalpopupextender in updatepanel that is inusercontrol. PleaseconfirmthatFirstandLastnamesarespeltastheyappearonyourPassport
asnamecorrectionfeesmayapplyoryoumaybedeniedboarding.













VIEWS ON THIS POST

17

Posted on:
Saturday, November 3, 2012
View Replies !

Using modalpopupextender within a custom user control



guys
I have a modalpopupextender inside a custom user control and when the user clicks on a imagebutton in the custom user control this modalpopup has to be presented to the user for inputs. The difficulty that I'm facing is that nothhing is getting displyed even

VIEWS ON THIS POST

3

Posted on:
Saturday, November 3, 2012
View Replies !

modalpopupextender not working for all users



The modalpopupextender works just fine on my computer and for several other users. However some user experience the popup appearing in the upper-left corner of the web site. This is a serious concern since the popup is used to let users to reset their time whi

VIEWS ON THIS POST

10

Posted on:
Saturday, November 3, 2012
View Replies !

validation outside modalpopupextender



Everyone
iam validating a textbox1 with required field validator in modalpopupextender. it works just fine but I've another textbox2 outside modalpopupextender. when i tried to validate the textbox2 outside the modalpopup extender the requiredfield
validator in mo

VIEWS ON THIS POST

14

Posted on:
Sunday, November 4, 2012
View Replies !

unexplained characters in a textbox upon opening a panel with modalpopupextender



There is a project I am working on that has an (for me) unexplainable difficulty. Once the btnAddFamilyDocument is pressed the panel is opened. Upon opening the txtdescription textbox has a in it. If the panel is closed and reopened then the txtdescription
has m

VIEWS ON THIS POST

8

Posted on:
Sunday, November 4, 2012
View Replies !

modalpopupextender updateProgress disable from various edit panel



I have a masterpage that has an edit panel around the content, so any postback from child pages will display the "processing" message during postback. Works great and have been using it for hundreds of projects.
HOWEVER, on this project, on a particular control (

VIEWS ON THIS POST

12

Posted on:
Wednesday, November 7, 2012
View Replies !

Not able to open modalpopupextender in UserControl on button click



my difficulty is I've one Usercotrol in that
I've one repeater Control and one Button.
when i click on button i need to open modalpopupextender but it isn't working.
can any one pls assist me.
modalpopupextender is wor

VIEWS ON THIS POST

7

Posted on:
Wednesday, November 7, 2012
View Replies !

Ajaxtoolkit CalendarExtender not work on ajaxtoolkit:modalpopupextender..?



Ajaxtoolkit CalendarExtender not work on ajaxtoolkit:modalpopupextender
when i click on image button then ajaxtoolkit:Calendar not open.

VIEWS ON THIS POST

20

Posted on:
Wednesday, November 7, 2012
View Replies !

Set TextBox Text Property on submit button click in modalpopupextender



I have a modalpopupextender with popupcontrolid set to a panel. I have a name textbox label,submit button in the panel. When the submit button is clicked the name is validated using a function connecting to the Database. If It already exists the label should
display "A

VIEWS ON THIS POST

9

Posted on:
Wednesday, November 7, 2012
View Replies !

modalpopupextender



I've two pages.
page1.aspx (contains Button)
page2.aspx display page1.aspx as a modalpopup inside iframe.
now i need to hide this modalpoup inside page2.aspx when user click on (Button of page1.aspx)
How do I do that

VIEWS ON THIS POST

25

Posted on:
Wednesday, November 7, 2012
View Replies !

modalpopupextender z-index various in IE vs. FF?



all
I've a modalpopupextender whos panel looks great in FF
but then i bring it up in IE7
and It appears that the MPE panel has the lowest z-index on the page
ie every thing except the background is writing on top of it
anyone know how i can resolv

VIEWS ON THIS POST

18

Posted on:
Wednesday, November 7, 2012
View Replies !

usercontrol and modalpopupextender causing difficulty!



Hello
I've used a user control and on page i put one modalpopupextender and set it is target control id to every thing possible but still i get only one error message that it can not find that id i specified.
I've used Page.FindControl().ID
UserCont

VIEWS ON THIS POST

7

Posted on:
Wednesday, November 7, 2012
View Replies !

modalpopupextender and dropshadow



I am so newbie to ajax as a whole.
I have PopupControlID="ModalPanel" OkControlID="OKButton" DropShadow="true" >
How can I alter the attritbutes of the dropshadow.

VIEWS ON THIS POST

2

Posted on:
Wednesday, November 7, 2012
View Replies !

difficulty using listbox inside the modalpopupextender



am using two listboxes(ListBox1 ListBox2) within a modalpopupextender, ListBox1 already contains listitems(binded with some data from a datasource on pageload...) and the ListBox2 is empty. Now by using modalpopup and java script am adding some list
items To ListBox2 from ListBox1 b

VIEWS ON THIS POST

5

Posted on:
Wednesday, November 7, 2012
View Replies !

Difficulty with gridview and modalpopupextender when sorting



Try to set the ID of ur GridView as the PostBackTrigger of ur UpdatePanel. View:
http: geekswithblogs.net dotNETvinz archive 2011 09 02 masterpage-user-control-modal-popup-and-update-panel---passing.aspx

VIEWS ON THIS POST

6

Posted on:
Wednesday, November 7, 2012
View Replies !