
| provider = new XmlSchedulerProvider(Server.MapPath("~/App_Data/Appointments.xml"), false); |
EnableEmbeddedSkins
="false"
EnableEmbeddedBaseStylesheet="false"
and set a customize skin.
everything is working properly but i am not able to make dragtext disable.
dragtext appears along with drag image.
if anyone has a solution. please let me know..
thanks
kamini
| RadGrid rgrdSection = new RadGrid(); |
| rgrdSection.ID = "grd" + (i+1).ToString(); |
| rgrdSection.AutoGenerateColumns = false; |
| rgrdSection.AllowSorting = false; |
| rgrdSection.Width = Unit.Percentage(97.0); |
| rgrdSection.AllowMultiRowSelection = false; |
| rgrdSection.ShowStatusBar = true; |
| rgrdSection.AllowPaging = true; |
| rgrdSection.PageSize = 8; |
| rgrdSection.AlternatingItemStyle.BackColor = System.Drawing.ColorTranslator.FromHtml("#979EB8"); |
| // Add columns |
| GridBoundColumn boundColumn = new GridBoundColumn(); |
| boundColumn.DataField = "user_key_7"; |
| boundColumn.HeaderText = "Sub-Chapter"; |
| rgrdSection.MasterTableView.Columns.Add(boundColumn); |
| rgrdSection.PagerStyle.Mode = GridPagerMode.NumericPages; |
| rgrdSection.PagerStyle.Position = GridPagerPosition.TopAndBottom; |
| rgrdSection.ClientSettings.EnableRowHoverStyle = true; |
| rgrdSection.ClientSettings.EnablePostBackOnRowClick = false; |
| rgrdSection.ClientSettings.Selecting.AllowRowSelect = false; |
| protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if (e.Item is GridDataItem) |
| { |
| GridDataItem item = (GridDataItem)e.Item; |
| item.Height = Unit.Pixel(10); |
| } |
| } |


Hi,
I have 3 radtabs each one containing a radgrid. In the first tab you have all the to-be-classify registers, there can only be two types of registers ( A and R). So for example if you mark 10 registers on the first radgrid and classify them, the first radgrid rebinds (using the needDataSource event) and everything is fine, but if I change tab and look at any of the two other radgrids neither will be updated. I have to refresh the page if I want to see the changes.
In my code in the NeedDataSource event setting the DataSource for the 3 radgrids but only seems to be working for the selected radgrid (because if I change the classification from A to R in the second radgrid I wont see the registers that does not belong to this radgrid anymore but I don't see the changes on the R radgrid)
here is my code (I dont use any AjaxManager, all is being done only by Postbacks)
| Protected Sub setStatus(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGridClientes.ItemCommand |
| If e.CommandName = "rejectStatus" Or e.CommandName = "approveStatus" Then |
| Dim item As Telerik.Web.UI.GridEditableItem = DirectCast(e.Item, Telerik.Web.UI.GridEditableItem) |
| Dim newStatus As String = "0" |
| If e.CommandName = "approveStatus" Then |
| newStatus = "A" |
| ElseIf e.CommandName = "rejectStatus" Then |
| newStatus = "R" |
| End If |
| updateRecord(item, newStatus) |
| Me.RadGrid1.Rebind() |
| End If |
| End Sub |
| Protected Sub RadGrid_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource, RadGridA.NeedDataSource, RadGridR.NeedDataSource |
| Dim ws As New webService |
| RadGrid1.DataSource = wsNC.fillStatus("0") |
| RadGridA.DataSource = wsNC.fillStatus("A") |
| RadGridR.DataSource = wsNC.fillStatus("R") |
| End Sub |