Unfortunately setting “EnableLinqExpressions = false“ grid is not binding when I change the drop down value..
As soon as I changed the page from 1 to 2 grid was rebinding data is showing. Till now it was working fine, but when I changed the drop down value again
grid was not rebind. But when I click on the change page its showing me the data.
· This is what I am doing:
· When I click paging this is how I’m binding the data:
OnNeedDataSource coding
{
Dim dset As New DataSet
dset = BO_SlInfo.ShowSampleListInfo(nIHLogNumber, dtPicker1, dtPicker2, nLocationID, nLevelId, strPanel, strChemical)
· 'Bind the Sampling Plan List DataSet to RadGrid
· rGrdSampleList.DataSource = dset
}
On Drop down change I’m trying to bind the data as below:
ddlSampleType_SelectedIndexChanged
{
Dim dsSampleList As DataSet
dsSampleList = BO_SlInfo.ShowBlankSampleListInfo(nIHLogNumber, dtPicker1, "", nLocationID, nLevelId, strPanel, strChemical)
'Bind the Sampling Plan List DataSet to RadGrid
rGrdSampleList.DataSource = dsSampleList
rGrdSampleList.DataBind()
}
Please let me know what can be done…
Hi Telerik Team,
I’m facing problem with Rad grid pagination count
In my application for search screen I’m using Rad grid to display the records based on filter result set.
On dropdown(ddlSampleType) change grid(rGrdSampleList) will rebind with respective selected result set..
Scenario:
Suppose grid pagination is 30,when I was change the dropdown value grid will rebind with new result set 13 records,but pagination count showing 30.
Can one help me out solve this problem..
AJAX setting as follows:
<telerik:AjaxSetting AjaxControlID="ddlSampleType">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="ddlSampleType" />
<telerik:AjaxUpdatedControl ControlID="lblDept" />
<telerik:AjaxUpdatedControl ControlID="ddlDept" />
<telerik:AjaxUpdatedControl ControlID="hdnPanelID" />
<telerik:AjaxUpdatedControl ControlID="txtPanelNames" />
<telerik:AjaxUpdatedControl ControlID="btnPanelPickList" />
<telerik:AjaxUpdatedControl ControlID="hdnChemicalID" />
<telerik:AjaxUpdatedControl ControlID="txtChemicalNames" />
<telerik:AjaxUpdatedControl ControlID="btnChemicalPickList" />
<telerik:AjaxUpdatedControl ControlID="rGrdSampleList" LoadingPanelID="LoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
Hello
i've a scheduler and manage it with a AjaxManager. Now if i would see the month view ther occurs an error:
"Microsoft JScript runtime error: 'Telerik.Web.UI.Scheduler.Views.Month' is null or not an object"
I used Telerik.Web.UI.dll Version: 2008.02.826.35
.net Framework 3.5
aspx code:
| <telerik:RadScheduler ID="RadScheduler1" runat="server" | |
| DataEndField="End" DataKeyField="ID" DataRecurrenceField="RecurrenceRule" | |
| DataRecurrenceParentKeyField="RecurrenceParentID" DataSourceID="LinqDataSource1" | |
| DataStartField="Start" DataSubjectField="Subject" Height="600px" Width="600px" | |
| Skin="Office2007" ShowAllDayRow="False" WeekHeaderDateFormat="dd.MM"> | |
| </telerik:RadScheduler> | |
| <asp:LinqDataSource ID="LinqDataSource1" runat="server" | |
| ContextTypeName="TestDataContext" EnableDelete="True" EnableInsert="True" | |
| EnableUpdate="True" TableName="TestSchedulers"> | |
| </asp:LinqDataSource> | |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" | |
| EnablePageHeadUpdate="False"> | |
| <AjaxSettings> | |
| <telerik:AjaxSetting AjaxControlID="RadScheduler1"> | |
| <UpdatedControls> | |
| <telerik:AjaxUpdatedControl ControlID="RadScheduler1" | |
| LoadingPanelID="RadAjaxLoadingPanel1" /> | |
| </UpdatedControls> | |
| </telerik:AjaxSetting> | |
| </AjaxSettings> | |
| </telerik:RadAjaxManager> | |
| <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server" Transparency="50" BackColor="Black"> | |
| </telerik:RadAjaxLoadingPanel> |
Important: If I disable Ajax there isn't an error.
Can someone teach me?
Sorry for my bad english ;) Regards from Switzerland
We have a RADGrid that has 3 GridTemplateColumns
(which is have checkbox controls within them).Using client API We want to fetch the values of column 3 checkboxes to find if any checkbox is checked.This javascript should run when a button outside the grid in the page is clicked.
We are unable to fetch the value of the checkbox using the following code.
var masterTable = $find("<%=RadGrid1.ClientID%>").get_masterTableView();
var col = masterTable.get_columns()[2];
alert(col.get_uniqueName());
We are able to get the unique name but are unable to fetch the value of the check box.
We tried using Cell [0].value which is not working.
Please let us know your suggestion.