Monthly Archives: July 2013

Pass query string to a SharePoint list’s “Add new item” form that was customized by InfoPath 2010

Scenario: There is a list called “Customer Equipment” and its form was customized by InfoPath 2010. One of the field is called “Customer” which is a look-up field (a dropdown list). When add a new item I want to pass … Continue reading

Posted in InfoPath 2010, SharePoint 2010 | 2 Comments Ajax getting started

<asp:UpdatePanel ID=”UpdatePanel5″ runat=”server”> <ContentTemplate> <asp:DropDownList ID=”ddlSoftwareVersion” runat=”server” Width=”300″></asp:DropDownList> <asp:RequiredFieldValidator ID=”RequiredFieldValidator1″ runat=”server” ControlToValidate=”ddlSoftwareVersion” ErrorMessage=”Please select a software version” CssClass=”red”></asp:RequiredFieldValidator> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID=”ddlCourse” EventName=”SelectedIndexChanged” /> </Triggers> </asp:UpdatePanel> <asp:UpdateProgress ID=”UpdateProgress5″ AssociatedUpdatePanelID=”UpdatePanel5″ runat=”server”> <ProgressTemplate> Update in progress… </ProgressTemplate> </asp:UpdateProgress>

Posted in Visual Studio 2010 | Leave a comment