Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views
Hi

how can I set or change the defaul font-family that is used in the Editor's Content Area (like the one you're writing in when you create a new thread in this Forum). I can't find "Times New Roman" in all the .css files but whenever I click within the textaea to write or paste a text the font-pulldown above swiches Times New Roman as font?
I already edited the font pulldown, now it shows Arial (that's the font I want to be used) as the only font but still switches to Times New roman when the focus (cursor) is within the textarea.

Does anybody know this poblem? :)
Thanks a lot!

Alex

Rumen
Telerik team
 answered on 17 Feb 2012
1 answer
83 views
Hi,

I am using RadRibbonBar in my ASP.NET web application and using Arabic interface but after applying culture the RadRibbonBar is not shifting to RTL.
Can you please tell me if changing Direction to RTL is supported for RadRibbonBar? if yes, how?

Thanks,
Faheem

Simon
Telerik team
 answered on 17 Feb 2012
1 answer
112 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
224 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
89 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
348 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
126 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
99 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
182 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?