|
-
May 24th, 2013, 02:28 AM
#1
Thread Starter
Addicted Member
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
-
May 24th, 2013, 08:01 AM
#2
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
-
May 27th, 2013, 01:34 AM
#3
Thread Starter
Addicted Member
Re: ModalPopupExtender and TabContainer
 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.
-
May 27th, 2013, 01:47 AM
#4
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
-
May 27th, 2013, 01:58 AM
#5
Thread Starter
Addicted Member
Re: ModalPopupExtender and TabContainer
Hi,
Yeah i tried that, but loading them on individual pages didnt seem to work - maybe im doing it wrong
-
May 27th, 2013, 02:37 AM
#6
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|