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


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

Design Form for user to design simple form

Posted By:      Posted Date: October 01, 2010    Points: 0   Category :.NET Framework
 
how can i create form that have a simple toolbox that user can design form at run time?
C# Is My World


View Complete Post


More Related Resource Links

Command Management: Use Design Patterns to Simplify the Relationship Between Menus and Form Elements

  

In Windows Forms applications, similar commands, such as those in a menu and their counterparts on a toolbar, are not automatically related. They don't fire the same event or run the same handler routine. Yet code that allows the same or similar user commands to fire the same code simplifies development.This article describes the principles of command management and why it's important to have functional commands that are not exclusive to any one UI element. In order to provide an MFC-like command management infrastructure, a design pattern is developed and applied as a series of C# classes.

Michael Foster and Gilberto Araya

MSDN Magazine October 2002


Infopath 2010 Form design with Optional Section and Option Button

  

I need help or a push in the right direction. I am creating new forms for sharepoint2010 using infopath2010. Trying to make it so if someone hits an option button it activates an optional section or something simular. basicly if someone answers yes I have more questions for them and dont want them to show UNLESS they say yes.

as always please and thank you
Mike


How to design InfoPath form template in Sharepoint?

  

Hi!

I need to implement an opportunity to design InfoPath form template by administrator in Sharepoint. It is required that he could add new fields to the form, hide, delete them. How is it possible to modify InfoPath Form Template in Sharepoint? What should I use for it?( an API, win32 or smth else, from code wich classes should I use?) 


How to design a form to respond to a workflow status of a Custom worklow (not OOB workflow)

  

The following article describes how to change view of a browser enabled InfoPath form based on the current status of a workflow: Design a form to respond to a workflow status
The article uses an Out-of-the-box (OOB) workflow and its workflow column.

But, I have created a custom workflow using SharePoint Designer (SPD) and according to the some responses to my following post, , the workflow column in a custom workflow cannot be modified to display the values “Approved”, “Rejected” etc.

How can I then change the views of a browser enabled InfoPath form based on the current status of a workflow. I want to display the form as follows:

  1. Make it read only once it has been submitted.
  2. Make it Green once it has been approved
  3. Make it Red if it was rejected

Thanks……..


How to design a form to respond to a workflow status of a Custom worklow (not OOB workflow)

  

The following article describes how to change view of a browser enabled InfoPath form based on the current status of a workflow: Design a form to respond to a workflow status
The article uses an Out-of-the-box (OOB) workflow and its workflow column.

But, I have created a custom workflow using SharePoint Designer (SPD) and according to the some responses to my following post, , the workflow column in a custom workflow cannot be modified to display the values “Approved”, “Rejected” etc.

How can I then change the views of a browser enabled InfoPath form based on the current status of a workflow. I want to display the form as follows:

  1. Make it read only once it has been submitted.
  2. Make it Green once it has been approved
  3. Make it Red if it was rejected

Thanks……..


Infopath 2010 designer is not allowing to save or publish infopath 2007 form with design checker err

  

Infopath 2010 designer is not allowing to save or publish infopath 2007 for with designer checker error one for each view:

Error: "Some types of groups or fields are not supported."

As it is not pointing the exact control, I have tried removing all controls and fields but still it is showing the error.

Please advice if i need to re-create the form.


Hemant Joshi:: http://sharingthepoints.blogspot.com/

Not able to see Infopath design in infopath 2007 Form Template

  

Hi All,

           I have created template part using infopath 2007 and i  have added as custom control in form template to reuse using in built options in form template,if i add to another infopath form as a control,i can see only data sources  NOT the design of the form(No controls,it's showing blank form).I checked in design checker it's showing zero errors and checked in logic inspector,can see all the rules in template part what i have written except design of the form.This error is strange to me.

Please provide me if you have any solution or idea

Thanks,

Mohan

 

Moderator Note: NEVER say you want a reply "at the earliest" (or "asap" or for that matter say that your post is "urgent" or "critical"). These are forums. You post and wait (and hope for a reply). If you are in a hurry pay for support by calling MS Customer Support Services.

 




unable to see design of custom list form

  

Hi,

I create CustomList form and save it on associated list folder, but I can’t  see design view of CustomList form on sharepoint designer, it show me Master Page error:

“The page contains markup that is not valid when attached to a Master Page.

Correct the problem in Code view.”

Why this is happen in some of sharepoint site(not all of them)?! How I can solve it?

Thanx.

form feild hints are not displaying for textboxses inside create user wizard?

  

Hi,

I'm using following JS code to display input hint box besides the textbox whenever that asp.net textbox receives focus. 

I'm doing this for a registration form and all of the textboxes are inside the asp.net create user wizard control.

<script type="text/javascript">
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}

function prepareInputsForHints() {
	var inputs = document.getElementsByTagName("TextBox");
	for (var i=0; i<inputs.length; i++){
		// test to see if the hint span exists first
		if (inputs[i].parentNode.getElementsByTagName("span")[0]) {
			// the span exists!  on focus, show the hint
			inputs[i].onfocus = function () {
				this.parentNode.getElementsByTagName("span")[0].style.display = "inline";
			}
			// when the cursor moves away from the field, hide the hint
			inputs[i].onblur = function () {
				this.parentNode.getElementsByTagName("span")[0].style.display = "none";
			}
		}
	}
addLoadEvent(prepareInputsForHints);
</script>
span.

Send an Email with User fields data entered in the form

  

Hi All,

          I have a form which have some user input fields(like textboxes,dropdownlists,textarea etc) fields and a submit button.

on click i need to send email with body contents as all the details entered by user in the form

Can anyone suggest how i should approach to this in sharepoint..

any code examples would be appreciated.

 


How to fill out a form as another user , while using profiles database

  

I have created an InfoPath 2007 form. It works great.. I have 5 data connections to sharepoint lists and profile's database. The form displays public data (profile database) about the user, such as name, manager.. etc.

What I would like to do is have an option on the form that says " If you are not this person , click here" , manually type the persons last name , and bring up their information.

Basically , there are some people who will have someone else fill the form out for them. But I don't want them to be giving out their username and password to the system.

I want the ability to fill out a form as another user without logging off sharepoint. 


How to show previouse user comments on the task form of a user in sharepoint Designer

  
I am using sharepoint designer for designing workflow. I have 4 steps. on each step a user write some comments for the next user. now I want to show all those comments on task form for the current user to whom the task has been assigned.

Need Form Application to allow user to review spreadsheets and email

  
I need an application to allow a user to see a list of documents/spreadsheets in a directory, click a link to the file, have it open, then review it, close it, then from the form choose to accept or deny it, then have it emailed to a recipient contained in a db or list any good ideas how to accomplish this?  maybe a windows form?    

Access a user created class in the form code

  
Hi Dear i have a litle problem i am developing a database application. In this app i write made two projects in the same solution. 1st named BussinessData and the 2nd one has a name Database Application. in business data i have add a libary class and made its region for easily code writing. now i want to get access at that class code from the application form code. example: sum of two numbers pubic class Sum #region "Public variables" dim a,b,c as integer #end region ' seperate region for getting values #region "Properites" public property a() as integer Get  return _a Set (by val value as sender)         _a=value end property #end region 'region for sum #region "Methods" public function sum() as integer c=a+b return c end function #end region in this way i have written the code and i want to get access this class from the form code. 'button_click code for the sum sum() plz help me to solve this problem  

new Item form assigned to a specific user

  
hi, i want to create an absence request form with the new item form. and when the user fill in the form he can't choose for whom he will send it for approval the form is automatically set to be send to a specific approver.   thnx

Design Pattern for Checkbox User Dialog C#

  
Hi Is there a recommended design pattern for a user dialog which has an array of checkboxes? The most rudimentary design seems to be to use an integer as a bitwise paramater which can be passed to and from the dialog based the [checked/unchecked] state of the checkbox(es). Based on approx 3hrs googling the most likely design pattern seems to be "Decorator", but I'm yet to find a C# windows form example. Is "Decorator" the best pattern? Do most people just stick with bitwise manipulation of an integer?  Any examples or url links? Best regards Doug

how i can access a user created class in form code

  
Hi Dear i have a litle problem i am developing a database application. In this app i write made two projects in the same solution. 1st named BussinessData and the 2nd one has a name Database Application. in business data i have add a libary class and made its region for easily code writing. now i want to get access at that class code from the application form code. example: sum of two numbers pubic class Sum #region "Public variables" dim a,b,c as integer #end region ' seperate region for getting values #region "Properites" public property a() as integer Get  return _a Set (by val value as sender)         _a=value end property #end region 'region for sum #region "Methods" public function sum() as integer c=a+b return c end function #end region in this way i have written the code and i want to get access this class from the form code. 'button_click code for the sum sum() plz help me to solve this problem
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