ModalPopupExtender and TabContainer
Hi,
I need a popup window to enable a user to edit rows of a gridview. This part is done and working. Now, i need to change this popup to contain a tabcontainer instead so that more options can be added. This, however i have had no luck getting to work. Have tried finding an example detailing how this can be done, but no luck. Any of you can point in the right direction?
Im using the ajaxtoolkit with SharePoint 2010 and asp.net 3.5
Re: ModalPopupExtender and TabContainer
Are you able to share some of the code that you are using?
Without it, it is going to be hard to help.
I would suggest that you start from the beginning though. Don't immediately start putting the TabContainer into the PopupWindow. Instead, get the TabContainer working as you want it to. Then, once that is working, add the popup window.
Gary
Re: ModalPopupExtender and TabContainer
Quote:
Originally Posted by
gep13
Are you able to share some of the code that you are using?
Without it, it is going to be hard to help.
I would suggest that you start from the beginning though. Don't immediately start putting the TabContainer into the PopupWindow. Instead, get the TabContainer working as you want it to. Then, once that is working, add the popup window.
Gary
Hi Gary,
I got it working - the problem was due to SharePoint - the references to the AJAX toolkit had to be inserted into the v4.master.
Re: ModalPopupExtender and TabContainer
Hey,
Glad to hear that you got it working!
One thing though, if you are NOT using the AJAX toolkit on all the pages, adding the js files to the master page means that they will be loaded on all the pages, even if they are not needed. With SharePoint already being a resource hog, you might want to think about loading the js files only when they are really needed.
Gary
Re: ModalPopupExtender and TabContainer
Hi,
Yeah i tried that, but loading them on individual pages didnt seem to work - maybe im doing it wrong
Re: ModalPopupExtender and TabContainer
Hey,
This is definitely something that you should be able to do, and something that we have done in the past.
Perhaps the JavaScript files were not being added to the page early enough in the page life cycle.
Gary