Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
188 views
Hello,

I'm using RadGrid to view results from an sql table results function.
In order to do so i'm using the NeedDataSource event, where I call the Linq method mapping the function,
and setting the resulting into the datasource property.

A few more background notes which might be helpful:

The form itself is a search form:
First block of data is a few search options and a button. The button fires the Rebind method of the RadGrid (Located in the second data block).
In the NeedDataSource i collect all the relevent parameters, execute the linq method and set the data source.
From the search results displayed in the second block, the user is required to select 1. after he selects, the page should display
another ResultSet (a different linq method mapped to an sql table function) in a third block.
But, when i try to get the item the user selected, i can't access it's data-item.
That's the point that i can't get past...

Another foot-note:
If first search returns only one result, i immediatly select it and display the second ResultSet in the third block. in this simple case it works easily, probebly because the page hasn't been sent to the client-side yet, and everything happens in the server-side at the same postback...

What can I do to fix this problem?
Maria Ilieva
Telerik team
 answered on 16 Dec 2008
3 answers
111 views
Hi

I'm using the RadComboBox within an ASP.NET page. The combos are embedded within a RadAjaxPanel and a RadScriptManager is present on the page. Although the page initially worked OK, as soon as anything on the page is modified the combos become unresponsive when clicked. If I recreate the page again from the start they work OK again.

Any ideas?

Thanks.
Mike

Atanas Korchev
Telerik team
 answered on 16 Dec 2008
1 answer
340 views
Hi All,

I have a treeview control in my page.
This is like as follows:

    Value is in []

    AAAA [1]
        aaa [1]
              BBB [1]
              BBB [2]
              BBB [3]
        aaa [2]
        aaa [3]
        aaa [4]


I have to find node "BBB" whose value is "3". Does anybody know then plz tell me how to get and set selected using Javascript.

Thanks in advance....

Regards
Brijendra Pandey
Atanas Korchev
Telerik team
 answered on 16 Dec 2008
0 answers
99 views

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…

 

shaik
Top achievements
Rank 1
 asked on 16 Dec 2008
2 answers
94 views

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>

 

shaik
Top achievements
Rank 1
 answered on 16 Dec 2008
2 answers
79 views

 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

Daniel Mettler
Top achievements
Rank 2
Iron
 answered on 16 Dec 2008
3 answers
161 views
I am trying to implement the Editor, and is using a simple ToolsFile.xml. I wish to run the editor in default language (English) and with no spell checker.

However, none of the buttons/interface texts in the Editor has any translations? I have not copied anything to App_GlobalResources, because as far as your examples state, the standard languages are included in the DLL. Still, all the texts only have the default name values, like FindAndReplace etc., and the especially dialogue windows are completely unusable/unreadable.

What am I doing wrong?

It should be noted that I'm running a custom database localization for the rest of the site - is this interfering with RadEditor?
EET Group
Top achievements
Rank 2
 answered on 16 Dec 2008
1 answer
88 views
I am looking  some example code to provide the drag drop functionality only for details table in hierarchical grid hierarchical grid.  
Shinu
Top achievements
Rank 2
 answered on 16 Dec 2008
2 answers
155 views

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.

nikila
Top achievements
Rank 1
 answered on 16 Dec 2008
3 answers
119 views
Hello,

       I have a problem with performance in rad window. I open a page in rad window which contains splitter control and inside this splitter control i have two panes. In one pane i have rad multiview control which has three pageviews. and in another pane i have user controls.
in one of my pageview i have radGrid when i populate records in radgrid on clicking of button. its gives me performance and also when i am doing refresh of usercontrol and also populating radgrid on button click. Can you help how to overcome the performance issues. This is very urgently required. Very Very Urgent as it deals with doing more operations on this radwindow. I can't find why performance is effected so much badly. it takes early 2 mins to complete the process. Required help very urgently.

Thanks & Regards,

R. Vikram Goud
Sebastian
Telerik team
 answered on 16 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?