or

| <telerik:RadComboBox ID="ddlVoucher" runat="server" Skin="Vista" Width="420" |
| HighlightTemplatedItems="true" AutoPostBack="true" CausesValidation="false" > |
| <HeaderTemplate> |
| <table style="width: 415px; text-align: left"> |
| <tr> |
| <td style="width: 60px;">Voucher #</td> |
| <td style="width: 250px;">Vendor/Staff</td> |
| <td style="width: 80px;">Due Date</td> |
| <td style="width: 80px;">Invoice #</td> |
| <td style="display:none">VoucherId</td> |
| </tr> |
| </table> |
| </HeaderTemplate> |
| <ItemTemplate> |
| <table style="width: 415px; text-align: left"> |
| <tr> |
| <td style="width: 60px;"> |
| <%#DataBinder.Eval(Container.DataItem, "VoucherNumber")%> |
| </td> |
| <td style="width: 250px;"> |
| <%#DataBinder.Eval(Container.DataItem, "VendorOrStaff")%> |
| </td> |
| <td style="width: 80px;"> |
| <%#DataBinder.Eval(Container.DataItem, "DueDate")%> |
| </td> |
| <td style="width: 80px;"> |
| <%#DataBinder.Eval(Container.DataItem, "InvoiceNumber")%> |
| </td> |
| <td style="width: 0px;"> |
| <%#DataBinder.Eval(Container.DataItem, "PaymentVoucherId")%> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
| Protected Sub ddlVoucher_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemEventArgs) Handles ddlVoucher.ItemDataBound |
| e.Item.Text = _ |
| (DirectCast(e.Item.DataItem, DataRowView))("VoucherNumber").ToString() & "; " & _ |
| (DirectCast(e.Item.DataItem, DataRowView))("VendorOrStaff").ToString() & "; " & _ |
| (DirectCast(e.Item.DataItem, DataRowView))("DueDate").ToString() & "; " & _ |
| (DirectCast(e.Item.DataItem, DataRowView))("InvoiceNumber").ToString() & "; " & _ |
| (DirectCast(e.Item.DataItem, DataRowView))("PaymentVoucherId").ToString() |
| 'e.Item.Text = _ |
| '(DirectCast(e.Item.DataItem, DataRowView))("VoucherNumber").ToString() & "; " & _ |
| '(DirectCast(e.Item.DataItem, DataRowView))("VendorOrStaff").ToString() |
| End Sub |
| ASP.Question question = new ASP.Question(); |
| question.LoadControl("./Question.ascx"); |
| question.ID = "question1"; |
| question.questionNumber = 1; |
| question.questionTable = questionTable; |
| RadMultiPage1.FindControl("RadPageView1").Controls.Add(question); |
| Session["Current Question"] = 1; |
| int currentQuestion = Convert.ToInt32(Session["Current Question"]); |
| Type type = sender.GetType(); |
| ASP.innovation_project_aspx myPage = sender as ASP.innovation_project_aspx; |
| RadMultiPage rmp = myPage.FindControl("RadMultiPage1") as RadMultiPage; |
| RadPageView rpv = rmp.FindControl("RadPageView" + currentQuestion) as RadPageView; |
| ASP.Question aspq = rpv.FindControl("question1") as ASP.Question; |
| RadEditor re = aspq.FindControl("RadEditor1") as RadEditor; |
Following is the two programs schedule and I want to show as described in image bellow
http://cid-d94cba5d3ede6058.skydrive.live.com/self.aspx/EPG/Existing.png
http://cid-d94cba5d3ede6058.skydrive.live.com/self.aspx/EPG/Requirement.png
Program Schedule:
Currently the give control is displaying information as bellow:
http://cid-d94cba5d3ede6058.skydrive.live.com/self.aspx/EPG/Existing.png
But I want it should be displayed as follows:
http://cid-d94cba5d3ede6058.skydrive.live.com/self.aspx/EPG/Requirement.png