Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

how to use the popup in the infopath

Posted: Jan/18/2011   By: nikhil   Points:15   Category: .NET  - ASP.Net    Views:78   Vote Up (0)   Vote Down (0)    
I want to open the popup window from the infopath form and get the value back to the infopath form.

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Modal popup panel not hiding on page load, hides on postback

  

When I browse to my page that has the modal popup panel on it, the panel initially is visable, and when I do a postback it acts as intended.  Anyone seen this?  Please let me know if you need the master page....

 

<%@ Page Title="Mystores User Management" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPages/WanSupport.Master"
    CodeBehind="Default.aspx.vb" Inherits="WANSupport._Default5" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentHolder" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div style="clear: both; width: 100%">
        <div style="width: 300px; float: left; margin-top:20px;">Users<br />
            <asp:ListBox ID="lbUserList" runat="server" CssClass="userManagementUserList" Rows="15"></asp:ListBox>
            <asp:Button ID="cmdSelectUser" runat="server" Text="Select" CssClass="userManagementButtonTop" />
            <br />
            <asp:TextBox ID="txtUserListFilter" runat="server" CssClass="userManagementUserList"></asp:TextBox>
            <asp:Button ID="cmdFilterUserList" runat="server" Text="Filter"/>
            <br />
            <br />
            <asp:Button ID="cmdAddNewUser" runat="server" Text="Create a new user" />
        </div>
        <div style="width: 600px; float: left; margin-left:20px; margin-top:20px;">
            <asp:Panel ID="pnlUserDetail" runat="server" Visible="false">
                <table class="style1">
                    <tr>
                        <td class="userManagementTableLabelRight">
                            Username</td>
                        <td style="width:200px;">
                            <asp:Label ID="lblUsername" runat="server" Text=""></asp:Label>
                        </td>
                        <td>
                            Access Groups</td>
                    </tr>
                    <tr>
                        <td class="userManagementTableLabelRight">
                            Name</td>
                        <td>
                            <asp:Label ID="lblName" runat="server" Text=""></asp:Label>
                        </td>
                        <td rowspan="9" style="vertical-align:top;">
                            <asp:ListBox ID="lbAccessGroups" runat="server" Width="150px" Rows="10"></asp:ListBox>
                            <asp:Button ID="cmdRemoveGroup" runat="server" Text="Remove" CssClass="userManagementButtonTop" />
                            <asp:ConfirmButtonExtender ID="cmdRemoveGroup_ConfirmButtonExtender" 
                                runat="server" ConfirmText="Are you sure you want to remove this access group?" 
                                Enabled="True" TargetControlID="cmdRemoveGroup">
                            </asp:ConfirmButtonExtender> 
                            <br />
                            <asp:TextBox ID="txtAddGroup" runat="server" Width="150px"></asp:TextBox>
                            <asp:Button ID="cmdAddGroup" runat="server" Text="Add" />
                        </td>
                    </tr>
                    <tr>
                        <td class="userManagementTableLabelRight">
                            Company</td>
                        <td>
                            <asp:Label ID="lblCompany" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="userManagementTableLabelRigh 

Jquery or popup dialog login

  

Would like to use a button that pops up with the login control, any ideas?


Infopath and Section 508 Accessibility

  

Hey, guys! I'm building a web site for a Section 508 workgroup, and I need the site to be 100% accessible (including the administration module I'm making for the team. We're using SharePoint MOSS 2007 and I recommended using infopath to enter data into the site's database (and also to populate downloadable Microsoft Word documents). The customer claimed that InfoPath is not Section 508 compliant, which seemed odd to me because the forms can be modified to anything you want them to be (including 508 compliant).

I even found this guide to making InfoPath accessible:

http://office.microsoft.com/en-us/infopath/HA102146831033.aspx

I'm curious if there are any caveats to making accessible forms in Infopath, or if the information I've gathered is incorrect.

Thanks!

Spaz


Using Workflow to create an InfoPath item in a Forms Library

  

Hi Experts:

Here is my situation:

I have a MOSS 2007 server with list A (regular sharepoint list) and List B (InfoPath form library with a published form)

This is what I am trying to accomplish using SharePoint Designer:

  • List A is just a basic list
  • User changes a column in list A to a specific value
  • A new form needs to be added to the forms library B

SharePoint designer Workflow will not create a valid xml file in the List B forms library. It just creates an invalid file based on the .xsn file template.

Does anyone have any experience creating a valid xml form in a forms library using SharePoint Designer workflow?

I can't migrate to 2010 so that is not an option.

Thanks for all your advise.


"The following location is not accessible, because it is in a different site collection" in InfoPath

  

I just took over a piece of sharepoint /infopath code and the original developer left without leaving any notes. when i checkout the code and deploy this sharepoint workflow with infopath web browser enabled, i first get the error 'The following location is not accessible, because it is in a different site collection [location of my xsn infopath form]. this appears after the first time I try to open the form as a detail of a infopath error. when i click ok, it shows "The form has been closed" and then until i reboot the server, it will persist with the "The form has been closed" message straigh away.  The infopath form is set to be web compatible and the infopath services are enabled but still doesn't work.

(just narrowed it down to the first problem ''The following location is not accessible, because it is in a different site collection [location of my xsn infopath form]'. the "The form has been closed" happens after clicking the close button of the first message


Infopath task form altering data ?

  

Hi,

In a workflow, I create a task which use an Infopath Task Form.

The form has a rich text field I want to populate with some data.

In my CreateTask Invoke handler, I add (this is a valid xml fragment) :

mytaskProperties.ExtendedProperties["body"] = @"
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Text</p>
<br/>
<p>Another text</p>
</div>
";

When the task is created, and when I read this node (from a code in IP, since I want to preserve the nodes), the result is altered to:

<p>Text</p>
<br>
<p>Another text</p>


which is no more a valid xml fragment (because of the non closed br tag).

 

I can workaround this behavior by adding HttpUtility.HtmlEncode and HttpUtility.HtmlDecode to the create task event and in the IP code. In this case, the xhtml fragment is preserved.

 

Is there any explanation of this behavior ? The workaround is working is not very elegant... and works only if I read the xml from code.

 

thanks in advance

steve


Paying back the community for its help by writing articles :
Have a Nice Day.Net Blog

Updating SharePoint list from Browser-enabled InfoPath form Repeating Table (multiple records)

  

I have the following application design that I would like to implement using InfoPath and SharePoint.

Application design:

1. Select a student
2. Get student's tasks from a custom SharePoint List
3. Mark student's tasks
4. Save the changes back to SharePoint

All student tasks are stored in a SharePoint list, with each task being due on different days for different students.

I want the teacher to be able to tick-off multiple tasks at once, and provide comments on relevant tasks. Upon submittion the data will be saved to SharePoint.

 How do I submit multiple items from my InfoPath repeating table back to sharePoint list?

Here is what my forms looks like (using repeating table and a conditional formating rule to filter unwanted items):


How to build a custom InfoPath solution that integrates with Outlook?

  

I was requested to add the functionality so that when the recipient receives this submitted infopath form, that they also have the ability to see the regular email history and attachment that led up to the submission of the infopath form. The recipient would get an email just as they would any other email that was forwarded (though the last message is the infopath form).  I am using Infopath 2007.  From what I see, the easiest solution might be as follows (though I have not been able to determine how to execute this):

Create a control in Infopath 2007 similar to the typical 'File Attachment'.  However, instead of the 'File Attachment' control, I would like to include a control that functions exactly the same as the Insert 'Outlook Item' button that is in Outlook.  For those that are unfamilar with the 'Outlook Item' button, when clicked, it brings up a box which allows you to view your Inbox and select an email to attach.

Though execution of the above would be an improvement from where I am now, I would then like to take it to the next level.  If executed properly, the Insert 'Outlook Item' button would just attach the email similar to any other Attachment.  However, I would like to program Infopath so that when the Outlook Item is attached, the content of the email selected is embedded in the Infopath 2007 form that's submitted.

Any help would be greatly appreciated.

Thanks.

Dan


Authentication failed because the remote party has closed the transport stream (Infopath Webservices error)

  

Hello,

 

Problem:

I am getting a similar but not the same inner exception.

My form works fine in infopath client as well as on one of my two web front end servers.

But I get the below error on my central Admin server which hosts Office Server web services.

Solutions tried which didn't work:

1. I have tried the DisableLoopback and the solution given here

2. http://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/b1ba71ec-499a-44a0-81de-6165c660b80a

Stack Trace:

12/14/2010 15:54:57.61 w3wp.exe (0x1268)                       0x118C  Forms Server                   Forms Services Data Objects   13zh Exception System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.     at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)     at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)     at System.Threading.ExecutionContext.runTryCode(Object userData)     at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedClean... e0b5ef64-081b-45d4-9e77-9f767c5b4081

 

12/14/2010 15:54:57.61* w3wp.exe (0x1268)                       0x118C  Forms Server                  

Using an InfoPath form in a site template

  

Hi All:

I have created a very basic InfoPath form.  It has 2 data connections; a receive connection to a SharePoint list and a submit connection to a SharePoint library.  I need to template the solution for use elsewhere so i converted the connections to use data connection files (relative) contained in the site.  I tested the form in the site and everything is working.

Next I templated the site and created a new site based on the template.  I then tested the form.  The receive connection is not working (and possibly the submit as well).  When i check in the UCDX file i can see that the ListId element has been updated but the WebUrl element still points to the original site.

Also, when I look at the Data Connections dialog box in InfoPath The Details display the following:

Data connection file: a site collection relative link to the original site (/original Site Name/Data connection library/filename)

Connection Source: An absolute link to the site collection that i am developing in and the words (link type: relative)

Am i doing something wrong here.  I expected everyting to be relative to the form and that by using Data Connection Files i would not need to modify my form each time i deployed a new site from the site template..

Thanks in advance.

Ed


 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge