Hello there,
due to some concerns I want to populate the radscheduler from a query I execute in the code behind and avoid using the sqldatasource within the .aspx.
i have not found an example and all of my attempts have been unsuccessful, can you point me in the right direction?
In esscence i want to execute a query against a view titled appointments and then bind the data as in the folllowing...
can you get me to the next step? sorry i new to the scheduler and trying to determine if all of this is possible.
Protected Sub RadScheduler_OnLoad(ByVal sender As Object, ByVal e As EventArgs) Handles RadScheduler1.Load
Dim myDBUtil As DBUtil.DBUtils = DirectCast(Me.Page, BasePage).reqDBUtils
Dim rTable As DataTable = dbUtils.GetDataTable("SELECT [ID], [RoomID]+'%'+[Subject] + ' ' + [RoomID] as [Subject], [Start], [End],[RoomID], [UserID], [RecurrenceRule], [RecurrenceParentID] FROM [Appointments] WHERE [id] = @id", {{"@id", Session("user_id")}})
End Sub
Hi All
I have a Telerik Radgrid with GridHTMLEditorColumn inside it. I would like to put the require field validator so that user must fill the value inside GridHTMLEditorColumn.
Can someone please let me know how to put require field validator on GridHTMLEditorColumn.
Many thanks
SyedWith rgStatusCenterMessages .ID = Me.ID & "_RadGrid" .AlternatingItemStyle.BackColor = Drawing.Color.LightGray .Width = Unit.Percentage(99) .AllowSorting = False .AllowPaging = True .PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric .AutoGenerateColumns = False .GroupingEnabled = True .ShowGroupPanel = False .ShowStatusBar = False With .ClientSettings .AllowDragToGroup = False .EnableAlternatingItems = True End With With .MasterTableView .AlternatingItemStyle.BackColor = Drawing.Color.Aqua .PageSize = 15 .ShowGroupFooter = False .GroupsDefaultExpanded = True .GroupLoadMode = GridGroupLoadMode.Client Dim groupBy As GridGroupByExpression = GridGroupByExpression.Parse("AppName [Group] Group By AppName") .GroupByExpressions.Add(groupBy) .DataKeyNames = New String() {"FormNo"} End With End With