Search This Blog

Friday, October 29, 2010

Week 9- Lab and Team meeting

Since I have my Discovery Park Internship, I couldn't attend the lab but I got to know from my friend Dharmil what happened in the lab. The team went over what the Design reviewers told us. The comments, suggestions and other information. We had to do this because we felt it was worth giving it a whole lab so that we can decide on what to in the future. The team was divided into further small teams to accomplish the tasks in a much more efficient way. I was asked to do not only the UI but also collaborate with the C# team( the core functionality) .
The experience was really good , to work with the C # team.

In the team meeting I was collaborating the functionality team dynamically. I was assigned to update the default default.aspx. I had to write the code for the default, this is what the user will see no matter if he has account or not.

Below you can find the code of the particular file.


         <input id="expandAll" type="button" value="Expand All" />
        <input id="collapseAll" type="button" value="Collapse All" />
        <asp:Repeater runat="server" ID="eventsList" OnItemDataBound="eventsList_ItemDataBound">
            <HeaderTemplate>
                <ul class="jobsTemplate eventsHeader">
                    <div><div style = "margin-left: 35px; display: inline;">Name</div> <div style = "margin-left:45px; display: inline;">Location</div><div style = "margin-left: 80px; display: inline;">Date</div><div style = "margin-left: 155px; display: inline;">Time</div></div>
                </ul>
            </HeaderTemplate>
            <ItemTemplate>
                <ul class = "jobsTemplate events">
                    <li><a class = "expand"><img src = "/Images/expand.gif" alt = "Expand Jobs" /></a></li>
                    <li><%# DataBinder.Eval(Container, "DataItem.Name") %></li>
                    <li><%# DataBinder.Eval(Container, "DataItem.Location") %></li>
                    <li><%# DataBinder.Eval(Container, "DataItem.StartdateTime", "{0:f}") %> - <%# DataBinder.Eval(Container, "DataItem.EnddateTime", "{0:t}")%></li>
                </ul>
                    <asp:Repeater runat="server" ID="jobsList">
                        <HeaderTemplate><div class = "jobsList"></HeaderTemplate>
                        <ItemTemplate>
                            <ul class = "jobsTemplate jobs">
                                <li><%# DataBinder.Eval(Container, "DataItem.Name") %></li>
                                <li><%# DataBinder.Eval(Container, "DataItem.StartdateTime", "{0:f}")%> - <%# DataBinder.Eval(Container, "DataItem.EnddateTime", "{0:t}")%></li>
                                <li><%# DataBinder.Eval(Container, "DataItem.Maxpeople") %></li>
                                <li><%# DataBinder.Eval(Container, "DataItem.Description") %></li>
                            </ul>
                        </ItemTemplate>
                        <FooterTemplate></div></FooterTemplate>
                    </asp:Repeater>
   I had to do the repeater class but it was a lot of work because it was a two repeater classes.
So, it took a lot of time to figure out how the repeater class works.

But at the end of the meeting, the default.aspx was partially done.

No comments:

Post a Comment