| Protected Sub RadMenu1_ItemClick(ByVal sender As Object, ByVal e As Telerik.WebControls.RadMenuEventArgs) Handles RadMenu1.ItemClick |
| Dim ItemClicked As Telerik.WebControls.RadMenuItem = e.Item |
| If ItemClicked.Text = "Delete" Then |
| 'Delete if popup result = yes. |
| End If |
| End Sub |
Hi,
I am coding a calendar that has to color code the days depending on their state. A day can have five possible states.
The way I am doing this is by overriding the DayRender method on serverside and adding the css style to the cell's CssClass collection like this:
| c.CssClass = registeredHours >= capasity ? "Calendar_Day_CapacityReached" : "Calendar_Day_CapacityNotReached"; |
The result in HTML is this:
| <td class="radCalDefault_SSN Calendar_Day_NoCapacity" ...> |
| <td class="radCalSelect_SSN" ...> |

EditFormSettings-EditFormType
="WebUserControl"
This causes my user control to display when the Edit linkbutton is clicked and I can update my MasterTable data. This all works fine. I also have a small image button that when clicked, displays my child GridTableView. This works fine also.
But now I want the GridTableView to be full-screen editable. That is, every column on every row should be a RadNumertextBox or RadTextBox when rendered. I cannot find any good examples of this.
Thanks,
Bob
<
telerik:RadScheduler ID="RadScheduler1" runat="server" Skin="Web20"
DataEndField="End" DataKeyField="CourseId" DataRecurrenceField="RecurrenceRule"
DataRecurrenceParentKeyField="RecurrenceReferenceId"
DataSourceID="LinqDataSource1" DataStartField="Start"
DataSubjectField="Subject">
<ResourceTypes>
<telerik:ResourceType DataSourceID="LinqDataSource2" ForeignKeyField="CentreId"
KeyField="CentreId" Name="Resource Type 0" TextField="Name" />
</ResourceTypes>
</telerik:RadScheduler>
<asp:LinqDataSource ID="LinqDataSource1" runat="server"
ContextTypeName="BcNetAppLogic.BcNetDataContext" EnableDelete="True"
EnableInsert="True" EnableUpdate="True" TableName="Courses">
</asp:LinqDataSource>
<asp:LinqDataSource ID="LinqDataSource2" runat="server"
ContextTypeName="BcNetAppLogic.BcNetDataContext" EnableDelete="True"
EnableInsert="True" EnableUpdate="True" TableName="Centres">
</asp:LinqDataSource>
Any ideas if this should be possible?