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


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

how to duplicate values to a new repeating section from a previous one?

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :SharePoint
 
It's nice to have repeating section. Is there any easy way to duplicate values from a previous section to a new one, even with manual process (eg, click a button)? THanks,


View Complete Post


More Related Resource Links

Launch a Repeating Section based on changes in form values

  

Hello,

What I am trying to do is launch a repeating table based on what the user selects from a drop down box. This is a form I am using for Users to test new applications. If this is the first log in attempt there is no need for a 2nd section but if the user chooses 2 or more I would like the form to automatically launch the next section just like if the user clicked the button to add another repeating section.

 

Any help is greatly appreciated, thanks in advance.


Filtering repeating section values based on selecting a value from dropdown

  

I have a repeating section in InfoPath 2010 which has questions associated to certain levels. The questions with associated levels are coming from Sharepoint 2010 list.

I also have a dropdown  where user can select which  level question they want to see.

I have tried few things here.

(1)Written code in c# on change of this dropdown to populate  the questions in the repeating section only if the level is what the user has selected.

It works perfectly fine on the client side but when I publish it as a form template onto SharePoint 2010 all the questions show up without any filtering.

appreciate any insights.

(2)I have also tried using conditional formatting, adding rules to hide the control(repeating section) if the questions level is no equal to the level selected in drop down. This also works gr8 on client side but not when published to Share point as browser enabled form template.

 

Can anyone tell me why this might be happening?

 


How do you add duplicate fields to a SSRS custom report and receive differtent output values.

  
I have built a custom report in SSRS 2008 using fields for supplier and customer.   I have added a Parent Row Group using the Supplier field for the group expression and used the Customer Details as my child details group. This returns a list of all customers for each supplier.   (Supplier | = Customer details ( Name, Dob etc.)   How would I add an additional Supplier field to the customer details returning only values for other Suppliers used by a customer, not the value of the Supplier listed in the Parent Group?

InfoPath repeating table Copy values from above row without Code

  
Hi, I have situation, where I want to copy the values from the above row to the newly created row in a Repeating table. Ex. I have a repeating table with 3 columns ID-Name-FileName. When I enter a data like 1-Customer1-File1.zip and hit "Insert new row", the new row should automatically populate the values of the above row. How can I do it without .Net code. Regards,

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined WCF

  
Hi We had deployed WCF Dataservices in Sharepoint 2007, IIS 6.0 and Windows Server 2003  which worked perfectly fine. Recently we moved our sharepoint 2007 installation to Windows 2008 and IIS 7. After this migration, our WCF Dataservice started throwing exception There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined The WCF Folder is setup as an application. Same setup worked perfectly fine in IIS 6.0 Below is the main web.config <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <configuration>   <configSections>     <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">       <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">         <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false"

How to identify new row in repeating table and repeating section of browser enable infopath form

  
Hello All,   I have Exp form that contain repeating table as well as repeating section. When i click insert new item it inset new row but i didn't got identification of that row. Is there is way to get identification of each row in repeating table as well as section.  Please help on this.  Thank you.

Retrieving values from previous page

  
Hey Forumers,Here is the case, I have a datalist displaying a whole list of text files and I have a hyperlink with the title as the text and a navigateUrl that navigates the user to a page to display the file the user chose.I have coded the hyperlink like so:<asp:HyperLink ID="HyperLink2" runat="server" Text='<%# Eval("Title") %>' NavigateUrl='<%# Eval("StoryID", "StoryDisplay.aspx?StoryID={0}") %>'>Hyperlink</asp:HyperLink>The problem I am facing is that I got this code snippet from another source and I don't know what does the StoryID={0} means. I do know that the eval statement would sent the storyID of the selected file to StoryDisplay.aspx, I just don't know how to retrieve the values from the second page.P.S. the second page contains a title label and an area(enclosed in <div> tags) for the selected text to be displayed.Please help and thanks in advance =)Cheers,Zephere

Infopath 2007 Repeating Table - Multiple Value Column Text - Hiding Rows based on Column text values

  
Infopath 2007 browser based form Full Trust Example: I have a repeating table (FruitChoice) that has multiple columns. Both drop down list point to sharepoint list data sources. Choose your tree ft. drop down list – 6Ft Choose your Department drop down list - 103 This repeating table is conditional on the drop down values. This works great. Trees     Fruit       Cost   Date Ordered    Date Delivery Department 6Ft        Peaches                                                        103 3Ft        Apples                                                          102 3Ft        Peaches         &

Infopath 2007 Repeating Table hide row based on Text values of column

  
Infopath 2007 browser based form Full Trust Example: I have a repeating table (FruitChoice) that has multiple columns. Both drop down list point to sharepoint list data sources. Choose your tree ft. drop down list – 6Ft Choose your Department drop down list - 103 This repeating table is conditional on the drop down values. This works great. Trees     Fruit       Cost   Date Ordered    Date Delivery Department 6Ft        Peaches                                                        103 3Ft        Apples                                                          102 3Ft        Peaches         &

List contain two parts: Repeating section and fixed section (without repeating option) in the same l

  

Dear All,

For MS Infopath 2010 and Sharepoint 2010

when I opened MS Infopath and from file-->New--> sharepoint list-->Design Form

I did not find the containers like (Repeating section , table ...etc. ) in the tools bar

Where I need a list to be contain  fixed section (without repeating option) and another Repeating section in the same list how I can complete this task ?

Thanks for your help

 


List contain two parts: Repeating section and fixed section (without repeating option) in the same l

  

Dear All,

For MS Infopath 2010 and Sharepoint 2010

when I opened MS Infopath and from file-->New--> sharepoint list-->Design Form

I did not find the containers like (Repeating section , table ...etc. ) in the tools bar

Where I need a list to be contain  fixed section (without repeating option) and another Repeating section in the same list how I can complete this task ?

Thanks for your help

 


Searching Duplicate values in Excel - MVC

  

Hi everyone,

I am working in an MVC .net project. I use the below method to search for duplicate values in an excel sheet before uploading.

The dataset contains all the rows in the excel sheet. the colName is one of the columns in the excel sheet where the duplication is checked. the values in the particular are checked , iterated and if unique a copy stored in hashtable and the duplicate is stored in array list and the entire row containing the duplicate cell value is deleted.

"Here i only compare all the values in a single column of an excel sheet(colName).  I would like to send two columns and compare a cell value in both the columns".

Can anybody help me.

public DataSet RemoveDuplicateRows(DataSet dSet, string colName)
        {
            Hashtable hTable = new Hashtable();
            ArrayList duplicateList = new ArrayList();

            foreach (DataRow drow in dSet.Tables[0].Rows)
            {
                if (!string.IsNullOrEmpty(drow[colName].ToStr

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler 'section defined'

  

i am creating my asp.net solution on the sharepoint(asp.net website and location=http://localhost/_layouts/myprogram)

(i using sharepoint2010-s1 and visual studio2010 and .net3.5)

when i were wanted test design form and browse this form, i recieve error:

Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler 'section defined'

but when i  deleted  this section i recieved this error:

 

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed.

Details: To enable the details of this specific error message to be viewable on the local server machine, please create a <customErrors> tag

Infopath Repeating section does not show repeat records

  

hi, i have a infopath form. with a repeating section.

firts i used to click the run query button and it display all the records in the repeating section.

then i modify the form that the user could add a new record in the repeating section.

that works. but now when i click the run query button again it does not show the new record with all the other records in the repeating section it shows onlt the first record of all

is someone familiar with this?


no duplicate values in column

  

I have a view that displays entry for contacts and their role.  A single contact_pk value may have 2 or 3 entries for it. 

I need to have the query for this only return a contact pk value once.

SELECT
  tbl_join_contact_roles.join_contact_role_pk,
  tbl_join_contact_roles.contact_pk,
  tbl_join_contact_roles.contact_role_pk,
  tbl_contacts.contact_name,
  tbl_contact_roles.contact_role
FROM
  tbl_contacts
  RIGHT OUTER JOIN tbl_join_contact_roles ON (tbl_contacts.contact_pk = tbl_join_contact_roles.contact_pk)
  LEFT OUTER JOIN tbl_contact_roles ON (tbl_join_contact_roles.contact_role_pk = tbl_contact_roles.contact_role_pk)

 

So is there something I can add to this query so that no duplicate values for tbl_join_contact_roles.contact_pk get returned?


Getting the values of drop down repeating table in info path

  
HI how can i get all the values of a drop down repeating table, using XPathNavigator please reply me!

Customize Repeating Section Commands

  

I have an Infopath 2010 form which will run as a web browser form. 

There is code to add or remove Repeating Sections automatically - I don't want the user to be able to  add or remove sections using the icon that appears at the top left of the repeating section.  However, in order for the code that adds or removes sections to work, it is necessary to enable "Allow users to insert and delete the sections" i.e. if I uncheck this option, then the code fails - if I check it, the code works.

Firstly - is this meant to be the case ? (Some of the forum comments on Infopathdev imply that you can replace the menu commands with a button.)

So as a result, I thought I could customise the menu commands - despite unchecking all the options - the insert Repeating Section command is still there - all other commands (e.g. Remove, Remove All, Insert Above / Below)  have disappeared as expected.

Any thoughts,  thanks.


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