Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
106 views
Hello,

I'm embarassed because with DotNetNuke, splitter height is 400px when we mention 100% (set correct size if height in pixel).
I tried many things to adapt splitter height to the content but it doesn't work.
I don't know if all parents of splitter are in percents, because it depends of dnn core. My skin height is 100%.

Could you try the splitter in a dnn solution (5.1.2 for me) and confirm splitter height always gets 400px ? If yes, do you know why ? I'm ready to adapt dnn core if needed to render my page better because i finalized my module but I conserve this problem.

Thank you very much.
luc bonenfant
Top achievements
Rank 1
 answered on 19 Nov 2009
1 answer
103 views
When i customize Advance Template in RadScheduler I cannot add recurrence in it please help me.
Peter
Telerik team
 answered on 19 Nov 2009
1 answer
151 views
I was wondering what is used on telerik's demo pages for the feedback box along with the rating control?
http://demos.telerik.com/aspnet-ajax/rating/examples/default/defaultcs.aspx

It is at the top above the example, in blue.

Thanks


Tsvetie
Telerik team
 answered on 19 Nov 2009
5 answers
138 views
Good morning,
I'm using the scheduler for the first time and I'm checking out how it works.
Debugging client side javascript code, I've seen that client side events are called more than once.
For example OnClientAppointmenMoveEnd (the help said that "is called when the user stops moving an appointment").
But if I move an appointment the event is called always twice.

Is there a raison for this behaviour?

Thanks
Marco
Peter
Telerik team
 answered on 19 Nov 2009
5 answers
134 views
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>

 

 

Pavlina
Telerik team
 answered on 19 Nov 2009
3 answers
120 views
I currently have a RadDockZone defined as such using verion (2009.2.826):
<telerik:RadDockZone runat="server" ID="RadDockZone1" Width="500" MinHeight="400" Height="400" CssClass="Background"></telerik:RadDockZone>

I'm dynamically adding RadDocks to the RadDockZone.  I want the Width and Height to stay the size they are set to.  The problem I am having is that when I've added enough RadDocks to have the vertical scroll bar for the RadDockZone to appear, IE7 and IE8 act differently.  I've attached images of what I am seeing.  In IE7, both the horizontal and vertical scroll bars appear, and they cover up the RadDocks in the RadDockZone.  In IE8, only the vertical scroll bar appears...it's as if the width of the RadDocks is slightly adjusted so that the scroll bar does not cover it up.  I would really like IE7 to act just like IE8. 

Is this a css issue that I'm missing?  Or possibly something else?

Any help would be greatly appreciated.
Tyler
Top achievements
Rank 1
 answered on 19 Nov 2009
1 answer
97 views

Web Service methods normally return only a list with the current appointments (i.e. public IEnumerable<AppointmentData> GetAppointments(SchedulerInfo schedulerInfo)

What if current appointments are for a specific user Id?
Can I pass a user Id into expected the web methods?

i.e (i.e. public IEnumerable<AppointmentData> GetAppointments(SchedulerInfo schedulerInfo) ?

Or is the Web Service approach not correct if I will require to pass more parameters along?


thanks

EDIT:

yeah this is probably irrelevant. I think I spoke too soon since I can get the user info I need in my custom schedule provider using the HTTP Context.

Cheers all.

Peter
Telerik team
 answered on 19 Nov 2009
6 answers
184 views
I'm trying to turn off a text box but set_visible doesn't seem to do anything.  Here's a short example:

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

head runat="server">

 

 

<title></title>

 

 

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

 

 

<script type="text/javascript">

 

 

function pageLoad() {

 

$find(

'<%= RadNumericTextBox1.ClientID %>').set_visible(false);

 

}

 

</script>

 

 

</telerik:RadCodeBlock>

 

</

 

head>

 

<

 

body>

 

 

<form id="form1" runat="server">

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

 

 

</telerik:RadScriptManager>

 

 

<div>

 

Test

<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server"

 

 

Culture="English (Canada)" Width="125px">

 

 

</telerik:RadNumericTextBox>

 

 

</div>

 

 

</form>

 

</

 

body>

 

</

 

html>

 

Dimo
Telerik team
 answered on 19 Nov 2009
9 answers
122 views
Hi,

i got following runtime error while testing the tooltips made by the tooltipmanager:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'Telerik.Web.UI 2009.'.

This error appears unpredictable when i go through all the controls i targeted with my tooltipmanager. On mouseover the tooltip opens and the loading image appears then it crashes. But there was a number of succeeded tooltips befor showing/doing the same.

Maybe is there a problem with my Version of Telerik RadControls for AJAX Q1 2009 and the tooltipified grid?

cheers, uspec
Sebastian
Telerik team
 answered on 19 Nov 2009
1 answer
458 views
I have a bar chart that I am binding to data collected at run-time. I need to be able to add a series of line charts to the chart but I'm having a hard time getting them to appear.

In my code below I am getting some data using linq and binding it to my chart. I then want to add a line series to the chart to represent a target (For eample my chart shows test scores for a group of students using a bar chart and I want to add a line across the 80% mark to represent a target score) How would I go about doing this?

I tried:
var ReopenRate = from myRow in dtTSEdata.AsEnumerable()  
                 orderby myRow.Field<int>("tm_join") descending  
                 select new { name = myRow.Field<string>("ln_fi"), value = myRow.Field<System.Nullable<double>>("reopen_rate") };  
 
 
RadChart1.DataSource = ReopenRate;  
RadChart1.DataBind();                      
RadChart1.Series[0].DefaultLabelValue = "#Y{P1}";  
RadChart1.Series[0].PlotArea.YAxis.Appearance.CustomFormat = "P0";  
 
// attempting to add line series to chart
ChartSeries csud = new ChartSeries();  
csud.Type = ChartSeriesType.Line;  
csud.AddItem(80, "Target", System.Drawing.Color.Red); 

I have also tried a few other ways unsuccessfully and I haven't been able to find any examples. There must be something I am missing.

By the way, my bar chart is displayed horizontally and I would like the line to run vertically (I.E. at the 80% mark).

Thanks!
Paul
Top achievements
Rank 1
 answered on 19 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?