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

Multiple Form Infopath - duplicate signature section

Posted: Jan/18/2011   By: nikhil   Points:15   Category: .NET  - ASP.Net    Views:33   Vote Up (0)   Vote Down (0)    

I have created a form based on a database, and the final form actually creates multiples of the same form based on the query. The difficult part is that I need to show the digital signature line at the bottom of each of the individual forms (pages) so that each "form" can be imaged separately. I have tried to see if I could duplicate that section on the print view, but I am running into walls. Is there any way to be able to allow one person to digitally sign all of the forms, but yet - let the signature show up on each of the individual forms, not just the bottom? Please help!! Thank you!

 

View Complete Post


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

Selecting multiple Checkboxes inside multiple GridViews

  
Selecting multiple checkboxes inside a GridView control has been lot in discussion but I was unable to find any solution to following problems:



If page has two or more GridViews?
If Gridviews are in usercontrol?
If page has a Masterpage?

So to sort out these problems I picked an article that was of great help "GridView CheckBox Selection With a Twist". And here are few changes

Gridview paging and multiple row delete using checkbox

  
This article gives you information about GridView paging and multiple row deletion using CheckBox selection and LINQ.

Selecting and Highlighting Multiple Columns in a Data Grid

  
Many times you want to select multiple columns in a DataGrid and highlight the columns selected.

In the DataGrid MouseDown Event you will find out if you have selected a column header through the hit test. You then find the co-ordinate of the column and construct a rectangle out of that. If you are selecting multiple columns you can store the index of the columns and the rectangle in ArrayList.

Make sure you clear the ArrayList when you HitType is None.

send alert message to user if close internet browser before save web form data

  

 Hi, I have window form to let user fill data, I want to alert user if close web browser before saved web form data, could anyone provide any clue?

 

Thanks,

Martin


Multiple validator issue

  

A CompareValidator to check the textbox for date type and a RangeValidation the check the date range is applied to a textbox. But if user enters incorrect date format, both validators are triggered. Is there any way to set the trigger sequence so that only one validator fires in this scenaio?

Thanks.

 


multiple dropdowns posting back to gridview help

  

Hello,

I have a form that has 2 dropdowns that are getting data from sql server 2005 db's to populate their dropdowns with dropdown2 depending on the values chosen from dropdown. after i choose the 1st value from dropdown1, then it shapes what can be chosen from dropdown2 and i choose that value, nothing happens, (well the webform flickers real quick like it hit the db and returned no values to fill in the gridview.) Can someone please please please check my code and tell me what i am doing wrong here? Or post a correct  dropdown-->dropdown-->gridview  example

 thank you

 

<form id="form1" runat="server">

 <table border="0" cellpadding="0" cellspacing="1" width="98%">

<tr>

<td bgcolor="#3366cc" height="24">

<div align="center">

<span class="style2" style="color: #ffffff">&nbsp; Query Builder </span>

</div>

</td>

<td bgcolor="#3366cc" style="width: 331px">

 

<div align="center" >

<span class="style2" style="color: #ffffff">(Choose Your Test Criteria)</span></div>

</td>

</tr>

<

access to web form from class

  

hey,

i've read several posts with similar but problems, but i can't find one exactly like what i am seeing.  This is probably very simple...i just can't get the exact solution.

Platform is c#, VS 2010.

I have a web form and code behind file, with scripting that works just fine.  i'm trying to move script from the code behind file into a class, to consolodate and create re-use. The basic problem is when i move the script into the class, i cannot access the webform.

error here on "this":   HyperLink hyplAlertbox = (HyperLink)this.frmEtsuHome.FindControl(codeboxID);

i know WHY it throws the error, i just don't know how to fix it.  any help is appreciated.

below is simplified code....

------------------------------------------------------------------------------------------------

New Script in Code Behind File:


namespace myhome
{
    public partial class _default : System.Web.UI.Page
    {
                    
        protected void Page_Load(object sender, EventArgs e)
        {
             new majorAlerts();
             majorAlerts.GetAlerts();
             majorAlerts.ProcessAlerts(); } } }

-------------------------------------------------------------------------------------

Code for the Class

-------------------------------------------------------------------------------------


using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls.WebParts;

namespace myhome
{
    public class majorAlerts
    {
        
        public static void GetAlerts()
        {
            // grab the alerts and store them in a list                     
        }

public static void ParseAlerts(List<Alert> lAlerts) {
            foreach (Alert Alert in lAlerts) { // create codebox ID codeboxID = "codebox" + index.ToString(); // find hyperlink with ID of codeboxN cand reate an instance of it HyperLink hyplAlertbox = (HyperLink)this.frmMyHome.FindControl(codeboxID);

//******************* ERROR *************************************************
// ERROR ON this in previous line.  i understand, because "this" is not the form like it is in the code behind file.
// but i don't know how to modify "this" and make it work from class file
// **************************************************************************

 // set hyperlink URL value for alert based on alert ID alertURL = "http://www.blah.com"; hyplAlertbox.NavigateUrl = alertURL; } }




Trying to prevent multiple submits with a dataview item updating

  

I have a button in my dataview that drives the update:

                    <asp:Button ID="btnUpdate" runat="server" Text="Submit Bid" CommandName="Update"
                        ValidationGroup="response" CssClass="buttonDarkBlue"  />

                    <asp:Button ID="btnUpdate" runat="server" Text="Submit Bid" CommandName="Update"

                        ValidationGroup="response" CssClass="buttonDarkBlue"  />

If you hit the button quickly multiple times, the code below gets run and multiple database updates occur.  
I added the Response.Redirect because I saw that as a technique to prevent this problem.  It seems to have worked on another page, but not this one.
Thoughts on a best solution?

    protected void dvwResponse_ItemUpdating(object sender, DetailsViewUpdateEventArgs e)
    {
                 // (do a database update)
                Response.Redirect("~/MySite/SamePage.aspx");


        }
    }



Manually Calling Update on ObjectDataSource Causing Multiple Updates

  

I have GridView that is bound to an ObjectDataSource and within that GridView I have CheckBox, DropDownList, TextBox and Label controls.  All the controls except the CheckBoxs are working like a champ or normal display and Delete (Insert is handled outside the GridView, it works also). 

The CheckBox values are passed into the update method for the ObjectDataSource as type byte.  Without doing any custom coding the CheckBoxs were always unchecked (regardless of the data being 1 or 0)  and when I edit a row in the GridView and saved the values the CheckBox controls would always be 0 even if the check boxes where checked. 

After searching web I found a suggestion to change the binding on the CheckBox controls from, Bind("Monday") to this, CheckUncheck(DataBinder.Eval(Container.DataItem, "Monday")) with CheckUncheck being a method to make 0 or null = false and 1 = true.  This seemed to the do the trick and it set the CheckBoxs correctly in the DataGrid, I was giving myself high-fives, until. I tried to update a row. 

When doing the update, as with my first attempt, it would always set the CheckBox values to 0, thus ignoring the checked property of the CheckBox.  So I search the web again and found a suggestion to handle the update manually, due to the binding being one way. So I created a myUnhappyGrid_RowUpdating event handler and changed all the columns in the GridView to template so I could do the old school .FindControl on them and grab the values.  Once I was able to grab the values from the row to be updated I added them to the ObjectDataSource .UpdateParameters and called ObjectDataSource.Update() and it worked, kind of. 

Now came the next trial, it did the update into the database just fine and I was happy, until..  I finished stepping though the code.  As I stepped through the code the update on the ObjectDataSource got called two more times, thus undoing what I had just spent hours fixing.

First, is the road traveled the right way to do it?

Second, if I am on the correct road how can I suppress the additional two updates that follow my manual .update call on the ObjectDataSource?

Please help!


"Tabbed" Form with strongly typed model and validation after each tab

  

I got a very long user creation form with tons of validation.  Works fine.

Now I want to "split" this form into 5, displaying each form in a set of tabs (will be using jQuery UI Tabs).

So when you start, Tab1 is enabled, the rest not.

You finish what is in Tab1, and click "Next", the part of the original long form get validated (like a normal form using client side and remote validation .....it *must* be client side.  User Requirement.)

If valid, Tab2 becomes enabled, and also the user are shown Tab2.

Once the user get to finish and reach the last tab (which will basically just have a "Submit" button) I need to post everything that was entered across the series of tabs to the server (back to the single form/model/controller the existing form works on).

Any tips / advice / samples out there will be welcome.  (However not suggestions to change the requirements....picky as hell client)

Thanks for reading....


 
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