We get requests from casual users (volunteers) to reorder the iParts on an existing page. What process allows this (drag & drop?) other than rebuilding the page?
iParts
Page-to-page communication
I have two pages, both with iParts, which need to communicate with each other. Some of the details I want to communicate are a bit sensitive. It's not credit cards or other personal info, but it could potentially be used to manipulate the system to gain access to records that shouldn't be seen by the current user.
I know the first page can pass parameters to the second page using the URL, but the security is non-existent. Even my mother-in-law can manipulate URL params.
Create account return url
I've got a membership application iPart that requires a user to either log in or create an account prior to accessing the form. I'd like to replicate the functionality of the event registration process, which allows you to create an account and brings you right back to the event page for registration. My login link works perfectly with the return url, but the create account link does not. The user is required to login after creating their user name and password and then sends them to the site home page rather than back to the membership application. The return url is obviously lost during the create account process. Is there a way to resolve this?
asiweb in the toolbox?
I got home and tried out the iParts examples with my team and bumped into an unexpected surprise: it doesn't appear that I can access the asiweb controls from the toolbox in Design mode.
That means I can't:
- See a list of controls in the toolbox
- Drag and drop a control onto my iPart
- Double-click a control to create and bind a default event (_Click or _Change)
- Right-click the tag in Markup view and get options I get for ASP.NET controls.
- Refactor>Rename the control in Source view and update the markup automatically.
Is there some way I can educate Visual Studio about the existence of these controls so I can work with them more naturally? I hope I'm not forgetting something obvious.
Documentation for creating iParts? Where
I am trying to create some iParts to replace some old xTender applets.
I am very familiar with creating web parts and have created a number of iParts successfully. What I am not able to find is any information on what values, variables and parameters are available to me inside those iParts. i.e. How do I retrieve the selected user ID?
Is this documentated someplace?
This would be for both web and desktop views.
How do I: Get a selected ID in the Desk View?
I have a iPart that is very simple.
It displays the selected ID by using the following code in the ASCX file:
<%= IWC.Utilities.GetCurrentUserID() %>
This works great in the web view and returns the number exactly as expected. But in the Desktop View it returns a much longer string of numbers and letters. My guess is that it is encoded in some way. How do I go about getting the plain value?
When to move to VS2010?
We've been using Visual Studio 2008 for some time now on the theory that it's the version ASI is using.
Is ASI still using VS2008, or have you (partially or fully) moved to VS2010? If not, do you have plans to make the change?
Has anyone had any issues moving from VS2008 to 2010?
Has anyone found any compelling advantages of VS2010 over VS2008? Are they big enough to justify upgrading old projects, or should I just use it for new projects and run them side-by-side?
iPart for editing contact information
Hi,
Does anyone know of a user control or iPart that allows the user to edit his/her contact information (street address, email, and phone number)?
If not, how about one for which source code is available that does something similar? I know iMIS comes with an iPart for _viewing_ one's address; unfortunately, Asi does not release source code for their iParts, so we cannot modify it for also editing one's address. But if there is an equivalent iPart or user control with similar functionality for which the source code is available, we could use that as a starting place.
Telerik DatePicker doesn't display in IE in 15.1.3
In one of my iParts, I'm using a Telerik RadGrid using the EditForms mode for editing a row.
<asp:Panel ID="body" runat="server" CssClass="PanelBody">
<telerik:RadGrid ID="RADGrid" runat="server" CssClass="MultiDE" >
<MasterTableView CssClass="Grid" EditMode="EditForms">
<Columns>When my grid includes a datetime field, this is rendered as a text input followed by an icon to open the DatePicker calendar. At least, that's how it is on 15.1.2.
NullRef on ContentItem.ContentItemName
I'm working on a general library to use in all my iParts. As part of that, I want to be able to log not only which iPart had an error, but which specific content item experienced a problem.
So the constructor for my library class looks like:
public MyLibrary(Asi.Business.ContentManagement.ContentItem ci)
{
string s = ci.ContentItemName;
...
}