Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
116 views
Hi,
I have a RadGrid with following ClientSetting :

<Scrolling AllowScroll="true" EnableVirtualScrollPaging="true" UseStaticHeaders="true" SaveScrollPosition="true" ScrollHeight="250" />

Everytime I run the application, I am encountering following error :
"Unable to get value of the property 'scroll': object is null or undefined"

When I remove the above Setting from RadGrid, the error goes away.
Please suggest me how to get rid of it. What is the cause of this error?

Thanks,
Anup
Shinu
Top achievements
Rank 2
 answered on 17 Feb 2012
1 answer
232 views
Hi,

I have a RadListbox in the below fashion

<telerik:RadListBox ID="chkTools" runat="server" CheckBoxes="True" AutoPostBack="True"
OnItemCheck="chkTools_ItemCheck" EnableEmbeddedSkins="False" OnClientItemChecked="onItemChecked" 
OnClientItemChecking="onItemChecking"></telerik:RadListBox>

If i want to stop the post happening based on a condition which even should I use OnClientItemChecked or OnClientItemChecking and how should it be?
Kate
Telerik team
 answered on 17 Feb 2012
10 answers
1.2K+ views
Is it possible to open a context menu, fire the OnRowContextMenu event, in a grid using a button click in a row?

What I need is the same functionality as right clicking on a row like the demo at http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandmenu/defaultcs.aspx?product=menu when you click the button in a row.

Thanks,
Dave
Markus
Top achievements
Rank 1
 answered on 17 Feb 2012
1 answer
100 views
We are contemplating upgrading an existing site from Release 2008 Qtr 3 to 2011 Qtr 3 and are trying the test dlls now. The initial experience is one that a lot of the skins have changed and a lot of functionality is not working between versions. Is there help on line available to dela with the 3 year upgrade?

THanks

Thomas
Dobromir
Telerik team
 answered on 17 Feb 2012
0 answers
351 views

Q1 2012 (Version 2012.1.215)

Breaking change:
  Since the Beta release of Q1 2012 the nodes of the treeview have their text html encoded.

Reason:
There were problems when using LoadOnDemand through WebService and ServerSideCallBack. When a node with html in the text was added a server error occurred upon postback.

Solution:
From the upcoming Latest internal build the encoding will be optional through the property EnableNodeTextHtmlEncoding and it will be disabled by default. 

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 17 Feb 2012
2 answers
133 views
I have this function on my aspx page.
function openWindow() {
          
            //get a reference to the window
            var oWnd = $find("<%= RadWindow2.ClientID %>");
            //set its NavigateUrl
            oWnd.setUrl("http://xyz.com/abc.zip");
            //add the name of the function to be executed when RadWindow is closed
            
            //show the window
            oWnd.show();
        }

I want to call this function in Button click event through RegisterStartupScript. It gets called but window doesn't open. Also I want to open a url which has a zip file for download. So as soon as user is prompted about Save dialog box, I want to close radwindow.

HELP!!!!!
Svetlina Anati
Telerik team
 answered on 17 Feb 2012
1 answer
102 views
SelectedNode property not working for the new version of Telerik (2011.2.712.35)
Please do help me out
This is the code


        RadComboBox rcmbTeamForCompany = (RadComboBox)sender;
        RadTreeView treeinCmb;
        treeinCmb = (RadTreeView)rcmbTeamForCompany.Items[0].FindControl("rtKeywordType");

      selectedKeywordType = treeinCmb.SelectedNode.Text.ToString();

        int selectedKeywordTypeID = int.Parse(treeinCmb.SelectedNode.Value.ToString());



        if (ViewState["selectedKeywordTypeID"].ToString() == selectedKeywordTypeID.ToString())
        {
            return;
        }

value is cming null.
lines which are in red colour
Neha
Top achievements
Rank 1
 answered on 17 Feb 2012
5 answers
191 views
Hi,
I am using 2 Stored Procedures to populate 2 different RadGrids. For RadGrid1, OnNeedDataSource event calls a handler function inside which a SP is executed and the data table is equated to RadGrid1.DataSource. Now, I want to populate RadGrid2 when a row is selected in RadGrid1. For this, OnRowSelected event of RadGrid1 is handled by a Javascript function that is extracting some specific cell values of the selected row and initiates an ajaxRequest() with argument string passed. I am using a RadAjaxManager which looks like :

<

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_OnAjaxRequest">

 <AjaxSettings>

 <telerik:AjaxSetting AjaxControlID="RadGrid1">

 <UpdatedControls>

 <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />

 

<telerik:AjaxUpdatedControl ControlID="RadGrid2" LoadingPanelID="RadAjaxLoadingPanel1" />

 </UpdatedControls>

 </telerik:AjaxSetting>

 </AjaxSettings>

 </telerik:RadAjaxManager>

 
In Code-Behind, I have a handler function RadAjaxManager1_OnAjaxRequest() for handling the ajax request. Inside RadAjaxManager1_OnAjaxRequest, I am passing on the arguments to execute an SP and equating the data table returned to RadGrid2.DataSource, as below :

protected

 

void RadAjaxManager1_OnAjaxRequest(object sender, AjaxRequestEventArgs e)

{

String argument = e.Argument;

String[] args = argument.Split("^".ToCharArray());

NameValueCollection parameters = new NameValueCollection();

parameters.Add("@par1", args[0]);

 parameters.Add("@par2", args[1]);

 parameters.Add("@par3", args[2]);

 RadGrid2.DataSource = obj.ExecuteSP("MySP", parameters);

 RadGrid2.Rebind();
}

The problem arises now, when I select a row in RadGrid1, I do not see any RadAjaxLoadingPanel being loaded. Moreover, the RadGrid2 does not populate. However, While debugging I am able to see that the rows are being returned(RadGrid2.DataSource.Rows.Count is greater than 0).

Thanks,
Anup

Tsvetoslav
Telerik team
 answered on 17 Feb 2012
2 answers
612 views

Hello,

I have radgrid control in my page. I want hide the some rows in grid depending on the data in it. And I want to show these rows when clicking on the button which is inside the grid. I have attached the sample screenshot here.
Tsvetoslav
Telerik team
 answered on 17 Feb 2012
2 answers
73 views
I've inherited a project that is using RadGrid for data display that uses Filtering.  If I click the Filter Icon to select an option from the list, prior to entering any filter criteria, all filter options are displayed at the very top of the page in very cheesy, style-less text.  Once I add a criteria into the filter box and click the icon, the filter options display inline as desired.

The requirement is for the user to be able to change the default Filter Menu prior to entering criteria.

Anyone have an idea why that happens?


Tsvetoslav
Telerik team
 answered on 17 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?