This is a migrated thread and some comments may be shown as answers.

[Solved] Clicking on Page Number Shows a Blank Page

5 Answers 134 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Suresh Mishra
Top achievements
Rank 1
Suresh Mishra asked on 17 Nov 2009, 11:29 PM
Hi,

I have implemented grouping for a rad grid copied below.  When I click on a page number, all I get is blank screen and I need to refresh the page to see the page number I clicked on.

Also, I am forming my own headers using the code below.  Could this be causing this problem?  What is the way out.

Please help. 

Thanks.

Suresh

Method to make my own headers:

Private

 

Sub RenderMethodForHeader(ByVal writer As HtmlTextWriter, ByVal ctl As Control)

 

 

Try

 

 

'startIndex = dgd_EmpData.Columns.Count - 1background-color:inherit

 

 

Dim ds As DataSet

 

ds = objPE.MonthlyAssignmentGetMonths(Request.QueryString(

"proposalVersionID"))

 

 

Dim strLine As String = "<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center""> </TD>"

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""left"">Name</TD>"

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""left"">Clin</TD>"

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""left"">POP Name</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""left"">Schedule/YR</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""left"">Catg</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""left"">Site</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(0)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(1)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(2)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(3)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(4)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(5)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(6)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(7)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(8)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(9)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(10)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""center"">" & ds.Tables(0).Rows(11)("MonthName") & "</TD> "

 

strLine = strLine &

"<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""left"">" & "Total" & "</TD> "

 

 

'strLine = strLine & Microsoft.VisualBasic.Chr(10) & ""

 

 

'strLine = strLine & "<TD style=""" & "background-color: #99cccc""" & " colspan=""" & 1 & """ align=""left"">" & "Copy" & "</TD> "

 

writer.Write(strLine)

 

'writer.Write("<TD colspan=""4"" align=""center"">All</TD>" & Microsoft.VisualBasic.Chr(10) & "")

 

writer.Write(

"</TR>" & Microsoft.VisualBasic.Chr(10) & "")

 

RadGrid1.HeaderStyle.AddAttributesToRender(writer)

writer.RenderBeginTag(

"TR")

 

 

'Dim cell As TableCell = CType(ctl.Controls(0), TableCell)

 

 

'Dim totalCells As Integer = ctl.Controls.Count

 

 

'For i As Integer = 0 To totalCells - 1

 

 

' cell = CType(ctl.Controls(i), TableCell)

 

 

' cell.Attributes.Add("align", "center")

 

 

' cell.Attributes.Add("valign", "bottom")

 

 

' cell.RenderControl(writer)

 

 

'Next

 

writer.RenderEndTag()

 

Catch ex As Exception

 

 

Me.lblErrorMsg.Text = ex.Message

 

log.Error(

"Proposal Employee Assignment: RenderMethodForHeader", ex)

 

 

End Try

 

 

End Sub

 


 

<

 

telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server" PageSize="20"

 

 

 

AllowSorting="True" AllowMultiRowSelection="True" AllowPaging="True" ShowGroupPanel="False"

 

 

 

AutoGenerateColumns="False" GridLines="None" Skin="WebBlue">

 

 

 

<PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>

 

 

 

<MasterTableView Width="100%" DataSourceID="ObjectDataSource1" ShowGroupFooter="True">

 

 

 

<GroupByExpressions>

 

 

 

<telerik:GridGroupByExpression>

 

 

 

<SelectFields>

 

 

 

<telerik:GridGroupByField FieldAlias="POPName" FieldName="POPName" FormatString="{0:D}"

 

 

 

HeaderValueSeparator=" : " HeaderText=""></telerik:GridGroupByField>

 

 

 

</SelectFields>

 

 

 

<GroupByFields>

 

 

 

<telerik:GridGroupByField FieldName="POPName" FieldAlias="Received" FormatString=""

 

 

 

HeaderText=""></telerik:GridGroupByField>

 

 

 

</GroupByFields>

 

 

 

</telerik:GridGroupByExpression>

 

 

 

</GroupByExpressions>

 

 

 

<Columns>

 

 

 

<telerik:GridBoundColumn CurrentFilterFunction="Contains" ShowFilterIcon="False"

 

 

 

AutoPostBackOnFilter="True" ReadOnly="True" DataField="EmployeeName" HeaderText="Name"

 

 

 

SortExpression="EmployeeName" UniqueName="EmployeeName">

 

 

 

<ItemStyle BackColor="#FFFFCC" />

 

 

 

<HeaderStyle Width="100px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn CurrentFilterFunction="Contains" ShowFilterIcon="False"

 

 

 

AutoPostBackOnFilter="True" ReadOnly="True" DataField="ClinNo" HeaderText="ClinNo"

 

 

 

SortExpression="ClinNo" UniqueName="ClinNo">

 

 

 

<ItemStyle BackColor="#FFFFCC" />

 

 

 

<HeaderStyle Width="100px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn Visible="false" CurrentFilterFunction="Contains" ShowFilterIcon="False"

 

 

 

AutoPostBackOnFilter="True" FilterControlWidth="100px" ReadOnly="True" DataField="POPName"

 

 

 

HeaderText="POPName" SortExpression="POPName" UniqueName="POPName">

 

 

 

<ItemStyle Width="120px" BackColor="#FFFFCC" />

 

 

 

<HeaderStyle Width="150px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn Visible="true" CurrentFilterFunction="Contains" ShowFilterIcon="False"

 

 

 

AutoPostBackOnFilter="True" FilterControlWidth="100px" ReadOnly="True" DataField="POPName1"

 

 

 

HeaderText="POPName1" SortExpression="POPName1" UniqueName="POPName1">

 

 

 

<ItemStyle Width="120px" BackColor="#FFFFCC" />

 

 

 

<HeaderStyle Width="150px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn AllowFiltering="False" ReadOnly="True" DataField="ScheduleYear"

 

 

 

HeaderText="Schedule/YR" SortExpression="ScheduleYear" UniqueName="ScheduleYear">

 

 

 

<HeaderStyle Width="75px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn AllowFiltering="False" ReadOnly="True" DataField="LaborCategoryCode"

 

 

 

HeaderText="Category" SortExpression="LaborCategoryCode" UniqueName="LaborCategoryCode">

 

 

 

<HeaderStyle Width="75px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn AllowFiltering="False" ReadOnly="True" DataField="Site"

 

 

 

HeaderText="Site" SortExpression="Site" UniqueName="Site">

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="Hours1" DataField="Hours1"

 

 

 

DataType="System.Decimal" HeaderText="Hours1" UniqueName="Hours1">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxHours1" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Hours1")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="Hours2" DataField="Hours2"

 

 

 

HeaderText="Hours2" UniqueName="Hours2">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxHours2" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Hours2")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="Hours3" DataField="Hours3"

 

 

 

HeaderText="Hours3" UniqueName="Hours3">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxHours3" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Hours3")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="hours4" DataField="hours4"

 

 

 

HeaderText="hours4" UniqueName="hours4">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxhours4" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "hours4")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="hours5" DataField="hours5"

 

 

 

HeaderText="hours5" UniqueName="hours5">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxhours5" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "hours5")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="hours6" DataField="hours6"

 

 

 

HeaderText="hours6" UniqueName="hours6">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxhours6" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "hours6")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="hours7" DataField="hours7"

 

 

 

HeaderText="hours7" UniqueName="hours7">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxhours7" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "hours7")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="hours8" DataField="hours8"

 

 

 

HeaderText="hours8" UniqueName="hours8">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxhours8" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "hours8")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="hours9" DataField="hours9"

 

 

 

HeaderText="hours9" UniqueName="hours9">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxhours9" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "hours9")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="hours10" DataField="hours10"

 

 

 

HeaderText="hours10" UniqueName="hours10">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxhours10" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "hours10")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="hours11" DataField="hours11"

 

 

 

HeaderText="hours11" UniqueName="hours11">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxhours11" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "hours11")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" SortExpression="hours12" DataField="hours12"

 

 

 

HeaderText="hours12" UniqueName="hours12">

 

 

 

<ItemTemplate>

 

 

 

<asp:TextBox ID="TextBoxhours12" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "hours12")%>'></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridBoundColumn AllowFiltering="False" ReadOnly="True" DataField="Total"

 

 

 

HeaderText="Total" SortExpression="Total" UniqueName="Total">

 

 

 

<HeaderStyle Width="75px" />

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridTemplateColumn AllowFiltering="False" HeaderText=" " UniqueName="TemplateColumn">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="Label1" runat="server" Text=" "></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

<HeaderStyle Width="50px" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID1"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID1">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID1" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID1")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID2"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID2">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID2" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID2")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID3"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID3">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID3" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID3")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID4"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID4">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID4" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID4")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID5"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID5">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID5" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID5")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID6"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID6">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID6" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID6")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID7"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID7">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID7" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID7")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID8"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID8">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID8" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID8")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID9"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID9">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID9" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID9")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID10"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID10">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID10" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID10")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID11"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID11">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID11" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID11")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID12"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID12">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID12" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID12")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID13"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID13">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID13" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID13")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID14"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID14">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID14" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID14")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID15"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID15">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID15" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID15")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID16"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID16">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID16" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID16")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID17"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID17">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID17" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID17")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID18"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID18">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID18" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID18")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID19"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID19">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID19" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID19")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID20"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID20">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID20" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID20")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID21"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID21">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID21" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID21")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID22"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID22">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID22" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID22")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID23"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID23">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID23" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID23")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn Visible="False" AllowFiltering="False" DataField="LabelProposalEmployeeMonthlyAssignmentID24"

 

 

 

UniqueName="ProposalEmployeeMonthlyAssignmentID24">

 

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="LabelProposalEmployeeMonthlyAssignmentID24" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ProposalEmployeeMonthlyAssignmentID24")%>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

</Columns>

 

 

 

<RowIndicatorColumn Visible="True">

 

 

 

</RowIndicatorColumn>

 

 

 

</MasterTableView>

 

 

 

<ClientSettings AllowExpandCollapse="false" AllowGroupExpandCollapse="false" AllowDragToGroup="False"

 

 

 

AllowColumnsReorder="False">

 

 

 

<Selecting AllowRowSelect="True"></Selecting>

 

 

 

<Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True">

 

 

 

</Resizing>

 

 

 

</ClientSettings>

 

 

 

<GroupingSettings ShowUnGroupButton="False" />

 

 

 

</telerik:RadGrid>

 

 

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 18 Nov 2009, 10:15 AM
Hello Suresh,

I followed your scenario in order to replicate the issue but to no avail. Please find attached a simple working project which handles the desired functionality. Give it a try and see if it works for you or if I am leaving something out.

Best wishes,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Suresh Mishra
Top achievements
Rank 1
answered on 18 Nov 2009, 09:09 PM
Hello Pavlina,

Thanks for your reply.  I tried your solution, but that does not work.  Is it possible to schedule a quick GOTO web meeting and I can show you what is happening?  Please let me know if that is possible.

Thank you very much.

Suresh
0
Pavlina
Telerik team
answered on 19 Nov 2009, 12:12 PM
Hi Suresh,

Please note that GoToMeeting sessions are considered as a last resort when the previously methods do not produce the desired results.
Therefore I will ask you to open a formal support ticket and send us a simple working project with reproduced this erroneous behavior. Thus we could do our best to help you further in resolving it.

Looking forward for your reply.

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Suresh Mishra
Top achievements
Rank 1
answered on 19 Nov 2009, 02:21 PM
Pavlina,

Thanks for your reply.  I am really tied down with development work right now, but  will send a solution which will repdouce this result as soon I have some free time. 

Thanks.

Suresh
0
Pavlina
Telerik team
answered on 19 Nov 2009, 03:59 PM
Hello Suresh,

I am looking forward to hearing from you soon.
Thank you for your cooperation.

All the best,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Suresh Mishra
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Suresh Mishra
Top achievements
Rank 1
Share this question
or