.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Asad Ali
Fauzul Azmi
Post New Web Links

SharePoint 2010 Modal dialog & Silverlight

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :SharePoint
 

Hi,

I've got a silverlight application on my sharepoint site which open a ModalDialog.

This code adds JavaScript code to html :

    private void RegisterJavaScript()
    {
      var script = HtmlPage.Document.CreateElement("script");
      script.SetAttribute("type", "text/javascript");

      var sb = new StringBuilder();
      sb.AppendLine("function showMyModalDialog(){");
      sb.AppendLine("  var options = {");
      sb.AppendLine("    url: '/Pages/Test.aspx',");
      sb.AppendLine("    width: 600,");
      sb.AppendLine("    height: 300,");
      sb.AppendLine("    dialogReturnValueCallback: DialogCallback,");
      sb.AppendLine("    allowMaximize: false,");
 


View Complete Post


More Related Resource Links

Modal Dialog height in SharePoint 2010

  

In SharePoint 2010, I know the Modal dialog height is calculated dynamically in Javascript. For some dialogs, I mean if the dialog is opening a edit form then it includes ribbon on top of it which reduces the height of the scrolling part and it really looks ugly. Is there any way to add ribbon height to modal dialog height so that unscrollable ribbon height doesn't affect the scrollable area height? Hope I am explaning it correct.

I would really appreciate, if anyone can reply for me.

 

 

 


Quick Note: Create Silverlight Applications to Access SharePoint 2010 Data

  
In this exercise, you will learn how to create Silverlight applications to display SharePoint 2010 lists inside DataGrid controls.

Quick Note: Create Silverlight Graphs with SharePoint 2010 Data by Using LINQ

  
In this exercise, you will learn how to create Silverlight applications to retrieve SharePoint 2010 list data using LINQ.

Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverlight 3

  
Learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.

Video: SharePoint 2010: Silverlight Client Object Model

  
In this video you will learn how to use the SharePoint client object model to program a Silverlight application against SharePoint data. (Length: 9:03)

Module 8: Creating Silverlight User Interfaces for SharePoint 2010 Solutions

  
SharePoint 2010 integrates closely with Microsoft Silverlight to enable you to build compelling user interfaces that interact with SharePoint data.

Video: Consuming SharePoint 2010 Objects and Data in Silverlight Applications

  
This video provides an overview of how to build Silverlight applications that access SharePoint data. (Length: 3:50)

Video: Hosting Silverlight Applications in SharePoint 2010

  
This demonstration shows how to host a Silverlight Application in a Web Part. (Length: 4:17)

Video: Building Silverlight Web Parts from SharePoint 2010

  
This demonstration illustrates how to pass parameters from SharePoint to a Silverlight application hosted in a Web Part. (Length: 6:35)

Video: Rendering SharePoint 2010 Data in Silverlight

  
This demonstration shows how to render file data from SharePoint in a Silverlight application. (Length: 6:12)

Video: Rendering SharePoint 2010 Media Files in Silverlight

  
This demonstration illustrates how to render SharePoint media files in a Silverlight application. (Length: 11:28)

Video: The SharePoint 2010 Dialog Platform

  
This demonstration shows the SharePoint 2010 dialog platform. (Length: 2:52)

Video: Developing on the SharePoint 2010 Dialog Platform

  
This demonstration shows how to create dialog boxes for the SharePoint 2010 dialog platform. (Length: 4:16)

Video: Developing Silverlight Applications by Using the SharePoint 2010 Client Object Model

  
This demonstration shows how to use the client object model from a Silverlight application. (Length: 11:15)

Video: Accessing SharePoint 2010 Data in Silverlight by Using CAML

  
This demonstration shows how to use the client object model and CAML to access SharePoint data in Silverlight applications. (Length: 6:39)

Data-Bound Design: Create a Silverlight 4 Web Part for SharePoint 2010

  
When building custom SharePoint 2010 solutions, it makes a lot of sense to take advantage of Silverlight 4 on the front end. We'll walk you through the process of building a Silverlight Web Part with Visual Studio and Expression Blend.Paul StubbsMSDN Magazine September 2010

Software needed to learn Sharepoint 2010 and silverlight?

  
Can I use VS 2010 Express to learn sharepoint 2010 and silverlight?
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend