So, is it possible?
I need to choose domain users in web-enabled Infopath form and now I am using drop down list with custom web service, but may be possible write custom control for web-enabled Infopath form?
You can use the Infopath contact selector control instead. Here's how to set it up .
Related
I have a .NET project that needs a login form. The action of this form should take the user to the external site (Symplicity) and log them in. I've looked in to some methods (HttpWebRequest and creating a form with javascript), but being fairly new to .net, not sure they will work out for me.
What would be the best way for me to achieve this?
A form cannot be nested within an ASP.NET WebForm. You can use IFrame and within the IFrame you can host your other form.
In InfoPath 2010 there was a trivial manner to set the view called for an item based on the function desired, e.g. a separate view could be made for create, edit, and display and set as the default.
See here:
http://chanakyajayabalan.wordpress.com/2013/06/20/individual-newedit-and-display-forms-for-sharepoint-using-infopath-forms/
I cannot however find the equivalent for InfoPath 2013, nor am I able to locate the corresponding element via SharePoint Designer.
It also would appear that you cannot append the view to the URL in order to directly call a view.
Creating a rule for Form Load that detects some attribute of the call, and sets the view accordingly seems like another option, but I'm just not certain how to access the appropriate identifier.
Final resort would be to do away with the InfoPath form, and create/modify pages via Designer, but would rather avoid this if possible.
Found the way around this is edit the page in SharePoint. You can't do it in SharePoint designer anymore.
Create your views in Infopath then publish. After for the form you want to change the view on, IE create new item or edit item. Once there choose edit page from the settings menu, then modify the Infopath web part to use the the view you want.
This will work for additional forms as well if you want to add custom actions to the list.
I am working on asp.net application for reporting. I need to develop round about 50+ reports. On each report I need selection criteria that may contain start-date , end-date, name , company etc on almost every .aspx page. these controls can be of type like dropdown, textbox or calender etc .
Any idea to use one editable + shared (not 100% same) web form on every page.
Using ASP.NET custom controls will allow you to create a module that you can insert into all of your pages.
You can also check this out to get you started more quickly.
http://www.codeproject.com/Articles/1739/User-controls-in-ASP-NET
If you want to make it similar but not 100% same for all apps then just create public properties that you can use to adjust control properties on different pages. For example if some text box should be visible on some page and not visible on other just create a public property in your control named something like EnableTextBoxABC
You can create ASP.NET Custom Controls.
I have been given the task to create a "Web Part" for a Sharepoint website. The reason i quote "Web Part" is because i don't think that it suits my needs.
With a User Control a developer is absolutely free in what kind of control he wants to add. This can easily be done in the (for example) MyUserControl.aspx file from the MyUserControl.ascx control. You can even add jQueryUI elements to the User Control like tabs etc.
So basically i need to be free in what kind of (HTML) elements i add to the page and what not.
Since it looks like this can't be achieved with a SharePoint Web Part i want to know if it is possible to display a User Control instead?
Is there a way to do this..??
If you use Visual Studio you can select "Create new Visual WebPart", provided it is SharePoint 2010 we are talking about?
This option gives you a ascx-file which you can treat like a normal usercontrol. It is automatically wrapped as a SharePoint-webpart.
See this walkthrough for more thorough information:
http://blogs.msdn.com/b/bethmassi/archive/2010/01/28/creating-a-sharepoint-visual-web-part-using-visual-studio-2010.aspx
You cannot add User control directly to a specific SharePoint page, but you can add to Master Page or Page Layout. (And only by SharePoint designer)
Another option is to create User Control add load it to Web Part, and add the Web Part to your page.
Edit:
As Rikard Uppström wrote, in VS2010 there is template named Visual Web Part that does exactly that for you, but if you work in SP 2007 you can do it yourself.
I am making one web application.Registration form is quite large.So I want to show user the steps like(sep1,step2).How to handle in asp.net?
You can use the Wizard control.
You can use wizard control
http://www.codeproject.com/Articles/15804/ASP-NET-2-0-Wizard-Control
http://weblogs.asp.net/scottgu/archive/2006/02/21/438732.aspx