Comments on: Client Side AJAX Applications in SharePoint 2010 – Part 5: Modal Dialogs http://www.endusersharepoint.com/EUSP2010/2010/05/27/client-side-ajax-applications-in-sharepoint-2010-%e2%80%93-part-5-modal-dialogs/ Just another WordPress weblog Thu, 16 Dec 2010 21:48:20 -0500 http://wordpress.org/?v=2.9.2 hourly 1 By: Bruno http://www.endusersharepoint.com/EUSP2010/2010/05/27/client-side-ajax-applications-in-sharepoint-2010-%e2%80%93-part-5-modal-dialogs/comment-page-1/#comment-300 Bruno Wed, 22 Sep 2010 14:25:22 +0000 http://www.endusersharepoint.com/EUSP2010/?p=663#comment-300 Hi, i managed to solve my problems from the previous comment. But there's still a problem. I have a div wich is showed in the dialog. It has 2 buttons, ok and cancel and when the user clicks on OK i must execute a function in codebehind, but he button does not generate a postback. How can I execute this? Thanks in advance Bruno Henriques Hi, i managed to solve my problems from the previous comment.

But there’s still a problem.

I have a div wich is showed in the dialog. It has 2 buttons, ok and cancel and when the user clicks on OK i must execute a function in codebehind, but he button does not generate a postback.

How can I execute this?

Thanks in advance

Bruno Henriques

]]>
By: Bruno http://www.endusersharepoint.com/EUSP2010/2010/05/27/client-side-ajax-applications-in-sharepoint-2010-%e2%80%93-part-5-modal-dialogs/comment-page-1/#comment-298 Bruno Tue, 21 Sep 2010 16:20:22 +0000 http://www.endusersharepoint.com/EUSP2010/?p=663#comment-298 Hi, Thanks a lot for your article. It helped me built the popups for our application. But I'm having a problem with calendarextender on the modaldialog. I'm using the modaldialog with a div, in that div I have a textbox with calendarextender and it raises a javascript error wich says that 2 objects with same id can't be added. I changed to a regular asp calendar and also gives an error. This one I undestand that is sayng that the event was not fired by the correct control. Also, in wss 3.0 I had html/javascript popups. I created 2 divs (background and front) with position absolute and it worked. In sharepoint 2010 the position:absolute does not work. It's always relative to the webpart content holder. That's why I'm changing to modaldialogs. Can you help? Thanks in advance Bruno Henriques Hi, Thanks a lot for your article. It helped me built the popups for our application.

But I’m having a problem with calendarextender on the modaldialog.

I’m using the modaldialog with a div, in that div I have a textbox with calendarextender and it raises a javascript error wich says that 2 objects with same id can’t be added.

I changed to a regular asp calendar and also gives an error. This one I undestand that is sayng that the event was not fired by the correct control.

Also, in wss 3.0 I had html/javascript popups. I created 2 divs (background and front) with position absolute and it worked. In sharepoint 2010 the position:absolute does not work. It’s always relative to the webpart content holder. That’s why I’m changing to modaldialogs.

Can you help?
Thanks in advance
Bruno Henriques

]]>
By: Abhi http://www.endusersharepoint.com/EUSP2010/2010/05/27/client-side-ajax-applications-in-sharepoint-2010-%e2%80%93-part-5-modal-dialogs/comment-page-1/#comment-281 Abhi Sat, 11 Sep 2010 23:52:37 +0000 http://www.endusersharepoint.com/EUSP2010/?p=663#comment-281 Excellent article. I want to pass dynamic id as the list item changes - any idea Ex: url: "../../Lists/User%20Stories/DispForm.aspx?Id="+ID, Excellent article. I want to pass dynamic id as the list item changes – any idea
Ex: url: “../../Lists/User%20Stories/DispForm.aspx?Id=”+ID,

]]>
By: HANK http://www.endusersharepoint.com/EUSP2010/2010/05/27/client-side-ajax-applications-in-sharepoint-2010-%e2%80%93-part-5-modal-dialogs/comment-page-1/#comment-265 HANK Fri, 27 Aug 2010 20:12:53 +0000 http://www.endusersharepoint.com/EUSP2010/?p=663#comment-265 HI!! I have an web page in sharepoint 2010 with a link. I want to open a modal Dialog bu each time I save the change in SharePoint designer is remove the lines of the href="javascript:function();". How can I call a javascript funcion and what reference should I have to be enable to open a web page in the modal dialog?? Thanks! Hank HI!!

I have an web page in sharepoint 2010 with a link. I want to open a modal Dialog bu each time I save the change in SharePoint designer is remove the lines of the href=”javascript:function();”. How can I call a javascript funcion and what reference should I have to be enable to open a web page in the modal dialog??

Thanks!
Hank

]]>
By: Dave http://www.endusersharepoint.com/EUSP2010/2010/05/27/client-side-ajax-applications-in-sharepoint-2010-%e2%80%93-part-5-modal-dialogs/comment-page-1/#comment-222 Dave Tue, 27 Jul 2010 02:24:20 +0000 http://www.endusersharepoint.com/EUSP2010/?p=663#comment-222 Hi Lee, I just want the ability to pop up images in an Ajax dialog. Is there an easy way to do this? Thanks Dave Hi Lee,
I just want the ability to pop up images in an Ajax dialog. Is there an easy way to do this?
Thanks
Dave

]]>
By: Khoa Dang Do http://www.endusersharepoint.com/EUSP2010/2010/05/27/client-side-ajax-applications-in-sharepoint-2010-%e2%80%93-part-5-modal-dialogs/comment-page-1/#comment-143 Khoa Dang Do Wed, 16 Jun 2010 02:56:29 +0000 http://www.endusersharepoint.com/EUSP2010/?p=663#comment-143 I created a SP List with custom Content Type. When I create new item or Edit a item, a pop-up will show, How can I custom this pop-up as I want. Thank you. I created a SP List with custom Content Type. When I create new item or Edit a item, a pop-up will show, How can I custom this pop-up as I want.
Thank you.

]]>
By: Hector http://www.endusersharepoint.com/EUSP2010/2010/05/27/client-side-ajax-applications-in-sharepoint-2010-%e2%80%93-part-5-modal-dialogs/comment-page-1/#comment-138 Hector Tue, 15 Jun 2010 14:54:17 +0000 http://www.endusersharepoint.com/EUSP2010/?p=663#comment-138 hello, is there a way to add a dialog to open a newform? basically, I'm looking to add a left menu link or on page link to open a dialog box to create a new item. I'm hoping to do this with javascript. hello, is there a way to add a dialog to open a newform?
basically, I’m looking to add a left menu link or on page link to open a dialog box to create a new item. I’m hoping to do this with javascript.

]]>